Home
last modified time | relevance | path

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

123

/external/webrtc/webrtc/system_wrappers/include/
Dstatic_instance.h39 static volatile long instance_count = 0; in GetStaticInstance() local
53 kAddRefNoCreate && instance_count == 0) { in GetStaticInstance()
59 instance_count++; in GetStaticInstance()
60 if (instance_count == 1) { in GetStaticInstance()
64 instance_count--; in GetStaticInstance()
65 if (instance_count == 0) { in GetStaticInstance()
91 kAddRefNoCreate && instance_count == 0) { in GetStaticInstance()
95 if (1 == InterlockedIncrement(&instance_count)) { in GetStaticInstance()
97 InterlockedDecrement(&instance_count); in GetStaticInstance()
104 InterlockedDecrement(&instance_count); in GetStaticInstance()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw.h46 info->instance_count = 1; in util_draw_init_info()
93 uint instance_count) in util_draw_arrays_instanced() argument
102 info.instance_count = instance_count; in util_draw_arrays_instanced()
117 uint instance_count) in util_draw_elements_instanced() argument
128 info.instance_count = instance_count; in util_draw_elements_instanced()
Du_draw.c112 if ((info->start_instance + info->instance_count)/element->instance_divisor in util_draw_max_index()
159 info.instance_count = params[1]; in util_draw_indirect()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_draw.c68 unsigned instance_count, in retry_draw_range_elements() argument
93 start_instance, instance_count); in retry_draw_range_elements()
108 start_instance, instance_count, FALSE); in retry_draw_range_elements()
120 unsigned start_instance, unsigned instance_count, in retry_draw_arrays() argument
142 start_instance, instance_count); in retry_draw_arrays()
154 start_instance, instance_count, in retry_draw_arrays()
280 info->instance_count, in svga_draw_vbo()
285 info->start_instance, info->instance_count, in svga_draw_vbo()
Dsvga_draw_elements.c157 unsigned instance_count) in svga_hwtnl_simple_draw_range_elements() argument
177 start_instance, instance_count); in svga_hwtnl_simple_draw_range_elements()
187 unsigned start_instance, unsigned instance_count) in svga_hwtnl_draw_range_elements() argument
227 instance_count); in svga_hwtnl_draw_range_elements()
254 instance_count); in svga_hwtnl_draw_range_elements()
Dsvga_draw_arrays.c178 unsigned start_instance, unsigned instance_count) in simple_draw_arrays() argument
203 start_instance, instance_count); in simple_draw_arrays()
210 unsigned start_instance, unsigned instance_count) in svga_hwtnl_draw_arrays() argument
276 start_instance, instance_count); in svga_hwtnl_draw_arrays()
302 instance_count); in svga_hwtnl_draw_arrays()
Dsvga_swtnl_backend.c292 const unsigned instance_count = 1; in svga_vbuf_render_draw_arrays() local
306 nr, start_instance, instance_count); in svga_vbuf_render_draw_arrays()
311 start_instance, instance_count); in svga_vbuf_render_draw_arrays()
333 const unsigned instance_count = 1; in svga_vbuf_render_draw_elements() local
374 start_instance, instance_count); in svga_vbuf_render_draw_elements()
386 start_instance, instance_count); in svga_vbuf_render_draw_elements()
Dsvga_draw.h63 unsigned start_instance, unsigned instance_count);
73 unsigned start_instance, unsigned instance_count);
Dsvga_draw.c516 unsigned start_instance, unsigned instance_count) in draw_vgpu10() argument
768 if (instance_count > 1) { in draw_vgpu10()
771 instance_count, in draw_vgpu10()
803 if (instance_count > 1) { in draw_vgpu10()
806 instance_count, in draw_vgpu10()
1019 unsigned start_instance, unsigned instance_count) in svga_hwtnl_prim() argument
1028 start_instance, instance_count); in svga_hwtnl_prim()
1032 start_instance, instance_count); in svga_hwtnl_prim()
1041 assert(instance_count <= 1); in svga_hwtnl_prim()
Dsvga_draw_private.h229 unsigned start_instance, unsigned instance_count);
242 unsigned instance_count);
/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::__anondd8b15b10111::PingInstanceCounter
593 int PingInstanceCounter::instance_count = 0; member in mojo::test::__anondd8b15b10111::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/etnaviv/
Detnaviv_emit.h127 uint32_t instance_count, in etna_draw_instanced() argument
135 VIV_FE_DRAW_INSTANCED_HEADER_INSTANCE_COUNT_LO(instance_count & 0xffff)); in etna_draw_instanced()
137 VIV_FE_DRAW_INSTANCED_COUNT_INSTANCE_COUNT_HI(instance_count >> 16) | in etna_draw_instanced()
/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 */
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_vbo.c476 unsigned instance_count) in nv50_draw_arrays() argument
493 while (instance_count--) { in nv50_draw_arrays()
600 unsigned instance_count, int32_t index_bias, in nv50_draw_elements() argument
637 while (instance_count--) { in nv50_draw_elements()
681 while (instance_count--) { in nv50_draw_elements()
717 unsigned num_instances = info->instance_count; in nva0_draw_stream_output()
780 nv50->instance_max = info->instance_count - 1; in nv50_draw_vbo()
885 info->instance_count, info->index_bias, info->index_size); in nv50_draw_vbo()
892 info->instance_count); in nv50_draw_vbo()
/external/mesa3d/src/gallium/auxiliary/indices/
Du_primconvert.c106 new_info.instance_count = info->instance_count; in util_primconvert_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/drivers/nouveau/nvc0/
Dnvc0_vbo.c565 unsigned instance_count) in nvc0_draw_arrays() argument
581 while (instance_count--) { in nvc0_draw_arrays()
696 unsigned instance_count, int32_t index_bias, in nvc0_draw_elements() argument
721 if (--instance_count) { in nvc0_draw_elements()
726 } while (instance_count); in nvc0_draw_elements()
731 while (instance_count--) { in nvc0_draw_elements()
769 unsigned num_instances = info->instance_count; in nvc0_draw_stream_output()
928 nvc0->instance_max = info->instance_count - 1; in nvc0_draw_vbo()
1081 info->instance_count, info->index_bias, info->index_size); in nvc0_draw_vbo()
1085 info->instance_count); in nvc0_draw_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c339 unsigned instance_count) argument
464 unsigned instance_count, int32_t index_bias, argument
606 info->instance_count);
634 info->instance_count, info->index_bias, info->index_size);
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_draw.c455 if (info->instance_count > 1) { in vc5_draw_vbo()
468 prim.number_of_instances = info->instance_count; in vc5_draw_vbo()
492 if (info->instance_count > 1) { in vc5_draw_vbo()
496 prim.number_of_instances = info->instance_count; in vc5_draw_vbo()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.h143 info->count, info->instance_count - 1, in fd_draw_emit()
/external/deqp/external/openglcts/modules/gl/
Dgl4cVertexAttribBindingTests.cpp378 GLsizei instance_count; member in gl4cts::__anon87d447110111::BasicInputBase
387 instance_count = 1; in Setup()
439 …glDrawArraysInstancedBaseInstance(GL_POINTS, 0, 2, instance_count, static_cast<GLuint>(base_instan… in Run()
443 glDrawArraysInstanced(GL_POINTS, 0, 2, instance_count); in Run()
1285 instance_count = 2; in Run()
1352 instance_count = 2; in Run()
1422 instance_count = 2; in Run()
1505 GLsizei instance_count; member in gl4cts::__anon87d447110111::BasicInputIBase
1517 instance_count = 1; in Setup()
1570 glDrawArraysInstancedBaseInstance(GL_POINTS, 0, 2, instance_count, base_instance); in Run()
[all …]
/external/mesa3d/src/gallium/drivers/swr/
Dswr_draw.cpp217 info->instance_count, in swr_draw_vbo()
225 info->instance_count, in swr_draw_vbo()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c496 key.u.uses_instancing = info->indirect || info->instance_count > 1; in si_get_ia_multi_vgt_param()
499 (info->instance_count > 1 && in si_get_ia_multi_vgt_param()
521 (info->instance_count > 1 && in si_get_ia_multi_vgt_param()
799 radeon_emit(cs, info->instance_count); in si_emit_draw_packets()
1225 if (unlikely(!info->instance_count)) in si_draw_vbo()
1544 info.instance_count = num_instances; in si_draw_rectangle()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_draw.h141 info->count, info->instance_count, in fd5_draw_emit()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_draw.h161 info->count, info->instance_count, in fd4_draw_emit()

123