Home
last modified time | relevance | path

Searched refs:egl (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIView.java42 import javax.microedition.khronos.egl.EGL10;
43 import javax.microedition.khronos.egl.EGLConfig;
44 import javax.microedition.khronos.egl.EGLContext;
45 import javax.microedition.khronos.egl.EGLDisplay;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
82 checkEglError("Before eglCreateContext", egl); in createContext()
84 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
85 checkEglError("After eglCreateContext", egl); in createContext()
89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
90 egl.eglDestroyContext(display, context); in destroyContext()
[all …]
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfView.java42 import javax.microedition.khronos.egl.EGL10;
43 import javax.microedition.khronos.egl.EGLConfig;
44 import javax.microedition.khronos.egl.EGLContext;
45 import javax.microedition.khronos.egl.EGLDisplay;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
82 checkEglError("Before eglCreateContext", egl); in createContext()
84 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
85 checkEglError("After eglCreateContext", egl); in createContext()
89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
90 egl.eglDestroyContext(display, context); in destroyContext()
[all …]
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DGLDualGL2View.java35 import javax.microedition.khronos.egl.EGL10;
36 import javax.microedition.khronos.egl.EGLConfig;
37 import javax.microedition.khronos.egl.EGLContext;
38 import javax.microedition.khronos.egl.EGLDisplay;
83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
85 checkEglError("Before eglCreateContext", egl); in createContext()
87 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
88 checkEglError("After eglCreateContext", egl); in createContext()
92 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
93 egl.eglDestroyContext(display, context); in destroyContext()
[all …]
/frameworks/rs/driver/
DrsdGL.cpp137 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion); in DumpDebug()
138 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, in DumpDebug()
139 dc->gl.egl.display); in DumpDebug()
162 if (dc->gl.egl.context != EGL_NO_CONTEXT) { in rsdGLShutdown()
163 RSD_CALL_GL(eglMakeCurrent, dc->gl.egl.display, in rsdGLShutdown()
165 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surfaceDefault); in rsdGLShutdown()
166 if (dc->gl.egl.surface != EGL_NO_SURFACE) { in rsdGLShutdown()
167 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surface); in rsdGLShutdown()
169 RSD_CALL_GL(eglDestroyContext, dc->gl.egl.display, dc->gl.egl.context); in rsdGLShutdown()
175 RSD_CALL_GL(eglTerminate, dc->gl.egl.display); in rsdGLShutdown()
[all …]
DrsdFrameBufferObj.cpp132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width); in setActive()
133 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height); in setActive()
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp182 res = cnx->egl.eglGetConfigs( in eglGetConfigs()
207 res = cnx->egl.eglChooseConfig( in eglChooseConfig()
222 return cnx->egl.eglGetConfigAttrib( in eglGetConfigAttrib()
249 if (cnx->egl.eglGetConfigAttrib(iDpy, in eglCreateWindowSurface()
267 EGLSurface surface = cnx->egl.eglCreateWindowSurface( in eglCreateWindowSurface()
291 EGLSurface surface = cnx->egl.eglCreatePixmapSurface( in eglCreatePixmapSurface()
310 EGLSurface surface = cnx->egl.eglCreatePbufferSurface( in eglCreatePbufferSurface()
333 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface); in eglDestroySurface()
353 return s->cnx->egl.eglQuerySurface( in eglQuerySurface()
394 EGLContext context = cnx->egl.eglCreateContext( in eglCreateContext()
[all …]
Degl_display.cpp123 EGLDisplay dpy = cnx->egl.eglGetDisplay(display); in getDisplay()
177 disp[i].dpy = cnx->egl.eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize()
182 if (cnx->egl.eglInitialize(idpy, &cnx->major, &cnx->minor)) { in initialize()
190 disp.queryString.vendor = cnx->egl.eglQueryString(idpy, in initialize()
192 disp.queryString.version = cnx->egl.eglQueryString(idpy, in initialize()
194 disp.queryString.extensions = cnx->egl.eglQueryString(idpy, in initialize()
196 disp.queryString.clientApi = cnx->egl.eglQueryString(idpy, in initialize()
201 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in initialize()
278 if (cnx->egl.eglTerminate(disp.dpy) == EGL_FALSE) { in terminate()
280 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in terminate()
[all …]
DLoader.cpp330 egl_t* egl = &cnx->egl; in load_driver() local
332 (__eglMustCastToProperFunctionPointerType*)egl; in load_driver()
/frameworks/base/opengl/java/android/opengl/
DManagedEGLContext.java19 import static javax.microedition.khronos.egl.EGL10.EGL_DEFAULT_DISPLAY;
20 import static javax.microedition.khronos.egl.EGL10.EGL_NO_DISPLAY;
24 import javax.microedition.khronos.egl.EGL10;
25 import javax.microedition.khronos.egl.EGLContext;
26 import javax.microedition.khronos.egl.EGLDisplay;
113 EGL10 egl = (EGL10) EGLContext.getEGL(); in doTerminate() local
114 EGLDisplay display = egl.eglGetDisplay(EGL_DEFAULT_DISPLAY); in doTerminate()
DGLDebugHelper.java21 import javax.microedition.khronos.egl.EGL;
100 public static EGL wrap(EGL egl, int configFlags, Writer log) { in wrap() argument
102 egl = new EGLLogWrapper(egl, configFlags, log); in wrap()
104 return egl; in wrap()
DGLSurfaceView.java23 import javax.microedition.khronos.egl.EGL10;
24 import javax.microedition.khronos.egl.EGL11;
25 import javax.microedition.khronos.egl.EGLConfig;
26 import javax.microedition.khronos.egl.EGLContext;
27 import javax.microedition.khronos.egl.EGLDisplay;
28 import javax.microedition.khronos.egl.EGLSurface;
760 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext() argument
761 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext() argument
767 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() argument
771 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext()
[all …]
DEGLLogWrapper.java22 import javax.microedition.khronos.egl.EGL;
23 import javax.microedition.khronos.egl.EGL10;
24 import javax.microedition.khronos.egl.EGL11;
25 import javax.microedition.khronos.egl.EGLConfig;
26 import javax.microedition.khronos.egl.EGLContext;
27 import javax.microedition.khronos.egl.EGLDisplay;
28 import javax.microedition.khronos.egl.EGLSurface;
38 public EGLLogWrapper(EGL egl, int configFlags, Writer log) { in EGLLogWrapper() argument
39 mEgl10 = (EGL10) egl; in EGLLogWrapper()
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java31 import javax.microedition.khronos.egl.EGL10;
32 import javax.microedition.khronos.egl.EGLConfig;
33 import javax.microedition.khronos.egl.EGLContext;
34 import javax.microedition.khronos.egl.EGLDisplay;
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaView.java30 import javax.microedition.khronos.egl.EGL10;
31 import javax.microedition.khronos.egl.EGLConfig;
32 import javax.microedition.khronos.egl.EGLContext;
33 import javax.microedition.khronos.egl.EGLDisplay;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java37 import javax.microedition.khronos.egl.EGL10;
38 import javax.microedition.khronos.egl.EGLConfig;
39 import javax.microedition.khronos.egl.EGLContext;
40 import javax.microedition.khronos.egl.EGLDisplay;
41 import javax.microedition.khronos.egl.EGLSurface;
405 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
407 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestView.java42 import javax.microedition.khronos.egl.EGL10;
43 import javax.microedition.khronos.egl.EGLConfig;
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
DGLJNIView.java42 import javax.microedition.khronos.egl.EGL10;
43 import javax.microedition.khronos.egl.EGLConfig;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java38 import javax.microedition.khronos.egl.EGL10;
39 import javax.microedition.khronos.egl.EGLConfig;
40 import javax.microedition.khronos.egl.EGLContext;
41 import javax.microedition.khronos.egl.EGLDisplay;
42 import javax.microedition.khronos.egl.EGLSurface;
50 import static javax.microedition.khronos.egl.EGL10.*;
607 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {
609 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list);
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java30 import javax.microedition.khronos.egl.EGL10;
31 import javax.microedition.khronos.egl.EGLConfig;
32 import javax.microedition.khronos.egl.EGLContext;
33 import javax.microedition.khronos.egl.EGLDisplay;
/frameworks/native/opengl/libs/GLES_trace/
DDESIGN.txt8 enabled. Currently, the shell properties "debug.egl.trace" and "debug.egl.debug_proc" together
35 glestrace.h declares all the hooks exposed by libglestrace. These are used by EGL/egl.cpp and
/frameworks/base/core/java/android/view/
DHardwareRenderer.java34 import javax.microedition.khronos.egl.EGL10;
35 import javax.microedition.khronos.egl.EGL11;
36 import javax.microedition.khronos.egl.EGLConfig;
37 import javax.microedition.khronos.egl.EGLContext;
38 import javax.microedition.khronos.egl.EGLDisplay;
39 import javax.microedition.khronos.egl.EGLSurface;
46 import static javax.microedition.khronos.egl.EGL10.*;
951 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
954 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, in createContext()
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGLSurface.java17 package javax.microedition.khronos.egl;
DEGLConfig.java17 package javax.microedition.khronos.egl;
DEGL.java17 package javax.microedition.khronos.egl;
DEGLDisplay.java17 package javax.microedition.khronos.egl;

123