Home
last modified time | relevance | path

Searched refs:EGLint (Results 1 – 25 of 79) 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_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) {
DeglApi.cpp298 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize()
332 EGLint config_size, EGLint *num_config) in eglGetConfigs()
355 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig()
356 EGLConfig *configs, EGLint config_size, in eglChooseConfig()
357 EGLint *num_config) in eglChooseConfig()
379 EGLint attrib = attrib_list[0]; in eglChooseConfig()
383 const EGLint *attribRendererable = NULL; in eglChooseConfig()
384 const EGLint *attribCaveat = NULL; in eglChooseConfig()
407 EGLint aaAttribs[attribCount + 4]; in eglChooseConfig()
413 memcpy(&aaAttribs[4], attrib_list, attribCount * sizeof(EGLint)); in eglChooseConfig()
[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/include/EGL/
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);
148 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_l…
150 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTi…
152 … EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
154 …R (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
156 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint
158 …RYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
[all …]
Degl.h74 #define EGL_DONT_CARE EGL_CAST(EGLint, -1)
201 #define EGL_UNKNOWN EGL_CAST(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/
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, in eglChooseConfig()
79 EGLConfig *configs, EGLint config_size, in eglChooseConfig()
80 EGLint *num_config) { in eglChooseConfig()
88 const EGLint *attrib_list) { in eglCreateWindowSurface()
93 const EGLint *attrib_list) { in eglCreatePbufferSurface()
103 EGLint attribute, EGLint *value) { in eglQuerySurface()
113 EGLint attribute, EGLint value) { in eglSurfaceAttrib()
[all …]
/frameworks/base/core/jni/
Dandroid_opengl_EGL14.cpp142 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/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.cpp29 EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name);
66 EGLint renderableType = 0; in create()
73 EGLint contextClientVersion = 0; in create()
82 std::vector<EGLint> contextAttributes; in create()
109 EGLint attribs[] = { EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE, EGL_NONE }; in create()
286 static status_t selectConfigForAttribute(EGLDisplay dpy, EGLint const* attrs, in selectConfigForAttribute()
287 EGLint attribute, EGLint wanted, EGLConfig* outConfig) { in selectConfigForAttribute()
288 EGLint numConfigs = -1, n = 0; in selectConfigForAttribute()
296 EGLint value = 0; in selectConfigForAttribute()
319 KeyedVector<Attribute, EGLint> mList;
[all …]
/frameworks/native/opengl/libagl/
Degl.cpp57 EGLint left, EGLint top, EGLint width, EGLint height);
163 virtual EGLint getWidth() const = 0;
164 virtual EGLint getHeight() const = 0;
166 virtual EGLint getHorizontalResolution() const;
167 virtual EGLint getVerticalResolution() const;
168 virtual EGLint getRefreshRate() const;
169 virtual EGLint getSwapBehavior() const;
171 virtual EGLBoolean setSwapRectangle(EGLint l, EGLint t, EGLint w, EGLint h);
198 EGLint egl_surface_t::getHorizontalResolution() const { in getHorizontalResolution()
201 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/base/libs/hwui/renderthread/
DEglManager.cpp51 static const char* egl_error_str(EGLint error) { in egl_error_str()
99 EGLint major, minor; in initialize()
163 EGLint swapBehavior = (mSwapBehavior == SwapBehavior::Preserved) in loadConfig()
165 EGLint attribs[] = { in loadConfig()
178 EGLint num_configs = 1; in loadConfig()
194 EGLint attribs[] = { in createContext()
208 EGLint attribs[] = { EGL_WIDTH, 1, EGL_HEIGHT, 1, EGL_NONE }; in createPBufferSurface()
216 EGLint attribs[] = { in createSurface()
264 bool EglManager::makeCurrent(EGLSurface surface, EGLint* errOut) { in makeCurrent()
288 EGLint EglManager::queryBufferAge(EGLSurface surface) { in queryBufferAge()
[all …]
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp71 EGLint majorVersion; in SetUp()
72 EGLint minorVersion; in SetUp()
88 EGLint numConfigs; in TEST_F()
91 EGLint attrs[] = { in TEST_F()
102 EGLint components[3]; in TEST_F()
120 EGLint numConfigs; in TEST_F()
122 EGLint attrs[] = { in TEST_F()
158 EGLint numConfigs; in TEST_F()
161 EGLint attrs[] = { in TEST_F()
176 EGLint components[4]; 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.cpp57 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error in checkEglError()
186 struct {EGLint attribute; const char* name;} names[] = { in printEGLConfiguration()
223 EGLint value = -1; in printEGLConfiguration()
224 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration()
225 EGLint error = eglGetError(); in printEGLConfiguration()
235 EGLint numConfig = 0; in printEGLConfigurations()
236 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations()
270 EGLint context_attribs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE }; in main()
271 EGLint s_configAttribs[] = { in main()
275 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/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();
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/angeles/
Dapp-linux.cpp115 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()

1234