Home
last modified time | relevance | path

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

12345678

/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/
DGrRenderTargetPriv.h54 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv()
62 GrRenderTarget* fRenderTarget;
64 friend class GrRenderTarget; // to construct/copy this type. variable
67 inline GrRenderTargetPriv GrRenderTarget::renderTargetPriv() { return GrRenderTargetPriv(this); } in renderTargetPriv()
69 inline const GrRenderTargetPriv GrRenderTarget::renderTargetPriv () const { in renderTargetPriv()
70 return GrRenderTargetPriv(const_cast<GrRenderTarget*>(this)); in renderTargetPriv()
DGrRenderTarget.cpp21 GrRenderTarget::GrRenderTarget(GrGpu* gpu, const SkISize& dimensions, int sampleCount, in GrRenderTarget() function in GrRenderTarget
28 GrRenderTarget::~GrRenderTarget() = default;
30 void GrRenderTarget::onRelease() { in onRelease()
36 void GrRenderTarget::onAbandon() { in onAbandon()
DGrRenderTarget.h26 class GrRenderTarget : virtual public GrSurface {
35 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget()
36 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget()
53 GrRenderTarget(GrGpu*, const SkISize&, int sampleCount, GrProtected,
55 ~GrRenderTarget() override;
DGrGpu.h37 class GrRenderTarget; variable
163 sk_sp<GrRenderTarget> wrapBackendRenderTarget(const GrBackendRenderTarget&,
169 sk_sp<GrRenderTarget> wrapBackendTextureAsRenderTarget(const GrBackendTexture&,
176 sk_sp<GrRenderTarget> wrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo&,
200 void resolveRenderTarget(GrRenderTarget*, const SkIRect& resolveRect, ForExternalIO);
336 int findOrAssignSamplePatternKey(GrRenderTarget*);
349 GrRenderTarget* renderTarget, GrSurfaceOrigin, const SkIRect& bounds,
595 const GrRenderTarget*, int width, int height, int numStencilSamples) = 0;
665 virtual void querySampleLocations(GrRenderTarget*, SkTArray<SkPoint>*) = 0;
668 virtual void xferBarrier(GrRenderTarget*, GrXferBarrierType) = 0;
[all …]
DGrOpsRenderPass.h22 class GrRenderTarget; variable
82 GrOpsRenderPass(GrRenderTarget* rt, GrSurfaceOrigin origin) in GrOpsRenderPass()
87 void set(GrRenderTarget* rt, GrSurfaceOrigin origin) { in set()
95 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/src/gpu/gl/
DGrGLGpu.h77 bool flushGLState(GrRenderTarget*, const GrProgramInfo&);
84 void drawMeshes(GrRenderTarget*, const GrProgramInfo&, const GrMesh[], int meshCount);
101 void clear(const GrFixedClip&, const SkPMColor4f&, GrRenderTarget*, GrSurfaceOrigin);
107 GrRenderTarget*, GrSurfaceOrigin);
111 void clearStencil(GrRenderTarget*, int clearValue);
113 void beginCommandBuffer(GrRenderTarget*, const SkIRect& bounds, GrSurfaceOrigin,
117 void endCommandBuffer(GrRenderTarget*, const GrOpsRenderPass::LoadAndStoreInfo& colorLoadStore,
121 GrRenderTarget*, GrSurfaceOrigin, const SkIRect&,
131 const GrRenderTarget* rt, int width, int height, int numStencilSamples) override;
202 void querySampleLocations(GrRenderTarget*, SkTArray<SkPoint>*) override;
[all …]
/external/skia/src/gpu/mock/
DGrMockGpu.h28 GrRenderTarget*, GrSurfaceOrigin, const SkIRect&,
61 void querySampleLocations(GrRenderTarget*, SkTArray<SkPoint>* sampleLocations) override;
63 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
92 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&,
95 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
131 void onResolveRenderTarget(GrRenderTarget* target, const SkIRect&, ForExternalIO) override {} in onResolveRenderTarget()
142 const GrRenderTarget*, int width, int height, int numStencilSamples) override;
DGrMockTexture.h83 class GrMockRenderTarget : public GrRenderTarget {
146 typedef GrRenderTarget INHERITED;
182 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget()
184 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget()
196 GrRenderTarget::onAbandon(); in onAbandon()
201 GrRenderTarget::onRelease(); in onRelease()
/external/skia/src/gpu/d3d/
DGrD3DGpu.h28 void querySampleLocations(GrRenderTarget*, SkTArray<SkPoint>* sampleLocations) override;
30 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
46 const GrRenderTarget*, int width, int height, int numStencilSamples) override;
49 GrRenderTarget*, GrSurfaceOrigin, const SkIRect&,
109 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&,
112 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
148 void onResolveRenderTarget(GrRenderTarget* target, const SkIRect&, ForExternalIO) override {} in onResolveRenderTarget()
DGrD3DGpu.cpp26 GrRenderTarget* rt, GrSurfaceOrigin origin, const SkIRect& bounds, in getOpsRenderPass()
39 void GrD3DGpu::querySampleLocations(GrRenderTarget* rt, SkTArray<SkPoint>* sampleLocations) { in querySampleLocations()
87 sk_sp<GrRenderTarget> GrD3DGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& rt, in onWrapBackendRenderTarget()
93 sk_sp<GrRenderTarget> GrD3DGpu::onWrapBackendTextureAsRenderTarget(const GrBackendTexture& tex, in onWrapBackendTextureAsRenderTarget()
107 const GrRenderTarget* rt, int width, int height, int numStencilSamples) { in createStencilAttachmentForRenderTarget()
/external/skia/src/gpu/dawn/
DGrDawnGpu.h41 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
69 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget*,
75 GrRenderTarget*, GrSurfaceOrigin, const SkIRect& bounds,
101 sk_sp<GrDawnProgram> getOrCreateRenderPipeline(GrRenderTarget*, const GrProgramInfo&);
115 virtual void querySampleLocations(GrRenderTarget*, SkTArray<SkPoint>*) override {} in querySampleLocations() argument
140 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&,
143 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&, int sampleCnt,
166 void onResolveRenderTarget(GrRenderTarget*, const SkIRect&, ForExternalIO) override {} in onResolveRenderTarget() argument
DGrDawnProgramBuilder.h66 void setRenderTargetState(const GrRenderTarget*, GrSurfaceOrigin);
67 wgpu::BindGroup setUniformData(GrDawnGpu*, const GrRenderTarget*, const GrProgramInfo&);
76 GrRenderTarget*,
91 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*,
/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*);
/external/skia/src/gpu/vk/
DGrVkGpu.h73 void querySampleLocations(GrRenderTarget*, SkTArray<SkPoint>*) override;
75 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
95 const GrRenderTarget*, int width, int height, int numStencilSamples) override;
98 GrRenderTarget*, GrSurfaceOrigin, const SkIRect&,
120 void onResolveRenderTarget(GrRenderTarget* target, const SkIRect& resolveRect,
164 void endRenderPass(GrRenderTarget* target, GrSurfaceOrigin origin, const SkIRect& bounds);
215 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&,
218 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
221 sk_sp<GrRenderTarget> onWrapVulkanSecondaryCBAsRenderTarget(const SkImageInfo&,
/external/skia/src/gpu/mtl/
DGrMtlGpu.h82 GrRenderTarget*, GrSurfaceOrigin, const SkIRect& bounds,
124 void querySampleLocations(GrRenderTarget*, SkTArray<SkPoint>*) override { in querySampleLocations() argument
129 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
168 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&,
171 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
196 void onResolveRenderTarget(GrRenderTarget* target, const SkIRect& resolveRect,
214 const GrRenderTarget*, int width, int height, int numStencilSamples) override;
/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*,

12345678