HomeSort by relevance Sort by last modified time
    Searched defs:egl (Results 26 - 50 of 64) sorted by null

12 3

  /frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
GL2JNIView.java 42 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) {
82 checkEglError("Before eglCreateContext", egl);
84 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
85 checkEglError("After eglCreateContext", egl);
89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) {
90 egl.eglDestroyContext(display, context)
    [all...]
  /frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
GLPerfView.java 42 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) {
82 checkEglError("Before eglCreateContext", egl);
84 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
85 checkEglError("After eglCreateContext", egl);
89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) {
90 egl.eglDestroyContext(display, context)
    [all...]
  /frameworks/native/opengl/tests/gldual/src/com/android/gldual/
GLDualGL2View.java 35 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) {
85 checkEglError("Before eglCreateContext", egl);
87 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
88 checkEglError("After eglCreateContext", egl);
92 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) {
93 egl.eglDestroyContext(display, context)
    [all...]
  /cts/tests/tests/graphics/src/android/opengl/cts/
EglConfigTest.java 23 import javax.microedition.khronos.egl.EGL10;
24 import javax.microedition.khronos.egl.EGLConfig;
25 import javax.microedition.khronos.egl.EGLContext;
26 import javax.microedition.khronos.egl.EGLDisplay;
29 * Test that gets a list of EGL configurations and tries to use each one in a GLSurfaceView.
72 EGL10 egl = (EGL10) EGLContext.getEGL(); local
73 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
88 if (egl.eglInitialize(display, null)) {
90 if (egl.eglChooseConfig(display, attributeList, null, 0, numConfigs)) {
92 if (egl.eglChooseConfig(display, attributeList, configs, configs.length
    [all...]
OpenGlEsVersionTest.java 30 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;
103 EGL10 egl = (EGL10) EGLContext.getEGL(); local
104 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
107 if (egl.eglInitialize(display, null)) {
109 boolean checkES3 = hasExtension(egl.eglQueryString(display, EGL10.EGL_EXTENSIONS),
111 if (egl.eglGetConfigs(display, null, 0, numConfigs)) {
113 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs))
    [all...]
  /external/chromium_org/gpu/gles2_conform_support/egl/
config.h 8 #include <EGL/egl.h>
12 namespace egl { namespace
76 // Which types of EGL surfaces are supported.
90 } // namespace egl
  /external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/
Renderer.h 33 namespace egl namespace
99 explicit Renderer(egl::Display *display);
234 egl::Display *mDisplay;
  /frameworks/rs/driver/
rsdGL.h 21 #include <EGL/egl.h>
42 } egl; member in struct:RsdGLRec
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
MosaicRendererSurfaceView.java 28 import javax.microedition.khronos.egl.EGL10;
29 import javax.microedition.khronos.egl.EGLConfig;
30 import javax.microedition.khronos.egl.EGLContext;
31 import javax.microedition.khronos.egl.EGLDisplay;
102 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
104 checkEglError("Before eglCreateContext", egl);
106 EGLContext context = egl.eglCreateContext(
108 checkEglError("After eglCreateContext", egl);
112 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) {
113 egl.eglDestroyContext(display, context)
    [all...]
  /external/chromium_org/third_party/angle_dx11/src/libEGL/
Config.h 7 // Config.h: Defines the egl::Config class, describing the format, type
8 // and size for an egl::Surface. Implements EGLConfig and related functionality.
9 // [EGL 1.4] section 3.4 page 15.
15 #include <EGL/egl.h>
22 namespace egl namespace
65 EGLint mSurfaceType; // Which types of EGL surfaces are supported.
72 // Function object used by STL sorting routines for ordering Configs according to [EGL] section 3.4.1 page 24.
102 const egl::Config *get(EGLConfig configHandle);
Display.cpp 7 // Display.cpp: Implements the egl::Display class, representing the abstract
9 // [EGL 1.4] section 2.1.2 page 3.
26 namespace egl namespace
34 egl::Display *Display::getDisplay(EGLNativeDisplayType displayId)
43 egl::Display *display = new egl::Display(displayId, (HDC)displayId);
144 const egl::Config *configuration = mConfigSet.get(config);
410 void Display::destroySurface(egl::Surface *surface)
428 egl::error(EGL_CONTEXT_LOST);
454 bool Display::isValidSurface(egl::Surface *surface
    [all...]
Surface.cpp 7 // Surface.cpp: Implements the egl::Surface class, representing a drawing surface
9 // Implements EGLSurface and related functionality. [EGL 1.4] section 2.2 page 3.
23 namespace egl namespace
228 #define kSurfaceProperty _TEXT("Egl::SurfaceOwner")
229 #define kParentWndProc _TEXT("Egl::SurfaceParentWndProc")
284 // hwnd as well and did not unsubclass before destroying its EGL context. The
286 // EGL context, or to unsubclass before destroying the EGL context.
323 if (static_cast<egl::Surface*>(getCurrentDrawSurface()) == this)
325 glMakeCurrent(glGetCurrentContext(), static_cast<egl::Display*>(getCurrentDisplay()), this)
    [all...]
  /external/jmonkeyengine/engine/src/android/com/jme3/system/android/
AndroidConfigChooser.java 7 import javax.microedition.khronos.egl.EGL10;
8 import javax.microedition.khronos.egl.EGLConfig;
9 import javax.microedition.khronos.egl.EGLDisplay;
12 * AndroidConfigChooser is used to determine the best suited EGL Config
54 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
55 logger.info("GLSurfaceView asks for egl config, returning: ");
56 logEGLConfig(choosenConfig, display, egl);
63 * @param egl
67 public boolean findConfig(EGL10 egl, EGLDisplay display) {
71 choosenConfig = compChooser.chooseConfig(egl, display)
    [all...]
OGLESContext.java 67 import javax.microedition.khronos.egl.EGL10;
68 import javax.microedition.khronos.egl.EGLConfig;
69 import javax.microedition.khronos.egl.EGLContext;
70 import javax.microedition.khronos.egl.EGLDisplay;
146 // Hardcoded egl setup
153 EGL10 egl = (EGL10) EGLContext.getEGL(); local
154 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
157 if (egl.eglInitialize(display, version) == true) {
158 logger.log(Level.INFO, "Display EGL Version: {0}.{1}", new Object[]{version[0], version[1]});
165 if (!configChooser.findConfig(egl, display))
    [all...]
  /frameworks/native/opengl/libs/EGL/
Loader.cpp 29 #include <EGL/egl.h>
42 * EGL userspace drivers must be provided either:
44 * /vendor/lib/egl/libGLES.so
47 * /vendor/lib/egl/libEGL.so
48 * /vendor/lib/egl/libGLESv1_CM.so
49 * /vendor/lib/egl/libGLESv2.so
54 * /system/lib/egl/libGLES_android.so
60 * /{vendor|system}/lib/egl/lib{GLES | [EGL|GLESv1_CM|GLESv2]}_*.s
377 egl_t* egl = &cnx->egl; local
    [all...]
  /external/robolectric/lib/main/
opengl-api-gl1.1-android-2.1_r1.jar 
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 32 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(); local
88 EGLDisplay eglDisplay = createDefaultDisplay(egl);
89 EGLConfig eglConfig = chooseEglConfig(egl, eglDisplay);
90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig);
91 EGLSurface eglSurface = createSurface(egl, eglDisplay, width, height)
224 EGL10 egl = (EGL10) EGLContext.getEGL(); local
    [all...]
  /external/chromium_org/third_party/libva/va/
va_backend.h 400 * The VA/EGL implementation hooks.
403 * VA/EGL API. The driver implementation is responsible for the
433 void *egl; member in struct:VADriverContext
  /frameworks/base/opengl/java/javax/microedition/khronos/egl/
EGL10.java 17 package javax.microedition.khronos.egl;
21 public interface EGL10 extends EGL {
  /external/replicaisland/src/com/replica/replicaisland/
GLSurfaceView.java 22 import javax.microedition.khronos.egl.EGL10;
23 import javax.microedition.khronos.egl.EGL11;
24 import javax.microedition.khronos.egl.EGLConfig;
25 import javax.microedition.khronos.egl.EGLContext;
26 import javax.microedition.khronos.egl.EGLDisplay;
27 import javax.microedition.khronos.egl.EGLSurface;
47 * <li>Manages an EGL display, which enables OpenGL to render into a surface.
77 * <h4>Choosing an EGL Configuration</h4>
597 * <h3>EGL Context Lost</h3>
598 * There are situations where the EGL rendering context will be lost. Thi
    [all...]
  /external/chromium_org/third_party/angle_dx11/src/libGLESv2/
Context.h 17 #include <EGL/egl.h>
38 namespace egl namespace
176 void makeCurrent(egl::Surface *surface);
  /cts/tests/tests/hardware/src/android/hardware/cts/
CameraGLTest.java 54 import javax.microedition.khronos.egl.EGL10;
55 import javax.microedition.khronos.egl.EGLConfig;
56 import javax.microedition.khronos.egl.EGLContext;
57 import javax.microedition.khronos.egl.EGLDisplay;
255 EGL10 egl = (EGL10) EGLContext.getEGL(); local
256 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
259 if (egl.eglInitialize(display, null)) {
261 if (egl.eglGetConfigs(display, null, 0, numConfigs)) {
263 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) {
266 if (egl.eglGetConfigAttrib(display, configs[i]
    [all...]
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GLSurfaceViewCustom.java 29 import javax.microedition.khronos.egl.EGL10;
30 import javax.microedition.khronos.egl.EGL11;
31 import javax.microedition.khronos.egl.EGLConfig;
32 import javax.microedition.khronos.egl.EGLContext;
33 import javax.microedition.khronos.egl.EGLDisplay;
34 import javax.microedition.khronos.egl.EGLSurface;
53 * <li>Manages an EGL display, which enables OpenGL to render into a surface.
95 * <h4>Choosing an EGL Configuration</h4>
296 * Control whether the EGL context is preserved when the GLSurfaceView is paused and
299 * If set to true, then the EGL context may be preserved when the GLSurfaceView is paused
    [all...]
  /frameworks/base/opengl/java/android/opengl/
GLSurfaceView.java 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;
49 * <li>Manages an EGL display, which enables OpenGL to render into a surface.
91 * <h4>Choosing an EGL Configuration</h4>
292 * Control whether the EGL context is preserved when the GLSurfaceView is paused and
295 * If set to true, then the EGL context may be preserved when the GLSurfaceView is paused
    [all...]
  /prebuilts/sdk/12/
android.jar 

Completed in 845 milliseconds

12 3