Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/
DGrRenderTarget.cpp19 GrRenderTarget::~GrRenderTarget() { in ~GrRenderTarget()
26 void GrRenderTarget::discard() { in discard()
41 void GrRenderTarget::flagAsNeedingResolve(const SkIRect* rect) { in flagAsNeedingResolve()
54 void GrRenderTarget::overrideResolveRect(const SkIRect rect) { in overrideResolveRect()
65 void GrRenderTarget::onRelease() { in onRelease()
71 void GrRenderTarget::onAbandon() { in onAbandon()
81 void GrRenderTarget::setLastDrawTarget(GrDrawTarget* dt) { in setLastDrawTarget()
DGrRenderTargetPriv.h31 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv()
39 GrRenderTarget* fRenderTarget;
41 friend class GrRenderTarget; // to construct/copy this type. variable
44 inline GrRenderTargetPriv GrRenderTarget::renderTargetPriv() { return GrRenderTargetPriv(this); } in renderTargetPriv()
46 inline const GrRenderTargetPriv GrRenderTarget::renderTargetPriv () const { in renderTargetPriv()
47 return GrRenderTargetPriv(const_cast<GrRenderTarget*>(this)); in renderTargetPriv()
DGrGpu.h31 class GrRenderTarget; variable
107 GrRenderTarget* wrapBackendRenderTarget(const GrBackendRenderTargetDesc&, GrWrapOwnership);
112 GrRenderTarget* wrapBackendTextureAsRenderTarget(const GrBackendTextureDesc&, GrWrapOwnership);
152 void resolveRenderTarget(GrRenderTarget* target);
294 void clear(const SkIRect& rect, GrColor color, GrRenderTarget* renderTarget);
297 void clearStencilClip(const SkIRect& rect, bool insideClip, GrRenderTarget* renderTarget);
303 virtual void discard(GrRenderTarget* = nullptr) = 0;
433 virtual GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget*,
437 virtual void clearStencil(GrRenderTarget* target) = 0;
440 virtual void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) = 0;
[all …]
DGrDrawTarget.h54 GrDrawTarget(GrRenderTarget*, GrGpu*, GrResourceProvider*, GrAuditTrail*, const Options&);
132 GrRenderTarget* renderTarget);
135 void discard(GrRenderTarget*);
158 void clearStencilClip(const SkIRect& rect, bool insideClip, GrRenderTarget* rt) const { in clearStencilClip()
244 void clearStencilClip(const SkIRect&, bool insideClip, GrRenderTarget*);
259 GrRenderTarget* fRenderTarget;
DGrTest.cpp55 void GrTestTarget::init(GrContext* ctx, GrDrawTarget* target, GrRenderTarget* rt) { in init()
63 void GrContext::getTestTarget(GrTestTarget* tar, GrRenderTarget* rt) { in getTestTarget()
312 void discard(GrRenderTarget*) override {} in discard() argument
323 void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override {}; in drawDebugWireRect() argument
328 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
343 GrRenderTarget* onWrapBackendRenderTarget(const GrBackendRenderTargetDesc&, in onWrapBackendRenderTarget()
348 GrRenderTarget* onWrapBackendTextureAsRenderTarget(const GrBackendTextureDesc&, in onWrapBackendTextureAsRenderTarget()
359 void onClear(GrRenderTarget*, const SkIRect& rect, GrColor color) override {} in onClear() argument
361 void onClearStencilClip(GrRenderTarget*, const SkIRect& rect, bool insideClip) override {} in onClearStencilClip() argument
387 void onResolveRenderTarget(GrRenderTarget* target) override { return; } in onResolveRenderTarget()
[all …]
DSkGpuDevice.h41 static SkGpuDevice* Create(GrRenderTarget* target, const SkSurfaceProps*, InitContents);
47 static SkGpuDevice* Create(GrRenderTarget* target, int width, int height,
75 GrRenderTarget* accessRenderTarget() override;
161 SkAutoTUnref<GrRenderTarget> fRenderTarget;
179 SkGpuDevice(GrRenderTarget*, int width, int height, const SkSurfaceProps*, unsigned flags);
262 static GrRenderTarget* CreateRenderTarget(GrContext*, SkBudgeted, const SkImageInfo&,
DGrDrawTarget.cpp40 GrDrawTarget::GrDrawTarget(GrRenderTarget* rt, GrGpu* gpu, GrResourceProvider* resourceProvider, in GrDrawTarget()
136 GrRenderTarget* rt = pipelineBuilder.getRenderTarget(); in setupDstReadIfNecessary()
210 if (GrRenderTarget* rt = fBatches[i]->renderTarget()) { in drawBatches()
308 GrRenderTarget* rt = pipelineBuilder.getRenderTarget(); in stencilPath()
343 GrRenderTarget* rt = pipelineBuilder.getRenderTarget(); in drawPathBatch()
359 GrRenderTarget* renderTarget) { in clear()
399 void GrDrawTarget::discard(GrRenderTarget* renderTarget) { in discard()
497 GrRenderTarget* rt = pipelineBuilder->getRenderTarget(); in installPipelineInDrawBatch()
537 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRenderTarget* rt) { in clearStencilClip()
DGrTest.h32 void init(GrContext*, GrDrawTarget*, GrRenderTarget*);
40 SkAutoTUnref<GrRenderTarget> fRenderTarget;
DGrClipMaskManager.h81 const GrRenderTarget* rt,
117 bool createStencilClipMask(GrRenderTarget*,
140 const GrRenderTarget* rt,
DGrResourceProvider.h19 class GrRenderTarget; variable
146 GrStencilAttachment* attachStencilAttachment(GrRenderTarget* rt);
156 GrRenderTarget* wrapBackendTextureAsRenderTarget(const GrBackendTextureDesc& desc,
DGrPipelineBuilder.h40 GrPipelineBuilder(const GrPaint&, GrRenderTarget*, const GrClip&);
195 GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget()
202 void setRenderTarget(GrRenderTarget* target) { fRenderTarget.reset(SkSafeRef(target)); } in setRenderTarget()
375 SkAutoTUnref<GrRenderTarget> fRenderTarget;
/external/skia/src/gpu/vk/
DGrVkGpu.h70 void discard(GrRenderTarget*) override { in discard() argument
84 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} in xferBarrier() argument
91 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget*,
95 void clearStencil(GrRenderTarget* target) override { in clearStencil()
99 void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override { in drawDebugWireRect() argument
138 GrRenderTarget* onWrapBackendRenderTarget(const GrBackendRenderTargetDesc&,
140 GrRenderTarget* onWrapBackendTextureAsRenderTarget(const GrBackendTextureDesc&, in onWrapBackendTextureAsRenderTarget()
150 void onClear(GrRenderTarget*, const SkIRect& rect, GrColor color) override;
152 void onClearStencilClip(GrRenderTarget*, const SkIRect& rect, bool insideClip) override { in onClearStencilClip() argument
176 void onResolveRenderTarget(GrRenderTarget* target) override { in onResolveRenderTarget()
DGrVkRenderTarget.cpp32 , GrRenderTarget(gpu, lifeCycle, desc, kUnified_SampleConfig) in GrVkRenderTarget()
59 , GrRenderTarget(gpu, lifeCycle, desc, kUnified_SampleConfig) in GrVkRenderTarget()
81 , GrRenderTarget(gpu, lifeCycle, desc, kUnified_SampleConfig) in GrVkRenderTarget()
103 , GrRenderTarget(gpu, lifeCycle, desc, kUnified_SampleConfig) in GrVkRenderTarget()
351 GrRenderTarget::onRelease(); in onRelease()
357 GrRenderTarget::onAbandon(); in onAbandon()
/external/skia/src/image/
DSkSurface_Gpu.cpp29 static GrRenderTarget* prepare_rt_for_external_access(SkSurface_Gpu* surface, in prepare_rt_for_external_access()
44 GrRenderTarget* rt = surface->getDevice()->accessRenderTarget(); in prepare_rt_for_external_access()
50 GrRenderTarget* rt = prepare_rt_for_external_access(this, access); in onGetTextureHandle()
59 GrRenderTarget* rt = prepare_rt_for_external_access(this, access); in onGetRenderTargetHandle()
72 GrRenderTarget* rt = fDevice->accessRenderTarget(); in onNewSurface()
81 GrRenderTarget* rt = fDevice->accessRenderTarget(); in onNewImageSnapshot()
112 GrRenderTarget* rt = fDevice->accessRenderTarget(); in onCopyOnWrite()
135 SkSurface* SkSurface::NewRenderTargetDirect(GrRenderTarget* target, const SkSurfaceProps* props) { in NewRenderTargetDirect()
183 SkAutoTUnref<GrRenderTarget> rt(context->textureProvider()->wrapBackendRenderTarget(desc)); in NewFromBackendRenderTarget()
201 SkAutoTUnref<GrRenderTarget> rt( in NewFromBackendTextureAsRenderTarget()
/external/skia/include/gpu/
DGrRenderTarget.h25 class GrRenderTarget : virtual public GrSurface {
28 GrRenderTarget* asRenderTarget() override { return this; } in asRenderTarget()
29 const GrRenderTarget* asRenderTarget() const override { return this; } in asRenderTarget()
159 GrRenderTarget(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc,
168 ~GrRenderTarget() override;
DGrGpuResourceRef.h131 template<> class GrTGpuResourceRef<GrRenderTarget> : public GrGpuResourceRef {
135 GrTGpuResourceRef(GrRenderTarget* rt, GrIOType ioType) : INHERITED(rt, ioType) { } in GrTGpuResourceRef()
137 GrRenderTarget* get() const { in get()
146 void set(GrRenderTarget* rt, GrIOType ioType) { this->setResource(rt, ioType); } in set()
DGrSurface.h17 class GrRenderTarget; variable
66 virtual GrRenderTarget* asRenderTarget() { return NULL; } in asRenderTarget()
67 virtual const GrRenderTarget* asRenderTarget() const { return NULL; } in asRenderTarget()
DGrDrawContext.h28 class GrRenderTarget; variable
262 GrRenderTarget* accessRenderTarget() { return fRenderTarget; } in accessRenderTarget()
269 GrDrawContext(GrContext*, GrDrawingManager*, GrRenderTarget*,
297 GrRenderTarget* fRenderTarget;
DGrProcessorUnitTest.h18 class GrRenderTarget; variable
46 const GrRenderTarget* rt, in GrProcessorTestData()
58 const GrRenderTarget* fRenderTarget;
/external/skia/src/gpu/batches/
DGrClearBatch.h20 GrClearBatch(const SkIRect& rect, GrColor color, GrRenderTarget* rt) in GrClearBatch()
31 GrRenderTarget* renderTarget() const override { return fRenderTarget.get(); } in renderTarget()
67 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
76 GrClearStencilClipBatch(const SkIRect& rect, bool insideClip, GrRenderTarget* rt) in GrClearStencilClipBatch()
87 GrRenderTarget* renderTarget() const override { return fRenderTarget.get(); } in renderTarget()
108 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
DGrStencilPathBatch.h26 GrRenderTarget* renderTarget, in Create()
34 GrRenderTarget* renderTarget() const override { return fRenderTarget.get(); } in renderTarget()
47 GrRenderTarget* renderTarget, in GrStencilPathBatch()
73 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
DGrDiscardBatch.h20 GrDiscardBatch(GrRenderTarget* rt) in GrDiscardBatch()
29 GrRenderTarget* renderTarget() const override { return fRenderTarget.get(); } in renderTarget()
48 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
/external/skia/src/gpu/gl/
DGrGLGpu.h57 void discard(GrRenderTarget*) override;
118 void clearStencil(GrRenderTarget*) override;
124 GrStencilAttachment* createStencilAttachmentForRenderTarget(const GrRenderTarget* rt,
135 void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override;
145 void xferBarrier(GrRenderTarget*, GrXferBarrierType) override;
156 GrRenderTarget* onWrapBackendRenderTarget(const GrBackendRenderTargetDesc&,
158 GrRenderTarget* onWrapBackendTextureAsRenderTarget(const GrBackendTextureDesc&,
176 void onClear(GrRenderTarget*, const SkIRect& rect, GrColor color) override;
178 void onClearStencilClip(GrRenderTarget*, const SkIRect& rect, bool insideClip) override;
185 bool readPixelsSupported(GrRenderTarget* target, GrPixelConfig readConfig);
[all …]
DGrGLRenderTarget.h19 class GrGLRenderTarget : public GrRenderTarget {
30 GrRenderTarget::SampleConfig fSampleConfig;
119 typedef GrRenderTarget INHERITED;
/external/skia/experimental/SkV8Example/
DSkV8Example.h17 class GrRenderTarget; variable
48 GrRenderTarget* fCurRenderTarget;

1234