Home
last modified time | relevance | path

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

1234567

/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/skia/src/gpu/
DGrRenderTarget.cpp22 GrRenderTarget::GrRenderTarget(GrGpu* gpu, const GrSurfaceDesc& desc, in GrRenderTarget() function in GrRenderTarget
33 GrRenderTarget::~GrRenderTarget() = default;
35 void GrRenderTarget::flagAsNeedingResolve(const SkIRect* rect) { in flagAsNeedingResolve()
48 void GrRenderTarget::overrideResolveRect(const SkIRect rect) { in overrideResolveRect()
59 void GrRenderTarget::flagAsResolved() { in flagAsResolved()
63 void GrRenderTarget::onRelease() { in onRelease()
69 void GrRenderTarget::onAbandon() { in onAbandon()
DGrRenderTargetPriv.h57 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv()
65 GrRenderTarget* fRenderTarget;
67 friend class GrRenderTarget; // to construct/copy this type. variable
70 inline GrRenderTargetPriv GrRenderTarget::renderTargetPriv() { return GrRenderTargetPriv(this); } in renderTargetPriv()
72 inline const GrRenderTargetPriv GrRenderTarget::renderTargetPriv () const { in renderTargetPriv()
73 return GrRenderTargetPriv(const_cast<GrRenderTarget*>(this)); in renderTargetPriv()
DGrGpu.h38 class GrRenderTarget; variable
121 sk_sp<GrRenderTarget> wrapBackendRenderTarget(const GrBackendRenderTarget&);
126 sk_sp<GrRenderTarget> wrapBackendTextureAsRenderTarget(const GrBackendTexture&,
132 sk_sp<GrRenderTarget> wrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo&,
151 void resolveRenderTarget(GrRenderTarget*);
262 int findOrAssignSamplePatternKey(GrRenderTarget*, const GrPipeline&);
275 GrRenderTarget*, GrSurfaceOrigin, const SkRect& bounds,
426 virtual GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget*,
487 GrRenderTarget*, const GrStencilSettings&, SkTArray<SkPoint>*) = 0;
490 virtual void xferBarrier(GrRenderTarget*, GrXferBarrierType) = 0;
[all …]
DGrResourceProvider.h22 class GrRenderTarget; variable
128 sk_sp<GrRenderTarget> wrapBackendRenderTarget(const GrBackendRenderTarget&);
130 sk_sp<GrRenderTarget> wrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo&,
212 bool attachStencilAttachment(GrRenderTarget* rt);
223 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;
/external/skia/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;
/external/skia/src/gpu/mock/
DGrMockGpu.h28 GrRenderTarget*, GrSurfaceOrigin, const SkRect&,
58 GrRenderTarget*, const GrStencilSettings&, SkTArray<SkPoint>*) override { in querySampleLocations() argument
63 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
76 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&) override;
78 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
107 void onResolveRenderTarget(GrRenderTarget* target) override { return; } in onResolveRenderTarget()
118 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget*,
DGrMockTexture.h73 class GrMockRenderTarget : public GrRenderTarget {
123 typedef GrRenderTarget INHERITED;
149 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget()
151 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget()
163 GrRenderTarget::onAbandon(); in onAbandon()
168 GrRenderTarget::onRelease(); in onRelease()
/external/skia/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,
188 GrRenderTarget*, const GrStencilSettings&, SkTArray<SkPoint>*) override;
190 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override;
202 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&) override;
203 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
[all …]
/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/skia/src/gpu/vk/
DGrVkGpu.h77 GrRenderTarget*, const GrStencilSettings&, SkTArray<SkPoint>*) override { in querySampleLocations() argument
82 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
97 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget*,
102 GrRenderTarget*, GrSurfaceOrigin, const SkRect&,
130 void resolveRenderTargetNoFlush(GrRenderTarget* target) { in resolveRenderTargetNoFlush()
134 void onResolveRenderTarget(GrRenderTarget* target) override { in onResolveRenderTarget()
201 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&) override;
203 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
206 sk_sp<GrRenderTarget> onWrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo&,
238 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*);
/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()
/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*);
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.h39 GrRenderTarget*,
62 GrRenderTarget*, GrSurfaceOrigin,
69 GrMtlPipelineStateBuilder(GrMtlGpu*, GrRenderTarget*, GrSurfaceOrigin,
75 GrMtlPipelineState* finalize(GrRenderTarget* renderTarget,
DGrMtlGpu.h95 GrRenderTarget*, GrSurfaceOrigin, const SkRect& bounds,
135 GrRenderTarget*, const GrStencilSettings&, SkTArray<SkPoint>*) override { in querySampleLocations() argument
140 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
151 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&) override;
153 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
174 void onResolveRenderTarget(GrRenderTarget* target) override { return; } in onResolveRenderTarget()
199 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget*,
/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*,

1234567