Home
last modified time | relevance | path

Searched refs:instance_count (Results 1 – 25 of 89) sorted by relevance

1234

/external/mesa3d/src/mesa/main/
Dglthread_draw.c262 GLsizei instance_count; member
274 const GLsizei instance_count = cmd->instance_count; in _mesa_unmarshal_DrawArraysInstancedBaseInstance() local
287 (mode, first, count, instance_count, in _mesa_unmarshal_DrawArraysInstancedBaseInstance()
299 GLsizei count, GLsizei instance_count, GLuint baseinstance, in draw_arrays_async() argument
313 cmd->instance_count = instance_count; in draw_arrays_async()
322 draw_arrays(GLenum mode, GLint first, GLsizei count, GLsizei instance_count, in draw_arrays() argument
343 count <= 0 || instance_count <= 0) { in draw_arrays()
344 draw_arrays_async(ctx, mode, first, count, instance_count, baseinstance, in draw_arrays()
353 instance_count, buffers)) { in draw_arrays()
356 (mode, first, count, instance_count, in draw_arrays()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw.h46 info->instance_count = 1; in util_draw_init_info()
97 uint instance_count) in util_draw_arrays_instanced() argument
106 info.instance_count = instance_count; in util_draw_arrays_instanced()
122 uint instance_count) in util_draw_elements_instanced() argument
135 info.instance_count = instance_count; in util_draw_elements_instanced()
Du_vbuf.c632 info->instance_count, /* INSTANCE */ in u_vbuf_translate_begin()
1266 info->instance_count = indirect_data[offset + 1]; in u_vbuf_split_indexed_multidraw()
1268 if (!info->count || !info->instance_count) in u_vbuf_split_indexed_multidraw()
1397 unsigned instance_count = data[offset + 1]; in u_vbuf_draw_vbo() local
1399 if (!count || !instance_count) in u_vbuf_draw_vbo()
1405 end_instance = MAX2(end_instance, start_instance + instance_count); in u_vbuf_draw_vbo()
1424 new_info.instance_count = end_instance - new_info.start_instance; in u_vbuf_draw_vbo()
1426 if (new_info.start_instance == ~0u || !new_info.instance_count) in u_vbuf_draw_vbo()
1448 unsigned instance_count = data[offset + 1]; in u_vbuf_draw_vbo() local
1455 end_instance = MAX2(end_instance, start_instance + instance_count); in u_vbuf_draw_vbo()
[all …]
Du_draw.c112 if ((info->start_instance + info->instance_count)/element->instance_divisor in util_draw_max_index()
179 info.instance_count = params[1]; in util_draw_indirect()
/external/libchrome/base/containers/
Dunique_ptr_adapters_unittest.cc17 Foo() { instance_count++; } in Foo()
18 ~Foo() { instance_count--; } in ~Foo()
19 static int instance_count; member in base::__anon59837e7d0111::Foo
22 int Foo::instance_count = 0; member in base::__anon59837e7d0111::Foo
29 EXPECT_EQ(3, Foo::instance_count); in TEST()
47 EXPECT_EQ(2, Foo::instance_count); in TEST()
58 EXPECT_EQ(1, Foo::instance_count); in TEST()
65 EXPECT_EQ(0, Foo::instance_count); in TEST()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_vsc.c71 return (info->count * info->instance_count) / vtx_per_prim; in prim_count()
121 ) * MAX2(1, info->instance_count); in draw_stream_size_bits()
150 info->instance_count, info->count, in fd6_vsc_update_sizes()
151 (info->count * info->instance_count) / in fd6_vsc_update_sizes()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbinding_set_unittest.cc586 PingInstanceCounter() { ++instance_count; } in PingInstanceCounter()
587 ~PingInstanceCounter() override { --instance_count; } in ~PingInstanceCounter()
591 static int instance_count; member in mojo::test::__anon1a3576780111::PingInstanceCounter
593 int PingInstanceCounter::instance_count = 0; member in mojo::test::__anon1a3576780111::PingInstanceCounter
601 EXPECT_EQ(1, PingInstanceCounter::instance_count); in TEST_P()
605 EXPECT_EQ(2, PingInstanceCounter::instance_count); in TEST_P()
608 EXPECT_EQ(0, PingInstanceCounter::instance_count); in TEST_P()
618 EXPECT_EQ(2, PingInstanceCounter::instance_count); in TEST_P()
622 EXPECT_EQ(1, PingInstanceCounter::instance_count); in TEST_P()
626 EXPECT_EQ(0, PingInstanceCounter::instance_count); in TEST_P()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_arrays.c178 unsigned start_instance, unsigned instance_count, in simple_draw_arrays() argument
204 start_instance, instance_count, in simple_draw_arrays()
212 unsigned start_instance, unsigned instance_count, in svga_hwtnl_draw_arrays() argument
279 start_instance, instance_count, in svga_hwtnl_draw_arrays()
306 instance_count, in svga_hwtnl_draw_arrays()
Dsvga_pipe_draw.c62 unsigned start_instance, unsigned instance_count, in retry_draw_arrays() argument
71 instance_count, in retry_draw_arrays()
87 assert(info->instance_count == 1); in retry_draw_auto()
340 if (info->instance_count > 1 || stream > 0) { in svga_draw_vbo()
356 info->start_instance, info->instance_count, in svga_draw_vbo()
Dsvga_draw_elements.c189 unsigned instance_count, in svga_hwtnl_simple_draw_range_elements() argument
210 start_instance, instance_count, in svga_hwtnl_simple_draw_range_elements()
284 info->instance_count, in svga_hwtnl_draw_range_elements()
313 info->instance_count, in svga_hwtnl_draw_range_elements()
Dsvga_draw_private.h230 unsigned start_instance, unsigned instance_count,
245 unsigned instance_count,
Dsvga_draw.c808 unsigned start_instance, unsigned instance_count, in draw_vgpu10() argument
889 else if (instance_count > 1) { in draw_vgpu10()
892 instance_count, in draw_vgpu10()
932 else if (instance_count > 1) { in draw_vgpu10()
935 instance_count, in draw_vgpu10()
1151 unsigned start_instance, unsigned instance_count, in svga_hwtnl_prim() argument
1163 instance_count, indirect, in svga_hwtnl_prim()
1172 assert(instance_count <= 1); in svga_hwtnl_prim()
Dsvga_swtnl_backend.c290 const unsigned instance_count = 1; in svga_vbuf_render_draw_arrays() local
305 nr, start_instance, instance_count, 0), retried); in svga_vbuf_render_draw_arrays()
331 .instance_count = 1, in svga_vbuf_render_draw_elements()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c484 unsigned instance_count, bool primitive_restart, in si_get_ia_multi_vgt_param() argument
500 key.u.uses_instancing = info->indirect || instance_count > 1; in si_get_ia_multi_vgt_param()
503 (instance_count > 1 && in si_get_ia_multi_vgt_param()
525 (instance_count > 1 && in si_get_ia_multi_vgt_param()
651 unsigned instance_count, bool primitive_restart, in si_emit_ia_multi_vgt_param() argument
658 si_get_ia_multi_vgt_param(sctx, info, prim, num_patches, instance_count, primitive_restart, in si_emit_ia_multi_vgt_param()
723 unsigned instance_count, bool primitive_restart, in si_emit_draw_registers() argument
732 si_emit_ia_multi_vgt_param(sctx, info, prim, num_patches, instance_count, primitive_restart, in si_emit_draw_registers()
766 unsigned index_offset, unsigned instance_count, in si_emit_draw_packets() argument
911 sctx->last_instance_count != instance_count) { in si_emit_draw_packets()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_emit.h126 uint32_t instance_count, in etna_draw_instanced() argument
134 VIV_FE_DRAW_INSTANCED_HEADER_INSTANCE_COUNT_LO(instance_count & 0xffff)); in etna_draw_instanced()
136 VIV_FE_DRAW_INSTANCED_COUNT_INSTANCE_COUNT_HI(instance_count >> 16) | in etna_draw_instanced()
/external/libwebsockets/lib/misc/fts/
Dtrie.c120 uint32_t instance_count; member
871 e->instance_count = t->parser->instance_count; in lws_fts_fill()
872 t->parser->instance_count = 0; in lws_fts_fill()
1045 t->parser->instance_count++; in lws_fts_fill()
1132 s[n]->agg_inst_count += s[sp]->instance_count; in lws_fts_serialize()
1246 bp += wq32(&buf[bp], e->instance_count); in lws_fts_serialize()
1285 bp += wq32(&buf[bp], e1->instance_count); in lws_fts_serialize()
1313 e1->instance_count, e1->child_count); in lws_fts_serialize()
/external/angle/third_party/abseil-cpp/absl/container/internal/
Dcounting_allocator.h45 CountingAllocator(int64_t* bytes_used, int64_t* instance_count) in CountingAllocator() argument
46 : bytes_used_(bytes_used), instance_count_(instance_count) {} in CountingAllocator()
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dcounting_allocator.h45 CountingAllocator(int64_t* bytes_used, int64_t* instance_count) in CountingAllocator() argument
46 : bytes_used_(bytes_used), instance_count_(instance_count) {} in CountingAllocator()
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dcounting_allocator.h45 CountingAllocator(int64_t* bytes_used, int64_t* instance_count) in CountingAllocator() argument
46 : bytes_used_(bytes_used), instance_count_(instance_count) {} in CountingAllocator()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dcounting_allocator.h45 CountingAllocator(int64_t* bytes_used, int64_t* instance_count) in CountingAllocator() argument
46 : bytes_used_(bytes_used), instance_count_(instance_count) {} in CountingAllocator()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_vbo.c466 unsigned instance_count) in nv50_draw_arrays() argument
483 while (instance_count--) { in nv50_draw_arrays()
590 unsigned instance_count, int32_t index_bias, in nv50_draw_elements() argument
627 while (instance_count--) { in nv50_draw_elements()
671 while (instance_count--) { in nv50_draw_elements()
707 unsigned num_instances = info->instance_count; in nva0_draw_stream_output()
770 nv50->instance_max = info->instance_count - 1; in nv50_draw_vbo()
875 info->instance_count, info->index_bias, info->index_size); in nv50_draw_vbo()
882 info->instance_count); in nv50_draw_vbo()
/external/bcc/src/cc/frontends/p4/compiler/
DebpfCounter.py44 if self.hlircounter.instance_count is not None:
45 return self.hlircounter.instance_count
/external/mesa3d/src/gallium/auxiliary/indices/
Du_primconvert.c115 new_info.instance_count = info->instance_count; in util_primconvert_draw_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo.c571 unsigned instance_count) in nvc0_draw_arrays() argument
587 while (instance_count--) { in nvc0_draw_arrays()
702 unsigned instance_count, int32_t index_bias, in nvc0_draw_elements() argument
727 if (--instance_count) { in nvc0_draw_elements()
732 } while (instance_count); in nvc0_draw_elements()
737 while (instance_count--) { in nvc0_draw_elements()
775 unsigned num_instances = info->instance_count; in nvc0_draw_stream_output()
935 nvc0->instance_max = info->instance_count - 1; in nvc0_draw_vbo()
1105 info->instance_count, info->index_bias, info->index_size); in nvc0_draw_vbo()
1109 info->instance_count); in nvc0_draw_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/mme/
Dcom9097.mme236 * parm[2 + 5n + 1] = instance_count
254 parm $r2 /* instance_count */
299 * parm[2 + 4n + 1] = instance_count
309 parm $r3 /* instance_count */
348 * parm[3 + 5n + 1] = instance_count
373 parm $r2 /* instance_count */
435 * parm[3 + 4n + 1] = instance_count
453 parm $r3 /* instance_count */

1234