Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DSkGpuDevice.cpp61 bool SkGpuDevice::CheckAlphaTypeAndGetFlags( in CheckAlphaTypeAndGetFlags()
62 const SkImageInfo* info, SkGpuDevice::InitContents init, unsigned* flags) { in CheckAlphaTypeAndGetFlags()
69 *flags |= SkGpuDevice::kIsOpaque_Flag; in CheckAlphaTypeAndGetFlags()
81 sk_sp<SkGpuDevice> SkGpuDevice::Make(GrContext* context, in Make()
92 return sk_sp<SkGpuDevice>(new SkGpuDevice(context, std::move(renderTargetContext), in Make()
96 sk_sp<SkGpuDevice> SkGpuDevice::Make(GrContext* context, SkBudgeted budgeted, in Make()
113 return sk_sp<SkGpuDevice>(new SkGpuDevice(context, std::move(renderTargetContext), in Make()
126 SkGpuDevice::SkGpuDevice(GrContext* context, sk_sp<GrRenderTargetContext> renderTargetContext, in SkGpuDevice() function in SkGpuDevice
140 sk_sp<GrRenderTargetContext> SkGpuDevice::MakeRenderTargetContext( in MakeRenderTargetContext()
172 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()
163 SkGpuDevice(GrContext*, sk_sp<GrRenderTargetContext>, int width, int height, unsigned flags);
DSkGpuDevice_drawTexture.cpp356 void SkGpuDevice::drawImageQuad(const SkImage* image, const SkRect* srcRect, const SkRect* dstRect, in drawImageQuad()
459 void SkGpuDevice::tmp_drawImageSetV3(const SkCanvas::ImageSetEntry set[], int dstClipCounts[], in tmp_drawImageSetV3()
573 void SkGpuDevice::drawTextureProducer(GrTextureProducer* producer, in drawTextureProducer()
/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/skia/src/image/
DSkSurface_Gpu.cpp31 SkSurface_Gpu::SkSurface_Gpu(sk_sp<SkGpuDevice> device) in SkSurface_Gpu()
337 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context->priv().backdoor(), in MakeRenderTarget()
340 SkGpuDevice::kClear_InitContents)); in MakeRenderTarget()
374 sk_sp<SkGpuDevice> device(SkGpuDevice::Make( in MakeRenderTarget()
376 SkGpuDevice::kClear_InitContents)); in MakeRenderTarget()
391 sk_sp<SkGpuDevice> device( in MakeWrappedRenderTarget()
392 SkGpuDevice::Make(context, std::move(rtc), w, h, SkGpuDevice::kUninit_InitContents)); in MakeWrappedRenderTarget()
472 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, std::move(rtc), texCopy.width(), in MakeFromBackendTexture()
474 SkGpuDevice::kUninit_InitContents)); in MakeFromBackendTexture()
538 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>);
45 SkGpuDevice* getDevice() { return fDevice.get(); } in getDevice()
51 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/gpu/vk/
DGrVkSecondaryCBDrawContext.h20 class SkGpuDevice; variable
102 explicit GrVkSecondaryCBDrawContext(sk_sp<SkGpuDevice>, const SkSurfaceProps*);
106 sk_sp<SkGpuDevice> fDevice;
DGrVkSecondaryCBDrawContext.cpp39 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(ctx, std::move(rtc), width, height, in Make()
40 SkGpuDevice::kUninit_InitContents)); in Make()
49 GrVkSecondaryCBDrawContext::GrVkSecondaryCBDrawContext(sk_sp<SkGpuDevice> device, in GrVkSecondaryCBDrawContext()
/external/skia/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/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.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/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.cpp134 sk_sp<SkBaseDevice> device(SkGpuDevice::Make(context->priv().backdoor(), in SkSpecialSurface_Gpu()
136 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/skia/gm/
Dcompositor_quads.cpp205 fDevice = static_cast<SkGpuDevice*>(device); in drawTiles()
253 SkGpuDevice* fDevice;
/external/skqp/gn/
Dgpu.gni505 "$_src/gpu/SkGpuDevice.cpp",
506 "$_src/gpu/SkGpuDevice.h",
/external/skia/gn/
Dgpu.gni516 "$_src/gpu/SkGpuDevice.cpp",
517 "$_src/gpu/SkGpuDevice.h",

12