Home
last modified time | relevance | path

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

12345

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_draw_quad.c48 uint num_attribs) in util_draw_vertex_buffer() argument
52 assert(num_attribs <= PIPE_MAX_ATTRIBS); in util_draw_vertex_buffer()
57 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ in util_draw_vertex_buffer()
78 uint prim_type, uint num_verts, uint num_attribs) in util_draw_user_vertex_buffer() argument
82 assert(num_attribs <= PIPE_MAX_ATTRIBS); in util_draw_user_vertex_buffer()
85 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ in util_draw_user_vertex_buffer()
Du_draw_quad.h48 uint num_attribs, uint num_verts, uint prim_type);
52 uint prim_type, uint num_verts, uint num_attribs);
Du_simple_shaders.h48 uint num_attribs,
54 uint num_attribs,
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw_quad.c48 uint num_attribs) in util_draw_vertex_buffer() argument
52 assert(num_attribs <= PIPE_MAX_ATTRIBS); in util_draw_vertex_buffer()
57 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ in util_draw_vertex_buffer()
78 uint prim_type, uint num_verts, uint num_attribs) in util_draw_user_vertex_buffer() argument
82 assert(num_attribs <= PIPE_MAX_ATTRIBS); in util_draw_user_vertex_buffer()
85 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ in util_draw_user_vertex_buffer()
Du_draw_quad.h48 uint num_attribs, uint num_verts, uint prim_type);
52 uint prim_type, uint num_verts, uint num_attribs);
Du_simple_shaders.h48 uint num_attribs,
54 uint num_attribs,
/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()
109 num_attribs, in glXCreateContextAttribsARB()
Dglx_pbuffer.c83 const CARD32 * attribs, size_t num_attribs) in ChangeDrawableAttribute() argument
106 GetReqExtra(GLXChangeDrawableAttributes, 8 * num_attribs, req); in ChangeDrawableAttribute()
112 req->numAttribs = (CARD32) num_attribs; in ChangeDrawableAttribute()
117 GetReqExtra(GLXVendorPrivateWithReply, 8 + (8 * num_attribs), vpreq); in ChangeDrawableAttribute()
125 output[1] = num_attribs; in ChangeDrawableAttribute()
129 (void) memcpy(output, attribs, sizeof(CARD32) * 2 * num_attribs); in ChangeDrawableAttribute()
140 for (i = 0; i < num_attribs; i++) { in ChangeDrawableAttribute()
193 const int *attrib_list, size_t num_attribs) in CreateDRIDrawable() argument
215 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs); in CreateDRIDrawable()
216 pdraw->textureFormat = determineTextureFormat(attrib_list, num_attribs); in CreateDRIDrawable()
[all …]
/external/chromium_org/third_party/mesa/src/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()
109 num_attribs, in glXCreateContextAttribsARB()
Dglx_pbuffer.c83 const CARD32 * attribs, size_t num_attribs) in ChangeDrawableAttribute() argument
106 GetReqExtra(GLXChangeDrawableAttributes, 8 * num_attribs, req); in ChangeDrawableAttribute()
112 req->numAttribs = (CARD32) num_attribs; in ChangeDrawableAttribute()
117 GetReqExtra(GLXVendorPrivateWithReply, 8 + (8 * num_attribs), vpreq); in ChangeDrawableAttribute()
125 output[1] = num_attribs; in ChangeDrawableAttribute()
129 (void) memcpy(output, attribs, sizeof(CARD32) * 2 * num_attribs); in ChangeDrawableAttribute()
140 for (i = 0; i < num_attribs; i++) { in ChangeDrawableAttribute()
193 const int *attrib_list, size_t num_attribs) in CreateDRIDrawable() argument
215 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs); in CreateDRIDrawable()
216 pdraw->textureFormat = determineTextureFormat(attrib_list, num_attribs); in CreateDRIDrawable()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawtex.c44 uint num_attribs; member
61 uint num_attribs, in lookup_shader() argument
69 if (CachedShaders[i].num_attribs == num_attribs) { in lookup_shader()
71 for (j = 0; j < num_attribs; j++) { in lookup_shader()
88 CachedShaders[i].num_attribs = num_attribs; in lookup_shader()
89 for (j = 0; j < num_attribs; j++) { in lookup_shader()
96 num_attribs, in lookup_shader()
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_cb_drawtex.c44 uint num_attribs; member
61 uint num_attribs, in lookup_shader() argument
69 if (CachedShaders[i].num_attribs == num_attribs) { in lookup_shader()
71 for (j = 0; j < num_attribs; j++) { in lookup_shader()
88 CachedShaders[i].num_attribs = num_attribs; in lookup_shader()
89 for (j = 0; j < num_attribs; j++) { in lookup_shader()
96 num_attribs, in lookup_shader()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vertex.h80 uint num_attribs; member
97 return offsetof(const struct vertex_info, attrib[a->num_attribs]); in draw_vinfo_size()
130 const uint n = vinfo->num_attribs; in draw_emit_vertex_attr()
135 vinfo->num_attribs++; in draw_emit_vertex_attr()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_vertex.h80 uint num_attribs; member
97 return offsetof(const struct vertex_info, attrib[a->num_attribs]); in draw_vinfo_size()
130 const uint n = vinfo->num_attribs; in draw_emit_vertex_attr()
135 vinfo->num_attribs++; in draw_emit_vertex_attr()
/external/chromium_org/third_party/mesa/src/src/glx/tests/
Dfake_glx_screen.h94 unsigned num_attribs, in create_attribs() argument
99 (void) num_attribs; in create_attribs()
138 unsigned num_attribs, in create_attribs() argument
143 (void) num_attribs; in create_attribs()
Dcreate_context_unittest.cpp80 uint32_t num_attribs, in xcb_glx_create_context_attribs_arb_checked() argument
91 req.num_attribs = num_attribs; in xcb_glx_create_context_attribs_arb_checked()
93 if (num_attribs != 0 && attribs != NULL) in xcb_glx_create_context_attribs_arb_checked()
94 memcpy(sent_attribs, attribs, num_attribs * 2 * sizeof(uint32_t)); in xcb_glx_create_context_attribs_arb_checked()
306 EXPECT_EQ(4u, req.num_attribs); in TEST_F()
318 EXPECT_EQ(0u, req.num_attribs); in TEST_F()
326 EXPECT_EQ(0u, req.num_attribs); in TEST_F()
/external/mesa3d/src/glx/tests/
Dfake_glx_screen.h94 unsigned num_attribs, in create_attribs() argument
99 (void) num_attribs; in create_attribs()
138 unsigned num_attribs, in create_attribs() argument
143 (void) num_attribs; in create_attribs()
Dcreate_context_unittest.cpp80 uint32_t num_attribs, in xcb_glx_create_context_attribs_arb_checked() argument
91 req.num_attribs = num_attribs; in xcb_glx_create_context_attribs_arb_checked()
93 if (num_attribs != 0 && attribs != NULL) in xcb_glx_create_context_attribs_arb_checked()
94 memcpy(sent_attribs, attribs, num_attribs * 2 * sizeof(uint32_t)); in xcb_glx_create_context_attribs_arb_checked()
306 EXPECT_EQ(4u, req.num_attribs); in TEST_F()
318 EXPECT_EQ(0u, req.num_attribs); in TEST_F()
326 EXPECT_EQ(0u, req.num_attribs); in TEST_F()
/external/mesa3d/src/gallium/state_trackers/va/
Dva_config.c86 VAConfigAttrib *attrib_list, int num_attribs) in vlVaGetConfigAttributes() argument
96 VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id) in vlVaCreateConfig() argument
115 VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs) in vlVaQueryConfigAttributes() argument
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/
Dva_config.c86 VAConfigAttrib *attrib_list, int num_attribs) in vlVaGetConfigAttributes() argument
96 VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id) in vlVaCreateConfig() argument
115 VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs) in vlVaQueryConfigAttributes() argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_state_derived.c67 vinfo->num_attribs = 0; in compute_vertex_info()
87 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs; in compute_vertex_info()
103 llvmpipe->bcolor_slot[i] = (int)vinfo->num_attribs; in compute_vertex_info()
115 llvmpipe->psize_slot = vinfo->num_attribs; in compute_vertex_info()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_derived.c67 vinfo->num_attribs = 0; in compute_vertex_info()
87 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs; in compute_vertex_info()
103 llvmpipe->bcolor_slot[i] = (int)vinfo->num_attribs; in compute_vertex_info()
115 llvmpipe->psize_slot = vinfo->num_attribs; in compute_vertex_info()
/external/chromium_org/third_party/libva/va/
Dva_backend.h77 int num_attribs
85 int num_attribs,
100 int *num_attribs /* out */
401 unsigned int num_attribs
413 unsigned int num_attribs
421 unsigned int *num_attribs
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_program.c263 so->num_attribs[b] = 0; in nv50_program_create_strmout_state()
268 so->num_attribs[b] = MAX2(so->num_attribs[b], end); in nv50_program_create_strmout_state()
276 assert(!so->num_attribs[b] || so->num_attribs[b] == pso->stride[b]); in nv50_program_create_strmout_state()
277 so->stride[b] = so->num_attribs[b] * 4; in nv50_program_create_strmout_state()
278 if (so->num_attribs[b]) in nv50_program_create_strmout_state()
280 base[b] = align(base[b - 1] + so->num_attribs[b - 1], 4); in nv50_program_create_strmout_state()
287 so->map_size = base[3] + so->num_attribs[3]; in nv50_program_create_strmout_state()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
Dnv50_program.c263 so->num_attribs[b] = 0; in nv50_program_create_strmout_state()
268 so->num_attribs[b] = MAX2(so->num_attribs[b], end); in nv50_program_create_strmout_state()
276 assert(!so->num_attribs[b] || so->num_attribs[b] == pso->stride[b]); in nv50_program_create_strmout_state()
277 so->stride[b] = so->num_attribs[b] * 4; in nv50_program_create_strmout_state()
278 if (so->num_attribs[b]) in nv50_program_create_strmout_state()
280 base[b] = align(base[b - 1] + so->num_attribs[b - 1], 4); in nv50_program_create_strmout_state()
287 so->map_size = base[3] + so->num_attribs[3]; in nv50_program_create_strmout_state()

12345