/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_draw_quad.c | 49 uint num_attribs) in util_draw_vertex_buffer() argument 53 assert(num_attribs <= PIPE_MAX_ATTRIBS); in util_draw_vertex_buffer() 58 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ in util_draw_vertex_buffer() 79 uint prim_type, uint num_verts, uint num_attribs) in util_draw_user_vertex_buffer() argument 83 assert(num_attribs <= PIPE_MAX_ATTRIBS); in util_draw_user_vertex_buffer() 87 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ in util_draw_user_vertex_buffer()
|
D | u_simple_shaders.h | 49 uint num_attribs, 56 uint num_attribs, 156 uint num_attribs,
|
D | u_draw_quad.h | 47 uint offset, uint prim_type, uint num_attribs, 52 uint prim_type, uint num_verts, uint num_attribs);
|
D | u_simple_shaders.c | 61 uint num_attribs, in util_make_vertex_passthrough_shader() argument 66 return util_make_vertex_passthrough_shader_with_so(pipe, num_attribs, in util_make_vertex_passthrough_shader() 74 uint num_attribs, in util_make_vertex_passthrough_shader_with_so() argument 90 for (i = 0; i < num_attribs; i++) { in util_make_vertex_passthrough_shader_with_so() 867 uint num_attribs, in util_make_geometry_passthrough_shader() argument 894 for (i = 0; i < num_attribs; i++) { in util_make_geometry_passthrough_shader() 902 for (i = 0; i < num_attribs; i++) { in util_make_geometry_passthrough_shader()
|
/third_party/mesa3d/src/glx/ |
D | create_context.c | 53 unsigned num_attribs = 0; in glXCreateContextAttribsARB() local 68 for (/* empty */; attrib_list[num_attribs * 2] != 0; num_attribs++) in glXCreateContextAttribsARB() 75 for (unsigned int i = 0; i < num_attribs; i++) { in glXCreateContextAttribsARB() 109 gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs, in glXCreateContextAttribsARB() 118 gc = indirect_create_context_attribs(psc, cfg, share, num_attribs, in glXCreateContextAttribsARB() 142 num_attribs, in glXCreateContextAttribsARB()
|
D | glx_pbuffer.c | 64 const CARD32 * attribs, size_t num_attribs) in ChangeDrawableAttribute() argument 87 GetReqExtra(GLXChangeDrawableAttributes, 8 * num_attribs, req); in ChangeDrawableAttribute() 93 req->numAttribs = (CARD32) num_attribs; in ChangeDrawableAttribute() 98 GetReqExtra(GLXVendorPrivateWithReply, 8 + (8 * num_attribs), vpreq); in ChangeDrawableAttribute() 106 output[1] = num_attribs; in ChangeDrawableAttribute() 110 (void) memcpy(output, attribs, sizeof(CARD32) * 2 * num_attribs); in ChangeDrawableAttribute() 121 for (i = 0; i < num_attribs; i++) { in ChangeDrawableAttribute() 175 const int *attrib_list, size_t num_attribs) in CreateDRIDrawable() argument 203 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs); in CreateDRIDrawable() 204 pdraw->textureFormat = determineTextureFormat(attrib_list, num_attribs); in CreateDRIDrawable()
|
D | dri_common.h | 81 dri_convert_glx_attribs(unsigned num_attribs, const uint32_t *attribs,
|
D | indirect_glx.c | 278 unsigned num_attribs, in indirect_create_context_attribs() argument 296 for (i = 0; i < num_attribs; i++) { in indirect_create_context_attribs()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_drawtex.c | 45 uint num_attribs; member 94 uint num_attribs, in lookup_shader() argument 104 if (CachedShaders[i].num_attribs == num_attribs) { in lookup_shader() 106 for (j = 0; j < num_attribs; j++) { in lookup_shader() 123 CachedShaders[i].num_attribs = num_attribs; in lookup_shader() 124 for (j = 0; j < num_attribs; j++) { in lookup_shader() 137 for (int j = 0; j < num_attribs; j++) { in lookup_shader() 145 num_attribs, inputs, in lookup_shader() 150 num_attribs, in lookup_shader()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_derived.c | 78 vinfo->num_attribs = 0; in compute_vertex_info() 96 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs; in compute_vertex_info() 100 llvmpipe->face_slot = (int)vinfo->num_attribs; in compute_vertex_info() 110 llvmpipe->viewport_index_slot = (int)vinfo->num_attribs; in compute_vertex_info() 113 llvmpipe->layer_slot = (int)vinfo->num_attribs; in compute_vertex_info() 134 llvmpipe->bcolor_slot[i] = (int)vinfo->num_attribs; in compute_vertex_info() 145 llvmpipe->psize_slot = (int)vinfo->num_attribs; in compute_vertex_info() 155 llvmpipe->viewport_index_slot =(int)vinfo->num_attribs; in compute_vertex_info() 166 llvmpipe->layer_slot = (int)vinfo->num_attribs; in compute_vertex_info()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_vertex.h | 69 uint num_attribs; member 85 return offsetof(const struct vertex_info, attrib[a->num_attribs]); in draw_vinfo_size() 117 const uint n = vinfo->num_attribs; in draw_emit_vertex_attr() 128 vinfo->num_attribs++; in draw_emit_vertex_attr()
|
D | draw_vertex.c | 51 for (i = 0; i < vinfo->num_attribs; i++) in draw_compute_vertex_size() 65 for (i = 0; i < vinfo->num_attribs; i++) { in draw_dump_emitted_vertex()
|
D | draw_pt_emit.c | 84 for (i = 0; i < vinfo->num_attribs; i++) { in draw_pt_emit_prepare() 117 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare()
|
/third_party/mesa3d/src/glx/tests/ |
D | create_context_unittest.cpp | 82 uint32_t num_attribs, in xcb_glx_create_context_attribs_arb_checked() argument 93 req.num_attribs = num_attribs; in xcb_glx_create_context_attribs_arb_checked() 95 if (num_attribs != 0 && attribs != NULL) in xcb_glx_create_context_attribs_arb_checked() 96 memcpy(sent_attribs, attribs, num_attribs * 2 * sizeof(uint32_t)); in xcb_glx_create_context_attribs_arb_checked() 324 EXPECT_EQ(4u, req.num_attribs); in TEST_F() 336 EXPECT_EQ(0u, req.num_attribs); in TEST_F() 344 EXPECT_EQ(0u, req.num_attribs); in TEST_F()
|
D | fake_glx_screen.cpp | 65 unsigned num_attribs, in indirect_create_context_attribs() argument 69 (void) num_attribs; in indirect_create_context_attribs()
|
D | fake_glx_screen.h | 123 unsigned num_attribs, in create_attribs() argument 128 (void) num_attribs; in create_attribs()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | config.c | 114 VAConfigAttrib *attrib_list, int num_attribs) in vlVaGetConfigAttributes() argument 124 for (i = 0; i < num_attribs; ++i) { in vlVaGetConfigAttributes() 236 VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id) in vlVaCreateConfig() argument 267 for (int i = 0; i < num_attribs; i++) { in vlVaCreateConfig() 335 for (int i = 0; i <num_attribs ; i++) { in vlVaCreateConfig() 415 VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs) in vlVaQueryConfigAttributes() argument 451 *num_attribs = 1; in vlVaQueryConfigAttributes()
|
D | va_private.h | 354 VAConfigAttrib *attrib_list, int num_attribs); 356 VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id); 359 … VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs); 423 unsigned int num_attribs); 425 unsigned int *num_attribs);
|
D | surface.c | 418 VASurfaceAttrib *attrib_list, unsigned int *num_attribs) in vlVaQuerySurfaceAttributes() argument 431 if (!attrib_list && !num_attribs) in vlVaQuerySurfaceAttributes() 435 *num_attribs = VL_VA_MAX_IMAGE_FORMATS + VASurfaceAttribCount; in vlVaQuerySurfaceAttributes() 563 if (i > *num_attribs) { in vlVaQuerySurfaceAttributes() 564 *num_attribs = i; in vlVaQuerySurfaceAttributes() 569 *num_attribs = i; in vlVaQuerySurfaceAttributes() 830 VASurfaceAttrib *attrib_list, unsigned int num_attribs) in vlVaCreateSurfaces2() argument 873 for (i = 0; i < num_attribs && attrib_list; i++) { in vlVaCreateSurfaces2()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_derived.c | 91 vinfo->num_attribs = 0; in softpipe_compute_vertex_info() 170 softpipe->viewport_index_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info() 173 softpipe->layer_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info() 198 softpipe->psize_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info() 208 softpipe->viewport_index_slot =(int)vinfo->num_attribs; in softpipe_compute_vertex_info() 219 softpipe->layer_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_program.c | 285 so->num_attribs[b] = 0; in nv50_program_create_strmout_state() 290 so->num_attribs[b] = MAX2(so->num_attribs[b], end); in nv50_program_create_strmout_state() 298 assert(!so->num_attribs[b] || so->num_attribs[b] == pso->stride[b]); in nv50_program_create_strmout_state() 299 so->stride[b] = so->num_attribs[b] * 4; in nv50_program_create_strmout_state() 300 if (so->num_attribs[b]) in nv50_program_create_strmout_state() 302 base[b] = align(base[b - 1] + so->num_attribs[b - 1], 4); in nv50_program_create_strmout_state() 309 so->map_size = base[3] + so->num_attribs[3]; in nv50_program_create_strmout_state()
|
/third_party/mesa3d/src/egl/main/ |
D | egldisplay.c | 262 size_t num_attribs; in _eglFindDisplay() local 285 num_attribs = _eglNumAttribs(attrib_list); in _eglFindDisplay() 286 if (num_attribs) { in _eglFindDisplay() 287 disp->Options.Attribs = calloc(num_attribs, sizeof(EGLAttrib)); in _eglFindDisplay() 294 num_attribs * sizeof(EGLAttrib)); in _eglFindDisplay()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_draw.c | 130 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); in nv30_render_draw_elements() 131 for (i = 0; i < r->vertex_info.num_attribs; i++) { in nv30_render_draw_elements() 175 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); in nv30_render_draw_arrays() 176 for (i = 0; i < r->vertex_info.num_attribs; i++) { in nv30_render_draw_arrays() 306 vinfo->num_attribs = 0; in nv30_render_validate()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_pipeline.c | 57 …if (!screen->info.have_EXT_vertex_input_dynamic_state || !state->element_state->num_attribs || !st… in zink_create_gfx_pipeline() 63 vertex_input_state.vertexAttributeDescriptionCount = state->element_state->num_attribs; in zink_create_gfx_pipeline() 247 if (state->element_state->num_attribs) { in zink_create_gfx_pipeline() 339 …if (!screen->info.have_EXT_vertex_input_dynamic_state || !state->element_state->num_attribs || !st… in zink_create_gfx_pipeline()
|
/third_party/mesa3d/src/mesa/program/ |
D | prog_statevars.c | 1613 unsigned num_attribs, base_attrib, attrib_incr; in _mesa_optimize_state_parameters() local 1616 num_attribs = 3; in _mesa_optimize_state_parameters() 1620 num_attribs = 3; in _mesa_optimize_state_parameters() 1624 num_attribs = 6; in _mesa_optimize_state_parameters() 1630 while (first_param + (num_lights + 1) * num_attribs <= in _mesa_optimize_state_parameters() 1633 unsigned i = 0, base = first_param + num_lights * num_attribs; in _mesa_optimize_state_parameters() 1638 for (i = 0; i < num_attribs; i++) { in _mesa_optimize_state_parameters() 1652 if (i == num_attribs) { in _mesa_optimize_state_parameters() 1655 last_param = base + num_attribs - 1; in _mesa_optimize_state_parameters()
|