Home
last modified time | relevance | path

Searched refs:dpy (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/native/opengl/libs/EGL/
DeglApi.cpp70 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint* major, EGLint* minor) { in eglInitialize() argument
74 return cnx->platform.eglInitialize(dpy, major, minor); in eglInitialize()
77 EGLBoolean eglTerminate(EGLDisplay dpy) { in eglTerminate() argument
81 return cnx->platform.eglTerminate(dpy); in eglTerminate()
84 EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig* configs, EGLint config_size, in eglGetConfigs() argument
89 return cnx->platform.eglGetConfigs(dpy, configs, config_size, num_config); in eglGetConfigs()
92 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint* attrib_list, EGLConfig* configs, in eglChooseConfig() argument
97 return cnx->platform.eglChooseConfig(dpy, attrib_list, configs, config_size, num_config); in eglChooseConfig()
100 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint* value) { in eglGetConfigAttrib() argument
104 return cnx->platform.eglGetConfigAttrib(dpy, config, attribute, value); in eglGetConfigAttrib()
[all …]
Degl_platform_entries.cpp299 EGLDisplay dpy = egl_display_t::getFromNativeDisplay(display, attrib_list); in eglGetPlatformDisplayTmpl() local
300 return dpy; in eglGetPlatformDisplayTmpl()
317 EGLBoolean eglInitializeImpl(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitializeImpl() argument
319 egl_display_ptr dp = get_display(dpy); in eglInitializeImpl()
327 EGLBoolean eglTerminateImpl(EGLDisplay dpy) in eglTerminateImpl() argument
333 egl_display_ptr dp = get_display(dpy); in eglTerminateImpl()
345 EGLBoolean eglGetConfigsImpl(EGLDisplay dpy, in eglGetConfigsImpl() argument
349 const egl_display_ptr dp = validate_display(dpy); in eglGetConfigsImpl()
362 dp->disp.dpy, configs, config_size, num_config); in eglGetConfigsImpl()
368 EGLBoolean eglChooseConfigImpl( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfigImpl() argument
[all …]
Degl_display.h76 static egl_display_t* get(EGLDisplay dpy);
105 DisplayImpl() : dpy(EGL_NO_DISPLAY), state(NOT_INITIALIZED) { } in DisplayImpl()
106 EGLDisplay dpy; member
143 explicit egl_display_ptr(egl_display_t* dpy): mDpy(dpy) {} in egl_display_ptr() argument
176 inline egl_display_ptr get_display(EGLDisplay dpy) { in get_display() argument
177 return egl_display_ptr(egl_display_t::get(dpy)); in get_display()
182 inline egl_display_t* get_display_nowake(EGLDisplay dpy) { in get_display_nowake() argument
183 return egl_display_t::get(dpy); in get_display_nowake()
188 egl_display_ptr validate_display(EGLDisplay dpy);
189 egl_display_ptr validate_display_connection(EGLDisplay dpy,
[all …]
Degl_display.cpp79 int egl_get_init_count(EGLDisplay dpy) { in egl_get_init_count() argument
80 egl_display_t* eglDisplay = egl_display_t::get(dpy); in egl_get_init_count()
95 egl_display_t* egl_display_t::get(EGLDisplay dpy) { in get() argument
96 if (uintptr_t(dpy) == 0) { in get()
100 uintptr_t index = uintptr_t(dpy)-1U; in get()
174 EGLDisplay dpy = EGL_NO_DISPLAY; in getPlatformDisplayAngle() local
193 dpy = cnx->egl.eglGetPlatformDisplay(EGL_PLATFORM_ANGLE_ANGLE, in getPlatformDisplayAngle()
196 if (dpy == EGL_NO_DISPLAY) { in getPlatformDisplayAngle()
199 if (!angle::initializeAnglePlatform(dpy)) { in getPlatformDisplayAngle()
208 return dpy; in getPlatformDisplayAngle()
[all …]
/frameworks/native/opengl/tests/swapinterval/
Dswapinterval.cpp45 EGLDisplay dpy; in main() local
51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
52 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
53 eglGetConfigs(dpy, NULL, 0, &numConfigs); in main()
57 dpy, configAttribs, window, &config); in main()
60 eglTerminate(dpy); in main()
65 eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r); in main()
66 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g); in main()
67 eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b); in main()
68 eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a); in main()
[all …]
/frameworks/native/opengl/include/EGL/
Deglext.h63 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNC64KHRPROC) (EGLDisplay dpy, EGLenum type, const EG…
65 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR …
139 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBKHRPROC) (EGLDisplay dpy, EGLint name, EGL…
141 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribKHR (EGLDisplay dpy, EGLint name, EGLAttrib *val…
152 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLi…
153 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync);
154 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint …
155 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLi…
157 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_…
158 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync);
[all …]
Degl.h121 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig…
122 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapTy…
123 EGLAPI EGLContext EGLAPIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_…
124 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLi…
125 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePi…
126 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWi…
127 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
128 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
129 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribut…
130 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size…
[all …]
Deglext_angle.h118 typedef EGLBoolean(EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERD3DTEXTUREANGLEPROC)(EGLDisplay dpy, EGLS…
119 typedef EGLBoolean(EGLAPIENTRYP PFNEGLSTREAMPOSTD3DTEXTUREANGLEPROC)(EGLDisplay dpy, EGLStreamKHR s…
121 EGLAPI EGLBoolean EGLAPIENTRY eglCreateStreamProducerD3DTextureANGLE(EGLDisplay dpy, EGLStreamKHR s…
122 EGLAPI EGLBoolean EGLAPIENTRY eglStreamPostD3DTextureANGLE(EGLDisplay dpy, EGLStreamKHR stream, voi…
163 typedef EGLint (EGLAPIENTRYP PFNEGLPROGRAMCACHEGETATTRIBANGLEPROC) (EGLDisplay dpy, EGLenum attrib);
164 typedef void (EGLAPIENTRYP PFNEGLPROGRAMCACHEQUERYANGLEPROC) (EGLDisplay dpy, EGLint index, void *k…
165 typedef void (EGLAPIENTRYP PFNEGPROGRAMCACHELPOPULATEANGLEPROC) (EGLDisplay dpy, const void *key, E…
166 typedef EGLint (EGLAPIENTRYP PFNEGLPROGRAMCACHERESIZEANGLEPROC) (EGLDisplay dpy, EGLint limit, EGLe…
168 EGLAPI EGLint EGLAPIENTRY eglProgramCacheGetAttribANGLE(EGLDisplay dpy, EGLenum attrib);
169 EGLAPI void EGLAPIENTRY eglProgramCacheQueryANGLE(EGLDisplay dpy, EGLint index, void *key, EGLint *…
[all …]
/frameworks/native/opengl/tools/glgen/specs/egl/
DEGL14.spec3 EGLBoolean eglInitialize ( EGLDisplay dpy, EGLint *major, EGLint *minor )
4 EGLBoolean eglTerminate ( EGLDisplay dpy )
5 const char * eglQueryString ( EGLDisplay dpy, EGLint name )
6 EGLBoolean eglGetConfigs ( EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_conf…
7 EGLBoolean eglChooseConfig ( EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint …
8 EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value )
9 EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, cons…
10 EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
11 EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, c…
12 EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface )
[all …]
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp33 extern "C" EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name);
50 static void printEGLString(EGLDisplay dpy, const char *name, GLenum s) { in printEGLString() argument
51 const char *v = (const char *) eglQueryString(dpy, s); in printEGLString()
52 const char* va = (const char*)eglQueryStringImplementationANDROID(dpy, s); in printEGLString()
187 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration() argument
228 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration()
238 int printEGLConfigurations(EGLDisplay dpy) { in printEGLConfigurations() argument
240 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations()
254 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations()
263 printEGLConfiguration(dpy, configs[i]); in printEGLConfigurations()
[all …]
/frameworks/base/opengl/java/android/opengl/
DEGL14.java175 EGLDisplay dpy, in eglInitialize() argument
185 EGLDisplay dpy in eglTerminate() argument
191 EGLDisplay dpy, in eglQueryString() argument
197 EGLDisplay dpy, in eglGetConfigs() argument
208 EGLDisplay dpy, in eglChooseConfig() argument
221 EGLDisplay dpy, in eglGetConfigAttrib() argument
231 EGLDisplay dpy, in _eglCreateWindowSurface() argument
239 EGLDisplay dpy, in _eglCreateWindowSurfaceTexture() argument
246 public static EGLSurface eglCreateWindowSurface(EGLDisplay dpy, in eglCreateWindowSurface() argument
265 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); in eglCreateWindowSurface()
[all …]
DEGL15.java82 EGLDisplay dpy, in eglCreateSync() argument
94 EGLDisplay dpy, in eglGetSyncAttrib() argument
104 EGLDisplay dpy, in eglDestroySync() argument
111 EGLDisplay dpy, in eglClientWaitSync() argument
129 EGLDisplay dpy, in eglCreatePlatformWindowSurface() argument
139 EGLDisplay dpy, in eglCreatePlatformPixmapSurface() argument
149 EGLDisplay dpy, in eglWaitSync() argument
157 EGLDisplay dpy, in eglCreateImage() argument
168 EGLDisplay dpy, in eglDestroyImage() argument
/frameworks/base/libs/hwui/debug/
Dnullegl.cpp63 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint* major, EGLint* minor) { in eglInitialize() argument
67 EGLBoolean eglTerminate(EGLDisplay dpy) { in eglTerminate() argument
71 const char* eglQueryString(EGLDisplay dpy, EGLint name) { in eglQueryString() argument
78 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint* attrib_list, EGLConfig* configs, in eglChooseConfig() argument
85 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, in eglCreateWindowSurface() argument
90 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint* attrib_list) { in eglCreatePbufferSurface() argument
94 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface) { in eglDestroySurface() argument
99 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint* value) { in eglQuerySurface() argument
108 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) { in eglSurfaceAttrib() argument
112 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) { in eglSwapInterval() argument
[all …]
/frameworks/native/opengl/tests/lib/include/
DEGLUtils.h32 extern "C" EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name);
45 EGLDisplay dpy,
51 EGLDisplay dpy,
57 static inline String8 printEGLString(EGLDisplay dpy, const char* name, GLenum s);
60 static inline String8 printEGLConfiguration(EGLDisplay dpy, EGLConfig config);
61 static inline bool printEGLConfigurations(EGLDisplay dpy, String8& msg);
62 static inline bool printEGLConfigurations(FILE* output, EGLDisplay dpy);
64 static inline bool hasEglExtension(EGLDisplay dpy, const char* name);
93 EGLDisplay dpy, in selectConfigForPixelFormat() argument
107 if (eglGetConfigs(dpy, nullptr, 0, &numConfigs) == EGL_FALSE) in selectConfigForPixelFormat()
[all …]
/frameworks/native/opengl/tests/angeles/include/GLES/
Degl.h197 GLAPI EGLBoolean APIENTRY eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor);
198 GLAPI EGLBoolean APIENTRY eglTerminate (EGLDisplay dpy);
199 GLAPI const char * APIENTRY eglQueryString (EGLDisplay dpy, EGLint name);
202 GLAPI EGLBoolean APIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EG…
203 GLAPI EGLBoolean APIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *co…
204 GLAPI EGLBoolean APIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, E…
206 GLAPI EGLSurface APIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowTyp…
207 GLAPI EGLSurface APIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapTyp…
208 GLAPI EGLSurface APIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *…
209 GLAPI EGLBoolean APIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface);
[all …]
/frameworks/native/opengl/tests/gl_perf/
Dgl2_perf.cpp49 static EGLDisplay dpy; variable
68 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
70 if (dpy == EGL_NO_DISPLAY) { in main()
75 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
84 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
92 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); in main()
99 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
105 returnValue = eglMakeCurrent(dpy, surface, surface, context); in main()
110 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
112 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
[all …]
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp46 EGLDisplay dpy; in main() local
51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
52 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
55 dpy, configAttribs, window, &config); in main()
61 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
62 context = eglCreateContext(dpy, config, NULL, NULL); in main()
63 eglMakeCurrent(dpy, surface, surface, context); in main()
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
122 eglSwapInterval(dpy, 1); in main()
[all …]
/frameworks/native/opengl/tests/linetex/
Dlinetex.cpp45 EGLDisplay dpy; in main() local
50 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
51 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
54 dpy, configAttribs, window, &config); in main()
60 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
61 context = eglCreateContext(dpy, config, NULL, NULL); in main()
62 eglMakeCurrent(dpy, surface, surface, context); in main()
63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
64 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
110 eglSwapBuffers(dpy, surface); in main()
[all …]
/frameworks/native/opengl/tests/filter/
Dfilter.cpp40 EGLDisplay dpy; in main() local
49 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
50 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
53 dpy, s_configAttribs, window, &config); in main()
54 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
57 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs); in main()
59 surface = eglCreatePbufferSurface(dpy, config, attribs); in main()
64 context = eglCreateContext(dpy, config, NULL, NULL); in main()
65 eglMakeCurrent(dpy, surface, surface, context); in main()
66 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
[all …]
/frameworks/native/opengl/tests/finish/
Dfinish.cpp47 EGLDisplay dpy; in main() local
52 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
53 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
56 dpy, configAttribs, window, &config); in main()
62 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
63 context = eglCreateContext(dpy, config, NULL, NULL); in main()
64 eglMakeCurrent(dpy, surface, surface, context); in main()
65 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
66 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
113 eglSwapBuffers(dpy, surface); in main()
[all …]
/frameworks/native/opengl/libagl/
Degl.cpp56 EGLBoolean EGLAPI eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw,
126 static egl_display_t& get_display(EGLDisplay dpy);
128 static EGLBoolean is_valid(EGLDisplay dpy) { in is_valid()
129 return ((uintptr_t(dpy)-1U) >= NUM_DISPLAYS) ? EGL_FALSE : EGL_TRUE; in is_valid()
138 egl_display_t& egl_display_t::get_display(EGLDisplay dpy) { in get_display() argument
139 return gDisplays[uintptr_t(dpy)-1U]; in get_display()
148 EGLDisplay dpy; member
169 EGLDisplay dpy; member
174 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat);
196 egl_surface_t::egl_surface_t(EGLDisplay dpy, in egl_surface_t() argument
[all …]
/frameworks/native/opengl/tests/textures/
Dtextures.cpp43 EGLDisplay dpy; in main() local
48 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
49 eglInitialize(dpy, &majorVersion, &minorVersion); in main()
52 dpy, configAttribs, window, &config); in main()
58 surface = eglCreateWindowSurface(dpy, config, window, NULL); in main()
59 context = eglCreateContext(dpy, config, NULL, NULL); in main()
60 eglMakeCurrent(dpy, surface, surface, context); in main()
61 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main()
62 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main()
111 eglSwapBuffers(dpy, surface); in main()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp99 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration() argument
140 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration()
162 int printEGLConfigurations(EGLDisplay dpy) { in printEGLConfigurations() argument
164 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig); in printEGLConfigurations()
178 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig); in printEGLConfigurations()
187 printEGLConfiguration(dpy, configs[i]); in printEGLConfigurations()
335 void setSurfaceMetadata(EGLDisplay dpy, EGLSurface surface) { in setSurfaceMetadata() argument
337 if (EGLUtils::hasEglExtension(dpy, "EGL_EXT_surface_SMPTE2086_metadata")) { in setSurfaceMetadata()
338 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT, METADATA_SCALE(0.640)); in setSurfaceMetadata()
339 eglSurfaceAttrib(dpy, surface, EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT, METADATA_SCALE(0.330)); in setSurfaceMetadata()
[all …]
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp125 EGLDisplay dpy = getDisplay(_env, display); in jni_eglInitialize() local
126 EGLBoolean success = eglInitialize(dpy, NULL, NULL); in jni_eglInitialize()
147 EGLDisplay dpy = getDisplay(_env, display); in jni_eglQueryContext() local
153 success = eglQueryContext(dpy, ctx, attribute, base); in jni_eglQueryContext()
166 EGLDisplay dpy = getDisplay(_env, display); in jni_eglQuerySurface() local
173 success = eglQuerySurface(dpy, sur, attribute, base); in jni_eglQuerySurface()
180 EGLDisplay dpy = getDisplay(_env, display); in jni_getInitCount() local
181 return android::egl_get_init_count(dpy); in jni_getInitCount()
197 EGLDisplay dpy = getDisplay(_env, display); in jni_eglChooseConfig() local
207 success = eglChooseConfig(dpy, attrib_base, configs ? nativeConfigs : 0, config_size, &num); in jni_eglChooseConfig()
[all …]
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp93 static bool setupYuvTexSurface(EGLDisplay dpy) { in setupYuvTexSurface() argument
131 EGLImageKHR img = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in setupYuvTexSurface()
173 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration() argument
214 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value); in printEGLConfiguration()
239 EGLDisplay dpy; in main() local
242 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main()
244 if (dpy == EGL_NO_DISPLAY) { in main()
249 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion); in main()
259 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig); in main()
268 printEGLConfiguration(dpy, myConfig); in main()
[all …]

1234