/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_draw_quad.h | 48 uint num_attribs, uint num_verts, uint prim_type); 52 uint prim_type, uint num_verts, uint num_attribs);
|
H A D | u_draw_quad.c | 48 uint num_attribs) 52 assert(num_attribs <= PIPE_MAX_ATTRIBS); 57 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ 78 uint prim_type, uint num_verts, uint num_attribs) 82 assert(num_attribs <= PIPE_MAX_ATTRIBS); 85 vbuffer.stride = num_attribs * 4 * sizeof(float); /* vertex size */ 42 util_draw_vertex_buffer(struct pipe_context *pipe, struct cso_context *cso, struct pipe_resource *vbuf, uint offset, uint prim_type, uint num_verts, uint num_attribs) argument 77 util_draw_user_vertex_buffer(struct cso_context *cso, void *buffer, uint prim_type, uint num_verts, uint num_attribs) argument
|
H A D | u_simple_shaders.h | 48 uint num_attribs, 54 uint num_attribs,
|
H A D | u_simple_shaders.c | 54 * \param num_attribs number of attributes to pass through 60 uint num_attribs, 64 return util_make_vertex_passthrough_shader_with_so(pipe, num_attribs, 71 uint num_attribs, 83 for (i = 0; i < num_attribs; i++) { 59 util_make_vertex_passthrough_shader(struct pipe_context *pipe, uint num_attribs, const uint *semantic_names, const uint *semantic_indexes) argument 70 util_make_vertex_passthrough_shader_with_so(struct pipe_context *pipe, uint num_attribs, const uint *semantic_names, const uint *semantic_indexes, const struct pipe_stream_output_info *so) argument
|
/external/mesa3d/src/glx/ |
H A D | create_context.c | 45 unsigned num_attribs = 0; local 69 for (/* empty */; attrib_list[num_attribs * 2] != 0; num_attribs++) 78 gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs, 109 num_attribs,
|
H A D | dri_common.h | 73 dri2_convert_glx_attribs(unsigned num_attribs, const uint32_t *attribs,
|
H A D | glx_pbuffer.c | 83 const CARD32 * attribs, size_t num_attribs) 106 GetReqExtra(GLXChangeDrawableAttributes, 8 * num_attribs, req); 112 req->numAttribs = (CARD32) num_attribs; 117 GetReqExtra(GLXVendorPrivateWithReply, 8 + (8 * num_attribs), vpreq); 125 output[1] = num_attribs; 129 (void) memcpy(output, attribs, sizeof(CARD32) * 2 * num_attribs); 140 for (i = 0; i < num_attribs; i++) { 193 const int *attrib_list, size_t num_attribs) 215 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs); 216 pdraw->textureFormat = determineTextureFormat(attrib_list, num_attribs); 82 ChangeDrawableAttribute(Display * dpy, GLXDrawable drawable, const CARD32 * attribs, size_t num_attribs) argument 191 CreateDRIDrawable(Display *dpy, struct glx_config *config, XID drawable, XID glxdrawable, const int *attrib_list, size_t num_attribs) argument 240 CreateDRIDrawable(Display *dpy, const struct glx_config * fbconfig, XID drawable, XID glxdrawable, const int *attrib_list, size_t num_attribs) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_vertex.h | 80 uint num_attribs; member in struct:vertex_info 97 return offsetof(const struct vertex_info, attrib[a->num_attribs]); 130 const uint n = vinfo->num_attribs; 135 vinfo->num_attribs++;
|
H A D | draw_vertex.c | 51 for (i = 0; i < vinfo->num_attribs; i++) 65 for (i = 0; i < vinfo->num_attribs; i++) {
|
H A D | draw_pt_emit.c | 78 for (i = 0; i < vinfo->num_attribs; i++) { 106 hw_key.nr_elements = vinfo->num_attribs;
|
/external/mesa3d/src/gallium/state_trackers/va/ |
H A D | va_config.c | 86 VAConfigAttrib *attrib_list, int num_attribs) 96 VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id) 115 VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs) 85 vlVaGetConfigAttributes(VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs) argument 95 vlVaCreateConfig(VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id) argument 114 vlVaQueryConfigAttributes(VADriverContextP ctx, VAConfigID config_id, VAProfile *profile, VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs) argument
|
H A D | va_private.h | 75 VAStatus vlVaGetConfigAttributes (VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs); 76 VAStatus vlVaCreateConfig (VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id); 78 VAStatus vlVaQueryConfigAttributes (VADriverContextP ctx, VAConfigID config_id, VAProfile *profile, VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs);
|
/external/mesa3d/src/glx/tests/ |
H A D | fake_glx_screen.h | 94 unsigned num_attribs, 99 (void) num_attribs; 138 unsigned num_attribs, 143 (void) num_attribs; 91 create_attribs(struct glx_screen *psc, struct glx_config *mode, struct glx_context *shareList, unsigned num_attribs, const uint32_t *attribs, unsigned *error) argument 135 create_attribs(struct glx_screen *psc, struct glx_config *mode, struct glx_context *shareList, unsigned num_attribs, const uint32_t *attribs, unsigned *error) argument
|
H A D | create_context_unittest.cpp | 80 uint32_t num_attribs, 91 req.num_attribs = num_attribs; 93 if (num_attribs != 0 && attribs != NULL) 94 memcpy(sent_attribs, attribs, num_attribs * 2 * sizeof(uint32_t)); 306 EXPECT_EQ(4u, req.num_attribs); 318 EXPECT_EQ(0u, req.num_attribs); 326 EXPECT_EQ(0u, req.num_attribs); 74 xcb_glx_create_context_attribs_arb_checked(xcb_connection_t *c, xcb_glx_context_t context, uint32_t fbconfig, uint32_t screen, uint32_t share_list, uint8_t is_direct, uint32_t num_attribs, const uint32_t *attribs) argument
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_drawtex.c | 44 uint num_attribs; member in struct:cached_shader 61 uint num_attribs, 69 if (CachedShaders[i].num_attribs == num_attribs) { 71 for (j = 0; j < num_attribs; j++) { 88 CachedShaders[i].num_attribs = num_attribs; 89 for (j = 0; j < num_attribs; j++) { 96 num_attribs, 60 lookup_shader(struct pipe_context *pipe, uint num_attribs, const uint *semantic_names, const uint *semantic_indexes) argument
|
H A D | st_draw_feedback.c | 67 vinfo.num_attribs = 1; 74 vinfo.num_attribs = st->state.vs->cso->state.num_outputs; 75 for (i = 0; i < vinfo.num_attribs; i++) {
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_derived.c | 67 vinfo->num_attribs = 0; 87 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs; 103 llvmpipe->bcolor_slot[i] = (int)vinfo->num_attribs; 115 llvmpipe->psize_slot = vinfo->num_attribs;
|
H A D | lp_bld_interp.h | 84 unsigned num_attribs; member in struct:lp_build_interp_soa_context
|
H A D | lp_bld_interp.c | 171 for (attrib = 0; attrib < bld->num_attribs; ++attrib) { 386 for (attrib = 0; attrib < bld->num_attribs; ++attrib) { 740 bld->num_attribs = 1 + num_inputs; 743 for (attrib = 0; attrib < bld->num_attribs; ++attrib) { 802 attribs_update_simple(bld, gallivm, quad_start_index, NULL, 1, bld->num_attribs); 805 attribs_update(bld, gallivm, quad_start_index, NULL, 1, bld->num_attribs); 830 attribs_update_simple(bld, gallivm, 0, quad_start_index, 1, bld->num_attribs); 833 attribs_update(bld, gallivm, 0, quad_start_index, 1, bld->num_attribs);
|
/external/mesa3d/src/gallium/drivers/nv50/ |
H A D | nv50_program.h | 47 uint8_t num_attribs[4]; member in struct:nv50_stream_output_state
|
H A D | nv50_program.c | 263 so->num_attribs[b] = 0; 268 so->num_attribs[b] = MAX2(so->num_attribs[b], end); 276 assert(!so->num_attribs[b] || so->num_attribs[b] == pso->stride[b]); 277 so->stride[b] = so->num_attribs[b] * 4; 278 if (so->num_attribs[b]) 280 base[b] = align(base[b - 1] + so->num_attribs[b - 1], 4); 287 so->map_size = base[3] + so->num_attribs[3];
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_derived.c | 50 softpipe->vertex_info.num_attribs = 0; 67 if (vinfo->num_attribs == 0) { 78 vinfo_vbuf->num_attribs = 0; 88 vinfo->num_attribs = 0;
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
H A D | drisw_util.c | 100 unsigned num_attribs, 113 /* Either num_attribs is zero and attribs is NULL, or num_attribs is not 116 assert((num_attribs == 0) == (attribs == NULL)); 133 for (unsigned i = 0; i < num_attribs; i++) { 97 driCreateContextAttribs(__DRIscreen *screen, int api, const __DRIconfig *config, __DRIcontext *shared, unsigned num_attribs, const uint32_t *attribs, unsigned *error, void *data) argument
|
/external/mesa3d/src/egl/drivers/dri2/ |
H A D | egl_dri2.c | 787 unsigned num_attribs = 0; local 790 ctx_attribs[num_attribs++] = __DRI_CTX_ATTRIB_MAJOR_VERSION; 791 ctx_attribs[num_attribs++] = dri2_ctx->base.ClientMajorVersion; 792 ctx_attribs[num_attribs++] = __DRI_CTX_ATTRIB_MINOR_VERSION; 793 ctx_attribs[num_attribs++] = dri2_ctx->base.ClientMinorVersion; 806 ctx_attribs[num_attribs++] = __DRI_CTX_ATTRIB_FLAGS; 807 ctx_attribs[num_attribs++] = dri2_ctx->base.Flags; 820 ctx_attribs[num_attribs++] = __DRI_CTX_ATTRIB_RESET_STRATEGY; 821 ctx_attribs[num_attribs++] = __DRI_CTX_RESET_LOSE_CONTEXT; 824 assert(num_attribs < [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv30_draw.c | 125 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); 126 for (i = 0; i < r->vertex_info.num_attribs; i++) { 170 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); 171 for (i = 0; i < r->vertex_info.num_attribs; i++) { 295 vinfo->num_attribs = 0;
|