Home
last modified time | relevance | path

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

1234

/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 …]
Degl_object.h135 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 …]
DeglApi.cpp303 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize()
337 EGLint config_size, EGLint *num_config) in eglGetConfigs()
360 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig()
361 EGLConfig *configs, EGLint config_size, in eglChooseConfig()
362 EGLint *num_config) in eglChooseConfig()
384 EGLint attrib = attrib_list[0]; in eglChooseConfig()
388 const EGLint *attribRendererable = NULL; in eglChooseConfig()
389 const EGLint *attribCaveat = NULL; in eglChooseConfig()
412 EGLint aaAttribs[attribCount + 4]; in eglChooseConfig()
418 memcpy(&aaAttribs[4], attrib_list, attribCount * sizeof(EGLint)); in eglChooseConfig()
[all …]
Degl_tls.h35 EGLint error;
42 const char* caller, int line, EGLint error, bool quiet);
48 static EGLint getError();
52 static const char *egl_strerror(EGLint err);
56 int line, EGLint error, T returnValue, bool quiet = false) {
Degl_object.cpp59 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/include/EGL/
Deglext.h113 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 …]
Degl.h81 #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/
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/base/libs/hwui/debug/
Dnullegl.cpp55 EGLint eglGetError(void) { in eglGetError()
63 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint* major, EGLint* minor) { in eglInitialize()
71 const char* eglQueryString(EGLDisplay dpy, EGLint name) { in eglQueryString()
78 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint* attrib_list, EGLConfig* configs, in eglChooseConfig()
79 EGLint config_size, EGLint* num_config) { in eglChooseConfig()
86 const EGLint* attrib_list) { in eglCreateWindowSurface()
90 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint* attrib_list) { in eglCreatePbufferSurface()
99 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint* value) { in eglQuerySurface()
108 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) { in eglSurfaceAttrib()
112 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) { in eglSwapInterval()
[all …]
/frameworks/base/core/jni/
Dandroid_opengl_EGL14.cpp141 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()
264 (EGLint)name in android_eglQueryString__Landroind_opengl_EGLDisplay_2I()
[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()
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()
DeglCreatePbufferFromClientBuffer.cpp12 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/services/surfaceflinger/RenderEngine/
DRenderEngine.cpp36 extern "C" EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name);
65 EGLint renderableType = 0; in create()
71 EGLint contextClientVersion = 0; in create()
80 std::vector<EGLint> contextAttributes; in create()
103 EGLint attribs[] = {EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE, EGL_NONE}; in create()
254 EGLint result = eglClientWaitSyncKHR(mEGLDisplay, sync, EGL_SYNC_FLUSH_COMMANDS_BIT_KHR, in finish()
256 EGLint error = eglGetError(); in finish()
276 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fenceFd, EGL_NONE}; in waitFence()
290 EGLint error = eglGetError(); in waitFence()
443 static status_t selectConfigForAttribute(EGLDisplay dpy, EGLint const* attrs, EGLint attribute, in selectConfigForAttribute()
[all …]
DSurface.cpp56 EGLint error = eglGetError(); in swapBuffers()
67 EGLint Surface::queryConfig(EGLint attrib) const { in queryConfig()
68 EGLint value; in queryConfig()
76 EGLint Surface::querySurface(EGLint attrib) const { in querySurface()
77 EGLint value; in querySurface()
/frameworks/native/opengl/libagl/
Degl.cpp57 EGLint left, EGLint top, EGLint width, EGLint height);
183 virtual EGLint getWidth() const = 0;
184 virtual EGLint getHeight() const = 0;
186 virtual EGLint getHorizontalResolution() const;
187 virtual EGLint getVerticalResolution() const;
188 virtual EGLint getRefreshRate() const;
189 virtual EGLint getSwapBehavior() const;
191 virtual EGLBoolean setSwapRectangle(EGLint l, EGLint t, EGLint w, EGLint h);
218 EGLint egl_surface_t::getHorizontalResolution() const { in getHorizontalResolution()
221 EGLint egl_surface_t::getVerticalResolution() const { in getVerticalResolution()
[all …]
/frameworks/native/opengl/tests/lib/include/
DEGLUtils.h32 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/
DEGL_test.cpp53 #define METADATA_SCALE(x) (static_cast<EGLint>(x * EGL_METADATA_SCALING_EXT))
80 EGLint majorVersion; in SetUp()
81 EGLint minorVersion; in SetUp()
97 EGLint numConfigs; in TEST_F()
100 EGLint attrs[] = { in TEST_F()
111 EGLint components[3]; in TEST_F()
129 EGLint numConfigs; in TEST_F()
131 EGLint attrs[] = { in TEST_F()
167 EGLint numConfigs; in TEST_F()
170 EGLint attrs[] = { in TEST_F()
[all …]
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp33 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/
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/base/libs/hwui/renderthread/
DEglManager.cpp53 static const char* egl_error_str(EGLint error) { in egl_error_str()
106 EGLint major, minor; in initialize()
181 EGLint swapBehavior = in loadConfigs()
183 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in loadConfigs()
203 EGLint numConfigs = 1; in loadConfigs()
220 EGLint attribs16F[] = {EGL_RENDERABLE_TYPE, in loadConfigs()
252 std::vector<EGLint> contextAttributes; in createContext()
273 EGLint attribs[] = {EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE}; in createPBufferSurface()
306 EGLint attribs[] = {EGL_NONE, EGL_NONE, EGL_NONE}; in createSurface()
367 bool EglManager::makeCurrent(EGLSurface surface, EGLint* errOut) { in makeCurrent()
[all …]
/frameworks/native/opengl/tests/gl_perf/
Dgl2_perf.cpp40 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/
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.cpp76 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/
DglTestLib.cpp53 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()

1234