/external/skia/src/gpu/batches/ |
D | GrClearBatch.h | 24 , 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 …]
|
D | GrDiscardBatch.h | 22 , 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
|
D | GrStencilPathBatch.h | 33 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/ |
D | GrDrawContext.cpp | 60 , 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 …]
|
D | GrRenderTarget.cpp | 96 if (!stencil && !fRenderTarget->fStencilAttachment) { in attachStencilAttachment() 101 fRenderTarget->fStencilAttachment = stencil; in attachStencilAttachment() 102 if (!fRenderTarget->completeStencilAttachment()) { in attachStencilAttachment() 103 SkSafeSetNull(fRenderTarget->fStencilAttachment); in attachStencilAttachment()
|
D | GrRenderTargetPriv.h | 21 GrStencilAttachment* getStencilAttachment() const { return fRenderTarget->fStencilAttachment; } in getStencilAttachment() 31 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv() 39 GrRenderTarget* fRenderTarget; variable
|
D | SkGpuDevice.cpp | 173 , 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 …]
|
D | GrDrawTarget.cpp | 46 , 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()
|
D | GrPipelineBuilder.h | 195 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
|
D | GrPipeline.h | 140 GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget() 150 return this->getXferProcessor().xferBarrierType(fRenderTarget.get(), caps); in xferBarrierType() 196 RenderTarget fRenderTarget; variable
|
D | GrPathRendering.h | 138 , fRenderTarget(renderTarget) in StencilPathArgs() 144 GrRenderTarget* fRenderTarget; member
|
D | GrPipeline.cpp | 71 pipeline->fRenderTarget.reset(builder.fRenderTarget.get()); in CreateAt() 72 SkASSERT(pipeline->fRenderTarget); in CreateAt()
|
D | GrDrawTarget.h | 69 void clearRT() { fRenderTarget = nullptr; } in clearRT() 259 GrRenderTarget* fRenderTarget; variable
|
D | GrTest.h | 40 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
|
D | SkGpuDevice_drawTexture.cpp | 186 fRenderTarget->isUnifiedMultisampled())) { in drawTextureProducerImpl()
|
D | SkGpuDevice.h | 161 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
|
D | GrTest.cpp | 60 fRenderTarget.reset(SkRef(rt)); in init()
|
/external/skia/example/ |
D | HelloWorld.cpp | 32 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()
|
D | HelloWorld.h | 39 return SkSurface::NewRenderTargetDirect(fRenderTarget, &props); in createSurface() 65 GrRenderTarget* fRenderTarget; variable
|
/external/skia/include/gpu/ |
D | GrDrawContext.h | 258 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
|
D | GrProcessorUnitTest.h | 51 , fRenderTarget(rt) { in GrProcessorTestData() 58 const GrRenderTarget* fRenderTarget; member
|
/external/skia/tools/VisualBench/ |
D | VisualBench.cpp | 81 fSurface.reset(SkSurface::NewRenderTargetDirect(fRenderTarget, &props)); in createSurface() 148 fRenderTarget.reset(this->renderTarget(fAttachmentInfo, fInterface, fContext)); in setupRenderTarget()
|
D | VisualBench.h | 58 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
|
/external/skia/src/gpu/effects/ |
D | GrCoverageSetOpXP.cpp | 342 bool invertCoverage = !d->fRenderTarget->hasMixedSamples() && d->fRandom->nextBool(); in TestCreate()
|
/external/skia/src/gpu/gl/ |
D | GrGLPathRendering.cpp | 105 GrGLRenderTarget* rt = static_cast<GrGLRenderTarget*>(args.fRenderTarget); in onStencilPath()
|