/development/tools/emulator/opengl/host/libs/Translator/EGL/ |
EglGlobalInfo.cpp | 52 EglDisplay* EglGlobalInfo::addDisplay(EGLNativeDisplayType dpy,EGLNativeInternalDisplayType idpy) { 56 if((*it).second == dpy) return (*it).first; 61 m_displays[p_dpy] = dpy; 67 bool EglGlobalInfo::removeDisplay(EGLDisplay dpy) { 70 if(static_cast<EGLDisplay>((*it).first) == dpy) { 79 EglDisplay* EglGlobalInfo::getDisplay(EGLNativeDisplayType dpy) { 82 if((*it).second == dpy) return (*it).first; 87 EglDisplay* EglGlobalInfo::getDisplay(EGLDisplay dpy) { 89 DisplaysMap::iterator it = m_displays.find(static_cast<EglDisplay*>(dpy)); 93 EGLNativeInternalDisplayType EglGlobalInfo::generateInternalDisplay(EGLNativeDisplayType dpy){ [all...] |
EglWindowsApi.cpp | 213 WinDisplay* dpy = new WinDisplay(); local 217 dpy->setInfo(WinDisplay::DEFAULT_DISPLAY,DisplayInfo(hdc,hwnd)); 218 return static_cast<EGLNativeInternalDisplayType>(dpy); 223 WinDisplay* dpy = new WinDisplay(); local 224 dpy->setInfo(WinDisplay::DEFAULT_DISPLAY,DisplayInfo(display,NULL)); 225 return dpy; 230 HDC dpy = NULL; local 233 dpy = GetDC(hwnd); 234 display->setInfo(cfgId,DisplayInfo(dpy,hwnd)); 236 dpy = display->getDC(cfgId) 242 HDC dpy = GetDC(hwnd); local 345 HDC dpy = getDummyDC(display,WinDisplay::DEFAULT_DISPLAY); local 409 HDC dpy = getDummyDC(display,WinDisplay::DEFAULT_DISPLAY); local 470 HDC dpy = getDummyDC(display,cfg->nativeId()); local 515 HDC dpy = getDummyDC(display,cfg->nativeId()); local [all...] |
EglGlobalInfo.h | 33 EglDisplay* addDisplay(EGLNativeDisplayType dpy,EGLNativeInternalDisplayType idpy); 34 EglDisplay* getDisplay(EGLNativeDisplayType dpy); 35 EglDisplay* getDisplay(EGLDisplay dpy); 36 bool removeDisplay(EGLDisplay dpy); 38 EGLNativeInternalDisplayType generateInternalDisplay(EGLNativeDisplayType dpy);
|
/frameworks/base/opengl/tests/linetex/ |
linetex.cpp | 47 EGLDisplay dpy; local 51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 52 eglInitialize(dpy, &majorVersion, &minorVersion); 55 dpy, configAttribs, window, &config); 61 surface = eglCreateWindowSurface(dpy, config, window, NULL); 62 context = eglCreateContext(dpy, config, NULL, NULL); 63 eglMakeCurrent(dpy, surface, surface, context); 64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 109 eglSwapBuffers(dpy, surface) [all...] |
/frameworks/base/include/ui/ |
EGLUtils.h | 37 EGLDisplay dpy, 43 EGLDisplay dpy,
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
EGLDisplayImpl.java | 24 public EGLDisplayImpl(int dpy) { 25 mEGLDisplay = dpy;
|
/development/tools/emulator/opengl/tests/gles_android_wrapper/ |
egl.cpp | 274 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) 276 return getDispatch()->eglInitialize(dpy, major, minor); 279 EGLBoolean eglTerminate(EGLDisplay dpy) 281 return getDispatch()->eglTerminate(dpy); 284 const char* eglQueryString(EGLDisplay dpy, EGLint name) 286 return getDispatch()->eglQueryString(dpy, name); 289 EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config) 291 return getDispatch()->eglGetConfigs(dpy, configs, config_size, num_config); 324 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) 329 res = getDispatch()->eglChooseConfig(dpy, [all...] |
/frameworks/base/opengl/tests/fillrate/ |
fillrate.cpp | 46 EGLDisplay dpy; local 50 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 51 eglInitialize(dpy, &majorVersion, &minorVersion); 54 dpy, configAttribs, window, &config); 60 surface = eglCreateWindowSurface(dpy, config, window, NULL); 61 context = eglCreateContext(dpy, config, NULL, NULL); 62 eglMakeCurrent(dpy, surface, surface, context); 63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 64 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 119 eglSwapInterval(dpy, 1) [all...] |
/frameworks/base/opengl/libs/EGL/ |
egl_display.h | 88 static egl_display_t* get(EGLDisplay dpy); 110 DisplayImpl() : dpy(EGL_NO_DISPLAY), config(0), 112 EGLDisplay dpy; member in struct:android::egl_display_t::DisplayImpl 139 inline egl_display_t* get_display(EGLDisplay dpy) { 140 return egl_display_t::get(dpy); 145 egl_display_t* validate_display(EGLDisplay dpy); 146 egl_connection_t* validate_display_config(EGLDisplay dpy, 148 EGLBoolean validate_display_context(EGLDisplay dpy, EGLContext ctx); 149 EGLBoolean validate_display_surface(EGLDisplay dpy, EGLSurface surface);
|
egl_object.h | 141 egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, 143 egl_object_t(get_display(dpy)), dpy(dpy), surface(surface), 146 EGLDisplay dpy; member in class:android::egl_surface_t 160 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, 162 egl_object_t(get_display(dpy)), dpy(dpy), context(context), 166 EGLDisplay dpy; member in class:android::egl_context_t 186 EGLDisplay dpy; member in class:android::egl_image_t 200 EGLDisplay dpy; member in class:android::egl_sync_t [all...] |
eglApi.cpp | 138 EGLDisplay dpy = egl_display_t::getFromNativeDisplay(display); local 139 return dpy; 146 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) 150 egl_display_t * const dp = get_display(dpy); 158 EGLBoolean eglTerminate(EGLDisplay dpy) 166 egl_display_t* const dp = get_display(dpy); 178 EGLBoolean eglGetConfigs( EGLDisplay dpy, 184 egl_display_t const * const dp = validate_display(dpy); 204 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, 210 egl_display_t const * const dp = validate_display(dpy); [all...] |
/frameworks/base/opengl/libs/GLES2_dbg/src/ |
egl.cpp | 19 EGLBoolean Debug_eglSwapBuffers(EGLDisplay dpy, EGLSurface draw) 24 EGLDisplay dpy; member in struct:__anon15614 32 caller.dpy = dpy; 35 msg.set_arg0(reinterpret_cast<int>(dpy));
|
/development/tools/emulator/opengl/system/egl/ |
egl.cpp | 92 #define VALIDATE_DISPLAY(dpy,ret) \ 93 if ((dpy) != (EGLDisplay)&s_display) { \ 97 #define VALIDATE_DISPLAY_INIT(dpy,ret) \ 98 VALIDATE_DISPLAY(dpy, ret) \ 129 if (s->dpy != (EGLDisplay)&s_display) \ 134 EGLContext_t::EGLContext_t(EGLDisplay dpy, EGLConfig config, EGLContext_t* shareCtx) : 135 dpy(dpy), 171 EGLDisplay dpy; member in struct:egl_surface_t 175 egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType) [all...] |
eglContext.h | 29 EGLContext_t(EGLDisplay dpy, EGLConfig config, EGLContext_t* shareCtx); 32 EGLDisplay dpy; member in struct:EGLContext_t
|
/frameworks/base/libs/ui/ |
EGLUtils.cpp | 56 EGLDisplay dpy, 70 if (eglGetConfigs(dpy, NULL, 0, &numConfigs) == EGL_FALSE) 74 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) { 83 eglGetConfigAttrib(dpy, configs[i], EGL_NATIVE_VISUAL_ID, &nativeVisualId); 101 EGLDisplay dpy, 116 return selectConfigForPixelFormat(dpy, attrs, format, outConfig);
|
/frameworks/base/opengl/tests/configdump/ |
configdump.cpp | 71 EGLDisplay dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); local 72 eglInitialize(dpy, 0, 0); 73 eglGetConfigs(dpy, NULL, 0, &n); 75 eglGetConfigs(dpy, configs, n, &n); 81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); 87 eglTerminate(dpy);
|
/development/tools/emulator/opengl/host/libs/Translator/include/EGL/ |
eglext.h | 84 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 85 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); 87 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 88 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); 140 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 141 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync); 142 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 143 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 144 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 146 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list) [all...] |
egl.h | 252 EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor); 253 EGLAPI EGLBoolean EGLAPIENTRY eglTerminate(EGLDisplay dpy); 255 EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name); 257 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, 259 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, 262 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, 265 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, 268 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, 270 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface) [all...] |
/frameworks/base/core/jni/ |
android_view_Display.cpp | 51 JNIEnv* env, jobject clazz, jint dpy) 54 status_t err = SurfaceComposerClient::getDisplayInfo(DisplayID(dpy), &info); 69 DisplayID dpy = env->GetIntField(clazz, offsets.display); local 70 return SurfaceComposerClient::getDisplayWidth(dpy); 76 DisplayID dpy = env->GetIntField(clazz, offsets.display); local 77 return SurfaceComposerClient::getDisplayHeight(dpy); 83 DisplayID dpy = env->GetIntField(clazz, offsets.display); local 84 return SurfaceComposerClient::getDisplayOrientation(dpy);
|
/prebuilt/ndk/android-ndk-r5/platforms/android-9/arch-arm/usr/include/EGL/ |
eglext.h | 84 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 85 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); 87 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 88 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); 140 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 141 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync); 142 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 143 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 144 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 146 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list) [all...] |
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-arm/usr/include/EGL/ |
eglext.h | 84 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 85 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); 87 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 88 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); 140 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 141 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync); 142 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 143 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 144 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 146 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list) [all...] |
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/EGL/ |
eglext.h | 84 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 85 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); 87 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 88 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); 140 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); 141 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync); 142 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 143 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 144 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); 146 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list) [all...] |
/frameworks/base/opengl/tests/angeles/include/GLES/ |
egl.h | 197 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, EGLint *num_config); 203 GLAPI EGLBoolean APIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config); 204 GLAPI EGLBoolean APIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value); 206 GLAPI EGLSurface APIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list); 207 GLAPI EGLSurface APIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list); 208 GLAPI EGLSurface APIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); 209 GLAPI EGLBoolean APIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface) [all...] |
/frameworks/base/opengl/tests/finish/ |
finish.cpp | 47 EGLDisplay dpy; local 51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); 52 eglInitialize(dpy, &majorVersion, &minorVersion); 55 dpy, configAttribs, window, &config); 61 surface = eglCreateWindowSurface(dpy, config, window, NULL); 62 context = eglCreateContext(dpy, config, NULL, NULL); 63 eglMakeCurrent(dpy, surface, surface, context); 64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 113 eglSwapBuffers(dpy, surface) [all...] |
/development/ndk/platforms/android-9/include/EGL/ |
egl.h | 252 EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor); 253 EGLAPI EGLBoolean EGLAPIENTRY eglTerminate(EGLDisplay dpy); 255 EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name); 257 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, 259 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, 262 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, 265 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, 268 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, 270 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface) [all...] |