/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 | 288 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize() 322 EGLint config_size, EGLint *num_config) in eglGetConfigs() 345 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() 346 EGLConfig *configs, EGLint config_size, in eglChooseConfig() 347 EGLint *num_config) in eglChooseConfig() 369 EGLint attrib = attrib_list[0]; in eglChooseConfig() 373 const EGLint *attribRendererable = NULL; in eglChooseConfig() 374 const EGLint *attribCaveat = NULL; in eglChooseConfig() 395 EGLint aaAttribs[attribCount + 4]; in eglChooseConfig() 401 memcpy(&aaAttribs[4], attrib_list, attribCount * sizeof(EGLint)); in eglChooseConfig() [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) {
|
/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/include/EGL/ |
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); 141 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_l… 143 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTi… 145 … EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 147 …R (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 149 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint … 151 …RYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); [all …]
|
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 …]
|
/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 | 142 EGLint _returnValue = (EGLint) 0; in android_eglGetError() 180 EGLint *major_base = (EGLint *) 0; in android_eglInitialize() 182 EGLint *major = (EGLint *) 0; in android_eglInitialize() 183 EGLint *minor_base = (EGLint *) 0; in android_eglInitialize() 185 EGLint *minor = (EGLint *) 0; in android_eglInitialize() 201 major_base = (EGLint *) in android_eglInitialize() 220 minor_base = (EGLint *) in android_eglInitialize() 227 (EGLint *)major, in android_eglInitialize() 228 (EGLint *)minor in android_eglInitialize() 265 (EGLint)name in android_eglQueryString__Landroind_opengl_EGLDisplay_2I() [all …]
|
/frameworks/base/libs/hwui/debug/ |
D | nullegl.cpp | 54 EGLint eglGetError(void) { in eglGetError() 62 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) { in eglInitialize() 70 const char * eglQueryString(EGLDisplay dpy, EGLint name) { in eglQueryString() 74 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() 75 EGLConfig *configs, EGLint config_size, in eglChooseConfig() 76 EGLint *num_config) { in eglChooseConfig() 84 const EGLint *attrib_list) { in eglCreateWindowSurface() 89 const EGLint *attrib_list) { in eglCreatePbufferSurface() 99 EGLint attribute, EGLint *value) { in eglQuerySurface() 109 EGLint attribute, EGLint value) { in eglSurfaceAttrib() [all …]
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | RenderEngine.cpp | 28 EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name); 65 EGLint renderableType = 0; in create() 72 EGLint contextClientVersion = 0; in create() 82 EGLint contextAttributes[] = { in create() 105 EGLint attribs[] = { EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE, EGL_NONE }; in create() 284 static status_t selectConfigForAttribute(EGLDisplay dpy, EGLint const* attrs, in selectConfigForAttribute() 285 EGLint attribute, EGLint wanted, EGLConfig* outConfig) { in selectConfigForAttribute() 286 EGLint numConfigs = -1, n = 0; in selectConfigForAttribute() 294 EGLint value = 0; in selectConfigForAttribute() 317 KeyedVector<Attribute, EGLint> mList; [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() 85 EGLint *attrib_list_base = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture() 87 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture() 121 attrib_list_base = (EGLint *) in android_eglCreateWindowSurfaceTexture() 126 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurfaceTexture() 142 (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/base/libs/hwui/renderthread/ |
D | EglManager.h | 34 EGLint width() const { return mWidth; } in width() 35 EGLint height() const { return mHeight; } in height() 39 EGLint bufferAge() const { return mBufferAge; } in bufferAge() 45 EGLint mWidth; 46 EGLint mHeight; 47 EGLint mBufferAge; 51 void map(const SkRect& in, EGLint* out) const; 70 bool makeCurrent(EGLSurface surface, EGLint* errOut = nullptr); 98 EGLint queryBufferAge(EGLSurface surface);
|
D | EglManager.cpp | 40 static const char* egl_error_str(EGLint error) { in egl_error_str() 70 void Frame::map(const SkRect& in, EGLint* out) const { in map() 80 EGLint y = mHeight - (idirty.y() + idirty.height()); in map() 108 EGLint major, minor; in initialize() 149 EGLint swapBehavior = (mSwapBehavior == SwapBehavior::Preserved) in loadConfig() 151 EGLint attribs[] = { in loadConfig() 164 EGLint num_configs = 1; in loadConfig() 180 EGLint attribs[] = { in createContext() 220 EGLint attribs[] = { EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE }; in createPBufferSurface() 266 bool EglManager::makeCurrent(EGLSurface surface, EGLint* errOut) { in makeCurrent() [all …]
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 56 EGLint left, EGLint top, EGLint width, EGLint height); 162 virtual EGLint getWidth() const = 0; 163 virtual EGLint getHeight() const = 0; 165 virtual EGLint getHorizontalResolution() const; 166 virtual EGLint getVerticalResolution() const; 167 virtual EGLint getRefreshRate() const; 168 virtual EGLint getSwapBehavior() const; 170 virtual EGLBoolean setSwapRectangle(EGLint l, EGLint t, EGLint w, EGLint h); 197 EGLint egl_surface_t::getHorizontalResolution() const { in getHorizontalResolution() 200 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 | 41 EGLint majorVersion; in SetUp() 42 EGLint minorVersion; in SetUp() 58 EGLint numConfigs; in TEST_F() 61 EGLint attrs[] = { in TEST_F() 72 EGLint components[3]; in TEST_F() 90 EGLint numConfigs; in TEST_F() 92 EGLint attrs[] = { in TEST_F() 128 EGLint numConfigs; in TEST_F() 131 EGLint attrs[] = { in TEST_F() 146 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() 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 | 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/base/services/core/jni/ |
D | com_android_server_AssetAtlasService.cpp | 79 EGLint major; in com_android_server_AssetAtlasService_upload() 80 EGLint minor; in com_android_server_AssetAtlasService_upload() 88 EGLint configAttrs[] = { in com_android_server_AssetAtlasService_upload() 99 EGLint configCount; in com_android_server_AssetAtlasService_upload() 121 EGLint attrs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE }; in com_android_server_AssetAtlasService_upload() 129 EGLint surfaceAttrs[] = { EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE }; in com_android_server_AssetAtlasService_upload() 144 EGLint imageAttrs[] = { EGL_IMAGE_PRESERVED_KHR, EGL_TRUE, EGL_NONE }; in com_android_server_AssetAtlasService_upload() 180 EGLint waitStatus = eglClientWaitSyncKHR(display, fence, in com_android_server_AssetAtlasService_upload()
|
/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/av/cmds/screenrecord/ |
D | EglWindow.cpp | 77 EGLint pbufferAttribs[] = { in createPbuffer() 109 EGLint majorVersion, minorVersion; in eglSetupContext() 117 EGLint numConfigs = 0; in eglSetupContext() 118 EGLint windowConfigAttribs[] = { in eglSetupContext() 128 EGLint pbufferConfigAttribs[] = { in eglSetupContext() 145 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/opengl/tests/angeles/ |
D | app-linux.cpp | 115 EGLint error = eglGetError(); in checkEGLErrors() 121 static int initGraphics(EGLint samples, const WindowSurface& windowSurface) in initGraphics() 123 EGLint configAttribs[] = { in initGraphics() 130 EGLint majorVersion; in initGraphics() 131 EGLint minorVersion; in initGraphics() 135 EGLint w, h; in initGraphics()
|