/external/skia/src/gpu/gl/ |
D | GrGLGpuCommandBuffer.h | 25 GrGLGpuCommandBuffer(GrGLGpu* gpu) : fGpu(gpu), fRenderTarget(nullptr) {} in GrGLGpuCommandBuffer() 33 if (!fRenderTarget) { in discard() 34 fRenderTarget = target; in discard() 36 SkASSERT(target == fRenderTarget); in discard() 46 GrRenderTarget* renderTarget() override { return fRenderTarget; } in renderTarget() 56 if (!fRenderTarget) { in onDraw() 57 fRenderTarget = target; in onDraw() 59 SkASSERT(target == fRenderTarget); in onDraw() 65 if (!fRenderTarget) { in onClear() 66 fRenderTarget = target; in onClear() [all …]
|
D | GrGLPathRendering.cpp | 124 GrGLRenderTarget* rt = static_cast<GrGLRenderTarget*>(args.fRenderTarget); in onStencilPath()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.cpp | 59 , fRenderTarget(nullptr) in GrVkGpuCommandBuffer() 71 SkASSERT(!fRenderTarget); in init() 72 fRenderTarget = target; in init() 117 GrRenderTarget* GrVkGpuCommandBuffer::renderTarget() { return fRenderTarget; } in renderTarget() 126 if (!fRenderTarget) { in onSubmit() 131 GrVkImage* targetImage = fRenderTarget->msaaImage() ? fRenderTarget->msaaImage() in onSubmit() 132 : fRenderTarget; in onSubmit() 142 if (GrStencilAttachment* stencil = fRenderTarget->renderTargetPriv().getStencilAttachment()) { in onSubmit() 173 SkIntToScalar(fRenderTarget->width()), in onSubmit() 174 SkIntToScalar(fRenderTarget->height()))) { in onSubmit() [all …]
|
D | GrVkGpuCommandBuffer.h | 94 GrVkRenderTarget* fRenderTarget; variable
|
/external/skia/src/gpu/ |
D | GrRenderTarget.cpp | 90 if (!stencil && !fRenderTarget->fStencilAttachment) { in attachStencilAttachment() 95 fRenderTarget->fStencilAttachment = stencil; in attachStencilAttachment() 96 if (!fRenderTarget->completeStencilAttachment()) { in attachStencilAttachment() 97 SkSafeSetNull(fRenderTarget->fStencilAttachment); in attachStencilAttachment() 110 SkASSERT(fRenderTarget == pipeline.getRenderTarget()); // TODO: remove RT from pipeline. in getMultisampleSpecs() 111 GrGpu* gpu = fRenderTarget->getGpu(); in getMultisampleSpecs() 112 if (auto id = fRenderTarget->fMultisampleSpecsID) { in getMultisampleSpecs() 117 fRenderTarget->fMultisampleSpecsID = specs.fUniqueID; in getMultisampleSpecs()
|
D | GrRenderTargetPriv.h | 24 GrStencilAttachment* getStencilAttachment() const { return fRenderTarget->fStencilAttachment; } in getStencilAttachment() 42 Flags flags() const { return fRenderTarget->fFlags; } in flags() 45 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv() 53 GrRenderTarget* fRenderTarget; variable
|
D | GrRenderTargetOpList.cpp | 84 rt = fRecordedOps[i].fRenderTarget.get(); in validateTargetsSingleRenderTarget() 86 SkASSERT(fRecordedOps[i].fRenderTarget.get() == rt); in validateTargetsSingleRenderTarget() 99 if (fRecordedOps[i].fRenderTarget) { in prepareOps() 101 fRecordedOps[i].fRenderTarget.get(), in prepareOps() 132 if (fRecordedOps[i].fRenderTarget.get() != currentRenderTarget) { in executeOps() 138 currentRenderTarget = fRecordedOps[i].fRenderTarget.get(); in executeOps() 149 if (fRecordedOps[i].fRenderTarget) { in executeOps() 151 fRecordedOps[i].fRenderTarget.get(), in executeOps() 305 if (candidate.fRenderTarget.get() != renderTarget) { in recordOp() 350 GrRenderTarget* renderTarget = fRecordedOps[i].fRenderTarget.get(); in forwardCombine() [all …]
|
D | GrPipeline.h | 64 GrRenderTarget* fRenderTarget = nullptr; member 85 bool isInitialized() const { return SkToBool(fRenderTarget.get()); } in isInitialized() 166 GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget() 195 return this->getXferProcessor().xferBarrierType(fRenderTarget.get(), caps); in xferBarrierType() 219 RenderTarget fRenderTarget; variable
|
D | GrPipeline.cpp | 23 SkASSERT(args.fRenderTarget); in init() 25 fRenderTarget.reset(args.fRenderTarget); in init() 55 bool hasMixedSamples = args.fRenderTarget->isMixedSampled() && (isHWAA || isStencilEnabled()); in init() 154 : fRenderTarget(rt) in GrPipeline()
|
D | GrPathRendering.h | 143 , fRenderTarget(renderTarget) in StencilPathArgs() 149 GrRenderTarget* fRenderTarget; member
|
D | GrRenderTargetOpList.h | 123 : fOp(std::move(op)), fRenderTarget(rt), fAppliedClip(appliedClip) { in RecordedOp() 130 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; member
|
D | GrOpFlushState.h | 101 GrRenderTarget* fRenderTarget; member
|
D | GrRenderTargetContext.cpp | 1742 args.fRenderTarget = rt; in addMeshDrawOp()
|
/external/skia/src/gpu/ops/ |
D | GrDiscardOp.h | 27 string.printf("RT: %d", fRenderTarget.get()->uniqueID().asUInt()); in dumpInfo() 33 GrDiscardOp(GrRenderTarget* rt) : INHERITED(ClassID()), fRenderTarget(rt) { in GrDiscardOp() 39 return fRenderTarget.get() == that->cast<GrDiscardOp>()->fRenderTarget.get(); in onCombineIfPossible() 45 state->commandBuffer()->discard(fRenderTarget.get()); in onExecute() 48 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; variable
|
D | GrClearOp.h | 25 if (!op->fRenderTarget) { in Make() 45 fRenderTarget.get()->uniqueID().asUInt()); in dumpInfo() 69 fRenderTarget.reset(rt); in GrClearOp() 76 , fRenderTarget(rt) { in GrClearOp() 88 SkASSERT(cb->fRenderTarget == fRenderTarget); in onCombineIfPossible() 113 state->commandBuffer()->clear(fRenderTarget.get(), fClip, fColor); in onExecute() 118 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; variable
|
D | GrClearStencilClipOp.h | 36 fRenderTarget.get()->uniqueID().asUInt()); in dumpInfo() 46 , fRenderTarget(rt) { in GrClearStencilClipOp() 57 state->commandBuffer()->clearStencilClip(fRenderTarget.get(), fClip, fInsideStencilMask); in onExecute() 62 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; variable
|
D | GrStencilPathOp.h | 60 , fRenderTarget(renderTarget) in GrStencilPathOp() 70 GrPathRendering::StencilPathArgs args(fUseHWAA, fRenderTarget.get(), &fViewMatrix, in onExecute() 79 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; variable
|
D | GrDrawPathOp.cpp | 46 args.fRenderTarget = state.drawOpArgs().fRenderTarget; in initPipeline() 62 flushState.drawOpArgs().fRenderTarget->renderTargetPriv().numStencilBits()); in init_stencil_pass_settings()
|
D | GrMeshDrawOp.cpp | 65 SkASSERT(state->drawOpArgs().fRenderTarget == this->pipeline()->getRenderTarget()); in onExecute()
|
/external/skia/tests/ |
D | GpuSampleLocationsTest.cpp | 102 args.fRenderTarget = dc->accessRenderTarget(); in construct_dummy_pipeline()
|
/external/skia/src/gpu/instanced/ |
D | InstancedRendering.cpp | 496 args.fRenderTarget = state->drawOpArgs().fRenderTarget; in onExecute()
|