Home
last modified time | relevance | path

Searched refs:fDisplay (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/gl/unix/
DSkNativeGLContext_unix.cpp36 , fDisplay(NULL) in SkNativeGLContext()
46 if (fDisplay) { in destroyGLContext()
47 glXMakeCurrent(fDisplay, 0, 0); in destroyGLContext()
50 glXDestroyContext(fDisplay, fContext); in destroyGLContext()
55 glXDestroyGLXPixmap(fDisplay, fGlxPixmap); in destroyGLContext()
60 XFreePixmap(fDisplay, fPixmap); in destroyGLContext()
64 XCloseDisplay(fDisplay); in destroyGLContext()
65 fDisplay = NULL; in destroyGLContext()
70 fDisplay = XOpenDisplay(0); in createGLContext()
72 if (!fDisplay) { in createGLContext()
[all …]
/external/skia/src/gpu/gl/angle/
DSkANGLEGLContext.cpp28 , fDisplay(EGL_NO_DISPLAY) in SkANGLEGLContext()
37 if (fDisplay) { in destroyGLContext()
38 eglMakeCurrent(fDisplay, 0, 0, 0); in destroyGLContext()
41 eglDestroyContext(fDisplay, fContext); in destroyGLContext()
46 eglDestroySurface(fDisplay, fSurface); in destroyGLContext()
51 fDisplay = EGL_NO_DISPLAY; in destroyGLContext()
57 fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in createGLContext()
61 eglInitialize(fDisplay, &majorVersion, &minorVersion); in createGLContext()
75 eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs); in createGLContext()
81 fContext = eglCreateContext(fDisplay, surfaceConfig, NULL, contextAttribs); in createGLContext()
[all …]
/external/skia/src/gpu/gl/android/
DSkNativeGLContext_android.cpp27 , fDisplay(EGL_NO_DISPLAY) in SkNativeGLContext()
36 if (fDisplay) { in destroyGLContext()
37 eglMakeCurrent(fDisplay, 0, 0, 0); in destroyGLContext()
40 eglDestroyContext(fDisplay, fContext); in destroyGLContext()
45 eglDestroySurface(fDisplay, fSurface); in destroyGLContext()
50 fDisplay = EGL_NO_DISPLAY; in destroyGLContext()
55 fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in createGLContext()
59 eglInitialize(fDisplay, &majorVersion, &minorVersion); in createGLContext()
73 eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs); in createGLContext()
79 fContext = eglCreateContext(fDisplay, surfaceConfig, NULL, contextAttribs); in createGLContext()
[all …]
/external/skia/legacy/src/utils/unix/
DSkOSWindow_Unix.cpp37 fUnixWindow.fDisplay = XOpenDisplay(NULL); in SkOSWindow()
38 Display* dsp = fUnixWindow.fDisplay; in SkOSWindow()
69 if (fUnixWindow.fDisplay) { in ~SkOSWindow()
71 glXMakeCurrent(fUnixWindow.fDisplay, None, NULL); in ~SkOSWindow()
72 XFreeGC(fUnixWindow.fDisplay, fUnixWindow.fGc); in ~SkOSWindow()
74 glXDestroyContext(fUnixWindow.fDisplay, fUnixWindow.fGLContext); in ~SkOSWindow()
75 XDestroyWindow(fUnixWindow.fDisplay, fUnixWindow.fWin); in ~SkOSWindow()
76 XCloseDisplay(fUnixWindow.fDisplay); in ~SkOSWindow()
77 fUnixWindow.fDisplay = 0; in ~SkOSWindow()
84 if (!fUnixWindow.fDisplay) return; in post_linuxevent()
[all …]
/external/skia/legacy/include/views/
DSkOSWindow_Unix.h21 Display* fDisplay; member
35 void* getDisplay() const { return (void*)fUnixWindow.fDisplay; } in getDisplay()
/external/skia/include/views/
DSkOSWindow_Unix.h19 Display* fDisplay; member
32 void* getDisplay() const { return (void*)fUnixWindow.fDisplay; } in getDisplay()
DSkOSWindow_Win.h70 EGLDisplay fDisplay; variable
/external/skia/include/gpu/gl/
DSkNativeGLContext.h68 EGLDisplay fDisplay;
72 Display* fDisplay;
DSkANGLEGLContext.h43 EGLDisplay fDisplay; variable
/external/skia/src/gpu/gl/nacl/
DSkNativeGLContext_nacl.cpp18 , fDisplay(NULL) in SkNativeGLContext()