Home
last modified time | relevance | path

Searched refs:fSurface (Results 1 – 22 of 22) sorted by relevance

/external/skia/debugger/QT/
DSkRasterWidget.cpp25 fSurface = nullptr; in resizeEvent()
28 fSurface = SkSurface::MakeRaster(info); in resizeEvent()
40 if (!fSurface) { in paintEvent()
45 fDebugger->draw(fSurface->getCanvas()); in paintEvent()
46 fSurface->getCanvas()->flush(); in paintEvent()
53 if (fSurface->peekPixels(&pixmap)) { in paintEvent()
68 if (!fSurface) { in updateImage()
DSkDrawCommandGeometryWidget.cpp26 fSurface = nullptr; in resizeEvent()
29 fSurface = SkSurface::MakeRaster(info); in resizeEvent()
37 if (!fSurface) { in paintEvent()
46 if (fSurface->peekPixels(&pixmap)) { in paintEvent()
76 if (!fSurface) { in updateImage()
85 didRender = command->render(fSurface->getCanvas()); in updateImage()
89 fSurface->getCanvas()->clear(SK_ColorTRANSPARENT); in updateImage()
92 fSurface->getCanvas()->flush(); in updateImage()
DSkRasterWidget.h35 sk_sp<SkSurface> fSurface; variable
DSkDrawCommandGeometryWidget.h32 sk_sp<SkSurface> fSurface; variable
/external/skia/bench/
DGrMipMapBench.cpp17 sk_sp<SkSurface> fSurface; member in GrMipMapBench
34 if (!fSurface) { in onDraw()
42 fSurface = SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info); in onDraw()
46 fSurface->getCanvas()->clear(SK_ColorBLACK); in onDraw()
53 fSurface->getCanvas()->drawPoint(0, 0, paint); in onDraw()
58 canvas->drawImage(fSurface->makeImageSnapshot(), 0, 0, &paint); in onDraw()
64 fSurface.reset(nullptr); in onPerCanvasPostDraw()
/external/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.cpp142 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { in CommandBufferGLTestContext()
183 fSurface = gfCreatePbufferSurface(fDisplay, in CommandBufferGLTestContext()
187 if (EGL_NO_SURFACE == fSurface) { in CommandBufferGLTestContext()
207 if (!gfMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in CommandBufferGLTestContext()
250 if (EGL_NO_SURFACE != fSurface) { in destroyGLContext()
251 gfDestroySurface(fDisplay, fSurface); in destroyGLContext()
252 fSurface = EGL_NO_SURFACE; in destroyGLContext()
261 if (!gfMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()
270 if (!gfSwapBuffers(fDisplay, fSurface)) { in onPlatformSwapBuffers()
291 return gfMakeCurrent(fDisplay, fSurface, fSurface, fContext) != EGL_FALSE; in makeCurrent()
DGLTestContext_command_buffer.h51 void *fSurface; variable
/external/skia/src/gpu/
DGrSurfacePriv.h36 bool hasPendingRead() const { return fSurface->hasPendingRead(); } in hasPendingRead()
37 bool hasPendingWrite() const { return fSurface->hasPendingWrite(); } in hasPendingWrite()
38 bool hasPendingIO() const { return fSurface->hasPendingIO(); } in hasPendingIO()
41 explicit GrSurfacePriv(GrSurface* surface) : fSurface(surface) {} in GrSurfacePriv()
49 GrSurface* fSurface; variable
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp61 EGLSurface fSurface; member in __anon4a5d20840111::EGLGLTestContext
67 , fSurface(EGL_NO_SURFACE) { in EGLGLTestContext()
164 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, kSurfaceAttribs); in EGLGLTestContext()
165 if (EGL_NO_SURFACE == fSurface) { in EGLGLTestContext()
171 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in EGLGLTestContext()
209 if (fSurface) { in destroyGLContext()
210 eglDestroySurface(fDisplay, fSurface); in destroyGLContext()
211 fSurface = EGL_NO_SURFACE; in destroyGLContext()
279 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()
285 if (!eglSwapBuffers(fDisplay, fSurface)) { in onPlatformSwapBuffers()
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp95 void* fSurface; member in __anon3e5f26090111::ANGLEGLContext
114 , fSurface(EGL_NO_SURFACE) in ANGLEGLContext()
215 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, surfaceAttribs); in ANGLEGLContext()
217 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in ANGLEGLContext()
330 if (EGL_NO_SURFACE != fSurface) { in destroyGLContext()
331 eglDestroySurface(fDisplay, fSurface); in destroyGLContext()
332 fSurface = EGL_NO_SURFACE; in destroyGLContext()
353 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in onPlatformMakeCurrent()
359 if (!eglSwapBuffers(fDisplay, fSurface)) { in onPlatformSwapBuffers()
/external/skia/tools/viewer/sk_app/
DGLWindowContext.cpp26 , fSurface(nullptr) { in GLWindowContext()
56 fSurface.reset(nullptr); in destroyContext()
71 if (nullptr == fSurface) { in getBackbufferSurface()
86 fSurface = SkSurface::MakeFromBackendRenderTarget(fContext, backendRT, in getBackbufferSurface()
93 return fSurface; in getBackbufferSurface()
DVulkanWindowContext.cpp36 , fSurface(VK_NULL_HANDLE) in VulkanWindowContext()
73 fSurface = fCreateVkSurfaceFn(instance); in initializeContext()
74 if (VK_NULL_HANDLE == fSurface) { in initializeContext()
81 fPresentQueueIndex, fSurface, in initializeContext()
102 fSurface, &caps); in createSwapchain()
108 res = fGetPhysicalDeviceSurfaceFormatsKHR(fBackendContext->fPhysicalDevice, fSurface, in createSwapchain()
116 res = fGetPhysicalDeviceSurfaceFormatsKHR(fBackendContext->fPhysicalDevice, fSurface, in createSwapchain()
123 res = fGetPhysicalDeviceSurfacePresentModesKHR(fBackendContext->fPhysicalDevice, fSurface, in createSwapchain()
131 res = fGetPhysicalDeviceSurfacePresentModesKHR(fBackendContext->fPhysicalDevice, fSurface, in createSwapchain()
214 swapchainCreateInfo.surface = fSurface; in createSwapchain()
[all …]
DGLWindowContext.h54 sk_sp<SkSurface> fSurface; variable
DVulkanWindowContext.h99 VkSurfaceKHR fSurface; variable
/external/skia/src/views/win/
DSkOSWindow_win.cpp61 fSurface = EGL_NO_SURFACE; in SkOSWindow()
81 if (EGL_NO_SURFACE != fSurface) { in ~SkOSWindow()
82 eglDestroySurface(fDisplay, fSurface); in ~SkOSWindow()
83 fSurface = EGL_NO_SURFACE; in ~SkOSWindow()
552 &fSurface, in attachANGLE()
567 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { in attachANGLE()
586 eglDestroySurface(fDisplay, fSurface); in detachANGLE()
587 fSurface = EGL_NO_SURFACE; in detachANGLE()
596 eglSwapBuffers(fDisplay, fSurface); in presentANGLE()
/external/icu/icu4c/source/samples/layout/
DGDIFontMap.cpp23 : FontMap(fileName, pointSize, guiSupport, status), fSurface(surface) in GDIFontMap()
35 LEFontInstance *result = new GDIFontInstance(fSurface, fontName, pointSize, status); in openFont()
DGDIFontInstance.cpp111 : FontTableCache(), fSurface(surface), fFont(NULL), in GDIFontInstance()
196 : FontTableCache(), fSurface(surface), fFont(NULL), in GDIFontInstance()
348 fSurface->setFont(this); in readFontTable()
350 HDC hdc = fSurface->getHDC(); in readFontTable()
376 HDC hdc = fSurface->getHDC(); in getGlyphAdvance()
378 fSurface->setFont(this); in getGlyphAdvance()
DGDIFontMap.h39 GDISurface *fSurface;
DGDIFontInstance.h60 GDISurface *fSurface;
/external/skia/tools/skiaserve/
DRequest.cpp93 if (!fSurface) { in getCanvas()
96 SkCanvas* target = fSurface->getCanvas(); in getCanvas()
224 fSurface.reset(surface); in enableGPU()
239 fSurface.reset(this->createCPUSurface()); in enableGPU()
DRequest.h79 sk_sp<SkSurface> fSurface; member
/external/skia/include/views/
DSkOSWindow_Win.h96 EGLSurface fSurface; variable