Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/glx/
DSkCreatePlatformGLContext_glx.cpp60 Display* fDisplay; member in __anon1bf7796c0111::GLXGLContext
67 , fDisplay(nullptr) in GLXGLContext()
70 fDisplay = XOpenDisplay(0); in GLXGLContext()
74 if (!fDisplay) { in GLXGLContext()
90 if (!glXQueryVersion(fDisplay, &glx_major, &glx_minor) || in GLXGLContext()
99 GLXFBConfig *fbc = glXChooseFBConfig(fDisplay, DefaultScreen(fDisplay), in GLXGLContext()
114 XVisualInfo *vi = glXGetVisualFromFBConfig(fDisplay, fbc[i]); in GLXGLContext()
117 glXGetFBConfigAttrib(fDisplay, fbc[i], GLX_SAMPLE_BUFFERS, &samp_buf); in GLXGLContext()
118 glXGetFBConfigAttrib(fDisplay, fbc[i], GLX_SAMPLES, &samples); in GLXGLContext()
136 XVisualInfo *vi = glXGetVisualFromFBConfig(fDisplay, bestFbc); in GLXGLContext()
[all …]
/external/skia/src/gpu/gl/egl/
DSkCreatePlatformGLContext_egl.cpp31 SkEGLFenceSync(EGLDisplay display) : fDisplay(display) {} in SkEGLFenceSync()
33 EGLDisplay fDisplay; member in __anon1125e0c60111::SkEGLFenceSync
56 EGLDisplay fDisplay; member in __anon1125e0c60111::EGLGLContext
62 , fDisplay(EGL_NO_DISPLAY) in EGLGLContext()
105 fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in EGLGLContext()
109 eglInitialize(fDisplay, &majorVersion, &minorVersion); in EGLGLContext()
112 SkDebugf("VENDOR: %s\n", eglQueryString(fDisplay, EGL_VENDOR)); in EGLGLContext()
113 SkDebugf("APIS: %s\n", eglQueryString(fDisplay, EGL_CLIENT_APIS)); in EGLGLContext()
114 SkDebugf("VERSION: %s\n", eglQueryString(fDisplay, EGL_VERSION)); in EGLGLContext()
115 SkDebugf("EXTENSIONS %s\n", eglQueryString(fDisplay, EGL_EXTENSIONS)); in EGLGLContext()
[all …]
/external/skia/platform_tools/android/apps/visualbench/src/main/jni/
DSkOSWindow_AndroidNative.cpp13 fWindow.fDisplay = EGL_NO_DISPLAY; in SkOSWindow()
69 SkDebugf("VENDOR: %s\n", eglQueryString(fDisplay, EGL_VENDOR)); in attach()
70 SkDebugf("APIS: %s\n", eglQueryString(fDisplay, EGL_CLIENT_APIS)); in attach()
71 SkDebugf("VERSION: %s\n", eglQueryString(fDisplay, EGL_VERSION)); in attach()
72 SkDebugf("EXTENSIONS %s\n", eglQueryString(fDisplay, EGL_EXTENSIONS)); in attach()
128 fWindow.fDisplay = display; in attach()
134 if (fWindow.fDisplay && fWindow.fContext && fWindow.fSurface) { in attach()
136 eglQuerySurface(fWindow.fDisplay, fWindow.fSurface, EGL_WIDTH, &w); in attach()
137 eglQuerySurface(fWindow.fDisplay, fWindow.fSurface, EGL_HEIGHT, &h); in attach()
153 if (fWindow.fDisplay != EGL_NO_DISPLAY) { in detach()
[all …]
/external/skia/src/gpu/gl/angle/
DSkANGLEGLContext.cpp69 , fDisplay(EGL_NO_DISPLAY) in SkANGLEGLContext()
84 fDisplay = GetD3DEGLDisplay(EGL_DEFAULT_DISPLAY, useGLBackend); in SkANGLEGLContext()
85 if (EGL_NO_DISPLAY == fDisplay) { in SkANGLEGLContext()
92 eglInitialize(fDisplay, &majorVersion, &minorVersion); in SkANGLEGLContext()
95 eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs); in SkANGLEGLContext()
101 fContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); in SkANGLEGLContext()
110 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, surfaceAttribs); in SkANGLEGLContext()
112 eglMakeCurrent(fDisplay, fSurface, fSurface, fContext); in SkANGLEGLContext()
145 EGLCreateImage(fDisplay, fContext, GR_EGL_GL_TEXTURE_2D, clientBuffer, in texture2DToEGLImage()
151 GR_GL_CALL(this->gl(), EGLDestroyImage(fDisplay, image)); in destroyEGLImage()
[all …]
/external/skia/src/views/unix/
DSkOSWindow_Unix.cpp38 fUnixWindow.fDisplay = nullptr; in SkOSWindow()
49 if (fUnixWindow.fDisplay) { in internalCloseWindow()
52 XFreeGC(fUnixWindow.fDisplay, fUnixWindow.fGc); in internalCloseWindow()
54 XDestroyWindow(fUnixWindow.fDisplay, fUnixWindow.fWin); in internalCloseWindow()
56 XCloseDisplay(fUnixWindow.fDisplay); in internalCloseWindow()
57 fUnixWindow.fDisplay = nullptr; in internalCloseWindow()
67 if (fUnixWindow.fDisplay) { in initWindow()
70 glXGetConfig(fUnixWindow.fDisplay, fVi, GLX_SAMPLES_ARB, &info->fSampleCount); in initWindow()
71 glXGetConfig(fUnixWindow.fDisplay, fVi, GLX_STENCIL_SIZE, &info->fStencilBits); in initWindow()
79 fUnixWindow.fDisplay = XOpenDisplay(nullptr); in initWindow()
[all …]
/external/skia/src/gpu/gl/command_buffer/
DSkCommandBufferGLContext.cpp148 , fDisplay(EGL_NO_DISPLAY) in SkCommandBufferGLContext()
205 fDisplay = gfGetDisplay(EGL_DEFAULT_DISPLAY); in initializeGLContext()
206 if (EGL_NO_DISPLAY == fDisplay) { in initializeGLContext()
211 if (!gfInitialize(fDisplay, nullptr, nullptr)) { in initializeGLContext()
218 if (!gfChooseConfig(fDisplay, configAttribs, static_cast<EGLConfig*>(&fConfig), 1, in initializeGLContext()
226 fSurface = gfCreateWindowSurface(fDisplay, in initializeGLContext()
231 fSurface = gfCreatePbufferSurface(fDisplay, in initializeGLContext()
245 fContext = gfCreateContext(fDisplay, static_cast<EGLConfig>(fConfig), nullptr, contextAttribs); in initializeGLContext()
252 if (!gfMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in initializeGLContext()
282 if (EGL_NO_DISPLAY == fDisplay) { in destroyGLContext()
[all …]
/external/skia/src/views/win/
DSkOSWindow_win.cpp62 fDisplay = EGL_NO_DISPLAY; in SkOSWindow()
83 eglDestroyContext(fDisplay, fContext); in ~SkOSWindow()
88 eglDestroySurface(fDisplay, fSurface); in ~SkOSWindow()
92 if (EGL_NO_DISPLAY != fDisplay) { in ~SkOSWindow()
93 eglTerminate(fDisplay); in ~SkOSWindow()
94 fDisplay = EGL_NO_DISPLAY; in ~SkOSWindow()
494 if (EGL_NO_DISPLAY == fDisplay) { in attachANGLE()
497 &fDisplay, in attachANGLE()
513 if (eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in attachANGLE()
514 eglGetConfigAttrib(fDisplay, fConfig, EGL_STENCIL_SIZE, &info->fStencilBits); in attachANGLE()
[all …]
/external/skia/include/views/
DSkOSWindow_Unix.h19 Display* fDisplay; member
32 void* getDisplay() const { return (void*)fUnixWindow.fDisplay; } in getDisplay()
DSkOSWindow_Android.h16 EGLDisplay fDisplay; member
DSkOSWindow_Win.h101 EGLDisplay fDisplay; variable
/external/skia/include/gpu/gl/angle/
DSkANGLEGLContext.h54 void* fDisplay; variable
/external/skia/include/gpu/gl/command_buffer/
DSkCommandBufferGLContext.h68 void* fDisplay; variable