Home
last modified time | relevance | path

Searched refs:SkGpuDevice (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/src/gpu/
DSkGpuDevice.cpp55 bool SkGpuDevice::CheckAlphaTypeAndGetFlags( in CheckAlphaTypeAndGetFlags()
56 const SkImageInfo* info, SkGpuDevice::InitContents init, unsigned* flags) { in CheckAlphaTypeAndGetFlags()
63 *flags |= SkGpuDevice::kIsOpaque_Flag; in CheckAlphaTypeAndGetFlags()
75 sk_sp<SkGpuDevice> SkGpuDevice::Make(std::unique_ptr<GrSurfaceDrawContext> surfaceDrawContext, in Make()
93 return sk_sp<SkGpuDevice>(new SkGpuDevice(std::move(surfaceDrawContext), flags)); in Make()
96 sk_sp<SkGpuDevice> SkGpuDevice::Make(GrRecordingContext* context, SkBudgeted budgeted, in Make()
112 return sk_sp<SkGpuDevice>(new SkGpuDevice(std::move(surfaceDrawContext), flags)); in Make()
129 SkGpuDevice::SkGpuDevice(std::unique_ptr<GrSurfaceDrawContext> surfaceDrawContext, unsigned flags) function in SkGpuDevice
146 std::unique_ptr<GrSurfaceDrawContext> SkGpuDevice::MakeSurfaceDrawContext(
168 bool SkGpuDevice::onReadPixels(const SkPixmap& pm, int x, int y) {
[all …]
DSkGpuDevice.h35 class SkGpuDevice : public SkBaseGpuDevice {
46 static sk_sp<SkGpuDevice> Make(std::unique_ptr<GrSurfaceDrawContext>, InitContents);
56 static sk_sp<SkGpuDevice> Make(GrRecordingContext*, SkBudgeted, const SkImageInfo&,
60 ~SkGpuDevice() override {} in ~SkGpuDevice()
173 SkGpuDevice(std::unique_ptr<GrSurfaceDrawContext>, unsigned flags);
DSkGpuDevice_drawTexture.cpp681 void SkGpuDevice::drawSpecial(SkSpecialImage* special, in drawSpecial()
742 void SkGpuDevice::drawImageQuad(const SkImage* image, in drawImageQuad()
842 void SkGpuDevice::drawEdgeAAImageSet(const SkCanvas::ImageSetEntry set[], int count, in drawEdgeAAImageSet()
/external/skqp/src/gpu/
DSkGpuDevice.cpp66 bool SkGpuDevice::CheckAlphaTypeAndGetFlags( in CheckAlphaTypeAndGetFlags()
67 const SkImageInfo* info, SkGpuDevice::InitContents init, unsigned* flags) { in CheckAlphaTypeAndGetFlags()
74 *flags |= SkGpuDevice::kIsOpaque_Flag; in CheckAlphaTypeAndGetFlags()
86 sk_sp<SkGpuDevice> SkGpuDevice::Make(GrContext* context, in Make()
97 return sk_sp<SkGpuDevice>(new SkGpuDevice(context, std::move(renderTargetContext), in Make()
101 sk_sp<SkGpuDevice> SkGpuDevice::Make(GrContext* context, SkBudgeted budgeted, in Make()
118 return sk_sp<SkGpuDevice>(new SkGpuDevice(context, std::move(renderTargetContext), in Make()
131 SkGpuDevice::SkGpuDevice(GrContext* context, sk_sp<GrRenderTargetContext> renderTargetContext, in SkGpuDevice() function in SkGpuDevice
145 sk_sp<GrRenderTargetContext> SkGpuDevice::MakeRenderTargetContext( in MakeRenderTargetContext()
177 sk_sp<SkSpecialImage> SkGpuDevice::filterTexture(SkSpecialImage* srcImg, in filterTexture()
[all …]
DSkGpuDevice.h34 class SkGpuDevice : public SkClipStackDevice {
45 static sk_sp<SkGpuDevice> Make(GrContext*, sk_sp<GrRenderTargetContext> renderTargetContext,
56 static sk_sp<SkGpuDevice> Make(GrContext*, SkBudgeted, const SkImageInfo&,
60 ~SkGpuDevice() override {} in ~SkGpuDevice()
148 SkGpuDevice(GrContext*, sk_sp<GrRenderTargetContext>, int width, int height, unsigned flags);
DSkGpuDevice_drawTexture.cpp144 void SkGpuDevice::drawPinnedTextureProxy(sk_sp<GrTextureProxy> proxy, uint32_t pinnedUniqueID, in drawPinnedTextureProxy()
160 void SkGpuDevice::drawTextureProducer(GrTextureProducer* producer, in drawTextureProducer()
231 void SkGpuDevice::drawTextureProducerImpl(GrTextureProducer* producer, in drawTextureProducerImpl()
/external/skqp/src/image/
DSkSurface_Gpu.cpp27 SkSurface_Gpu::SkSurface_Gpu(sk_sp<SkGpuDevice> device) in SkSurface_Gpu()
323 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, sk_ref_sp(sc->asRenderTargetContext()), in MakeRenderTarget()
325 SkGpuDevice::kClear_InitContents)); in MakeRenderTarget()
359 sk_sp<SkGpuDevice> device(SkGpuDevice::Make( in MakeRenderTarget()
361 SkGpuDevice::kClear_InitContents)); in MakeRenderTarget()
376 sk_sp<SkGpuDevice> device( in MakeWrappedRenderTarget()
377 SkGpuDevice::Make(context, std::move(rtc), w, h, SkGpuDevice::kUninit_InitContents)); in MakeWrappedRenderTarget()
453 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, std::move(rtc), texCopy.width(), in MakeFromBackendTexture()
455 SkGpuDevice::kUninit_InitContents)); in MakeFromBackendTexture()
517 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, std::move(rtc), rtCopy.width(), in MakeFromBackendRenderTarget()
[all …]
DSkSurface_Gpu.h16 class SkGpuDevice; variable
20 SkSurface_Gpu(sk_sp<SkGpuDevice>);
42 SkGpuDevice* getDevice() { return fDevice.get(); } in getDevice()
48 sk_sp<SkGpuDevice> fDevice;
/external/skqp/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp36 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(ctx, std::move(rtc), width, height, in Make()
37 SkGpuDevice::kUninit_InitContents)); in Make()
45 GrVkSecondaryCBDrawContext::GrVkSecondaryCBDrawContext(sk_sp<SkGpuDevice> device) in GrVkSecondaryCBDrawContext()
DGrVkSecondaryCBDrawContext.h19 class SkGpuDevice; variable
99 explicit GrVkSecondaryCBDrawContext(sk_sp<SkGpuDevice>);
101 sk_sp<SkGpuDevice> fDevice;
/external/skia/src/image/
DSkSurface_Gpu.h17 class SkGpuDevice; variable
21 SkSurface_Gpu(sk_sp<SkGpuDevice>);
64 SkGpuDevice* getDevice() { return fDevice.get(); } in getDevice()
67 sk_sp<SkGpuDevice> fDevice;
DSkSurface_Gpu.cpp32 SkSurface_Gpu::SkSurface_Gpu(sk_sp<SkGpuDevice> device) in SkSurface_Gpu()
429 auto device = SkGpuDevice::Make(std::move(sdc), SkGpuDevice::kClear_InitContents); in MakeRenderTarget()
485 sk_sp<SkGpuDevice> device(SkGpuDevice::Make( in MakeRenderTarget()
487 SkGpuDevice::kClear_InitContents)); in MakeRenderTarget()
500 auto device = SkGpuDevice::Make(std::move(sdc), SkGpuDevice::kUninit_InitContents); in MakeWrappedRenderTarget()
540 auto device = SkGpuDevice::Make(std::move(sdc), SkGpuDevice::kUninit_InitContents); in MakeFromBackendTexture()
654 auto device = SkGpuDevice::Make(std::move(sdc), SkGpuDevice::kUninit_InitContents); in MakeFromBackendRenderTarget()
/external/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.h20 class SkGpuDevice; variable
115 explicit GrVkSecondaryCBDrawContext(sk_sp<SkGpuDevice>, const SkSurfaceProps*);
117 sk_sp<SkGpuDevice> fDevice;
DGrVkSecondaryCBDrawContext.cpp38 auto device = SkGpuDevice::Make(std::move(rtc), SkGpuDevice::kUninit_InitContents); in Make()
47 GrVkSecondaryCBDrawContext::GrVkSecondaryCBDrawContext(sk_sp<SkGpuDevice> device, in GrVkSecondaryCBDrawContext()
/external/skia/site/docs/dev/tools/
Dtracing.md75 [ 0] <skia.gpu> SkGpuDevice::clearAll id=1 #3 {
78 [ 0] } SkGpuDevice::clearAll
80 [ 1] <skia.gpu> SkGpuDevice::drawRect id=1 #6 {
85 [ 1] } SkGpuDevice::drawRect
/external/skqp/site/dev/tools/
Dtracing.md70 [ 0] <skia.gpu> SkGpuDevice::clearAll id=1 #3 {
73 [ 0] } SkGpuDevice::clearAll
75 [ 1] <skia.gpu> SkGpuDevice::drawRect id=1 #6 {
80 [ 1] } SkGpuDevice::drawRect
/external/skia/tests/
DDeviceTest.cpp87 sk_sp<SkBaseDevice> gpuDev(SkGpuDevice::Make(context, SkBudgeted::kNo, ii, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
90 SkGpuDevice::kClear_InitContents)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrMipMappedTest.cpp81 SkGpuDevice* device = ((SkSurface_Gpu*)surface.get())->getDevice(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
313 SkGpuDevice* device = ((SkSurface_Gpu*)surface.get())->getDevice(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DDeviceTest.cpp87 sk_sp<SkBaseDevice> gpuDev(SkGpuDevice::Make(context, SkBudgeted::kNo, ii, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
90 SkGpuDevice::kClear_InitContents)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrMipMappedTest.cpp59 SkGpuDevice* device = ((SkSurface_Gpu*)surface.get())->getDevice(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
257 SkGpuDevice* device = ((SkSurface_Gpu*)surface.get())->getDevice(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/core/
DSkSpecialSurface.cpp130 auto device = SkGpuDevice::Make(std::move(surfaceDrawContext), in SkSpecialSurface_Gpu()
131 SkGpuDevice::kUninit_InitContents); in SkSpecialSurface_Gpu()
/external/skqp/src/core/
DSkSpecialSurface.cpp131 sk_sp<SkBaseDevice> device(SkGpuDevice::Make(context, fRenderTargetContext, width, height, in SkSpecialSurface_Gpu()
132 SkGpuDevice::kUninit_InitContents)); in SkSpecialSurface_Gpu()
/external/skqp/gn/
Dgpu.gni505 "$_src/gpu/SkGpuDevice.cpp",
506 "$_src/gpu/SkGpuDevice.h",
/external/skia/gn/
Dgpu.gni545 "$_src/gpu/SkGpuDevice.cpp",
546 "$_src/gpu/SkGpuDevice.h",
/external/skqp/
DAndroid.bp912 "src/gpu/SkGpuDevice.cpp",

12