Home
last modified time | relevance | path

Searched refs:instanceCount (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVulkanSecondaryCommandBuffer.h110 uint32_t instanceCount,
114 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex);
116 uint32_t instanceCount,
120 uint32_t instanceCount,
126 void drawIndexedInstanced(uint32_t indexCount, uint32_t instanceCount);
128 uint32_t instanceCount,
131 uint32_t instanceCount,
349 uint32_t instanceCount, in draw() argument
355 CommandBuffer::draw(vertexCount, instanceCount, firstVertex, firstInstance); in draw()
366 uint32_t instanceCount, in drawInstanced() argument
[all …]
DSecondaryCommandBuffer.h274 uint32_t instanceCount; member
281 uint32_t instanceCount; member
289 uint32_t instanceCount; member
308 uint32_t instanceCount; member
316 uint32_t instanceCount; member
599 void drawIndexedInstanced(uint32_t indexCount, uint32_t instanceCount);
601 uint32_t instanceCount,
604 uint32_t instanceCount,
614 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex);
616 uint32_t instanceCount,
[all …]
/third_party/flutter/skia/src/gpu/
DGrMesh.h48 void setInstanced(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, int baseInstance,
51 sk_sp<const GrBuffer> instanceBuffer, int instanceCount,
68 const GrBuffer* instanceBuffer, int instanceCount,
75 int instanceCount, int baseInstance,
188 inline void GrMesh::setInstanced(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, in setInstanced() argument
190 SkASSERT(instanceCount >= 1); in setInstanced()
194 fInstanceData.fInstanceCount = instanceCount; in setInstanced()
201 sk_sp<const GrBuffer> instanceBuffer, int instanceCount, in setIndexedInstanced() argument
205 SkASSERT(instanceCount >= 1); in setIndexedInstanced()
209 fInstanceData.fInstanceCount = instanceCount; in setIndexedInstanced()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DVertexArrayGL.h38 GLsizei instanceCount) const;
44 GLsizei instanceCount,
66 GLsizei instanceCount,
83 GLsizei instanceCount,
91 GLsizei instanceCount,
145 GLsizei instanceCount, in syncDrawElementsState() argument
149 return syncDrawState(context, activeAttributesMask, 0, count, type, indices, instanceCount, in syncDrawElementsState()
DContextGL.cpp206 GLsizei instanceCount) in setDrawArraysState() argument
216 count, instanceCount)); in setDrawArraysState()
226 GLsizei instanceCount, in setDrawElementsState() argument
240 count, type, indices, instanceCount, in setDrawElementsState()
258 const GLsizei instanceCount = usesMultiview ? program->getNumViews() : 0; in drawArrays() local
260 ANGLE_TRY(setDrawArraysState(context, first, count, instanceCount)); in drawArrays()
267 getFunctions()->drawArraysInstanced(ToGLenum(mode), first, count, instanceCount); in drawArrays()
276 GLsizei instanceCount) in drawArraysInstanced() argument
278 GLsizei adjustedInstanceCount = instanceCount; in drawArraysInstanced()
294 GLsizei instanceCount, in drawArraysInstancedBaseInstance() argument
[all …]
DVertexArrayGL.cpp108 GLsizei instanceCount) const in syncClientSideData()
111 gl::DrawElementsType::InvalidEnum, nullptr, instanceCount, false, nullptr); in syncClientSideData()
131 GLsizei instanceCount, in syncDrawState() argument
157 ANGLE_TRY(streamAttributes(context, needsStreamingAttribs, instanceCount, indexRange)); in syncDrawState()
242 GLsizei instanceCount, in computeStreamingAttributeSizes() argument
267 instanceCount); in computeStreamingAttributeSizes()
274 GLsizei instanceCount, in streamAttributes() argument
281 computeStreamingAttributeSizes(attribsToStream, instanceCount, indexRange, &streamingDataSize, in streamAttributes()
332 adjustedDivisor, indexRange.vertexCount(), instanceCount); in streamAttributes()
/third_party/skia/experimental/graphite/src/
DCommandBuffer.h80 unsigned int baseInstance, unsigned int instanceCount) { in drawInstanced() argument
81 this->onDrawInstanced(type, baseVertex, vertexCount, baseInstance, instanceCount); in drawInstanced()
86 unsigned int instanceCount) { in drawIndexedInstanced() argument
88 instanceCount); in drawIndexedInstanced()
120 unsigned int baseInstance, unsigned int instanceCount) = 0;
123 unsigned int baseInstance, unsigned int instanceCount) = 0;
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderEncoderBase.cpp83 uint32_t instanceCount, in APIDraw() argument
98 instanceCount, firstInstance)); in APIDraw()
103 draw->instanceCount = instanceCount; in APIDraw()
109 "encoding %s.Draw(%u, %u, %u, %u).", this, vertexCount, instanceCount, firstVertex, in APIDraw()
114 uint32_t instanceCount, in APIDrawIndexed() argument
138 instanceCount, firstInstance)); in APIDrawIndexed()
143 draw->instanceCount = instanceCount; in APIDrawIndexed()
150 "encoding %s.DrawIndexed(%u, %u, %u, %i, %u).", this, indexCount, instanceCount, in APIDrawIndexed()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DVertexArrayGL.h38 GLsizei instanceCount) const;
44 GLsizei instanceCount,
72 GLsizei instanceCount,
89 GLsizei instanceCount,
97 GLsizei instanceCount,
160 GLsizei instanceCount, in syncDrawElementsState() argument
164 return syncDrawState(context, activeAttributesMask, 0, count, type, indices, instanceCount, in syncDrawElementsState()
DContextGL.cpp222 GLsizei instanceCount) in setDrawArraysState() argument
234 first, count, instanceCount)); in setDrawArraysState()
264 GLsizei instanceCount, in setDrawElementsState() argument
285 count, type, indices, instanceCount, in setDrawElementsState()
316 const GLsizei instanceCount = usesMultiview ? program->getNumViews() : 0; in drawArrays() local
322 ANGLE_TRY(setDrawArraysState(context, first, count, instanceCount)); in drawArrays()
330 instanceCount)); in drawArrays()
341 GLsizei instanceCount) in drawArraysInstanced() argument
343 GLsizei adjustedInstanceCount = instanceCount; in drawArraysInstanced()
439 GLsizei instanceCount, in drawArraysInstancedBaseInstance() argument
[all …]
/third_party/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp216 void GrGLOpsRenderPass::onDrawInstanced(int instanceCount, int baseInstance, int vertexCount, in onDrawInstanced() argument
224 int maxInstances = fGpu->glCaps().maxInstancesPerDrawWithoutCrashing(instanceCount); in onDrawInstanced()
225 for (int i = 0; i < instanceCount; i += maxInstances) { in onDrawInstanced()
227 int instanceCountForDraw = std::min(instanceCount - i, maxInstances); in onDrawInstanced()
240 void GrGLOpsRenderPass::onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, in onDrawIndexedInstanced() argument
242 int maxInstances = fGpu->glCaps().maxInstancesPerDrawWithoutCrashing(instanceCount); in onDrawIndexedInstanced()
243 for (int i = 0; i < instanceCount; i += maxInstances) { in onDrawIndexedInstanced()
245 int instanceCountForDraw = std::min(instanceCount - i, maxInstances); in onDrawIndexedInstanced()
327 auto [vertexCount, instanceCount, baseVertex, baseInstance] = cmds[i]; in multiDrawArraysANGLEOrWebGL()
330 fInstanceCounts[i] = instanceCount; in multiDrawArraysANGLEOrWebGL()
[all …]
/third_party/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()
94 inline void writeIndexed(uint32_t indexCount, uint32_t baseIndex, uint32_t instanceCount, 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()
256 void GrOpsRenderPass::drawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, 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,
191 virtual void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRenderPassEncoder.cpp47 uint32_t instanceCount, in Draw() argument
56 draw->instanceCount = instanceCount; in Draw()
62 uint32_t instanceCount, in DrawIndexed() argument
72 draw->instanceCount = instanceCount; in DrawIndexed()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp225 void prepareVertexData (int instanceCount, int firstInstance, int instanceDivisor);
554 const deUint32 instanceCount = instanceCounts[instanceCountNdx]; in iterate() local
558 const deUint32 prepareCount = de::max(instanceCount, 1u); in iterate()
638 const float pushConstants[] = { (float)firstInstance, (float)instanceCount }; in iterate()
646 m_vk.cmdDraw(*m_cmdBuffer, (deUint32)m_data.size(), instanceCount, 0u, firstInstance); in iterate()
650 …m_vk.cmdDrawIndexed(*m_cmdBuffer, (deUint32)m_indexes.size(), instanceCount, 0u, 0u, firstInstance… in iterate()
658 instanceCount, // uint32_t instanceCount; in iterate()
674 instanceCount, // uint32_t instanceCount; in iterate()
713 const TestVertShader vertShader(instanceCount, firstInstance); in iterate()
734 renderer.drawInstanced(command, instanceCount); in iterate()
[all …]
/third_party/harfbuzz/src/
Dhb-ot-var-fvar-table.hh173 c->check_range (get_instance (0), instanceCount, instanceSize)); in sanitize()
232 unsigned int get_instance_count () const { return instanceCount; } in get_instance_count()
281 + hb_range ((unsigned) instanceCount) in collect_name_ids()
286 + hb_range ((unsigned) instanceCount) in collect_name_ids()
298 if (unlikely (i >= instanceCount)) return nullptr; in get_instance()
314 HBUINT16 instanceCount; /* The number of named instances defined in the font member
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-var-fvar-table.hh175 c->check_range (get_instance (0), instanceCount, instanceSize)); in sanitize()
233 unsigned int get_instance_count () const { return instanceCount; } in get_instance_count()
282 + hb_range ((unsigned) instanceCount) in collect_name_ids()
287 + hb_range ((unsigned) instanceCount) in collect_name_ids()
299 if (unlikely (i >= instanceCount)) return nullptr; in get_instance()
315 HBUINT16 instanceCount; /* The number of named instances defined in the font member
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-var-fvar-table.hh112 c->check_range (get_instance (0), instanceCount, instanceSize)); in sanitize()
243 unsigned int get_instance_count () const { return instanceCount; } in get_instance_count()
292 + hb_range ((unsigned) instanceCount) in collect_name_ids()
297 + hb_range ((unsigned) instanceCount) in collect_name_ids()
310 if (unlikely (i >= instanceCount)) return nullptr; in get_instance()
326 HBUINT16 instanceCount; /* The number of named instances defined in the font member
/third_party/openGLES/extensions/EXT/
DEXT_instanced_arrays.txt79 sizei instanceCount);
81 const void *indices, sizei instanceCount);
152 sizei instanceCount);
154 behaves identically to DrawArrays except that <instanceCount> instances of
160 if (mode, count, or instanceCount is invalid)
163 for (i = 0; i < instanceCount; i++) {
216 const void *indices, sizei instanceCount);
218 behaves identically to DrawElements except that <instanceCount> instances of
223 if (mode, count, instanceCount, or type is invalid)
226 for (int i = 0; i < instanceCount; i++) {
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_instanced_arrays.txt79 sizei instanceCount);
81 const void *indices, sizei instanceCount);
152 sizei instanceCount);
154 behaves identically to DrawArrays except that <instanceCount> instances of
160 if (mode, count, or instanceCount is invalid)
163 for (i = 0; i < instanceCount; i++) {
216 const void *indices, sizei instanceCount);
218 behaves identically to DrawElements except that <instanceCount> instances of
223 if (mode, count, instanceCount, or type is invalid)
226 for (int i = 0; i < instanceCount; i++) {
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDrawIndexedTests.cpp78 uint32_t instanceCount, in Test() argument
86 TestImplementation(indexCount, instanceCount, firstIndex, baseVertex, firstInstance, in Test()
99 uint32_t instanceCount, in TestImplementation() argument
113 pass.DrawIndexed(indexCount, instanceCount, firstIndex, baseVertex, firstInstance); in TestImplementation()
/third_party/skia/src/gpu/mtl/
DGrMtlRenderCommandEncoder.h186 NSUInteger vertexCount, NSUInteger instanceCount, in drawPrimitives() argument
191 instanceCount:instanceCount in drawPrimitives()
213 NSUInteger instanceCount, in drawIndexedPrimitives() argument
221 instanceCount:instanceCount in drawIndexedPrimitives()
/third_party/skia/experimental/graphite/src/mtl/
DMtlRenderCommandEncoder.h190 NSUInteger vertexCount, NSUInteger instanceCount, in drawPrimitives() argument
195 instanceCount:instanceCount in drawPrimitives()
217 NSUInteger instanceCount, in drawIndexedPrimitives() argument
225 instanceCount:instanceCount in drawIndexedPrimitives()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DContext11.cpp271 GLsizei instanceCount) in drawArraysInstanced() argument
275 context, mode, first, count, gl::DrawElementsType::InvalidEnum, nullptr, instanceCount, 0)); in drawArraysInstanced()
276 return mRenderer->drawArrays(context, mode, first, count, instanceCount); in drawArraysInstanced()
283 GLsizei instanceCount, in drawArraysInstancedBaseInstance() argument
295 GLsizei instanceCount) in drawElementsImpl() argument
306 instanceCount, 0)); in drawElementsImpl()
308 indexCount, indexType, indices, instanceCount); in drawElementsImpl()
313 indices, instanceCount, 0)); in drawElementsImpl()
315 instanceCount); in drawElementsImpl()
373 nullptr, cmd->instanceCount, 0)); in drawArraysIndirect()
[all …]

12345678910>>...13