Mir
Macros | Typedefs | Functions
eglspinner.cpp File Reference
#include "splash.h"
#include "eglapp.h"
#include "miregl.h"
#include <assert.h>
#include <glib.h>
#include <string.h>
#include <GLES2/gl2.h>
#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-2023 Canonical Ltd.
Generated on Tue 2 May 10:01:24 UTC 2023
This documentation is licensed under the GPL version 2 or 3.