Home
last modified time | relevance | path

Searched refs:dynamicStateArrays (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/skia/src/gpu/
DGrGpuCommandBuffer.cpp38 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in draw() argument
50 (dynamicStateArrays && dynamicStateArrays->fScissorRects)); in draw()
61 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in draw()
63 const auto* textures = dynamicStateArrays->fPrimitiveProcessorTextures; in draw()
69 dynamicStateArrays->fPrimitiveProcessorTextures; in draw()
89 this->onDraw(primProc, pipeline, fixedDynamicState, dynamicStateArrays, meshes, meshCount, in draw()
DGrOpFlushState.cpp137 const GrPipeline::DynamicStateArrays* dynamicStateArrays) { in recordDraw() argument
148 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in recordDraw()
151 dynamicStateArrays->fPrimitiveProcessorTextures[i]->ref(); in recordDraw()
156 draw.fDynamicStateArrays = dynamicStateArrays; in recordDraw()
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp670 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in prepareDrawState() argument
678 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in prepareDrawState()
679 primProcProxies = dynamicStateArrays->fPrimitiveProcessorTextures; in prepareDrawState()
705 bool setTextures = !(dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures); in prepareDrawState()
716 } else if (!dynamicStateArrays || !dynamicStateArrays->fScissorRects) { in prepareDrawState()
733 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in onDraw() argument
771 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in onDraw()
774 auto texture = dynamicStateArrays->fPrimitiveProcessorTextures[i]->peekTexture(); in onDraw()
797 dynamicStateArrays, primitiveType); in onDraw()
803 pipeline.isScissorEnabled() && dynamicStateArrays && dynamicStateArrays->fScissorRects; in onDraw()
[all …]
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnGpuCommandBuffer.cpp296 const GrPipeline::DynamicStateArrays* dynamicStateArrays) { in setScissorState() argument
315 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in applyState() argument
415 this->setScissorState(pipeline, fixedDynamicState, dynamicStateArrays); in applyState()
421 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in onDraw() argument
435 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in onDraw()
436 primProcProxies = dynamicStateArrays->fPrimitiveProcessorTextures; in onDraw()
441 applyState(pipeline, primProc, primProcProxies, fixedDynamicState, dynamicStateArrays, in onDraw()
DGrDawnGpuCommandBuffer.h69 const GrPipeline::DynamicStateArrays* dynamicStateArrays);
74 const GrPipeline::DynamicStateArrays* dynamicStateArrays,
81 const GrPipeline::DynamicStateArrays* dynamicStateArrays,
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCCoverageProcessor.cpp201 GrPipeline::DynamicStateArrays dynamicStateArrays; in draw() local
202 dynamicStateArrays.fScissorRects = scissorRects; in draw()
204 cmdBuff->draw(*this, pipeline, nullptr, &dynamicStateArrays, meshes, meshCount, drawBounds); in draw()
DGrCCStroker.cpp776 GrPipeline::DynamicStateArrays dynamicStateArrays; in flushBufferedMeshesAsStrokes() local
777 dynamicStateArrays.fScissorRects = fScissorsBuffer.begin(); in flushBufferedMeshesAsStrokes()
778 flushState->rtCommandBuffer()->draw(processor, pipeline, nullptr, &dynamicStateArrays, in flushBufferedMeshesAsStrokes()
/third_party/flutter/skia/src/gpu/gl/
DGrGLGpuCommandBuffer.h96 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in onDraw() argument
101 dynamicStateArrays, mesh, meshCount); in onDraw()
DGrGLGpu.cpp1921 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in flushGLState() argument
1927 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in flushGLState()
1928 primProcProxiesForMipRegen = dynamicStateArrays->fPrimitiveProcessorTextures; in flushGLState()
2400 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in draw() argument
2413 dynamicStateArrays, meshCount, hasPoints)) { in draw()
2419 if (dynamicStateArrays) { in draw()
2420 dynamicScissor = pipeline.isScissorEnabled() && dynamicStateArrays->fScissorRects; in draw()
2421 dynamicPrimProcTextures = dynamicStateArrays->fPrimitiveProcessorTextures; in draw()
2431 this->flushScissor(GrScissorState(dynamicStateArrays->fScissorRects[m]), in draw()
2435 auto texProxyArray = dynamicStateArrays->fPrimitiveProcessorTextures + in draw()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm110 const GrPipeline::DynamicStateArrays* dynamicStateArrays,
136 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) {
139 auto texture = dynamicStateArrays->fPrimitiveProcessorTextures[i]->peekTexture();
174 pipeline.isScissorEnabled() && dynamicStateArrays && dynamicStateArrays->fScissorRects;
207 dynamicStateArrays->fScissorRects[i]);
DGrMtlGpuCommandBuffer.h89 const GrPipeline::DynamicStateArrays* dynamicStateArrays,
/third_party/flutter/skia/src/gpu/ops/
DGrTextureOp.cpp463 GrPipeline::DynamicStateArrays* dynamicStateArrays = nullptr; in onPrepareDraws() local
466 dynamicStateArrays = target->allocDynamicStateArrays(numProxies, 1, false); in onPrepareDraws()
509 if (dynamicStateArrays) { in onPrepareDraws()
510 dynamicStateArrays->fPrimitiveProcessorTextures[m] = proxy; in onPrepareDraws()
525 std::move(gp), meshes, numProxies, fixedDynamicState, dynamicStateArrays); in onPrepareDraws()