Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrGpuCommandBuffer.cpp36 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in draw() argument
48 (dynamicStateArrays && dynamicStateArrays->fScissorRects)); in draw()
62 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in draw()
64 const auto* textures = dynamicStateArrays->fPrimitiveProcessorTextures; in draw()
73 dynamicStateArrays->fPrimitiveProcessorTextures; in draw()
94 this->onDraw(primProc, pipeline, fixedDynamicState, dynamicStateArrays, meshes, meshCount, in draw()
DGrOpFlushState.cpp102 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in draw() argument
114 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in draw()
117 dynamicStateArrays->fPrimitiveProcessorTextures[i]->addPendingRead(); in draw()
123 draw.fDynamicStateArrays = dynamicStateArrays; in draw()
/external/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp639 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in prepareDrawState() argument
647 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in prepareDrawState()
648 primProcProxies = dynamicStateArrays->fPrimitiveProcessorTextures; in prepareDrawState()
679 bool setTextures = !(dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures); in prepareDrawState()
690 } else if (!dynamicStateArrays || !dynamicStateArrays->fScissorRects) { in prepareDrawState()
707 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in onDraw() argument
736 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in onDraw()
739 auto texture = dynamicStateArrays->fPrimitiveProcessorTextures[i]->peekTexture(); in onDraw()
762 dynamicStateArrays, primitiveType); in onDraw()
768 pipeline.isScissorEnabled() && dynamicStateArrays && dynamicStateArrays->fScissorRects; in onDraw()
[all …]
/external/skia/src/gpu/
DGrOpFlushState.cpp135 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in recordDraw() argument
147 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in recordDraw()
150 dynamicStateArrays->fPrimitiveProcessorTextures[i]->ref(); in recordDraw()
155 draw.fDynamicStateArrays = dynamicStateArrays; in recordDraw()
DGrProgramInfo.h27 const GrPipeline::DynamicStateArrays* dynamicStateArrays,
38 , fDynamicStateArrays(dynamicStateArrays)
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor.cpp235 GrPipeline::DynamicStateArrays dynamicStateArrays; in draw() local
236 dynamicStateArrays.fScissorRects = scissorRects; in draw()
238 cmdBuff->draw(*this, pipeline, nullptr, &dynamicStateArrays, meshes, meshCount, drawBounds); in draw()
244 cmdBuff->draw(cornerProc, pipeline, nullptr, &dynamicStateArrays, meshes, meshCount, in draw()
DGrCCStroker.cpp764 GrPipeline::DynamicStateArrays dynamicStateArrays; in flushBufferedMeshesAsStrokes() local
765 dynamicStateArrays.fScissorRects = fScissorsBuffer.begin(); in flushBufferedMeshesAsStrokes()
766 flushState->rtCommandBuffer()->draw(processor, pipeline, nullptr, &dynamicStateArrays, in flushBufferedMeshesAsStrokes()
/external/skia/src/gpu/ccpr/
DGrCCCoverageProcessor.cpp201 GrPipeline::DynamicStateArrays dynamicStateArrays; in draw() local
202 dynamicStateArrays.fScissorRects = scissorRects; in draw()
214 &dynamicStateArrays, 0, primitiveType); in draw()
DGrCCStroker.cpp779 GrPipeline::DynamicStateArrays dynamicStateArrays; in flushBufferedMeshesAsStrokes() local
780 dynamicStateArrays.fScissorRects = fScissorsBuffer.begin(); in flushBufferedMeshesAsStrokes()
789 &dynamicStateArrays, 0, GrPrimitiveType::kTriangleStrip); in flushBufferedMeshesAsStrokes()
/external/skqp/src/gpu/gl/
DGrGLGpuCommandBuffer.h84 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in onDraw() argument
89 dynamicStateArrays, mesh, meshCount); in onDraw()
DGrGLGpu.cpp1970 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in flushGLState() argument
1976 if (dynamicStateArrays && dynamicStateArrays->fPrimitiveProcessorTextures) { in flushGLState()
1977 primProcProxiesForMipRegen = dynamicStateArrays->fPrimitiveProcessorTextures; in flushGLState()
2527 const GrPipeline::DynamicStateArrays* dynamicStateArrays, in draw() argument
2540 dynamicStateArrays, meshCount, hasPoints)) { in draw()
2546 if (dynamicStateArrays) { in draw()
2547 dynamicScissor = pipeline.isScissorEnabled() && dynamicStateArrays->fScissorRects; in draw()
2548 dynamicPrimProcTextures = dynamicStateArrays->fPrimitiveProcessorTextures; in draw()
2558 this->flushScissor(GrScissorState(dynamicStateArrays->fScissorRects[m]), in draw()
2562 auto texProxyArray = dynamicStateArrays->fPrimitiveProcessorTextures + in draw()
/external/skqp/src/gpu/ops/
DGrTextureOp.cpp383 GrPipeline::DynamicStateArrays* dynamicStateArrays = nullptr; in onPrepareDraws() local
386 dynamicStateArrays = target->allocDynamicStateArrays(numProxies, 1, false); in onPrepareDraws()
431 if (dynamicStateArrays) { in onPrepareDraws()
432 dynamicStateArrays->fPrimitiveProcessorTextures[m] = proxy; in onPrepareDraws()
444 target->draw(std::move(gp), pipeline, fixedDynamicState, dynamicStateArrays, meshes, in onPrepareDraws()
/external/skqp/src/gpu/mtl/
DGrMtlGpuCommandBuffer.h82 const GrPipeline::DynamicStateArrays* dynamicStateArrays,
DGrMtlGpuCommandBuffer.mm152 const GrPipeline::DynamicStateArrays* dynamicStateArrays,