Home
last modified time | relevance | path

Searched refs:SkSurface_Gpu (Results 1 – 25 of 29) sorted by relevance

12

/third_party/flutter/skia/src/image/
DSkSurface_Gpu.cpp31 SkSurface_Gpu::SkSurface_Gpu(sk_sp<SkGpuDevice> device) in SkSurface_Gpu() function in SkSurface_Gpu
37 SkSurface_Gpu::~SkSurface_Gpu() { in ~SkSurface_Gpu()
40 static GrRenderTarget* prepare_rt_for_external_access(SkSurface_Gpu* surface, in prepare_rt_for_external_access()
58 GrBackendTexture SkSurface_Gpu::onGetBackendTexture(BackendHandleAccess access) { in onGetBackendTexture()
70 GrBackendRenderTarget SkSurface_Gpu::onGetBackendRenderTarget(BackendHandleAccess access) { in onGetBackendRenderTarget()
79 SkCanvas* SkSurface_Gpu::onNewCanvas() { return new SkCanvas(fDevice); } in onNewCanvas()
81 sk_sp<SkSurface> SkSurface_Gpu::onNewSurface(const SkImageInfo& info) { in onNewSurface()
90 sk_sp<SkImage> SkSurface_Gpu::onNewImageSnapshot(const SkIRect* subset) { in onNewImageSnapshot()
131 void SkSurface_Gpu::onWritePixels(const SkPixmap& src, int x, int y) { in onWritePixels()
135 void SkSurface_Gpu::onAsyncRescaleAndReadPixels(const SkImageInfo& info, const SkIRect& srcRect, in onAsyncRescaleAndReadPixels()
[all …]
DSkSurface_Gpu.h19 class SkSurface_Gpu : public SkSurface_Base {
21 SkSurface_Gpu(sk_sp<SkGpuDevice>);
22 ~SkSurface_Gpu() override;
/third_party/skia/src/image/
DSkSurface_Gpu.cpp33 SkSurface_Gpu::SkSurface_Gpu(sk_sp<skgpu::BaseDevice> device) in SkSurface_Gpu() function in SkSurface_Gpu
39 SkSurface_Gpu::~SkSurface_Gpu() { in ~SkSurface_Gpu()
42 GrRecordingContext* SkSurface_Gpu::onGetRecordingContext() { in onGetRecordingContext()
46 skgpu::BaseDevice* SkSurface_Gpu::getDevice() { in getDevice()
50 static GrRenderTarget* prepare_rt_for_external_access(SkSurface_Gpu* surface, in prepare_rt_for_external_access()
76 GrBackendTexture SkSurface_Gpu::onGetBackendTexture(BackendHandleAccess access) { in onGetBackendTexture()
88 GrBackendRenderTarget SkSurface_Gpu::onGetBackendRenderTarget(BackendHandleAccess access) { in onGetBackendRenderTarget()
97 SkCanvas* SkSurface_Gpu::onNewCanvas() { return new SkCanvas(fDevice); } in onNewCanvas()
99 sk_sp<SkSurface> SkSurface_Gpu::onNewSurface(const SkImageInfo& info) { in onNewSurface()
109 sk_sp<SkImage> SkSurface_Gpu::onNewImageSnapshot(const SkIRect* subset) { in onNewImageSnapshot()
[all …]
DSkSurface_Gpu.h19 class SkSurface_Gpu : public SkSurface_Base {
21 SkSurface_Gpu(sk_sp<skgpu::BaseDevice>);
22 ~SkSurface_Gpu() override;
DBUILD.bazel32 "SkSurface_Gpu.cpp",
33 "SkSurface_Gpu.h",
DSkSurface_GpuMtl.mm17 #include "src/image/SkSurface_Gpu.h"
96 return sk_make_sp<SkSurface_Gpu>(std::move(device));
165 return sk_make_sp<SkSurface_Gpu>(std::move(device));
/third_party/skia/src/gpu/v1/
DDevice_v1.h23 class SkSurface_Gpu; variable
218 friend class ::SkSurface_Gpu; // for access to surfaceProps
/third_party/flutter/skia/src/gpu/
DGrContextThreadSafeProxy.cpp57 if (!SkSurface_Gpu::Valid(this->caps(), backendFormat)) { in createCharacterization()
DGrContext.cpp431 if (!SkSurface_Gpu::Valid(caps, format)) { in createBackendTexture()
467 if (!SkSurface_Gpu::Valid(this->caps(), format)) { in createBackendTexture()
DGrDrawingManager.cpp779 if (!SkSurface_Gpu::Valid(fContext->priv().caps(), sProxy->backendFormat())) { in makeRenderTargetContext()
804 if (!SkSurface_Gpu::Valid(fContext->priv().caps(), sProxy->backendFormat())) { in makeTextureContext()
DSkGpuDevice.h245 friend class SkSurface_Gpu; // for access to surfaceProps variable
/third_party/flutter/skia/tests/
DVkBackendSurfaceTest.cpp263 SkSurface_Gpu* gpuSurface = static_cast<SkSurface_Gpu*>(surface.get()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DGrMipMappedTest.cpp60 SkGpuDevice* device = ((SkSurface_Gpu*)surface.get())->getDevice(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
275 SkGpuDevice* device = ((SkSurface_Gpu*)surface.get())->getDevice(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSurfaceTest.cpp143 auto* rtc = ((SkSurface_Gpu*)(surf.get()))->getDevice()->accessRenderTargetContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
159 auto* rtc = ((SkSurface_Gpu*)(surf.get()))->getDevice()->accessRenderTargetContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
219 int sampleCnt = ((SkSurface_Gpu*)(surf.get())) in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
535 SkSurface_Gpu* gsurf = (SkSurface_Gpu*)surf.get(); in is_budgeted()
/third_party/skia/src/core/
DSkDeferredDisplayListRecorder.cpp171 fSurface = sk_make_sp<SkSurface_Gpu>(std::move(device)); in init()
/third_party/flutter/skia/include/core/
DSkSurfaceCharacterization.h92 friend class SkSurface_Gpu; // for 'set' & 'config'
DSkCanvas.h2595 friend class SkSurface_Gpu; variable
/third_party/skia/tests/
DGrMipMappedTest.cpp81 auto device = ((SkSurface_Gpu*)surface.get())->getDevice(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
315 auto device = ((SkSurface_Gpu*)surface.get())->getDevice(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSurfaceTest.cpp208 ((SkSurface_Gpu*)(surf.get()))->getDevice()->targetProxy()->numSamples(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
568 SkSurface_Gpu* gsurf = (SkSurface_Gpu*)surf.get(); in is_budgeted()
730 auto surfaceGpu = static_cast<SkSurface_Gpu*>(surface); in supports_readpixels()
/third_party/flutter/skia/src/core/
DSkDeferredDisplayListRecorder.cpp194 fSurface = SkSurface_Gpu::MakeWrappedRenderTarget(fContext.get(), in init()
/third_party/skia/include/core/
DSkSurfaceCharacterization.h121 friend class SkSurface_Gpu; // for 'set' & 'config'
DSkCanvas.h2398 friend class SkSurface_Gpu; variable
/third_party/flutter/skia/gn/
Dgpu.gni544 "$_src/image/SkSurface_Gpu.cpp",
545 "$_src/image/SkSurface_Gpu.h",
Dcore.gni416 # "$_src/image/SkSurface_Gpu.cpp",
/third_party/skia/gn/
Dgpu.gni416 "$_src/image/SkSurface_Gpu.cpp",
417 "$_src/image/SkSurface_Gpu.h",

12