Home
last modified time | relevance | path

Searched refs:EGLint (Results 1 – 25 of 86) 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 …]
DeglApi.cpp69 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 …]
Degl_object.h130 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 …]
Degl_platform_entries.cpp279 EGLBoolean eglInitializeImpl(EGLDisplay dpy, EGLint* major, EGLint* minor) { in eglInitializeImpl()
305 EGLBoolean eglGetConfigsImpl(EGLDisplay dpy, EGLConfig* configs, EGLint config_size, in eglGetConfigsImpl()
306 EGLint* num_config) { in eglGetConfigsImpl()
325 EGLBoolean eglChooseConfigImpl(EGLDisplay dpy, const EGLint* attrib_list, EGLConfig* configs, in eglChooseConfigImpl()
326 EGLint config_size, EGLint* num_config) { in eglChooseConfigImpl()
345 EGLint attrib = attrib_list[0]; in eglChooseConfigImpl()
349 const EGLint* attribRendererable = nullptr; in eglChooseConfigImpl()
350 const EGLint* attribCaveat = nullptr; in eglChooseConfigImpl()
372 EGLint aaAttribs[attribCount + 4]; in eglChooseConfigImpl()
378 memcpy(&aaAttribs[4], attrib_list, attribCount * sizeof(EGLint)); in eglChooseConfigImpl()
[all …]
Degl_tls.h32 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,
Degl_object.cpp52 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/
Dplatform_entries.in3 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/
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 …]
Deglext_angle.h148 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 …]
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/core/jni/
Dandroid_opengl_EGL14.cpp140 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/
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()
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()
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/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/base/libs/hwui/renderthread/
DEglManager.cpp47 static const char* egl_error_str(EGLint error) { in egl_error_str()
114 EGLint major, minor; in initialize()
161 EGLint eglSwapBehavior = in load8BitsConfig()
163 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in load8BitsConfig()
183 EGLint numConfigs = 1; in load8BitsConfig()
191 EGLint eglSwapBehavior = in load1010102Config()
194 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in load1010102Config()
212 EGLint numConfigs = 1; in load1010102Config()
220 EGLint eglSwapBehavior = in loadFP16Config()
223 EGLint attribs[] = {EGL_RENDERABLE_TYPE, in loadFP16Config()
[all …]
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp54 #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/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.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/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()
/frameworks/native/libs/gui/tests/
DGLTest.h48 virtual EGLint const* getConfigAttribs();
49 virtual EGLint const* getContextAttribs();
50 virtual EGLint getSurfaceWidth();
51 virtual EGLint getSurfaceHeight();

1234