Mir
Macros | Typedefs | Functions
eglstateswitcher.c File Reference
#include "eglapp.h"
#include <mir_toolkit/mir_client_library.h>
#include <stdio.h>
#include <unistd.h>
#include <GLES2/gl2.h>
Include dependency graph for eglstateswitcher.c:

Macros

#define NEW_STATE(new_state)
 
#define PRINT_STATE(state)
 

Typedefs

typedef struct Color Color
 

Functions

int main (int argc, char *argv[])
 

Macro Definition Documentation

#define NEW_STATE (   new_state)
Value:
puts("Requesting state: " #new_state);\
*state = new_state
#define PRINT_STATE (   state)
Value:
case state:\
puts("Current state: " #state);\
break

Typedef Documentation

typedef struct Color Color

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Copyright © 2012-2016 Canonical Ltd.
Generated on Wed May 10 10:41:27 UTC 2017