/development/tools/emulator/opengl/host/libs/Translator/EGL/ |
ThreadInfo.h | 21 class EglDisplay; 25 ThreadInfo():eglDisplay(NULL),glesContext(NULL),objManager(NULL){} 28 EglDisplay* dpy, 34 EglDisplay* eglDisplay;
|
ThreadInfo.cpp | 21 EglDisplay* dpy, 27 eglDisplay = dpy;
|
EglImp.cpp | 35 #include "EglDisplay.h" 75 EGLImageKHR eglCreateImageKHR(EGLDisplay display, EGLContext context, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 76 EGLBoolean eglDestroyImageKHR(EGLDisplay display, EGLImageKHR image); 98 #define VALIDATE_DISPLAY_RETURN(EGLDisplay,ret) \ 99 EglDisplay* dpy = g_eglInfo->getDisplay(EGLDisplay); \ 126 #define VALIDATE_DISPLAY(EGLDisplay) \ 127 VALIDATE_DISPLAY_RETURN(EGLDisplay,EGL_FALSE) 152 EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay(EGLNativeDisplayType display_id) { 153 EglDisplay* dpy = NULL [all...] |
/development/tools/emulator/opengl/tests/ut_renderer/ |
RendererSurface.cpp | 25 EGLConfig RendererSurface::getEglConfig(EGLDisplay eglDisplay, SurfaceConfig config) 37 if (!eglChooseConfig(eglDisplay, attrib, &eglConfig, 1, &nConfigs)) { 42 if (eglGetConfigAttrib(eglDisplay, eglConfig, EGL_BUFFER_SIZE, &ibuf)) { 47 if (eglGetConfigAttrib(eglDisplay, eglConfig, EGL_DEPTH_SIZE, &ibuf)) { 61 RendererSurface * RendererSurface::create(EGLDisplay eglDisplay, SurfaceConfig config, NativeWindowing *nw) 81 EGLConfig eglConfig = getEglConfig(eglDisplay, config); 91 EGLSurface eglSurface = eglCreateWindowSurface(eglDisplay, 99 return new RendererSurface(eglDisplay, window, eglSurface, eglConfig) [all...] |
RendererSurface.h | 32 EGLDisplay eglDisplay() { return m_eglDisplay; } 34 static RendererSurface * create(EGLDisplay eglDisplay, SurfaceConfig config, NativeWindowing *nw); 35 static EGLConfig getEglConfig(EGLDisplay eglDisplay, SurfaceConfig config); 40 RendererSurface(EGLDisplay display, NativeWindowType window, EGLSurface surface, EGLConfig config) : 47 EGLDisplay m_eglDisplay;
|
/frameworks/base/opengl/tests/tritex/ |
tritex.cpp | 20 EGLDisplay eglDisplay;
131 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY )
137 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE )
144 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig);
146 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, 153 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT )
159 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
170 if (eglDisplay != EGL_NO_DISPLAY)
174 eglDestroyContext( eglDisplay, eglContext ); [all...] |
/development/tools/emulator/opengl/system/egl/ |
eglDisplay.cpp | 16 #include "eglDisplay.h" 55 eglDisplay::eglDisplay() : 73 eglDisplay::~eglDisplay() 78 bool eglDisplay::initialize(EGLClient_eglInterface *eglIface) 189 void eglDisplay::processConfigs() 201 void eglDisplay::terminate() 225 EGLClient_glesInterface *eglDisplay::loadGLESClientAPI(const char *libName, 334 const char *eglDisplay::queryString(EGLint name [all...] |
eglDisplay.h | 32 class eglDisplay 35 eglDisplay(); 36 ~eglDisplay();
|
Android.mk | 12 eglDisplay.cpp \
|
egl.cpp | 18 #include "eglDisplay.h" 93 if ((dpy) != (EGLDisplay)&s_display) { \ 129 if (s->dpy != (EGLDisplay)&s_display) \ 134 EGLContext_t::EGLContext_t(EGLDisplay dpy, EGLConfig config, EGLContext_t* shareCtx) : 169 EGLDisplay dpy; 173 egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType); 216 egl_surface_t::egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType) 239 EGLDisplay dpy, EGLConfig config, EGLint surfType, 259 EGLDisplay dpy, EGLConfig config, EGLint surfType, 372 EGLDisplay dpy, EGLConfig config, EGLint surfType [all...] |
/frameworks/base/opengl/tests/gl_basic/ |
gl_basic.cpp | 18 EGLDisplay eglDisplay; 97 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { 160 int printEGLConfigurations(EGLDisplay dpy) { 222 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) 228 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE ) 234 if (! printEGLConfigurations(eglDisplay)) { 240 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); 242 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, 249 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT [all...] |
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
SurfaceOpenVG.h | 69 SurfaceOpenVG(const IntSize& size, const EGLDisplay& display, EGLConfig* config = 0, EGLint* errorCode = 0); 89 const EGLDisplay& display, EGLConfig* config = 0, EGLint* errorCode = 0); 96 SurfaceOpenVG(EGLNativeWindowType window, const EGLDisplay& display, EGLConfig* config = 0); 98 EGLDisplay eglDisplay() const { return m_eglDisplay; } 150 EGLDisplay m_eglDisplay;
|
EGLDisplayOpenVG.cpp | 33 typedef HashMap<EGLDisplay, EGLDisplayOpenVG*> EGLDisplayManagerMap; 49 EGLDisplay currentDisplay = eglGetCurrentDisplay(); 65 EGLDisplayOpenVG* displayManager = EGLDisplayOpenVG::forDisplay(platformSurface->eglDisplay()); 71 EGLDisplayOpenVG* displayManager = EGLDisplayOpenVG::forDisplay(platformSurface->eglDisplay()); 75 void EGLDisplayOpenVG::setCurrentDisplay(const EGLDisplay& display) 83 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); 92 EGLDisplayOpenVG* EGLDisplayOpenVG::forDisplay(const EGLDisplay& display) 105 EGLDisplayOpenVG::EGLDisplayOpenVG(const EGLDisplay& display) 400 EGLDisplay currentDisplay = eglGetCurrentDisplay();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GLTextureViewActivity.java | 38 import javax.microedition.khronos.egl.EGLDisplay; 138 private EGLDisplay mEglDisplay; 400 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { 402 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
|
/frameworks/base/core/java/android/view/ |
HardwareRenderer.java | 33 import javax.microedition.khronos.egl.EGLDisplay; 378 static EGLDisplay sEglDisplay; 609 throw new RuntimeException("eglDisplay not initialized"); 655 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { 658 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ImageWallpaper.java | 41 import javax.microedition.khronos.egl.EGLDisplay; 115 private EGLDisplay mEglDisplay; 599 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { 601 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list);
|