Home
last modified time | relevance | path

Searched refs:num_attribs (Results 1 – 25 of 47) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/util/
Du_draw_quad.c49 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()
Du_draw_quad.h47 uint offset, uint prim_type, uint num_attribs,
52 uint prim_type, uint num_verts, uint num_attribs);
Du_simple_shaders.h49 uint num_attribs,
56 uint num_attribs,
152 uint num_attribs,
Du_simple_shaders.c61 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()
851 uint num_attribs, in util_make_geometry_passthrough_shader() argument
878 for (i = 0; i < num_attribs; i++) { in util_make_geometry_passthrough_shader()
886 for (i = 0; i < num_attribs; i++) { in util_make_geometry_passthrough_shader()
/external/mesa3d/src/glx/
Dcreate_context.c45 unsigned num_attribs = 0; in glXCreateContextAttribsARB() local
69 for (/* empty */; attrib_list[num_attribs * 2] != 0; num_attribs++) in glXCreateContextAttribsARB()
78 gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs, in glXCreateContextAttribsARB()
87 gc = indirect_create_context_attribs(psc, cfg, share, num_attribs, in glXCreateContextAttribsARB()
111 num_attribs, in glXCreateContextAttribsARB()
Dglx_pbuffer.c85 const CARD32 * attribs, size_t num_attribs) in ChangeDrawableAttribute() argument
108 GetReqExtra(GLXChangeDrawableAttributes, 8 * num_attribs, req); in ChangeDrawableAttribute()
114 req->numAttribs = (CARD32) num_attribs; in ChangeDrawableAttribute()
119 GetReqExtra(GLXVendorPrivateWithReply, 8 + (8 * num_attribs), vpreq); in ChangeDrawableAttribute()
127 output[1] = num_attribs; in ChangeDrawableAttribute()
131 (void) memcpy(output, attribs, sizeof(CARD32) * 2 * num_attribs); in ChangeDrawableAttribute()
142 for (i = 0; i < num_attribs; i++) { in ChangeDrawableAttribute()
195 const int *attrib_list, size_t num_attribs) in CreateDRIDrawable() argument
222 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs); in CreateDRIDrawable()
223 pdraw->textureFormat = determineTextureFormat(attrib_list, num_attribs); in CreateDRIDrawable()
[all …]
Ddri_common.h76 dri2_convert_glx_attribs(unsigned num_attribs, const uint32_t *attribs,
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_derived.c78 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()
Dlp_bld_interp.h85 unsigned num_attribs; member
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawtex.c45 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()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vertex.h69 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()
Ddraw_vertex.c51 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()
Ddraw_pt_emit.c82 for (i = 0; i < vinfo->num_attribs; i++) { in draw_pt_emit_prepare()
115 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare()
/external/mesa3d/src/gallium/frontends/va/
Dconfig.c112 VAConfigAttrib *attrib_list, int num_attribs) in vlVaGetConfigAttributes() argument
122 for (i = 0; i < num_attribs; ++i) { in vlVaGetConfigAttributes()
194 VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id) in vlVaCreateConfig() argument
220 for (int i = 0; i < num_attribs; i++) { in vlVaCreateConfig()
283 for (int i = 0; i <num_attribs ; i++) { in vlVaCreateConfig()
344 VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs) in vlVaQueryConfigAttributes() argument
380 *num_attribs = 1; in vlVaQueryConfigAttributes()
Dva_private.h344 VAConfigAttrib *attrib_list, int num_attribs);
346 VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id);
349 … VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs);
413 unsigned int num_attribs);
415 unsigned int *num_attribs);
Dsurface.c418 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()
547 if (i > *num_attribs) { in vlVaQuerySurfaceAttributes()
548 *num_attribs = i; in vlVaQuerySurfaceAttributes()
553 *num_attribs = i; in vlVaQuerySurfaceAttributes()
672 VASurfaceAttrib *attrib_list, unsigned int num_attribs) in vlVaCreateSurfaces2() argument
706 for (i = 0; i < num_attribs && attrib_list; i++) { in vlVaCreateSurfaces2()
/external/mesa3d/src/glx/tests/
Dcreate_context_unittest.cpp82 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()
308 EXPECT_EQ(4u, req.num_attribs); in TEST_F()
320 EXPECT_EQ(0u, req.num_attribs); in TEST_F()
328 EXPECT_EQ(0u, req.num_attribs); in TEST_F()
Dfake_glx_screen.cpp67 unsigned num_attribs, in indirect_create_context_attribs() argument
71 (void) num_attribs; in indirect_create_context_attribs()
Dfake_glx_screen.h121 unsigned num_attribs, in create_attribs() argument
126 (void) num_attribs; in create_attribs()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c92 vinfo->num_attribs = 0; in softpipe_compute_vertex_info()
171 softpipe->viewport_index_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info()
174 softpipe->layer_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info()
199 softpipe->psize_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info()
209 softpipe->viewport_index_slot =(int)vinfo->num_attribs; in softpipe_compute_vertex_info()
220 softpipe->layer_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.c282 so->num_attribs[b] = 0; in nv50_program_create_strmout_state()
287 so->num_attribs[b] = MAX2(so->num_attribs[b], end); in nv50_program_create_strmout_state()
295 assert(!so->num_attribs[b] || so->num_attribs[b] == pso->stride[b]); in nv50_program_create_strmout_state()
296 so->stride[b] = so->num_attribs[b] * 4; in nv50_program_create_strmout_state()
297 if (so->num_attribs[b]) in nv50_program_create_strmout_state()
299 base[b] = align(base[b - 1] + so->num_attribs[b - 1], 4); in nv50_program_create_strmout_state()
306 so->map_size = base[3] + so->num_attribs[3]; in nv50_program_create_strmout_state()
Dnv50_program.h47 uint8_t num_attribs[4]; member
/external/mesa3d/src/egl/main/
Degldisplay.c247 size_t num_attribs; in _eglFindDisplay() local
270 num_attribs = _eglNumAttribs(attrib_list); in _eglFindDisplay()
271 if (num_attribs) { in _eglFindDisplay()
272 disp->Options.Attribs = calloc(num_attribs, sizeof(EGLAttrib)); in _eglFindDisplay()
279 num_attribs * sizeof(EGLAttrib)); in _eglFindDisplay()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_draw.c130 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()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_state.h33 uint32_t num_bindings, num_attribs; member

12