Home
last modified time | relevance | path

Searched refs:GrRenderTarget (Results 1 – 25 of 176) sorted by relevance

12345678

/external/skia/src/gpu/
DGrRenderTarget.cpp18 GrRenderTarget::GrRenderTarget(GrGpu* gpu, in GrRenderTarget() function in GrRenderTarget
32 GrRenderTarget::~GrRenderTarget() = default;
34 void GrRenderTarget::onRelease() { in onRelease()
41 void GrRenderTarget::onAbandon() { in onAbandon()
48 void GrRenderTarget::attachStencilAttachment(sk_sp<GrAttachment> stencil, bool useMSAASurface) { in attachStencilAttachment()
49 auto stencilAttachment = (useMSAASurface) ? &GrRenderTarget::fMSAAStencilAttachment in attachStencilAttachment()
50 : &GrRenderTarget::fStencilAttachment; in attachStencilAttachment()
64 int GrRenderTarget::numStencilBits(bool useMSAASurface) const { in numStencilBits()
DGrRenderTarget.h25 class GrRenderTarget : virtual public GrSurface {
34 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget()
35 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget()
73 GrRenderTarget(GrGpu*, const SkISize&, int sampleCount, GrProtected, GrAttachment* = nullptr);
74 ~GrRenderTarget() override;
DGrGpu.h36 class GrRenderTarget; variable
183 sk_sp<GrRenderTarget> wrapBackendRenderTarget(const GrBackendRenderTarget&);
188 sk_sp<GrRenderTarget> wrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo&,
207 void resolveRenderTarget(GrRenderTarget*, const SkIRect& resolveRect);
345 GrOpsRenderPass* getOpsRenderPass(GrRenderTarget* renderTarget,
634 virtual void xferBarrier(GrRenderTarget*, GrXferBarrierType) = 0;
711 virtual sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&) = 0;
712 virtual sk_sp<GrRenderTarget> onWrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo&,
741 virtual void onResolveRenderTarget(GrRenderTarget* target, const SkIRect& resolveRect) = 0;
751 GrRenderTarget* renderTarget,
DGrOpsRenderPass.h20 class GrRenderTarget; variable
144 GrOpsRenderPass(GrRenderTarget* rt, GrSurfaceOrigin origin) in GrOpsRenderPass()
149 void set(GrRenderTarget* rt, GrSurfaceOrigin origin) { in set()
157 GrRenderTarget* fRenderTarget;
DGrSurface.h17 class GrRenderTarget; variable
66 virtual GrRenderTarget* asRenderTarget() { return nullptr; } in asRenderTarget()
67 virtual const GrRenderTarget* asRenderTarget() const { return nullptr; } in asRenderTarget()
/external/skqp/src/gpu/
DGrRenderTarget.cpp21 GrRenderTarget::GrRenderTarget(GrGpu* gpu, const GrSurfaceDesc& desc, in GrRenderTarget() function in GrRenderTarget
31 GrRenderTarget::~GrRenderTarget() = default;
33 void GrRenderTarget::flagAsNeedingResolve(const SkIRect* rect) { in flagAsNeedingResolve()
46 void GrRenderTarget::overrideResolveRect(const SkIRect rect) { in overrideResolveRect()
57 void GrRenderTarget::flagAsResolved() { in flagAsResolved()
61 void GrRenderTarget::onRelease() { in onRelease()
67 void GrRenderTarget::onAbandon() { in onAbandon()
DGrRenderTargetPriv.h38 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv()
46 GrRenderTarget* fRenderTarget;
48 friend class GrRenderTarget; // to construct/copy this type. variable
51 inline GrRenderTargetPriv GrRenderTarget::renderTargetPriv() { return GrRenderTargetPriv(this); } in renderTargetPriv()
53 inline const GrRenderTargetPriv GrRenderTarget::renderTargetPriv () const { in renderTargetPriv()
54 return GrRenderTargetPriv(const_cast<GrRenderTarget*>(this)); in renderTargetPriv()
DGrGpu.h36 class GrRenderTarget; variable
119 sk_sp<GrRenderTarget> wrapBackendRenderTarget(const GrBackendRenderTarget&);
124 sk_sp<GrRenderTarget> wrapBackendTextureAsRenderTarget(const GrBackendTexture&,
130 sk_sp<GrRenderTarget> wrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo&,
149 void resolveRenderTarget(GrRenderTarget*);
252 GrRenderTarget*, GrSurfaceOrigin, const SkRect& bounds,
394 virtual GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget*,
452 virtual void xferBarrier(GrRenderTarget*, GrXferBarrierType) = 0;
464 virtual sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&) = 0;
465 virtual sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
[all …]
DGrResourceProvider.h22 class GrRenderTarget; variable
131 sk_sp<GrRenderTarget> wrapBackendRenderTarget(const GrBackendRenderTarget&);
133 sk_sp<GrRenderTarget> wrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo&,
215 bool attachStencilAttachment(GrRenderTarget* rt);
226 sk_sp<GrRenderTarget> wrapBackendTextureAsRenderTarget(const GrBackendTexture&,
DGrGpuCommandBuffer.h21 class GrRenderTarget; variable
129 GrGpuRTCommandBuffer(GrRenderTarget* rt, GrSurfaceOrigin origin) in GrGpuRTCommandBuffer()
134 void set(GrRenderTarget* rt, GrSurfaceOrigin origin) { in set()
142 GrRenderTarget* fRenderTarget;
/external/skqp/include/gpu/
DGrRenderTarget.h27 class GrRenderTarget : virtual public GrSurface {
32 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget()
33 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget()
112 GrRenderTarget(GrGpu*, const GrSurfaceDesc&, GrStencilAttachment* = nullptr);
113 ~GrRenderTarget() override;
DGrSurface.h17 class GrRenderTarget; variable
57 virtual GrRenderTarget* asRenderTarget() { return nullptr; } in asRenderTarget()
58 virtual const GrRenderTarget* asRenderTarget() const { return nullptr; } in asRenderTarget()
/external/skqp/src/gpu/mock/
DGrMockGpu.h28 GrRenderTarget*, GrSurfaceOrigin, const SkRect&,
57 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
70 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&) override;
72 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
101 void onResolveRenderTarget(GrRenderTarget* target) override { return; } in onResolveRenderTarget()
105 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget*,
DGrMockTexture.h103 class GrMockRenderTarget : public GrRenderTarget {
153 typedef GrRenderTarget INHERITED;
179 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget()
181 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget()
189 GrRenderTarget::onAbandon(); in onAbandon()
194 GrRenderTarget::onRelease(); in onRelease()
DGrMockGpu.cpp56 GrRenderTarget* rt, GrSurfaceOrigin origin, const SkRect& bounds, in getCommandBuffer()
151 sk_sp<GrRenderTarget> GrMockGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& rt) { in onWrapBackendRenderTarget()
161 return sk_sp<GrRenderTarget>( in onWrapBackendRenderTarget()
165 sk_sp<GrRenderTarget> GrMockGpu::onWrapBackendTextureAsRenderTarget(const GrBackendTexture& tex, in onWrapBackendTextureAsRenderTarget()
182 return sk_sp<GrRenderTarget>( in onWrapBackendTextureAsRenderTarget()
191 GrStencilAttachment* GrMockGpu::createStencilAttachmentForRenderTarget(const GrRenderTarget* rt, in createStencilAttachmentForRenderTarget()
/external/skqp/src/gpu/gl/
DGrGLGpu.h82 void draw(GrRenderTarget*, GrSurfaceOrigin,
112 void clear(const GrFixedClip&, const SkPMColor4f&, GrRenderTarget*, GrSurfaceOrigin);
118 GrRenderTarget*, GrSurfaceOrigin);
122 void clearStencil(GrRenderTarget*, int clearValue);
125 GrRenderTarget*, GrSurfaceOrigin, const SkRect&,
135 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget* rt,
185 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override;
197 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&) override;
198 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
217 bool readPixelsSupported(GrRenderTarget* target, GrPixelConfig readConfig);
[all …]
/external/skqp/src/gpu/vk/
DGrVkGpu.h76 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
91 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget*,
96 GrRenderTarget*, GrSurfaceOrigin, const SkRect&,
122 void resolveRenderTargetNoFlush(GrRenderTarget* target) { in resolveRenderTargetNoFlush()
126 void onResolveRenderTarget(GrRenderTarget* target) override { in onResolveRenderTarget()
193 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&) override;
195 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
198 sk_sp<GrRenderTarget> onWrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo&,
227 void internalResolveRenderTarget(GrRenderTarget*, bool requiresSubmit);
DGrVkPipeline.h17 class GrRenderTarget; variable
41 static void SetDynamicScissorRectState(GrVkGpu*, GrVkCommandBuffer*, const GrRenderTarget*,
43 static void SetDynamicViewportState(GrVkGpu*, GrVkCommandBuffer*, const GrRenderTarget*);
DGrVkPipelineStateBuilder.h41 GrRenderTarget*,
65 GrRenderTarget*, GrSurfaceOrigin,
82 GrVkPipelineStateBuilder(GrVkGpu*, GrRenderTarget*, GrSurfaceOrigin,
DGrVkRenderTarget.cpp36 , GrRenderTarget(gpu, desc) in GrVkRenderTarget()
62 , GrRenderTarget(gpu, desc) in GrVkRenderTarget()
82 , GrRenderTarget(gpu, desc) in GrVkRenderTarget()
103 , GrRenderTarget(gpu, desc) in GrVkRenderTarget()
121 , GrRenderTarget(gpu, desc) in GrVkRenderTarget()
367 GrRenderTarget::onRelease(); in onRelease()
373 GrRenderTarget::onAbandon(); in onAbandon()
/external/skia/src/gpu/mock/
DGrMockTexture.h80 class GrMockRenderTarget : public GrRenderTarget {
149 using INHERITED = GrRenderTarget;
185 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget()
187 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget()
195 GrRenderTarget::onAbandon(); in onAbandon()
200 GrRenderTarget::onRelease(); in onRelease()
/external/skqp/src/gpu/mtl/
DGrMtlGpu.h91 GrRenderTarget*, GrSurfaceOrigin, const SkRect& bounds,
130 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
141 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&) override;
143 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
163 void onResolveRenderTarget(GrRenderTarget* target) override { return; } in onResolveRenderTarget()
173 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget*,
/external/skia/src/gpu/d3d/
DGrD3DRenderTarget.cpp32 , GrRenderTarget(gpu, dimensions, msaaInfo.fSampleCount, info.fProtected) in GrD3DRenderTarget()
54 , GrRenderTarget(gpu, dimensions, msaaInfo.fSampleCount, info.fProtected) in GrD3DRenderTarget()
72 , GrRenderTarget(gpu, dimensions, info.fSampleCount, info.fProtected) in GrD3DRenderTarget()
87 , GrRenderTarget(gpu, dimensions, info.fSampleCount, info.fProtected) in GrD3DRenderTarget()
167 GrRenderTarget::onRelease(); in onRelease()
173 GrRenderTarget::onAbandon(); in onAbandon()
/external/skia/src/gpu/dawn/
DGrDawnProgramBuilder.h67 void setRenderTargetState(const GrRenderTarget*, GrSurfaceOrigin);
68 wgpu::BindGroup setUniformData(GrDawnGpu*, const GrRenderTarget*, const GrProgramInfo&);
78 GrRenderTarget*,
/external/skia/src/gpu/mtl/
DGrMtlPipelineState.h48 void setData(const GrRenderTarget*, const GrProgramInfo&);
60 const GrRenderTarget* renderTarget,
103 void setRenderTargetState(const GrRenderTarget*, GrSurfaceOrigin);

12345678