Home
last modified time | relevance | path

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

123

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java32 import javax.microedition.khronos.egl.EGL10;
33 import javax.microedition.khronos.egl.EGLConfig;
34 import javax.microedition.khronos.egl.EGLContext;
35 import javax.microedition.khronos.egl.EGLDisplay;
36 import javax.microedition.khronos.egl.EGLSurface;
87 EGL10 egl = (EGL10) EGLContext.getEGL(); in newTarget() local
88 EGLDisplay eglDisplay = createDefaultDisplay(egl); in newTarget()
89 EGLConfig eglConfig = chooseEglConfig(egl, eglDisplay); in newTarget()
90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig); in newTarget()
91 EGLSurface eglSurface = createSurface(egl, eglDisplay, width, height); in newTarget()
[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/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/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/rs/driver/
DrsdGL.cpp135 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion); in DumpDebug()
136 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, in DumpDebug()
137 dc->gl.egl.display); in DumpDebug()
160 if (dc->gl.egl.context != EGL_NO_CONTEXT) { in rsdGLShutdown()
161 RSD_CALL_GL(eglMakeCurrent, dc->gl.egl.display, in rsdGLShutdown()
163 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surfaceDefault); in rsdGLShutdown()
164 if (dc->gl.egl.surface != EGL_NO_SURFACE) { in rsdGLShutdown()
165 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surface); in rsdGLShutdown()
167 RSD_CALL_GL(eglDestroyContext, dc->gl.egl.display, dc->gl.egl.context); in rsdGLShutdown()
173 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.cpp338 res = cnx->egl.eglGetConfigs( in eglGetConfigs()
404 EGLBoolean resAA = cnx->egl.eglChooseConfig( in eglChooseConfig()
416 res = cnx->egl.eglChooseConfig( in eglChooseConfig()
431 return cnx->egl.eglGetConfigAttrib( in eglGetConfigAttrib()
489 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_ALPHA_SIZE, &a); in eglCreateWindowSurface()
496 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_RED_SIZE, &r); in eglCreateWindowSurface()
497 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_GREEN_SIZE, &g); in eglCreateWindowSurface()
498 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_BLUE_SIZE, &b); in eglCreateWindowSurface()
551 EGLSurface surface = cnx->egl.eglCreateWindowSurface( in eglCreateWindowSurface()
575 EGLSurface surface = cnx->egl.eglCreatePixmapSurface( in eglCreatePixmapSurface()
[all …]
Degl_display.cpp109 EGLDisplay dpy = cnx->egl.eglGetDisplay(display); in getDisplay()
152 if (cnx->egl.eglInitialize(idpy, &cnx->major, &cnx->minor)) { in initialize()
160 disp.queryString.vendor = cnx->egl.eglQueryString(idpy, in initialize()
162 disp.queryString.version = cnx->egl.eglQueryString(idpy, in initialize()
164 disp.queryString.extensions = cnx->egl.eglQueryString(idpy, in initialize()
166 disp.queryString.clientApi = cnx->egl.eglQueryString(idpy, in initialize()
171 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in initialize()
256 if (cnx->egl.eglTerminate(disp.dpy) == EGL_FALSE) { in terminate()
258 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in terminate()
341 result = c->cnx->egl.eglMakeCurrent( in makeCurrent()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java30 import javax.microedition.khronos.egl.EGL10;
31 import javax.microedition.khronos.egl.EGL11;
32 import javax.microedition.khronos.egl.EGLConfig;
33 import javax.microedition.khronos.egl.EGLContext;
34 import javax.microedition.khronos.egl.EGLDisplay;
35 import javax.microedition.khronos.egl.EGLSurface;
774 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext() argument
775 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext() argument
781 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() argument
785 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext()
[all …]
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()
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()
DGLUtils.java21 import javax.microedition.khronos.egl.EGL10;
22 import javax.microedition.khronos.egl.EGL11;
/frameworks/native/opengl/libs/
DAndroid.mk7 egl.cfg_config_module :=
12 LOCAL_MODULE := egl.cfg
15 LOCAL_MODULE_PATH := $(TARGET_OUT)/lib/egl
18 egl.cfg_config_module := $(LOCAL_MODULE)
28 EGL/egl.cpp \
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DSingleFrameTextureViewTestActivity.java36 import javax.microedition.khronos.egl.EGL10;
37 import javax.microedition.khronos.egl.EGLConfig;
38 import javax.microedition.khronos.egl.EGLContext;
39 import javax.microedition.khronos.egl.EGLDisplay;
40 import javax.microedition.khronos.egl.EGLSurface;
166 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in onSurfaceTextureAvailable()
168 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in onSurfaceTextureAvailable()
DGLTextureViewActivity.java36 import javax.microedition.khronos.egl.EGL10;
37 import javax.microedition.khronos.egl.EGLConfig;
38 import javax.microedition.khronos.egl.EGLContext;
39 import javax.microedition.khronos.egl.EGLDisplay;
40 import javax.microedition.khronos.egl.EGLSurface;
404 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
406 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
/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/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java27 import javax.microedition.khronos.egl.EGL10;
28 import javax.microedition.khronos.egl.EGLConfig;
29 import javax.microedition.khronos.egl.EGLContext;
30 import javax.microedition.khronos.egl.EGLDisplay;
31 import javax.microedition.khronos.egl.EGLSurface;
140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList); in createContext()
/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/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.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;
35 import javax.microedition.khronos.egl.EGLSurface;
355 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
357 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/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/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java21 import static javax.microedition.khronos.egl.EGL10.*;
51 import javax.microedition.khronos.egl.EGL10;
52 import javax.microedition.khronos.egl.EGLConfig;
53 import javax.microedition.khronos.egl.EGLContext;
54 import javax.microedition.khronos.egl.EGLDisplay;
55 import javax.microedition.khronos.egl.EGLSurface;
810 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
812 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list); in createContext()
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGLSurface.java17 package javax.microedition.khronos.egl;
DEGL.java17 package javax.microedition.khronos.egl;

123