Home
last modified time | relevance | path

Searched refs:baseInstance (Results 1 – 25 of 77) sorted by relevance

1234

/external/skia/src/gpu/
DGrMesh.h52 void setInstanced(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, int baseInstance,
56 int baseInstance, GrPrimitiveRestart);
69 int baseInstance) = 0;
72 int baseInstance) = 0;
183 int baseInstance, int vertexCount) { in setInstanced() argument
185 SkASSERT(baseInstance >= 0); in setInstanced()
189 fInstanceData.fBaseInstance = baseInstance; in setInstanced()
196 int baseInstance, GrPrimitiveRestart primitiveRestart) { in setIndexedInstanced() argument
200 SkASSERT(baseInstance >= 0); in setIndexedInstanced()
204 fInstanceData.fBaseInstance = baseInstance; in setIndexedInstanced()
/external/skqp/src/gpu/
DGrMesh.h43 void setInstanced(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, int baseInstance,
46 int instanceCount, int baseInstance, GrPrimitiveRestart);
63 int baseInstance) = 0;
69 int instanceCount, int baseInstance,
171 int baseInstance, int vertexCount) { in setInstanced() argument
174 SkASSERT(baseInstance >= 0); in setInstanced()
178 fInstanceData.fBaseInstance = baseInstance; in setInstanced()
185 int baseInstance, GrPrimitiveRestart primitiveRestart) { in setIndexedInstanced() argument
190 SkASSERT(baseInstance >= 0); in setIndexedInstanced()
194 fInstanceData.fBaseInstance = baseInstance; in setIndexedInstanced()
/external/angle/extensions/
DANGLE_base_vertex_base_instance.txt57 Additionally, <baseInstance> specifies the first element within the
70 For any *BaseInstance draw call variant, the baseInstance of the draw may
84 GLuint baseInstance);
92 GLuint baseInstance);
124 GLuint baseInstance);
126 Behaves identically to DrawArraysInstanced except that <baseInstance> is
151 *(baseInstance+i)
166 GLuint baseInstance);
169 <baseInstance> are passed down to DrawElementsOneInstance instead of zero.
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor.h103 void appendMesh(sk_sp<GrBuffer> instanceBuffer, int instanceCount, int baseInstance, in appendMesh() argument
106 this->appendGSMesh(std::move(instanceBuffer), instanceCount, baseInstance, out); in appendMesh()
108 this->appendVSMesh(std::move(instanceBuffer), instanceCount, baseInstance, out); in appendMesh()
253 void appendGSMesh(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, int baseInstance,
255 void appendVSMesh(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, int baseInstance,
DGrCCPathProcessor.cpp121 const GrCCPerFlushResources& resources, int baseInstance, in drawPaths() argument
134 resources.refInstanceBuffer(), endInstance - baseInstance, in drawPaths()
135 baseInstance, enablePrimitiveRestart); in drawPaths()
DGrCCDrawPathsOp.cpp409 int baseInstance = fBaseInstance; in onExecute() local
410 SkASSERT(baseInstance >= 0); // Make sure setupResources() has been called. in onExecute()
413 SkASSERT(range.fEndInstanceIdx > baseInstance); in onExecute()
418 pathProc.drawPaths(flushState, pipeline, &fixedDynamicState, *resources, baseInstance, in onExecute()
421 baseInstance = range.fEndInstanceIdx; in onExecute()
DGrCCStroker.cpp731 int baseInstance = fBaseInstances[(int)GrScissorTest::kDisabled].fStrokes[numSegmentsLog2]; in appendStrokeMeshesToBuffers() local
737 mesh.setInstanced(fInstanceBuffer, instanceCount, baseInstance + startIdx, in appendStrokeMeshesToBuffers()
743 baseInstance = fBaseInstances[(int)GrScissorTest::kEnabled].fStrokes[numSegmentsLog2]; in appendStrokeMeshesToBuffers()
751 mesh.setInstanced(fInstanceBuffer, instanceCount, baseInstance + startIdx, in appendStrokeMeshesToBuffers()
781 int baseInstance = fBaseInstances[(int)GrScissorTest::kDisabled].*InstanceType; in drawConnectingGeometry() local
786 processor.appendMesh(fInstanceBuffer, instanceCount, baseInstance + startIdx, in drawConnectingGeometry()
792 baseInstance = fBaseInstances[(int)GrScissorTest::kEnabled].*InstanceType; in drawConnectingGeometry()
799 processor.appendMesh(fInstanceBuffer, instanceCount, baseInstance + startIdx, in drawConnectingGeometry()
/external/skia/src/gpu/ccpr/
DGrSampleMaskProcessor.cpp94 int baseInstance, SkTArray<GrMesh>* out) const { in appendMesh() argument
102 mesh.setVertexData(std::move(instanceBuffer), baseInstance * 3); in appendMesh()
109 mesh.setInstanced(std::move(instanceBuffer), instanceCount, baseInstance, 4); in appendMesh()
DGrCCPathProcessor.cpp127 const GrCCPerFlushResources& resources, int baseInstance, in drawPaths() argument
140 resources.refInstanceBuffer(), endInstance - baseInstance, in drawPaths()
141 baseInstance, enablePrimitiveRestart); in drawPaths()
DGrCCDrawPathsOp.cpp445 int baseInstance = fBaseInstance; in onExecute() local
446 SkASSERT(baseInstance >= 0); // Make sure setupResources() has been called. in onExecute()
449 SkASSERT(range.fEndInstanceIdx > baseInstance); in onExecute()
458 pathProc.drawPaths(flushState, pipeline, &fixedDynamicState, *resources, baseInstance, in onExecute()
462 baseInstance = range.fEndInstanceIdx; in onExecute()
DGrCCStroker.cpp746 int baseInstance = fBaseInstances[(int)GrScissorTest::kDisabled].fStrokes[numSegmentsLog2]; in appendStrokeMeshesToBuffers() local
752 mesh.setInstanced(fInstanceBuffer, instanceCount, baseInstance + startIdx, in appendStrokeMeshesToBuffers()
758 baseInstance = fBaseInstances[(int)GrScissorTest::kEnabled].fStrokes[numSegmentsLog2]; in appendStrokeMeshesToBuffers()
766 mesh.setInstanced(fInstanceBuffer, instanceCount, baseInstance + startIdx, in appendStrokeMeshesToBuffers()
806 int baseInstance = fBaseInstances[(int)GrScissorTest::kDisabled].*InstanceType; in drawConnectingGeometry() local
811 processor.appendMesh(fInstanceBuffer, instanceCount, baseInstance + startIdx, in drawConnectingGeometry()
817 baseInstance = fBaseInstances[(int)GrScissorTest::kEnabled].*InstanceType; in drawConnectingGeometry()
824 processor.appendMesh(fInstanceBuffer, instanceCount, baseInstance + startIdx, in drawConnectingGeometry()
/external/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp182 int baseInstance) { in sendInstancedMeshToGpu() argument
185 fPassEncoder.Draw(vertexCount, 1, baseVertex, baseInstance); in sendInstancedMeshToGpu()
192 int baseInstance) { in sendIndexedInstancedMeshToGpu() argument
197 fPassEncoder.DrawIndexed(indexCount, 1, baseIndex, baseVertex, baseInstance); in sendIndexedInstancedMeshToGpu()
DGrDawnOpsRenderPass.h61 int instanceCount, int baseInstance) final;
64 int baseInstance) final;
/external/mesa3d/src/mesa/main/
Ddraw.c48 GLuint baseInstance; member
56 GLuint baseInstance; member
349 GLsizei count, GLuint numInstances, GLuint baseInstance, in _mesa_draw_arrays() argument
369 numInstances, baseInstance, NULL, 0); in _mesa_draw_arrays()
633 GLuint baseInstance) in _mesa_DrawArraysInstancedBaseInstance() argument
641 numInstances, baseInstance); in _mesa_DrawArraysInstancedBaseInstance()
659 _mesa_draw_arrays(ctx, mode, first, count, numInstances, baseInstance, 0); in _mesa_DrawArraysInstancedBaseInstance()
834 GLuint baseInstance) in _mesa_validated_drawrangeelements() argument
893 numInstances, baseInstance, NULL, 0); in _mesa_validated_drawrangeelements()
1161 GLuint baseInstance) in _mesa_DrawElementsInstancedBaseInstance() argument
[all …]
Ddraw.h97 GLuint baseInstance);
110 GLuint baseInstance);
165 GLuint baseInstance);
/external/deqp/external/openglcts/modules/gl/
Dgl4cIndirectParametersTests.hpp47 GLuint baseInstance; member
56 GLuint baseInstance; member
Dgl4cShaderDrawParametersTests.hpp46 GLuint baseInstance; member
55 GLuint baseInstance; member
/external/skqp/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm304 int baseInstance) {
312 baseInstance: baseInstance];
323 int baseInstance,
345 baseInstance: baseInstance];
DGrMtlGpuCommandBuffer.h115 int baseInstance) final;
120 int baseInstance, GrPrimitiveRestart) final;
/external/skia/src/gpu/mtl/
DGrMtlOpsRenderPass.h63 int instanceCount, int baseInstance) final;
66 int baseInstance) final;
DGrMtlOpsRenderPass.mm320 int baseInstance) {
328 baseInstance:baseInstance];
337 int instanceCount, int baseInstance) {
361 baseInstance:baseInstance];
/external/angle/src/libANGLE/renderer/gl/
DContextGL.cpp310 GLuint baseInstance) in updateAttributesForBaseInstance() argument
315 if (baseInstance != 0) in updateAttributesForBaseInstance()
329 const void *newPointer = p + sourceStride * baseInstance; in updateAttributesForBaseInstance()
391 GLuint baseInstance) in drawArraysInstancedBaseInstance() argument
408 adjustedInstanceCount, baseInstance); in drawArraysInstancedBaseInstance()
418 updateAttributesForBaseInstance(program, baseInstance); in drawArraysInstancedBaseInstance()
540 GLuint baseInstance) in drawElementsInstancedBaseVertexBaseInstance() argument
560 baseVertex, baseInstance); in drawElementsInstancedBaseVertexBaseInstance()
567 updateAttributesForBaseInstance(program, baseInstance); in drawElementsInstancedBaseVertexBaseInstance()
/external/skia/src/gpu/vk/
DGrVkOpsRenderPass.h90 int instanceCount, int baseInstance) final;
93 int baseInstance) final;
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DContext11.cpp288 GLuint baseInstance) in drawArraysInstancedBaseInstance() argument
293 return mRenderer->drawArrays(context, mode, first, count, instanceCount, baseInstance); in drawArraysInstancedBaseInstance()
303 GLuint baseInstance) in drawElementsImpl() argument
317 baseInstance); in drawElementsImpl()
324 instanceCount, baseVertex, baseInstance); in drawElementsImpl()
375 GLuint baseInstance) in drawElementsInstancedBaseVertexBaseInstance() argument
378 baseInstance); in drawElementsInstancedBaseVertexBaseInstance()
417 cmd->baseInstance); in drawArraysIndirect()
/external/angle/src/compiler/translator/tree_ops/
DEmulateMultiDrawShaderBuiltins.cpp230 const TVariable *baseInstance = new TVariable(symbolTable, kEmulatedGLBaseInstanceName, in EmulateGLBaseVertexBaseInstance() local
232 const TIntermSymbol *baseInstanceSymbol = new TIntermSymbol(baseInstance); in EmulateGLBaseVertexBaseInstance()
252 DeclareGlobalVariable(root, baseInstance); in EmulateGLBaseVertexBaseInstance()

1234