Mir
Macros | Typedefs | Functions
eglspinner.cpp File Reference
#include "splash.h"
#include <chrono>
#include "eglapp.h"
#include "miregl.h"
#include <assert.h>
#include <glib.h>
#include <string.h>
#include <GLES2/gl2.h>
#include <sys/stat.h>
#include <signal.h>
#include <atomic>
#include <mutex>
#include "spinner_glow.h"
#include "spinner_logo.h"
Include dependency graph for eglspinner.cpp:

Macros

#define LIGHT_AUBERGINE   0.466666667f, 0.297297297f, 0.435294118f
 

Typedefs

typedef struct _AnimationValues AnimationValues
 

Functions

template<typename Image >
void uploadTexture (GLuint id, Image &image)
 
GLuint createShaderProgram (const char *vertexShaderSrc, const char *fragmentShaderSrc)
 
bool updateAnimation (GTimer *timer, AnimationValues *anim)
 

Macro Definition Documentation

◆ LIGHT_AUBERGINE

#define LIGHT_AUBERGINE   0.466666667f, 0.297297297f, 0.435294118f

Typedef Documentation

◆ AnimationValues

typedef struct _AnimationValues AnimationValues

Function Documentation

◆ createShaderProgram()

GLuint createShaderProgram ( const char *  vertexShaderSrc,
const char *  fragmentShaderSrc 
)

◆ updateAnimation()

bool updateAnimation ( GTimer *  timer,
AnimationValues anim 
)

◆ uploadTexture()

template<typename Image >
void uploadTexture ( GLuint  id,
Image &  image 
)

Copyright © 2012-2021 Canonical Ltd.
Generated on Thu Jun 24 19:55:23 UTC 2021
This documentation is licensed under the GPL version 2 or 3.