Home
last modified time | relevance | path

Searched refs:EGLint (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/native/opengl/libs/EGL/
Degl_entries.in2 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 …]
DeglApi.cpp224 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize()
258 EGLint config_size, EGLint *num_config) in eglGetConfigs()
281 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig()
282 EGLConfig *configs, EGLint config_size, in eglChooseConfig()
283 EGLint *num_config) in eglChooseConfig()
305 EGLint attrib = attrib_list[0]; in eglChooseConfig()
309 const EGLint *attribRendererable = NULL; in eglChooseConfig()
310 const EGLint *attribCaveat = NULL; in eglChooseConfig()
331 EGLint aaAttribs[attribCount + 4]; in eglChooseConfig()
337 memcpy(&aaAttribs[4], attrib_list, attribCount * sizeof(EGLint)); in eglChooseConfig()
[all …]
Degl_tls.h37 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/
DEGL14.spec1 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/
Degl.h69 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/
Degl.h74 #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 …]
Deglext.h71 … 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 …]
/frameworks/base/core/jni/
Dandroid_opengl_EGL14.cpp138 EGLint _returnValue = (EGLint) 0; in android_eglGetError()
175 EGLint *major_base = (EGLint *) 0; in android_eglInitialize()
177 EGLint *major = (EGLint *) 0; in android_eglInitialize()
178 EGLint *minor_base = (EGLint *) 0; in android_eglInitialize()
180 EGLint *minor = (EGLint *) 0; in android_eglInitialize()
201 major_base = (EGLint *) in android_eglInitialize()
224 minor_base = (EGLint *) in android_eglInitialize()
230 (EGLint *)major, in android_eglInitialize()
231 (EGLint *)minor in android_eglInitialize()
268 (EGLint)name in android_eglQueryString__Landroind_opengl_EGLDisplay_2I()
[all …]
/frameworks/native/services/surfaceflinger/RenderEngine/
DRenderEngine.cpp28 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()
287 EGLint numConfigs = -1, n = 0; in selectConfigForAttribute()
295 EGLint value = 0; in selectConfigForAttribute()
318 KeyedVector<Attribute, EGLint> mList;
[all …]
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.cpp12 EGLint *attrib_list_base = (EGLint *) 0; in android_eglCreateWindowSurface()
14 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurface()
43 attrib_list_base = (EGLint *) in android_eglCreateWindowSurface()
48 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurface()
64 (EGLint *)attrib_list in android_eglCreateWindowSurface()
89 EGLint *attrib_list_base = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture()
91 EGLint *attrib_list = (EGLint *) 0; in android_eglCreateWindowSurfaceTexture()
125 attrib_list_base = (EGLint *) in android_eglCreateWindowSurfaceTexture()
130 if (*((EGLint*)(attrib_list + i)) == EGL_NONE){ in android_eglCreateWindowSurfaceTexture()
146 (EGLint *)attrib_list in android_eglCreateWindowSurfaceTexture()
DeglCreatePbufferFromClientBuffer.cpp12 EGLint *attrib_list_base = (EGLint *) 0; in android_eglCreatePbufferFromClientBuffer()
14 EGLint *attrib_list = (EGLint *) 0; in android_eglCreatePbufferFromClientBuffer()
29 attrib_list_base = (EGLint *) in android_eglCreatePbufferFromClientBuffer()
51 (EGLint *)attrib_list in android_eglCreatePbufferFromClientBuffer()
/frameworks/native/opengl/libagl/
Degl.cpp55 EGLint left, EGLint top, EGLint width, EGLint height);
161 virtual EGLint getWidth() const = 0;
162 virtual EGLint getHeight() const = 0;
164 virtual EGLint getHorizontalResolution() const;
165 virtual EGLint getVerticalResolution() const;
166 virtual EGLint getRefreshRate() const;
167 virtual EGLint getSwapBehavior() const;
169 virtual EGLBoolean setSwapRectangle(EGLint l, EGLint t, EGLint w, EGLint h);
196 EGLint egl_surface_t::getHorizontalResolution() const { in getHorizontalResolution()
199 EGLint egl_surface_t::getVerticalResolution() const { in getVerticalResolution()
[all …]
/frameworks/native/opengl/tests/include/
DEGLUtils.h37 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/
DEGL_test.cpp41 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/base/libs/hwui/renderthread/
DEglManager.cpp36 static const char* egl_error_str(EGLint error) { in egl_error_str()
91 EGLint major, minor; in initialize()
120 EGLint swapBehavior = mCanSetPreserveBuffer ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadConfig()
121 EGLint attribs[] = { in loadConfig()
134 EGLint num_configs = 1; in loadConfig()
150 EGLint attribs[] = { EGL_CONTEXT_CLIENT_VERSION, GLES_VERSION, EGL_NONE }; in createContext()
188 EGLint attribs[] = { EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE }; in usePBufferSurface()
249 void EglManager::beginFrame(EGLSurface surface, EGLint* width, EGLint* height) { in beginFrame()
266 EGLint err = eglGetError(); in swapBuffers()
301 EGLint swapBehavior; in setPreserveBuffer()
/frameworks/native/opengl/tests/swapinterval/
Dswapinterval.cpp33 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/
Dgl2_basic.cpp52 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/
Dgl2_perf.cpp40 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/base/services/core/jni/
Dcom_android_server_AssetAtlasService.cpp103 EGLint major; in com_android_server_AssetAtlasService_upload()
104 EGLint minor; in com_android_server_AssetAtlasService_upload()
112 EGLint configAttrs[] = { in com_android_server_AssetAtlasService_upload()
123 EGLint configCount; in com_android_server_AssetAtlasService_upload()
145 EGLint attrs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE }; in com_android_server_AssetAtlasService_upload()
153 EGLint surfaceAttrs[] = { EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE }; in com_android_server_AssetAtlasService_upload()
168 EGLint imageAttrs[] = { EGL_IMAGE_PRESERVED_KHR, EGL_TRUE, EGL_NONE }; in com_android_server_AssetAtlasService_upload()
204 EGLint waitStatus = eglClientWaitSyncKHR(display, fence, in com_android_server_AssetAtlasService_upload()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp52 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/
DEglWindow.cpp77 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/
DglTestLib.cpp54 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/libs/gui/tests/
DGLTest.h46 virtual EGLint const* getConfigAttribs();
47 virtual EGLint const* getContextAttribs();
48 virtual EGLint getSurfaceWidth();
49 virtual EGLint getSurfaceHeight();
DGLTest.cpp38 EGLint majorVersion; in SetUp()
39 EGLint minorVersion; in SetUp()
45 EGLint numConfigs = 0; in SetUp()
79 EGLint pbufferAttribs[] = { in SetUp()
99 EGLint w, h; in SetUp()
139 EGLint const* GLTest::getConfigAttribs() { in getConfigAttribs()
140 static const EGLint sDefaultConfigAttribs[] = { in getConfigAttribs()
154 EGLint const* GLTest::getContextAttribs() { in getContextAttribs()
155 static const EGLint sDefaultContextAttribs[] = { in getContextAttribs()
162 EGLint GLTest::getSurfaceWidth() { in getSurfaceWidth()
[all …]
/frameworks/native/opengl/tests/filter/
Dfilter.cpp24 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()
58 EGLint attribs[] = { EGL_WIDTH, 320, EGL_HEIGHT, 480, EGL_NONE }; in main()

123