Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLGpuCommandBuffer.h25 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 …]
DGrGLPathRendering.cpp124 GrGLRenderTarget* rt = static_cast<GrGLRenderTarget*>(args.fRenderTarget); in onStencilPath()
/external/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp59 , 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 …]
DGrVkGpuCommandBuffer.h94 GrVkRenderTarget* fRenderTarget; variable
/external/skia/src/gpu/
DGrRenderTarget.cpp90 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()
DGrRenderTargetPriv.h24 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
DGrRenderTargetOpList.cpp84 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 …]
DGrPipeline.h64 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
DGrPipeline.cpp23 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()
DGrPathRendering.h143 , fRenderTarget(renderTarget) in StencilPathArgs()
149 GrRenderTarget* fRenderTarget; member
DGrRenderTargetOpList.h123 : fOp(std::move(op)), fRenderTarget(rt), fAppliedClip(appliedClip) { in RecordedOp()
130 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; member
DGrOpFlushState.h101 GrRenderTarget* fRenderTarget; member
DGrRenderTargetContext.cpp1742 args.fRenderTarget = rt; in addMeshDrawOp()
/external/skia/src/gpu/ops/
DGrDiscardOp.h27 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
DGrClearOp.h25 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
DGrClearStencilClipOp.h36 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
DGrStencilPathOp.h60 , fRenderTarget(renderTarget) in GrStencilPathOp()
70 GrPathRendering::StencilPathArgs args(fUseHWAA, fRenderTarget.get(), &fViewMatrix, in onExecute()
79 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; variable
DGrDrawPathOp.cpp46 args.fRenderTarget = state.drawOpArgs().fRenderTarget; in initPipeline()
62 flushState.drawOpArgs().fRenderTarget->renderTargetPriv().numStencilBits()); in init_stencil_pass_settings()
DGrMeshDrawOp.cpp65 SkASSERT(state->drawOpArgs().fRenderTarget == this->pipeline()->getRenderTarget()); in onExecute()
/external/skia/tests/
DGpuSampleLocationsTest.cpp102 args.fRenderTarget = dc->accessRenderTarget(); in construct_dummy_pipeline()
/external/skia/src/gpu/instanced/
DInstancedRendering.cpp496 args.fRenderTarget = state->drawOpArgs().fRenderTarget; in onExecute()