/external/skia/tools/gpu/gl/glx/ |
D | CreatePlatformGLTestContext_glx.cpp | 70 Display* fDisplay; member in __anon8bbd8df00111::GLXGLTestContext 78 AutoDisplay() { fDisplay = XOpenDisplay(nullptr); } in get_display() 80 if (fDisplay) { in get_display() 81 XCloseDisplay(fDisplay); in get_display() 84 Display* display() const { return fDisplay; } in get_display() 86 Display* fDisplay; in get_display() member in __anon8bbd8df00111::get_display::AutoDisplay 107 , fDisplay(nullptr) in GLXGLTestContext() 115 fDisplay = get_display(); in GLXGLTestContext() 119 if (!fDisplay) { in GLXGLTestContext() 135 if (!glXQueryVersion(fDisplay, &glx_major, &glx_minor) || in GLXGLTestContext() [all …]
|
/external/skia/tools/sk_app/unix/ |
D | GLWindowContext_unix.cpp | 42 Display* fDisplay; member in __anonc3e59a110111::GLWindowContext_xlib 53 , fDisplay(winInfo.fDisplay) in GLWindowContext_xlib() 66 SkASSERT(fDisplay); in onInitializeContext() 91 fGLContext = createContextAttribs(fDisplay, *fFBConfig, nullptr, True, attribs); in onInitializeContext() 94 XSync(fDisplay, False); in onInitializeContext() 98 glXMakeCurrent(fDisplay, fWindow, fGLContext)) { in onInitializeContext() 105 glXMakeCurrent(fDisplay, None, nullptr); in onInitializeContext() 106 glXDestroyContext(fDisplay, fGLContext); in onInitializeContext() 120 fGLContext = glXCreateContext(fDisplay, fVisualInfo, nullptr, GL_TRUE); in onInitializeContext() 126 if (!current && !glXMakeCurrent(fDisplay, fWindow, fGLContext)) { in onInitializeContext() [all …]
|
D | Window_unix.cpp | 49 if (fDisplay) { in initWindow() 52 fDisplay = display; in initWindow() 87 fFBConfig = glXChooseFBConfig(fDisplay, DefaultScreen(fDisplay), msaaChooseFBConfigAtt, &n); in initWindow() 89 fVisualInfo = glXGetVisualFromFBConfig(fDisplay, *fFBConfig); in initWindow() 107 fFBConfig = glXChooseFBConfig(fDisplay, DefaultScreen(fDisplay), kChooseFBConfigAtt, &n); in initWindow() 109 fVisualInfo = glXGetVisualFromFBConfig(fDisplay, *fFBConfig); in initWindow() 169 if (fDisplay) { in closeWindow() 172 XFreeGC(fDisplay, fGC); in closeWindow() 176 XDestroyWindow(fDisplay, fWindow); in closeWindow() 186 fDisplay = nullptr; in closeWindow() [all …]
|
D | RasterWindowContext_unix.cpp | 29 Display* fDisplay; member in __anon254c788f0111::RasterWindowContext_xlib 39 , fDisplay(display) in RasterWindowContext_xlib() 41 fGC = XCreateGC(fDisplay, fWindow, 0, nullptr); in RasterWindowContext_xlib() 50 XGetWindowAttributes(fDisplay, fWindow, &attrs); in setDisplayParams() 85 XPutImage(fDisplay, fWindow, fGC, &image, 0, 0, 0, 0, pm.width(), pm.height()); in swapBuffers() 96 info.fDisplay, info.fWindow, info.fWidth, info.fHeight, params)); in MakeRasterForXlib()
|
D | GraphiteDawnVulkanWindowContext_unix.cpp | 29 Display* fDisplay; member in __anon155e1f8d0111::GraphiteDawnVulkanWindowContext_unix 39 , fDisplay(info.fDisplay) in GraphiteDawnVulkanWindowContext_unix() 45 XGetGeometry(fDisplay, fWindow, &root, &x, &y, &width, &height, &border_width, &depth); in GraphiteDawnVulkanWindowContext_unix() 63 surfaceChainedDesc.display = fDisplay; in onInitializeContext()
|
D | DawnVulkanWindowContext_unix.cpp | 35 Display* fDisplay; member in sk_app::DawnVulkanWindowContext_xlib 45 , fDisplay(winInfo.fDisplay) in DawnVulkanWindowContext_xlib() 51 XGetGeometry(fDisplay, fWindow, &root, &x, &y, &width, &height, &border_width, &depth); in DawnVulkanWindowContext_xlib() 87 surfaceCreateInfo.connection = XGetXCBConnection(fDisplay); in onInitializeContext()
|
D | VulkanWindowContext_unix.cpp | 44 surfaceCreateInfo.connection = XGetXCBConnection(info.fDisplay); in MakeVulkanForXlib() 65 Display* display = info.fDisplay; in MakeVulkanForXlib() 66 VisualID visualID = XVisualIDFromVisual(DefaultVisual(info.fDisplay, in MakeVulkanForXlib() 67 DefaultScreen(info.fDisplay))); in MakeVulkanForXlib()
|
D | Window_unix.h | 28 , fDisplay(nullptr) in Window_unix() 87 Display* fDisplay; variable
|
D | WindowContextFactory_unix.h | 31 Display* fDisplay; member
|
/external/skia/tools/sk_app/android/ |
D | GLWindowContext_android.cpp | 33 EGLDisplay fDisplay; member in __anon5e50d5cb0111::GLWindowContext_android 46 , fDisplay(EGL_NO_DISPLAY) in GLWindowContext_android() 64 fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in onInitializeContext() 68 eglInitialize(fDisplay, &majorVersion, &minorVersion); in onInitializeContext() 89 SkAssertResult(eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)); in onInitializeContext() 97 fDisplay, surfaceConfig, nullptr, kEGLContextAttribsForOpenGLES); in onInitializeContext() 104 fSurfaceAndroid = eglCreateWindowSurface(fDisplay, surfaceConfig, fNativeWindow, nullptr); in onInitializeContext() 107 SkAssertResult(eglMakeCurrent(fDisplay, fSurfaceAndroid, fSurfaceAndroid, fEGLContext)); in onInitializeContext() 116 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_STENCIL_SIZE, &fStencilBits); in onInitializeContext() 117 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_SAMPLES, &fSampleCount); in onInitializeContext() [all …]
|
/external/skia/tools/window/android/ |
D | SkGLWindowContext_android.cpp | 29 EGLDisplay fDisplay; member in __anonbc6864030111::SkGLWindowContext_android 42 , fDisplay(EGL_NO_DISPLAY) in SkGLWindowContext_android() 60 fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in onInitializeContext() 64 eglInitialize(fDisplay, &majorVersion, &minorVersion); in onInitializeContext() 85 SkAssertResult(eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)); in onInitializeContext() 93 fDisplay, surfaceConfig, nullptr, kEGLContextAttribsForOpenGLES); in onInitializeContext() 100 fSurfaceAndroid = eglCreateWindowSurface(fDisplay, surfaceConfig, fNativeWindow, nullptr); in onInitializeContext() 103 SkAssertResult(eglMakeCurrent(fDisplay, fSurfaceAndroid, fSurfaceAndroid, fEGLContext)); in onInitializeContext() 112 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_STENCIL_SIZE, &fStencilBits); in onInitializeContext() 113 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_SAMPLES, &fSampleCount); in onInitializeContext() [all …]
|
/external/skia/tools/gpu/gl/egl/ |
D | CreatePlatformGLTestContext_egl.cpp | 50 EGLDisplay fDisplay; member in __anon01a8ac8a0111::EGLGLTestContext 76 , fDisplay(EGL_NO_DISPLAY) in EGLGLTestContext() 98 fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in EGLGLTestContext() 102 eglInitialize(fDisplay, &majorVersion, &minorVersion); in EGLGLTestContext() 105 SkDebugf("VENDOR: %s\n", eglQueryString(fDisplay, EGL_VENDOR)); in EGLGLTestContext() 106 SkDebugf("APIS: %s\n", eglQueryString(fDisplay, EGL_CLIENT_APIS)); in EGLGLTestContext() 107 SkDebugf("VERSION: %s\n", eglQueryString(fDisplay, EGL_VERSION)); in EGLGLTestContext() 108 SkDebugf("EXTENSIONS %s\n", eglQueryString(fDisplay, EGL_EXTENSIONS)); in EGLGLTestContext() 128 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in EGLGLTestContext() 142 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 3); in EGLGLTestContext() [all …]
|
/external/skia/tools/sk_app/win/ |
D | ANGLEWindowContext_win.cpp | 52 EGLDisplay fDisplay = EGL_NO_DISPLAY; member in __anon4ca3cc390111::ANGLEGLWindowContext_win 68 fDisplay = get_angle_egl_display(dc); in onInitializeContext() 69 if (EGL_NO_DISPLAY == fDisplay) { in onInitializeContext() 75 if (!eglInitialize(fDisplay, &majorVersion, &minorVersion)) { in onInitializeContext() 101 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in onInitializeContext() 107 fEGLContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); in onInitializeContext() 112 fEGLSurface = eglCreateWindowSurface(fDisplay, surfaceConfig, fHWND, nullptr); in onInitializeContext() 117 if (!eglMakeCurrent(fDisplay, fEGLSurface, fEGLSurface, fEGLContext)) { in onInitializeContext() 147 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext() 149 eglDestroyContext(fDisplay, fEGLContext); in onDestroyContext() [all …]
|
/external/skia/tools/gpu/gl/angle/ |
D | GLTestContext_angle.cpp | 114 void* fDisplay; member in __anon8d1cd28f0111::ANGLEGLContext 184 , fDisplay(display) in ANGLEGLContext() 201 if (EGL_NO_DISPLAY == fDisplay) { in ANGLEGLContext() 239 fDisplay = get_angle_egl_display(fDeviceContext, type); in ANGLEGLContext() 243 SkASSERT(EGL_NO_DISPLAY == fDisplay); in ANGLEGLContext() 244 fDisplay = get_angle_egl_display(reinterpret_cast<void*>(EGL_DEFAULT_DISPLAY), type); in ANGLEGLContext() 247 if (EGL_NO_DISPLAY == fDisplay) { in ANGLEGLContext() 261 if (getPlatform(fDisplay, angle::g_PlatformMethodNames, angle::g_NumPlatformMethods, in ANGLEGLContext() 272 if (!eglInitialize(fDisplay, &majorVersion, &minorVersion)) { in ANGLEGLContext() 290 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in ANGLEGLContext() [all …]
|
/external/skia/modules/svg/include/ |
D | SkSVGAttribute.h | 103 SkSVGProperty<SkSVGDisplay , false> fDisplay; member
|
/external/skia/modules/svg/src/ |
D | SkSVGAttribute.cpp | 39 result.fDisplay.init(SkSVGDisplay::kInline); in MakeInitial()
|
D | SkSVGNode.cpp | 70 const auto display = fPresentationAttributes.fDisplay; // display is uninherited in onPrepareToRender()
|
/external/skia/src/gpu/ganesh/ |
D | GrAHardwareBufferUtils.cpp | 187 , fDisplay(display) in GLTextureHelper() 192 eglDestroyImageKHR(fDisplay, fImage); in ~GLTextureHelper() 199 EGLDisplay fDisplay; member in GrAHardwareBufferUtils::GLTextureHelper
|
/external/skia/tools/viewer/ |
D | Viewer.h | 252 sk_app::DisplayParams fDisplay; variable
|
D | Viewer.cpp | 419 fDisplay = fWindow->getRequestedDisplayParams(); 565 SkPixelGeometry defaultPixelGeometry = fDisplay.fSurfaceProps.pixelGeometry(); in __anone61887711702() 2020 SkPixelGeometry pixelGeometry = fDisplay.fSurfaceProps.pixelGeometry(); in drawImGui()
|