19 #ifndef __CONFIG_TEMPLATES_H__ 20 #define __CONFIG_TEMPLATES_H__ 1 29 # error "This file needs EGL, which is part of OpenGL-ES" 88 static const EGLint attrib32_low[] = {
95 EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT,
97 EGL_SAMPLE_BUFFERS, 0,
101 static const EGLint attrib32_medium[] = {
108 EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT,
110 EGL_SAMPLE_BUFFERS, 1,
114 static const EGLint attrib32_high[] = {
121 EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT,
123 EGL_SAMPLE_BUFFERS, 1,
128 static EGLint
const attrib16_low[] = {
139 EGL_SAMPLE_BUFFERS, 0,
143 static EGLint
const attrib16_medium[] = {
149 EGL_LUMINANCE_SIZE, EGL_DONT_CARE,
150 EGL_SURFACE_TYPE, EGL_VG_COLORSPACE_LINEAR_BIT,
154 EGL_SAMPLE_BUFFERS, 1,
158 static EGLint
const attrib16_high[] = {
164 EGL_LUMINANCE_SIZE, EGL_DONT_CARE,
165 EGL_SURFACE_TYPE, EGL_VG_COLORSPACE_LINEAR_BIT,
169 EGL_SAMPLE_BUFFERS, 1,
175 static const EGLint attrib1_list[] = {
179 EGL_RENDERABLE_TYPE, EGL_OPENVG_BIT,
189 EGL_RENDER_BUFFER, EGL_BACK_BUFFER,
190 EGL_VG_COLORSPACE, EGL_VG_COLORSPACE_sRGB,
194 #endif // end of __CONFIG_TEMPLATES_H__
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
const EGLint surface_attributes[]
Definition: configTemplates.h:183
static EGLint getRenderableTypes()
Definition: eglDevice.cpp:830