/frameworks/native/opengl/libs/EGL/ |
D | egl_entries.in | 2 EGL_ENTRY(EGLBoolean, eglInitialize, EGLDisplay, EGLint*, EGLint*) 4 EGL_ENTRY(EGLBoolean, eglGetConfigs, EGLDisplay, EGLConfig*, EGLint, EGLint*) 5 EGL_ENTRY(EGLBoolean, eglChooseConfig, EGLDisplay, const EGLint *, EGLConfig *, EGLint, EGLint *) 7 EGL_ENTRY(EGLBoolean, eglGetConfigAttrib, EGLDisplay, EGLConfig, EGLint, EGLint *) 8 EGL_ENTRY(EGLSurface, eglCreateWindowSurface, EGLDisplay, EGLConfig, NativeWindowType, const EGLint… 9 EGL_ENTRY(EGLSurface, eglCreatePixmapSurface, EGLDisplay, EGLConfig, NativePixmapType, const EGLint… 10 EGL_ENTRY(EGLSurface, eglCreatePbufferSurface, EGLDisplay, EGLConfig, const EGLint *) 12 EGL_ENTRY(EGLBoolean, eglQuerySurface, EGLDisplay, EGLSurface, EGLint, EGLint *) 13 EGL_ENTRY(EGLContext, eglCreateContext, EGLDisplay, EGLConfig, EGLContext, const EGLint *) 17 EGL_ENTRY(EGLSurface, eglGetCurrentSurface, EGLint) [all …]
|
D | egl_tls.h | 37 EGLint error; 44 const char* caller, int line, EGLint error, bool quiet); 50 static EGLint getError(); 54 static const char *egl_strerror(EGLint err); 58 int line, EGLint error, T returnValue, bool quiet = false) {
|
D | eglApi.cpp | 132 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize() 166 EGLint config_size, EGLint *num_config) in eglGetConfigs() 189 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() 190 EGLConfig *configs, EGLint config_size, in eglChooseConfig() 191 EGLint *num_config) in eglChooseConfig() 214 EGLint attribute, EGLint *value) in eglGetConfigAttrib() 232 const EGLint *attrib_list) in eglCreateWindowSurface() 240 EGLint format; in eglCreateWindowSurface() 284 const EGLint *attrib_list) in eglCreatePixmapSurface() 303 const EGLint *attrib_list) in eglCreatePbufferSurface() [all …]
|
D | egl_tls.cpp | 39 const char *egl_tls_t::egl_strerror(EGLint err) { in egl_strerror() 71 const char* caller, int line, EGLint error, bool quiet) { in setErrorEtcImpl() 124 EGLint egl_tls_t::getError() { in getError() 129 EGLint error = tls->error; in getError()
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
D | egl.h | 69 typedef int32_t EGLint; 152 #define EGL_DONT_CARE ((EGLint) -1) 194 GLAPI EGLint APIENTRY eglGetError (void); 197 GLAPI EGLBoolean APIENTRY eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor); 199 GLAPI const char * APIENTRY eglQueryString (EGLDisplay dpy, EGLint name); 202 …an APIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_con… 203 …TRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_… 204 …an APIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value); 206 …ndowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list); 207 …xmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list); [all …]
|
/frameworks/native/opengl/include/EGL/ |
D | egl.h | 74 #define EGL_DONT_CARE ((EGLint)-1) 201 #define EGL_UNKNOWN ((EGLint)-1) 249 EGLAPI EGLint EGLAPIENTRY eglGetError(void); 252 EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor); 255 EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name); 258 EGLint config_size, EGLint *num_config); 259 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, 260 EGLConfig *configs, EGLint config_size, 261 EGLint *num_config); 263 EGLint attribute, EGLint *value); [all …]
|
D | eglext.h | 71 … EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); 74 …TRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); 84 …EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 87 …EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 140 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_l… 142 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTi… 144 … EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 146 …R (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 148 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint … 150 …RYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); [all …]
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 54 EGLint left, EGLint top, EGLint width, EGLint height); 159 virtual EGLint getWidth() const = 0; 160 virtual EGLint getHeight() const = 0; 162 virtual EGLint getHorizontalResolution() const; 163 virtual EGLint getVerticalResolution() const; 164 virtual EGLint getRefreshRate() const; 165 virtual EGLint getSwapBehavior() const; 167 virtual EGLBoolean setSwapRectangle(EGLint l, EGLint t, EGLint w, EGLint h); 194 EGLint egl_surface_t::getHorizontalResolution() const { in getHorizontalResolution() 197 EGLint egl_surface_t::getVerticalResolution() const { in getVerticalResolution() [all …]
|
/frameworks/native/opengl/tests/include/ |
D | EGLUtils.h | 37 static inline const char *strerror(EGLint err); 41 EGLint const* attrs, 47 EGLint const* attrs, 54 const char *EGLUtils::strerror(EGLint err) in strerror() 78 EGLint const* attrs, in selectConfigForPixelFormat() 82 EGLint numConfigs = -1, n=0; in selectConfigForPixelFormat() 103 EGLint nativeVisualId = 0; in selectConfigForPixelFormat() 123 EGLint const* attrs, in selectConfigForNativeWindow()
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 42 EGLint majorVersion; in SetUp() 43 EGLint minorVersion; in SetUp() 59 EGLint numConfigs; in TEST_F() 62 EGLint attrs[] = { in TEST_F() 73 EGLint components[3]; in TEST_F() 91 EGLint numConfigs; in TEST_F() 93 EGLint attrs[] = { in TEST_F() 121 EGLint numConfigs; in TEST_F() 124 EGLint attrs[] = { in TEST_F() 139 EGLint components[4]; in TEST_F()
|
/frameworks/native/opengl/tests/swapinterval/ |
D | swapinterval.cpp | 33 EGLint configAttribs[] = { in main() 38 EGLint majorVersion; in main() 39 EGLint minorVersion; in main() 42 EGLint numConfigs=0; in main() 44 EGLint w, h; in main() 63 EGLint r,g,b,a, vid; in main() 72 EGLint err = eglGetError(); in main()
|
/frameworks/native/opengl/tests/gl2_basic/ |
D | gl2_basic.cpp | 52 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error in checkEglError() 181 struct {EGLint attribute; const char* name;} names[] = { in printEGLConfiguration() 218 EGLint value = -1; in printEGLConfiguration() 219 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() 220 EGLint error = eglGetError(); in printEGLConfiguration() 230 EGLint numConfig = 0; in printEGLConfigurations() 231 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations() 265 EGLint context_attribs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE }; in main() 266 EGLint s_configAttribs[] = { in main() 270 EGLint majorVersion; in main() [all …]
|
/frameworks/native/opengl/tests/gl_perf/ |
D | gl2_perf.cpp | 40 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error in checkEglError() 63 EGLint context_attribs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE }; in main() 64 EGLint s_configAttribs[] = { in main() 68 EGLint majorVersion; in main() 69 EGLint minorVersion; in main() 71 EGLint w, h; in main()
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
D | gl2_copyTexImage.cpp | 52 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error in checkEglError() 285 struct {EGLint attribute; const char* name;} names[] = { in printEGLConfiguration() 322 EGLint value = -1; in printEGLConfiguration() 323 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() 324 EGLint error = eglGetError(); in printEGLConfiguration() 334 EGLint numConfig = 0; in printEGLConfigurations() 335 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations() 369 EGLint context_attribs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE }; in main() 370 EGLint s_configAttribs[] = { in main() 378 EGLint majorVersion; in main() [all …]
|
/frameworks/native/opengl/tests/lib/ |
D | glTestLib.cpp | 54 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error in glTestCheckEglError() 73 struct {EGLint attribute; const char* name;} names[] = { in glTestPrintEGLConfiguration() 110 EGLint value = -1; in glTestPrintEGLConfiguration() 111 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, in glTestPrintEGLConfiguration() 113 EGLint error = eglGetError(); in glTestPrintEGLConfiguration()
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
D | gl_yuvtex.cpp | 54 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error in checkEglError() 176 struct {EGLint attribute; const char* name;} names[] = { in printEGLConfiguration() 213 EGLint value = -1; in printEGLConfiguration() 214 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() 215 EGLint error = eglGetError(); in printEGLConfiguration() 228 EGLint context_attribs[] = { EGL_CONTEXT_CLIENT_VERSION, 1, EGL_NONE }; in main() 229 EGLint s_configAttribs[] = { in main() 233 EGLint majorVersion; in main() 234 EGLint minorVersion; in main() 237 EGLint w, h; in main()
|
/frameworks/base/core/jni/ |
D | android_view_HardwareRenderer.cpp | 63 EGLint error = eglGetError(); in android_view_HardwareRenderer_preserveBackBuffer() 74 EGLint value; in android_view_HardwareRenderer_isBackBufferPreserved() 79 EGLint error = eglGetError(); in android_view_HardwareRenderer_isBackBufferPreserved() 93 EGLint error = eglGetError(); in android_view_HardwareRenderer_disableVsync() 110 EGLint value; in android_view_HardwareRenderer_beginFrame()
|
/frameworks/native/opengl/tests/filter/ |
D | filter.cpp | 24 EGLint s_configAttribs[] = { in main() 32 EGLint numConfigs = -1; in main() 33 EGLint majorVersion; in main() 34 EGLint minorVersion; in main() 38 EGLint w, h; in main() 56 EGLint attribs[] = { EGL_WIDTH, 320, EGL_HEIGHT, 480, EGL_NONE }; in main()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayHardware.cpp | 62 static const char *strerror(EGLint err) { in checkEGLErrors() 84 EGLint error = eglGetError(); in checkEGLErrors() 126 EGLint const* attrs, in selectConfigForPixelFormat() 131 EGLint numConfigs = -1, n=0; in selectConfigForPixelFormat() 136 EGLint nativeVisualId = 0; in selectConfigForPixelFormat() 218 EGLint w, h, dummy; in init() 219 EGLint numConfigs=0; in init() 226 EGLint attribs[] = { in init() 253 EGLint r,g,b,a; in init() 287 EGLint contextAttributes[] = { in init()
|
/frameworks/native/opengl/tests/gl2_yuvtex/ |
D | gl2_yuvtex.cpp | 54 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error in checkEglError() 286 struct {EGLint attribute; const char* name;} names[] = { in printEGLConfiguration() 323 EGLint value = -1; in printEGLConfiguration() 324 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() 325 EGLint error = eglGetError(); in printEGLConfiguration() 338 EGLint context_attribs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE }; in main() 339 EGLint s_configAttribs[] = { in main() 343 EGLint majorVersion; in main() 344 EGLint minorVersion; in main() 347 EGLint w, h; in main()
|
/frameworks/native/opengl/tests/configdump/ |
D | configdump.cpp | 25 EGLint attribute; 69 EGLint n; in main() 77 for (EGLint i=0 ; i<n ; i++) { in main() 80 EGLint value; in main()
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 100 struct {EGLint attribute; const char* name;} names[] = { in printEGLConfiguration() 137 EGLint value = -1; in printEGLConfiguration() 138 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() 139 EGLint error = eglGetError(); in printEGLConfiguration() 153 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error in checkEglError() 161 EGLint numConfig = 0; in printEGLConfigurations() 162 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations() 214 EGLint numConfigs = 1; in init_gl_surface() 216 EGLint attrib[] = in init_gl_surface()
|
/frameworks/native/opengl/tests/linetex/ |
D | linetex.cpp | 36 EGLint configAttribs[] = { in main() 41 EGLint majorVersion; in main() 42 EGLint minorVersion; in main() 46 EGLint w, h; in main()
|
/frameworks/native/opengl/tests/angeles/ |
D | app-linux.cpp | 115 EGLint error = eglGetError(); in checkEGLErrors() 123 EGLint configAttribs[] = { in initGraphics() 130 EGLint majorVersion; in initGraphics() 131 EGLint minorVersion; in initGraphics() 135 EGLint w, h; in initGraphics()
|
/frameworks/native/opengl/tests/textures/ |
D | textures.cpp | 32 EGLint configAttribs[] = { in main() 37 EGLint majorVersion; in main() 38 EGLint minorVersion; in main() 42 EGLint w, h; in main()
|