Lines Matching defs:const
77 SortKey(const DrawList::Draw* draw,
90 bool operator<(const SortKey& k) const {
96 const DrawList::Draw* draw() const { return fDraw; }
97 uint32_t pipeline() const { return fPipelineKey.fPipeline; }
98 int renderStep() const { return static_cast<int>(fPipelineKey.fRenderStep); }
100 uint32_t geometryUniforms() const { return fUniformKey.fGeometryIndex; }
101 uint32_t shadingUniforms() const { return fUniformKey.fShadingIndex; }
112 uint64_t pipelineKey() const { return sk_bit_cast<uint64_t>(fPipelineKey); }
119 uint64_t uniformKey() const { return sk_bit_cast<uint64_t>(fUniformKey); }
122 const DrawList::Draw* fDraw;
142 DrawPass::DrawPass(sk_sp<TextureProxy> target, const SkIRect& bounds,
159 const BoundsManager* occlusionCuller) {
183 for (const DrawList::Draw& draw : draws->fDraws.items()) {
200 const RenderStep* const step = draw.fRenderer.steps()[stepIndex];
211 const bool performsShading = draw.fPaintParams.has_value() && step->performsShading();
247 for (const SortKey& key : keys) {
248 const DrawList::Draw& draw = *key.draw();
281 // const RenderStep* const step = draw.fRenderer.steps()[key.renderStep()];
321 void DrawPass::addCommands(CommandBuffer* buffer) const {