/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 | 69 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint* major, EGLint* minor) { in eglInitialize() 83 EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig* configs, EGLint config_size, in eglGetConfigs() 84 EGLint* num_config) { in eglGetConfigs() 91 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint* attrib_list, EGLConfig* configs, in eglChooseConfig() 92 EGLint config_size, EGLint* num_config) { in eglChooseConfig() 99 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint* value) { in eglGetConfigAttrib() 107 const EGLint* attrib_list) { in eglCreateWindowSurface() 123 const EGLint* attrib_list) { in eglCreatePixmapSurface() 138 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint* attrib_list) { in eglCreatePbufferSurface() 152 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint* value) { in eglQuerySurface() [all …]
|
D | egl_object.h | 130 EGLint colorSpace, egl_connection_t const* cnx); 134 EGLint getColorSpace() const { return colorSpace; } in getColorSpace() 135 EGLBoolean setSmpte2086Attribute(EGLint attribute, EGLint value); 136 EGLBoolean setCta8613Attribute(EGLint attribute, EGLint value); 137 EGLBoolean getColorSpaceAttribute(EGLint attribute, EGLint* value) const; 138 EGLBoolean getSmpte2086Attribute(EGLint attribute, EGLint* value) const; 139 EGLBoolean getCta8613Attribute(EGLint attribute, EGLint* value) const; 159 EGLint colorSpace; 162 EGLint x; 163 EGLint y; [all …]
|
D | egl_platform_entries.cpp | 281 EGLBoolean eglInitializeImpl(EGLDisplay dpy, EGLint* major, EGLint* minor) { in eglInitializeImpl() 307 EGLBoolean eglGetConfigsImpl(EGLDisplay dpy, EGLConfig* configs, EGLint config_size, in eglGetConfigsImpl() 308 EGLint* num_config) { in eglGetConfigsImpl() 327 EGLBoolean eglChooseConfigImpl(EGLDisplay dpy, const EGLint* attrib_list, EGLConfig* configs, in eglChooseConfigImpl() 328 EGLint config_size, EGLint* num_config) { in eglChooseConfigImpl() 347 EGLint attrib = attrib_list[0]; in eglChooseConfigImpl() 351 const EGLint* attribRendererable = nullptr; in eglChooseConfigImpl() 352 const EGLint* attribCaveat = nullptr; in eglChooseConfigImpl() 374 EGLint aaAttribs[attribCount + 4]; in eglChooseConfigImpl() 380 memcpy(&aaAttribs[4], attrib_list, attribCount * sizeof(EGLint)); in eglChooseConfigImpl() [all …]
|
D | egl_tls.h | 32 EGLint error; 39 static void setErrorEtcImpl(const char* caller, int line, EGLint error, bool quiet); 45 static EGLint getError(); 49 static const char* egl_strerror(EGLint err); 52 static T setErrorEtc(const char* caller, int line, EGLint error, T returnValue,
|
D | egl_object.cpp | 52 EGLSurface surface, EGLint colorSpace, egl_connection_t const* cnx) in egl_surface_t() 97 EGLBoolean egl_surface_t::setSmpte2086Attribute(EGLint attribute, EGLint value) { in setSmpte2086Attribute() 143 EGLBoolean egl_surface_t::setCta8613Attribute(EGLint attribute, EGLint value) { in setCta8613Attribute() 219 EGLBoolean egl_surface_t::getColorSpaceAttribute(EGLint attribute, EGLint* value) const { in getColorSpaceAttribute() 227 EGLBoolean egl_surface_t::getSmpte2086Attribute(EGLint attribute, EGLint* value) const { in getSmpte2086Attribute() 273 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/include/EGL/ |
D | eglext.h | 113 typedef void (EGLAPIENTRY *EGLDEBUGPROCKHR)(EGLenum error,const char *command,EGLint messageType,E… 126 typedef EGLint (EGLAPIENTRYP PFNEGLDEBUGMESSAGECONTROLKHRPROC) (EGLDEBUGPROCKHR callback, const EGL… 127 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEBUGKHRPROC) (EGLint attribute, EGLAttrib *value); 128 typedef EGLint (EGLAPIENTRYP PFNEGLLABELOBJECTKHRPROC) (EGLDisplay display, EGLenum objectType, EGL… 130 EGLAPI EGLint EGLAPIENTRY eglDebugMessageControlKHR (EGLDEBUGPROCKHR callback, const EGLAttrib *att… 131 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDebugKHR (EGLint attribute, EGLAttrib *value); 132 EGLAPI EGLint EGLAPIENTRY eglLabelObjectKHR (EGLDisplay display, EGLenum objectType, EGLObjectKHR o… 139 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBKHRPROC) (EGLDisplay dpy, EGLint name, EGL… 141 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribKHR (EGLDisplay dpy, EGLint name, EGLAttrib *val… 152 …R (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); [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); [all …]
|
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 …]
|
/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/base/core/jni/ |
D | android_opengl_EGL14.cpp | 141 EGLint _returnValue = (EGLint) 0; in android_eglGetError() 179 EGLint *major_base = (EGLint *) 0; in android_eglInitialize() 181 EGLint *major = (EGLint *) 0; in android_eglInitialize() 182 EGLint *minor_base = (EGLint *) 0; in android_eglInitialize() 184 EGLint *minor = (EGLint *) 0; in android_eglInitialize() 200 major_base = (EGLint *) in android_eglInitialize() 219 minor_base = (EGLint *) in android_eglInitialize() 226 (EGLint *)major, in android_eglInitialize() 227 (EGLint *)minor in android_eglInitialize() 265 (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/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 50 static const char* egl_error_str(EGLint error) { in egl_error_str() 117 EGLint major, minor; in initialize() 164 EGLint eglSwapBehavior = in load8BitsConfig() 166 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in load8BitsConfig() 186 EGLint numConfigs = 1; in load8BitsConfig() 194 EGLint eglSwapBehavior = in load1010102Config() 197 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in load1010102Config() 215 EGLint numConfigs = 1; in load1010102Config() 223 EGLint eglSwapBehavior = in loadFP16Config() 226 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in loadFP16Config() [all …]
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 57 #define METADATA_SCALE(x) (static_cast<EGLint>(x * EGL_METADATA_SCALING_EXT)) 82 EGLint majorVersion; in SetUp() 83 EGLint minorVersion; in SetUp() 99 EGLint numConfigs; in TEST_F() 102 EGLint attrs[] = { in TEST_F() 113 EGLint components[3]; in TEST_F() 131 EGLint numConfigs; in TEST_F() 133 EGLint attrs[] = { in TEST_F() 169 EGLint numConfigs; in TEST_F() 172 EGLint attrs[] = { in TEST_F() [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/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/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/libs/renderengine/skia/ |
D | SkiaGLRenderEngine.cpp | 63 static status_t selectConfigForAttribute(EGLDisplay dpy, EGLint const* attrs, EGLint attribute, in selectConfigForAttribute() 64 EGLint wanted, EGLConfig* outConfig) { in selectConfigForAttribute() 65 EGLint numConfigs = -1, n = 0; in selectConfigForAttribute() 74 EGLint value = 0; in selectConfigForAttribute() 91 static status_t selectEGLConfig(EGLDisplay display, EGLint format, EGLint renderableType, in selectEGLConfig() 96 EGLint wantedAttribute; in selectEGLConfig() 97 EGLint wantedAttributeValue; in selectEGLConfig() 99 std::vector<EGLint> attribs; in selectEGLConfig() 105 const EGLint tmpAttribs[] = { in selectEGLConfig() 124 std::copy(tmpAttribs, tmpAttribs + (sizeof(tmpAttribs) / sizeof(EGLint)), in selectEGLConfig() [all …]
|
/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/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/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()
|