Home
last modified time | relevance | path

Searched refs:fSurfaces (Results 1 – 11 of 11) sorted by relevance

/external/skia/bench/
DSKPBench.cpp37 for (int i = 0; i < fSurfaces.count(); ++i) { in ~SKPBench()
38 fSurfaces[i]->unref(); in ~SKPBench()
64 fSurfaces.reserve(xTiles * yTiles); in onPerCanvasPreDraw()
73 fSurfaces.emplace_back(canvas->makeSurface(ii)); in onPerCanvasPreDraw()
79 fSurfaces.back()->getCanvas()->clipRect(clip); in onPerCanvasPreDraw()
81 fSurfaces.back()->getCanvas()->setMatrix(canvas->getTotalMatrix()); in onPerCanvasPreDraw()
82 fSurfaces.back()->getCanvas()->scale(fScale, fScale); in onPerCanvasPreDraw()
91 sk_sp<SkImage> image(fSurfaces[i]->makeImageSnapshot()); in onPerCanvasPostDraw()
96 fSurfaces.reset(); in onPerCanvasPostDraw()
134 fSurfaces[j]->getCanvas()->drawPicture(fPic.get(), &trans, nullptr); in drawPicture()
[all …]
DSKPBench.h46 const SkTArray<sk_sp<SkSurface>>& surfaces() const { return fSurfaces; } in surfaces()
57 SkTArray<sk_sp<SkSurface>> fSurfaces; // for MultiPictureDraw variable
/external/skqp/bench/
DSKPBench.cpp38 for (int i = 0; i < fSurfaces.count(); ++i) { in ~SKPBench()
39 fSurfaces[i]->unref(); in ~SKPBench()
65 fSurfaces.reserve(xTiles * yTiles); in onPerCanvasPreDraw()
74 fSurfaces.emplace_back(canvas->makeSurface(ii)); in onPerCanvasPreDraw()
80 fSurfaces.back()->getCanvas()->clipRect(clip); in onPerCanvasPreDraw()
82 fSurfaces.back()->getCanvas()->setMatrix(canvas->getTotalMatrix()); in onPerCanvasPreDraw()
83 fSurfaces.back()->getCanvas()->scale(fScale, fScale); in onPerCanvasPreDraw()
92 sk_sp<SkImage> image(fSurfaces[i]->makeImageSnapshot()); in onPerCanvasPostDraw()
97 fSurfaces.reset(); in onPerCanvasPostDraw()
134 mpd.add(fSurfaces[j]->getCanvas(), fPic.get(), &trans); in drawMPDPicture()
[all …]
DSKPBench.h46 const SkTArray<sk_sp<SkSurface>>& surfaces() const { return fSurfaces; } in surfaces()
57 SkTArray<sk_sp<SkSurface>> fSurfaces; // for MultiPictureDraw variable
/external/skia/tools/sk_app/
DVulkanWindowContext.cpp44 , fSurfaces(nullptr) in VulkanWindowContext()
333 fSurfaces = new sk_sp<SkSurface>[fImageCount]; in createBuffers()
349 fSurfaces[i] = SkSurface::MakeFromBackendRenderTarget( in createBuffers()
356 fSurfaces[i] = SkSurface::MakeFromBackendTextureAsRenderTarget( in createBuffers()
399 delete[] fSurfaces; in destroyBuffers()
400 fSurfaces = nullptr; in destroyBuffers()
507 SkSurface* surface = fSurfaces[backbuffer->fImageIndex].get(); in getBackbufferSurface()
520 SkSurface* surface = fSurfaces[backbuffer->fImageIndex].get(); in swapBuffers()
DVulkanWindowContext.h112 sk_sp<SkSurface>* fSurfaces; // surfaces client renders to (may not be based on rts) variable
/external/skqp/tools/sk_app/
DVulkanWindowContext.cpp43 , fSurfaces(nullptr) in VulkanWindowContext()
328 fSurfaces = new sk_sp<SkSurface>[fImageCount]; in createBuffers()
342 fSurfaces[i] = SkSurface::MakeFromBackendRenderTarget(fContext.get(), in createBuffers()
437 delete[] fSurfaces; in destroyBuffers()
438 fSurfaces = nullptr; in destroyBuffers()
602 SkSurface* surface = fSurfaces[backbuffer->fImageIndex].get(); in getBackbufferSurface()
614 SkSurface* surface = fSurfaces[backbuffer->fImageIndex].get(); in swapBuffers()
DVulkanWindowContext.h115 sk_sp<SkSurface>* fSurfaces; // surfaces client renders to (may not be based on rts) variable
/external/skia/include/gpu/
DGrTypes.h296 SkSurface** fSurfaces = nullptr; member
/external/skia/tests/
DVkBackendSurfaceTest.cpp303 externalRequests.fSurfaces = &surfacePtr; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp2152 SkSurface* surface = externalRequests.fSurfaces[i]; in onFinishFlush()