/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 | eglApi.cpp | 70 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint* major, EGLint* minor) { in eglInitialize() 84 EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig* configs, EGLint config_size, in eglGetConfigs() 85 EGLint* num_config) { in eglGetConfigs() 92 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint* attrib_list, EGLConfig* configs, in eglChooseConfig() 93 EGLint config_size, EGLint* num_config) { in eglChooseConfig() 100 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint* value) { in eglGetConfigAttrib() 108 const EGLint* attrib_list) { in eglCreateWindowSurface() 124 const EGLint* attrib_list) { in eglCreatePixmapSurface() 139 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint* attrib_list) { in eglCreatePbufferSurface() 153 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint* value) { in eglQuerySurface() [all …]
|
D | egl_object.h | 135 EGLint colorSpace, egl_connection_t const* cnx); 139 EGLint getColorSpace() const { return colorSpace; } in getColorSpace() 140 EGLBoolean setSmpte2086Attribute(EGLint attribute, EGLint value); 141 EGLBoolean setCta8613Attribute(EGLint attribute, EGLint value); 142 EGLBoolean getColorSpaceAttribute(EGLint attribute, EGLint* value) const; 143 EGLBoolean getSmpte2086Attribute(EGLint attribute, EGLint* value) const; 144 EGLBoolean getCta8613Attribute(EGLint attribute, EGLint* value) const; 161 EGLint colorSpace; 164 EGLint x; 165 EGLint y; [all …]
|
D | egl_platform_entries.cpp | 316 EGLBoolean eglInitializeImpl(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitializeImpl() 346 EGLint config_size, EGLint *num_config) in eglGetConfigsImpl() 367 EGLBoolean eglChooseConfigImpl( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfigImpl() 368 EGLConfig *configs, EGLint config_size, in eglChooseConfigImpl() 369 EGLint *num_config) in eglChooseConfigImpl() 386 EGLint attrib = attrib_list[0]; in eglChooseConfigImpl() 390 const EGLint *attribRendererable = nullptr; in eglChooseConfigImpl() 391 const EGLint *attribCaveat = nullptr; in eglChooseConfigImpl() 414 EGLint aaAttribs[attribCount + 4]; in eglChooseConfigImpl() 420 memcpy(&aaAttribs[4], attrib_list, attribCount * sizeof(EGLint)); in eglChooseConfigImpl() [all …]
|
D | egl_tls.h | 35 EGLint error; 43 const char* caller, int line, EGLint error, bool quiet); 49 static EGLint getError(); 53 static const char *egl_strerror(EGLint err); 57 int line, EGLint error, T returnValue, bool quiet = false) {
|
D | egl_object.cpp | 59 EGLSurface surface, EGLint colorSpace, egl_connection_t const* cnx) in egl_surface_t() 100 EGLBoolean egl_surface_t::setSmpte2086Attribute(EGLint attribute, EGLint value) { in setSmpte2086Attribute() 146 EGLBoolean egl_surface_t::setCta8613Attribute(EGLint attribute, EGLint value) { in setCta8613Attribute() 206 EGLBoolean egl_surface_t::getColorSpaceAttribute(EGLint attribute, EGLint* value) const { in getColorSpaceAttribute() 214 EGLBoolean egl_surface_t::getSmpte2086Attribute(EGLint attribute, EGLint *value) const { in getSmpte2086Attribute() 260 EGLBoolean egl_surface_t::getCta8613Attribute(EGLint attribute, EGLint *value) const { in getCta8613Attribute()
|
/frameworks/native/opengl/libs/ |
D | platform_entries.in | 3 EGL_ENTRY(EGLBoolean, eglInitialize, EGLDisplay, EGLint*, EGLint*) 5 EGL_ENTRY(EGLBoolean, eglGetConfigs, EGLDisplay, EGLConfig*, EGLint, EGLint*) 6 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… 10 EGL_ENTRY(EGLSurface, eglCreatePixmapSurface, EGLDisplay, EGLConfig, NativePixmapType, const EGLint… 12 EGL_ENTRY(EGLSurface, eglCreatePbufferSurface, EGLDisplay, EGLConfig, const EGLint*) 14 EGL_ENTRY(EGLBoolean, eglQuerySurface, EGLDisplay, EGLSurface, EGLint, EGLint*) 16 EGL_ENTRY(EGLContext, eglCreateContext, EGLDisplay, EGLConfig, EGLContext, const EGLint*) 19 EGL_ENTRY(EGLBoolean, eglQueryContext, EGLDisplay, EGLContext, EGLint, EGLint*) [all …]
|
/frameworks/native/opengl/tools/glgen/specs/egl/ |
D | EGL14.spec | 1 EGLint eglGetError ( void ) 3 EGLBoolean eglInitialize ( EGLDisplay dpy, EGLint *major, EGLint *minor ) 5 const char * eglQueryString ( EGLDisplay dpy, EGLint name ) 6 EGLBoolean eglGetConfigs ( EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_conf… 7 …an eglChooseConfig ( EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_… 8 EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value ) 9 …dowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) 10 EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list ) 11 …Surface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list ) 13 EGLBoolean eglQuerySurface ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value ) [all …]
|
/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 | 81 #define EGL_DONT_CARE EGL_CAST(EGLint,-1) 121 …TRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_… 123 …ateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list); 124 … EGLAPIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); 125 …pSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list); 126 …ndowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list); 129 …EGLAPIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value); 130 …EGLAPIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_con… 132 EGLAPI EGLSurface EGLAPIENTRY eglGetCurrentSurface (EGLint readdraw); 134 EGLAPI EGLint EGLAPIENTRY eglGetError (void); [all …]
|
D | eglext_angle.h | 148 typedef EGLDeviceEXT(EGLAPIENTRYP PFNEGLCREATEDEVICEANGLEPROC) (EGLint device_type, void *native_de… 151 EGLAPI EGLDeviceEXT EGLAPIENTRY eglCreateDeviceANGLE(EGLint device_type, void *native_device, const… 163 typedef EGLint (EGLAPIENTRYP PFNEGLPROGRAMCACHEGETATTRIBANGLEPROC) (EGLDisplay dpy, EGLenum attrib); 164 …PROGRAMCACHEQUERYANGLEPROC) (EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binar… 165 …ELPOPULATEANGLEPROC) (EGLDisplay dpy, const void *key, EGLint keysize, const void *binary, EGLint … 166 typedef EGLint (EGLAPIENTRYP PFNEGLPROGRAMCACHERESIZEANGLEPROC) (EGLDisplay dpy, EGLint limit, EGLe… 168 EGLAPI EGLint EGLAPIENTRY eglProgramCacheGetAttribANGLE(EGLDisplay dpy, EGLenum attrib); 169 …RY eglProgramCacheQueryANGLE(EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binar… 170 …ramCachePopulateANGLE(EGLDisplay dpy, const void *key, EGLint keysize, const void *binary, EGLint … 171 EGLAPI EGLint EGLAPIENTRY eglProgramCacheResizeANGLE(EGLDisplay dpy, EGLint limit, EGLenum mode);
|
/frameworks/base/core/jni/ |
D | android_opengl_EGL14.cpp | 140 EGLint _returnValue = (EGLint) 0; in android_eglGetError() 178 EGLint *major_base = (EGLint *) 0; in android_eglInitialize() 180 EGLint *major = (EGLint *) 0; in android_eglInitialize() 181 EGLint *minor_base = (EGLint *) 0; in android_eglInitialize() 183 EGLint *minor = (EGLint *) 0; in android_eglInitialize() 199 major_base = (EGLint *) in android_eglInitialize() 218 minor_base = (EGLint *) in android_eglInitialize() 225 (EGLint *)major, in android_eglInitialize() 226 (EGLint *)minor in android_eglInitialize() 264 (EGLint)name in android_eglQueryString__Landroind_opengl_EGLDisplay_2I() [all …]
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | eglCreateWindowSurface.cpp | 12 EGLint *attrib_list_base = (EGLint *) 0; in android_eglCreateWindowSurface() 14 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurface() 25 attrib_list_base = (EGLint *) in android_eglCreateWindowSurface() 30 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurface() 60 (EGLint *)attrib_list in android_eglCreateWindowSurface() 86 EGLint *attrib_list_base = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture() 88 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture() 122 attrib_list_base = (EGLint *) in android_eglCreateWindowSurfaceTexture() 127 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurfaceTexture() 143 (EGLint *)attrib_list in android_eglCreateWindowSurfaceTexture()
|
D | eglCreatePbufferFromClientBuffer.cpp | 12 EGLint *attrib_list_base = (EGLint *) 0; in android_eglCreatePbufferFromClientBuffer() 14 EGLint *attrib_list = (EGLint *) 0; in android_eglCreatePbufferFromClientBuffer() 24 attrib_list_base = (EGLint *) in android_eglCreatePbufferFromClientBuffer() 47 (EGLint *)attrib_list in android_eglCreatePbufferFromClientBuffer()
|
/frameworks/native/opengl/tests/lib/include/ |
D | EGLUtils.h | 32 extern "C" EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name); 42 static inline const char *strerror(EGLint err); 46 EGLint const* attrs, 52 EGLint const* attrs, 63 static inline String8 decodeColorSpace(EGLint colorSpace); 70 const char *EGLUtils::strerror(EGLint err) in strerror() 94 EGLint const* attrs, in selectConfigForPixelFormat() 98 EGLint numConfigs = -1, n=0; in selectConfigForPixelFormat() 118 EGLint nativeVisualId = 0; in selectConfigForPixelFormat() 136 EGLint const* attrs, in selectConfigForNativeWindow() [all …]
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 54 #define METADATA_SCALE(x) (static_cast<EGLint>(x * EGL_METADATA_SCALING_EXT)) 79 EGLint majorVersion; in SetUp() 80 EGLint minorVersion; in SetUp() 96 EGLint numConfigs; in TEST_F() 99 EGLint attrs[] = { in TEST_F() 110 EGLint components[3]; in TEST_F() 128 EGLint numConfigs; in TEST_F() 130 EGLint attrs[] = { in TEST_F() 166 EGLint numConfigs; in TEST_F() 169 EGLint attrs[] = { in TEST_F() [all …]
|
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 46 static const char* egl_error_str(EGLint error) { in egl_error_str() 110 EGLint major, minor; in initialize() 151 EGLint eglSwapBehavior = in load8BitsConfig() 153 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in load8BitsConfig() 173 EGLint numConfigs = 1; in load8BitsConfig() 181 EGLint eglSwapBehavior = in loadFP16Config() 184 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in loadFP16Config() 204 EGLint numConfigs = 1; in loadFP16Config() 272 std::vector<EGLint> contextAttributes; in createContext() 293 EGLint attribs[] = {EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE}; in createPBufferSurface() [all …]
|
/frameworks/native/opengl/tests/gl2_basic/ |
D | gl2_basic.cpp | 33 extern "C" EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name); 35 #define METADATA_SCALE(x) (static_cast<EGLint>(x * EGL_METADATA_SCALING_EXT)) 61 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error in checkEglError() 190 struct {EGLint attribute; const char* name;} names[] = { in printEGLConfiguration() 227 EGLint value = -1; in printEGLConfiguration() 228 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration() 229 EGLint error = eglGetError(); in printEGLConfiguration() 239 EGLint numConfig = 0; in printEGLConfigurations() 240 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations() 307 EGLint context_attribs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE }; in main() [all …]
|
/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() 64 EGLint r,g,b,a, vid; in main() 73 EGLint err = eglGetError(); in main()
|
/frameworks/native/opengl/tests/gl_perf/ |
D | gl2_perf.cpp | 40 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error in checkEglError() 56 EGLint context_attribs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE }; in main() 57 EGLint s_configAttribs[] = { in main() 61 EGLint majorVersion; in main() 62 EGLint minorVersion; in main() 64 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/av/cmds/screenrecord/ |
D | EglWindow.cpp | 76 EGLint pbufferAttribs[] = { in createPbuffer() 108 EGLint majorVersion, minorVersion; in eglSetupContext() 116 EGLint numConfigs = 0; in eglSetupContext() 117 EGLint windowConfigAttribs[] = { in eglSetupContext() 127 EGLint pbufferConfigAttribs[] = { in eglSetupContext() 144 EGLint contextAttribs[] = { in eglSetupContext()
|
/frameworks/native/opengl/tests/lib/ |
D | glTestLib.cpp | 53 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error in glTestCheckEglError() 72 struct {EGLint attribute; const char* name;} names[] = { in glTestPrintEGLConfiguration() 109 EGLint value = -1; in glTestPrintEGLConfiguration() 110 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, in glTestPrintEGLConfiguration() 112 EGLint error = eglGetError(); in glTestPrintEGLConfiguration()
|
/frameworks/native/libs/gui/tests/ |
D | GLTest.h | 48 virtual EGLint const* getConfigAttribs(); 49 virtual EGLint const* getContextAttribs(); 50 virtual EGLint getSurfaceWidth(); 51 virtual EGLint getSurfaceHeight();
|
/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()
|