Home
last modified time | relevance | path

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

1234

/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/skia/src/gpu/
DGrDrawIndirectCommand.h59 inline void write(uint32_t instanceCount, uint32_t baseInstance, uint32_t vertexCount, in write()
61 *fData++ = {vertexCount, instanceCount, baseVertex, baseInstance}; in write()
95 uint32_t baseInstance, int32_t baseVertex) { in writeIndexed()
96 *fData++ = {indexCount, instanceCount, baseIndex, baseVertex, baseInstance}; in writeIndexed()
DGrOpsRenderPass.cpp244 void GrOpsRenderPass::drawInstanced(int instanceCount, int baseInstance, int vertexCount, in drawInstanced() argument
253 this->onDrawInstanced(instanceCount, baseInstance, vertexCount, baseVertex); in drawInstanced()
257 int baseInstance, int baseVertex) { in drawIndexedInstanced() argument
265 this->onDrawIndexedInstanced(indexCount, baseIndex, instanceCount, baseInstance, baseVertex); in drawIndexedInstanced()
286 auto [vertexCount, instanceCount, baseVertex, baseInstance] = cmds[i]; in drawIndirect()
287 this->onDrawInstanced(instanceCount, baseInstance, vertexCount, baseVertex); in drawIndirect()
313 auto [indexCount, instanceCount, baseIndex, baseVertex, baseInstance] = cmds[i]; in drawIndexedIndirect()
314 this->onDrawIndexedInstanced(indexCount, baseIndex, instanceCount, baseInstance, in drawIndexedIndirect()
DGrOpsRenderPass.h90 void drawInstanced(int instanceCount, int baseInstance, int vertexCount, int baseVertex);
93 void drawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance,
189 virtual void onDrawInstanced(int instanceCount, int baseInstance, int vertexCount,
192 int baseInstance, int baseVertex) = 0;
/external/angle/src/libANGLE/renderer/d3d/
DVertexBuffer.cpp99 GLuint baseInstance, in getSpaceRequired() argument
104 baseInstance, &spaceRequired)); in getSpaceRequired()
175 GLuint baseInstance, in storeDynamicAttribute() argument
181 getSpaceRequired(context, attrib, binding, count, instances, baseInstance, &spaceRequired)); in storeDynamicAttribute()
198 adjustedCount += UnsignedCeilDivide(baseInstance, divisor); in storeDynamicAttribute()
220 GLuint baseInstance) in reserveVertexSpace() argument
224 baseInstance, &requiredSpace)); in reserveVertexSpace()
DVertexDataManager.cpp423 GLuint baseInstance) in storeDynamicAttribs() argument
448 reserveSpaceForAttrib(context, dynamicAttrib, start, count, instances, baseInstance)); in storeDynamicAttribs()
456 storeDynamicAttrib(context, dynamicAttrib, start, count, instances, baseInstance)); in storeDynamicAttribs()
490 GLuint baseInstance) in reserveSpaceForAttrib() argument
511 ? UnsignedCeilDivide(baseInstance, binding.getDivisor()) in reserveSpaceForAttrib()
524 baseInstance); in reserveSpaceForAttrib()
532 GLuint baseInstance) in storeDynamicAttrib() argument
546 (binding.getDivisor() > 0 ? UnsignedCeilDivide(baseInstance, binding.getDivisor()) : start); in storeDynamicAttrib()
574 static_cast<GLsizei>(totalCount), instances, baseInstance, &streamOffset, sourceData)); in storeDynamicAttrib()
DVertexDataManager.h115 GLuint baseInstance);
145 GLuint baseInstance);
152 GLuint baseInstance);
DVertexBuffer.h105 GLuint baseInstance,
128 GLuint baseInstance,
137 GLuint baseInstance);
/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.
252 2 07/14/20 Shrek Shao Fix baseInstance type from GLint to GLuint.
/external/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp129 void GrGLOpsRenderPass::bindInstanceBuffer(const GrBuffer* instanceBuffer, int baseInstance) { in bindInstanceBuffer() argument
136 size_t bufferOffset = baseInstance * static_cast<size_t>(instanceStride); in bindInstanceBuffer()
201 void GrGLOpsRenderPass::onDrawInstanced(int instanceCount, int baseInstance, int vertexCount, in onDrawInstanced() argument
213 int baseInstanceForDraw = baseInstance + i; in onDrawInstanced()
226 int baseInstance, int baseVertex) { in onDrawIndexedInstanced() argument
231 int baseInstanceForDraw = baseInstance + i; in onDrawIndexedInstanced()
312 auto [vertexCount, instanceCount, baseVertex, baseInstance] = cmds[i]; in multiDrawArraysANGLEOrWebGL()
316 fBaseInstances[i] = baseInstance; in multiDrawArraysANGLEOrWebGL()
385 auto [indexCount, instanceCount, baseIndex, baseVertex, baseInstance] = cmds[i]; in multiDrawElementsANGLEOrWebGL()
390 fBaseInstances[i] = baseInstance; in multiDrawElementsANGLEOrWebGL()
DGrGLOpsRenderPass.h43 void bindInstanceBuffer(const GrBuffer*, int baseInstance);
66 void onDrawInstanced(int instanceCount, int baseInstance, int vertexCount,
68 void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance,
/external/skia/src/gpu/tessellate/
DGrStencilPathShader.h157 uint32_t baseInstance) { in WriteDrawCubicsIndirectCmd() argument
164 indirectWriter->writeIndexed(indexCount, 3, instanceCount, baseInstance, 0); in WriteDrawCubicsIndirectCmd()
171 uint32_t instanceCount, uint32_t baseInstance) { in WriteDrawTrianglesIndirectCmd() argument
173 indirectWriter->writeIndexed(3, 0, instanceCount, baseInstance, 0); in WriteDrawTrianglesIndirectCmd()
/external/angle/src/compiler/translator/tree_ops/
DEmulateMultiDrawShaderBuiltins.cpp228 const TVariable *baseInstance = BuiltInVariable::angle_BaseInstance(); in EmulateGLBaseVertexBaseInstance() local
229 const TType &type = baseInstance->getType(); in EmulateGLBaseVertexBaseInstance()
230 const TIntermSymbol *baseInstanceSymbol = new TIntermSymbol(baseInstance); in EmulateGLBaseVertexBaseInstance()
250 DeclareGlobalVariable(root, baseInstance); in EmulateGLBaseVertexBaseInstance()
/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()
/external/deqp/external/openglcts/modules/gl/
Dgl4cIndirectParametersTests.hpp47 GLuint baseInstance; member
56 GLuint baseInstance; member
/external/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp197 void GrDawnOpsRenderPass::onDrawInstanced(int instanceCount, int baseInstance, in onDrawInstanced() argument
199 fPassEncoder.Draw(vertexCount, instanceCount, baseVertex, baseInstance); in onDrawInstanced()
209 int baseInstance, int baseVertex) { in onDrawIndexedInstanced() argument
210 fPassEncoder.DrawIndexed(indexCount, instanceCount, baseIndex, baseVertex, baseInstance); in onDrawIndexedInstanced()
DGrDawnOpsRenderPass.h50 void onDrawInstanced(int instanceCount, int baseInstance, int vertexCount,
52 void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance,
/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/angle/src/libANGLE/renderer/d3d/d3d11/
DContext11.cpp291 GLuint baseInstance) in drawArraysInstancedBaseInstance() argument
296 instanceCount, 0, baseInstance, true)); in drawArraysInstancedBaseInstance()
297 return mRenderer->drawArrays(context, mode, first, count, instanceCount, baseInstance); in drawArraysInstancedBaseInstance()
307 GLuint baseInstance, in drawElementsImpl() argument
322 baseInstance, promoteDynamic)); in drawElementsImpl()
324 instanceCount, baseVertex, baseInstance); in drawElementsImpl()
330 baseInstance, promoteDynamic)); in drawElementsImpl()
332 instanceCount, baseVertex, baseInstance); in drawElementsImpl()
383 GLuint baseInstance) in drawElementsInstancedBaseVertexBaseInstance() argument
386 baseInstance, true); in drawElementsInstancedBaseVertexBaseInstance()
[all …]
DVertexArray11.h43 GLuint baseInstance,
77 GLuint baseInstance,
/external/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.h55 void onDrawInstanced(int instanceCount, int baseInstance, int vertexCount,
57 void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance,
/external/skqp/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm304 int baseInstance) {
312 baseInstance: baseInstance];
323 int baseInstance,
345 baseInstance: baseInstance];
/external/skia/src/gpu/mtl/
DGrMtlOpsRenderPass.h48 void onDrawInstanced(int instanceCount, int baseInstance, int vertexCount,
50 void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance,

1234