OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ThreadSync.h File Reference
#include <GLES3/gl3.h>
#include "AndroidPlatform.h"
#include <stdlib.h>

Go to the source code of this file.

Functions

EGLConfig findConfig (EGLDisplay display, bool strictMatch, bool offscreen)
 

Variables

static const GLubyte cubeIndices []
 
static const float cubeVertices []
 
static const float cubeTextureCoordinates []
 
static const float cubeColors []
 
EGLint configAttributes []
 
EGLint contextAttributes []
 
EGLint pBufferAttributes []
 

Function Documentation

EGLConfig findConfig ( EGLDisplay  display,
bool  strictMatch,
bool  offscreen 
)

Definition at line 203 of file ThreadSync.h.

Variable Documentation

EGLint configAttributes[]
Initial value:
=
{
EGL_SAMPLES, 4,
EGL_ALPHA_SIZE, 0,
EGL_RED_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8,
EGL_BUFFER_SIZE, 32,
EGL_STENCIL_SIZE, 0,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_SURFACE_TYPE, EGL_PBUFFER_BIT ,
EGL_DEPTH_SIZE, 16,
EGL_NONE
}

Definition at line 160 of file ThreadSync.h.

EGLint contextAttributes[]
Initial value:
=
{
EGL_CONTEXT_CLIENT_VERSION, 3,
EGL_NONE
}

Definition at line 186 of file ThreadSync.h.

const float cubeColors[]
static

Definition at line 121 of file ThreadSync.h.

const GLubyte cubeIndices[]
static
Initial value:
=
{
0, 1, 2, 3, 3, 4, 4, 5, 6, 7, 7, 8, 8, 9, 10, 11, 11, 12, 12, 13, 14, 15, 15, 16, 16, 17, 18, 19, 19, 20, 20, 21, 22, 23,
}

Definition at line 30 of file ThreadSync.h.

const float cubeTextureCoordinates[]
static

Definition at line 82 of file ThreadSync.h.

const float cubeVertices[]
static

Definition at line 43 of file ThreadSync.h.

EGLint pBufferAttributes[]
Initial value:
=
{
EGL_WIDTH, 2,
EGL_HEIGHT, 2,
EGL_TEXTURE_FORMAT, EGL_TEXTURE_RGBA,
EGL_TEXTURE_TARGET, EGL_TEXTURE_2D,
EGL_NONE
}

Definition at line 193 of file ThreadSync.h.