Home
last modified time | relevance | path

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

/external/skia/src/gpu/batches/
DGrClearBatch.h24 , fRenderTarget(rt) { in GrClearBatch()
30 uint32_t renderTargetUniqueID() const override { return fRenderTarget.get()->getUniqueID(); } in renderTargetUniqueID()
31 GrRenderTarget* renderTarget() const override { return fRenderTarget.get(); } in renderTarget()
37 fRenderTarget.get()->getUniqueID()); in dumpInfo()
47 SkASSERT(cb->fRenderTarget == fRenderTarget); in onCombineIfPossible()
62 state->gpu()->clear(fRect, fColor, fRenderTarget.get()); in onDraw()
67 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; variable
80 , fRenderTarget(rt) { in GrClearStencilClipBatch()
86 uint32_t renderTargetUniqueID() const override { return fRenderTarget.get()->getUniqueID(); } in renderTargetUniqueID()
87 GrRenderTarget* renderTarget() const override { return fRenderTarget.get(); } in renderTarget()
[all …]
DGrDiscardBatch.h22 , fRenderTarget(rt) { in GrDiscardBatch()
28 uint32_t renderTargetUniqueID() const override { return fRenderTarget.get()->getUniqueID(); } in renderTargetUniqueID()
29 GrRenderTarget* renderTarget() const override { return fRenderTarget.get(); } in renderTarget()
33 string.printf("RT: %d", fRenderTarget.get()->getUniqueID()); in dumpInfo()
39 return fRenderTarget == that->cast<GrDiscardBatch>()->fRenderTarget; in onCombineIfPossible()
45 state->gpu()->discard(fRenderTarget.get()); in onDraw()
48 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; variable
DGrStencilPathBatch.h33 uint32_t renderTargetUniqueID() const override { return fRenderTarget.get()->getUniqueID(); } in renderTargetUniqueID()
34 GrRenderTarget* renderTarget() const override { return fRenderTarget.get(); } in renderTarget()
54 , fRenderTarget(renderTarget) in GrStencilPathBatch()
64 GrPathRendering::StencilPathArgs args(fUseHWAA, fRenderTarget.get(), &fViewMatrix, in onDraw()
73 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; variable
/external/skia/src/gpu/
DGrDrawContext.cpp60 , fRenderTarget(rt) in GrDrawContext()
74 SkASSERT(fRenderTarget); in validate()
75 ASSERT_OWNED_RESOURCE(fRenderTarget); in validate()
78 SkASSERT(fRenderTarget->getLastDrawTarget() == fDrawTarget); in validate()
93 fDrawTarget = fDrawingManager->newDrawTarget(fRenderTarget); in getDrawTarget()
105 return this->getDrawTarget()->copySurface(fRenderTarget, src, srcRect, dstPoint); in copySurface()
171 this->getDrawTarget()->discard(fRenderTarget); in discard()
183 this->getDrawTarget()->clear(rect, color, canIgnoreRect, fRenderTarget); in clear()
199 SkIntToScalar(fRenderTarget->width()), in drawPaint()
200 SkIntToScalar(fRenderTarget->height())); in drawPaint()
[all …]
DGrRenderTarget.cpp96 if (!stencil && !fRenderTarget->fStencilAttachment) { in attachStencilAttachment()
101 fRenderTarget->fStencilAttachment = stencil; in attachStencilAttachment()
102 if (!fRenderTarget->completeStencilAttachment()) { in attachStencilAttachment()
103 SkSafeSetNull(fRenderTarget->fStencilAttachment); in attachStencilAttachment()
DGrRenderTargetPriv.h21 GrStencilAttachment* getStencilAttachment() const { return fRenderTarget->fStencilAttachment; } in getStencilAttachment()
31 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv()
39 GrRenderTarget* fRenderTarget; variable
DSkGpuDevice.cpp173 , fRenderTarget(SkRef(rt)) { in SkGpuDevice()
244 return fRenderTarget->readPixels(x, y, dstInfo.width(), dstInfo.height(), config, dstPixels, in onReadPixels()
260 fRenderTarget->writePixels(x, y, info.width(), info.height(), config, pixels, rowBytes, flags); in onWritePixels()
310 return fRenderTarget; in accessRenderTarget()
324 SkBudgeted budgeted = fRenderTarget->resourcePriv().isBudgeted(); in replaceRenderTarget()
327 this->context(), budgeted, this->imageInfo(), fRenderTarget->desc().fSampleCnt, in replaceRenderTarget()
328 fRenderTarget->desc().fTextureStorageAllocator)); in replaceRenderTarget()
335 if (fRenderTarget->wasDestroyed()) { in replaceRenderTarget()
338 this->context()->copySurface(newRT, fRenderTarget); in replaceRenderTarget()
341 SkASSERT(fRenderTarget != newRT); in replaceRenderTarget()
[all …]
DGrDrawTarget.cpp46 , fRenderTarget(rt) { in GrDrawTarget()
64 if (fRenderTarget && this == fRenderTarget->getLastDrawTarget()) { in ~GrDrawTarget()
65 fRenderTarget->setLastDrawTarget(nullptr); in ~GrDrawTarget()
105 SkDebugf("node: %d -> RT: %d\n", fDebugID, fRenderTarget ? fRenderTarget->getUniqueID() : -1); in dump()
243 SkASSERT(fRenderTarget); in drawBatch()
244 batch->pipeline()->addDependenciesTo(fRenderTarget); in drawBatch()
DGrPipelineBuilder.h195 GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget()
202 void setRenderTarget(GrRenderTarget* target) { fRenderTarget.reset(SkSafeRef(target)); } in setRenderTarget()
209 return fRenderTarget->hasMixedSamples() && in hasMixedSamples()
375 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
DGrPipeline.h140 GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget()
150 return this->getXferProcessor().xferBarrierType(fRenderTarget.get(), caps); in xferBarrierType()
196 RenderTarget fRenderTarget; variable
DGrPathRendering.h138 , fRenderTarget(renderTarget) in StencilPathArgs()
144 GrRenderTarget* fRenderTarget; member
DGrPipeline.cpp71 pipeline->fRenderTarget.reset(builder.fRenderTarget.get()); in CreateAt()
72 SkASSERT(pipeline->fRenderTarget); in CreateAt()
DGrDrawTarget.h69 void clearRT() { fRenderTarget = nullptr; } in clearRT()
259 GrRenderTarget* fRenderTarget; variable
DGrTest.h40 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
DSkGpuDevice_drawTexture.cpp186 fRenderTarget->isUnifiedMultisampled())) { in drawTextureProducerImpl()
DSkGpuDevice.h161 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
DGrTest.cpp60 fRenderTarget.reset(SkRef(rt)); in init()
/external/skia/example/
DHelloWorld.cpp32 fRenderTarget = NULL; in HelloWorldWindow()
49 SkSafeUnref(fRenderTarget); in tearDownBackend()
50 fRenderTarget = NULL; in tearDownBackend()
84 SkSafeUnref(fRenderTarget); in setUpRenderTarget()
85 fRenderTarget = this->renderTarget(fAttachmentInfo, fInterface, fContext); in setUpRenderTarget()
163 fRenderTarget->writePixels(0, 0, snap->width(), snap->height(), in draw()
DHelloWorld.h39 return SkSurface::NewRenderTargetDirect(fRenderTarget, &props); in createSurface()
65 GrRenderTarget* fRenderTarget; variable
/external/skia/include/gpu/
DGrDrawContext.h258 int width() const { return fRenderTarget->width(); } in width()
259 int height() const { return fRenderTarget->height(); } in height()
260 int numColorSamples() const { return fRenderTarget->numColorSamples(); } in numColorSamples()
262 GrRenderTarget* accessRenderTarget() { return fRenderTarget; } in accessRenderTarget()
297 GrRenderTarget* fRenderTarget; variable
DGrProcessorUnitTest.h51 , fRenderTarget(rt) { in GrProcessorTestData()
58 const GrRenderTarget* fRenderTarget; member
/external/skia/tools/VisualBench/
DVisualBench.cpp81 fSurface.reset(SkSurface::NewRenderTargetDirect(fRenderTarget, &props)); in createSurface()
148 fRenderTarget.reset(this->renderTarget(fAttachmentInfo, fInterface, fContext)); in setupRenderTarget()
DVisualBench.h58 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
/external/skia/src/gpu/effects/
DGrCoverageSetOpXP.cpp342 bool invertCoverage = !d->fRenderTarget->hasMixedSamples() && d->fRandom->nextBool(); in TestCreate()
/external/skia/src/gpu/gl/
DGrGLPathRendering.cpp105 GrGLRenderTarget* rt = static_cast<GrGLRenderTarget*>(args.fRenderTarget); in onStencilPath()