Searched defs:cso (Results 1 - 25 of 58) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
H A Dxorg_renderer.h21 struct cso_context *cso; member in struct:xorg_renderer
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_renderer.h21 struct cso_context *cso; member in struct:xorg_renderer
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/postprocess/
H A Dpp_program.h41 struct cso_context *cso; member in struct:program
/external/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpp_program.h41 struct cso_context *cso; member in struct:program
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_draw_quad.c43 struct cso_context *cso,
62 if (cso) {
63 cso_set_vertex_buffers(cso, 1, &vbuffer);
64 cso_draw_arrays(cso, prim_type, 0, num_verts);
77 util_draw_user_vertex_buffer(struct cso_context *cso, void *buffer, argument
89 cso_set_vertex_buffers(cso, 1, &vbuffer);
90 cso_draw_arrays(cso, prim_type, 0, num_verts);
99 util_draw_texquad(struct pipe_context *pipe, struct cso_context *cso, argument
148 util_draw_vertex_buffer(pipe, cso, vbuf, 0, PIPE_PRIM_TRIANGLE_FAN, 4, 2);
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
H A Du_hash_table.c52 struct cso_hash *cso; member in struct:util_hash_table
88 ht->cso = cso_hash_create();
89 if(!ht->cso) {
109 iter = cso_hash_find(ht->cso, key_hash);
129 iter = cso_hash_find(ht->cso, key_hash);
170 iter = cso_hash_insert(ht->cso, key_hash, item);
223 cso_hash_erase(ht->cso, iter);
237 iter = cso_hash_first_node(ht->cso);
239 item = (struct util_hash_table_item *)cso_hash_take(ht->cso, cso_hash_iter_key(iter));
241 iter = cso_hash_first_node(ht->cso);
[all...]
H A Du_keymap.c48 struct cso_hash *cso; member in struct:keymap
117 map->cso = cso_hash_create();
118 if (!map->cso) {
141 cso_hash_delete(map->cso);
153 iter = cso_hash_find(map->cso, key_hash);
216 iter = cso_hash_insert(map->cso, key_hash, item);
283 cso_hash_erase(map->cso, iter);
301 iter = cso_hash_first_node(map->cso);
304 cso_hash_take(map->cso, cso_hash_iter_key(iter));
308 iter = cso_hash_first_node(map->cso);
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
H A Dnv30_fragprog.c132 const struct pipe_shader_state *cso)
138 fp->pipe.tokens = tgsi_dup_tokens(cso->tokens);
131 nv30_fp_state_create(struct pipe_context *pipe, const struct pipe_shader_state *cso) argument
H A Dnv30_vertprog.c221 const struct pipe_shader_state *cso)
227 vp->pipe.tokens = tgsi_dup_tokens(cso->tokens);
220 nv30_vp_state_create(struct pipe_context *pipe, const struct pipe_shader_state *cso) argument
H A Dnv30_texture.c62 filter_mode(const struct pipe_sampler_state *cso) argument
66 switch (cso->mag_img_filter) {
75 switch (cso->min_img_filter) {
77 switch (cso->min_mip_filter) {
90 switch (cso->min_mip_filter) {
108 compare_mode(const struct pipe_sampler_state *cso) argument
110 if (cso->compare_mode != PIPE_TEX_COMPARE_R_TO_TEXTURE)
113 switch (cso->compare_func) {
129 const struct pipe_sampler_state *cso)
139 so->pipe = *cso;
128 nv30_sampler_state_create(struct pipe_context *pipe, const struct pipe_sampler_state *cso) argument
[all...]
H A Dnv30_state.c38 const struct pipe_blend_state *cso)
48 so->pipe = *cso;
50 if (cso->logicop_enable) {
53 SB_DATA (so, nvgl_logicop_func(cso->logicop_func));
60 SB_DATA (so, cso->dither);
62 blend[0] = cso->rt[0].blend_enable;
63 cmask[0] = !!(cso->rt[0].colormask & PIPE_MASK_A) << 24 |
64 !!(cso->rt[0].colormask & PIPE_MASK_R) << 16 |
65 !!(cso->rt[0].colormask & PIPE_MASK_G) << 8 |
66 !!(cso
37 nv30_blend_state_create(struct pipe_context *pipe, const struct pipe_blend_state *cso) argument
132 nv30_rasterizer_state_create(struct pipe_context *pipe, const struct pipe_rasterizer_state *cso) argument
209 nv30_zsa_state_create(struct pipe_context *pipe, const struct pipe_depth_stencil_alpha_state *cso) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_context.c284 struct cso_context *cso = st->cso_context; local
319 cso_destroy_context(cso);
H A Dst_cb_drawtex.c110 struct cso_context *cso = ctx->st->cso_context; local
228 cso_save_viewport(cso);
229 cso_save_stream_outputs(cso);
230 cso_save_vertex_shader(cso);
231 cso_save_geometry_shader(cso);
232 cso_save_vertex_elements(cso);
233 cso_save_vertex_buffers(cso);
238 cso_set_vertex_shader_handle(cso, vs);
240 cso_set_geometry_shader_handle(cso, NULL);
248 cso_set_vertex_elements(cso, numAttrib
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_draw_quad.c43 struct cso_context *cso,
62 if (cso) {
63 cso_set_vertex_buffers(cso, 1, &vbuffer);
64 cso_draw_arrays(cso, prim_type, 0, num_verts);
77 util_draw_user_vertex_buffer(struct cso_context *cso, void *buffer, argument
89 cso_set_vertex_buffers(cso, 1, &vbuffer);
90 cso_draw_arrays(cso, prim_type, 0, num_verts);
99 util_draw_texquad(struct pipe_context *pipe, struct cso_context *cso, argument
148 util_draw_vertex_buffer(pipe, cso, vbuf, 0, PIPE_PRIM_TRIANGLE_FAN, 4, 2);
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
H A Du_hash_table.c52 struct cso_hash *cso; member in struct:util_hash_table
88 ht->cso = cso_hash_create();
89 if(!ht->cso) {
109 iter = cso_hash_find(ht->cso, key_hash);
129 iter = cso_hash_find(ht->cso, key_hash);
170 iter = cso_hash_insert(ht->cso, key_hash, item);
223 cso_hash_erase(ht->cso, iter);
237 iter = cso_hash_first_node(ht->cso);
239 item = (struct util_hash_table_item *)cso_hash_take(ht->cso, cso_hash_iter_key(iter));
241 iter = cso_hash_first_node(ht->cso);
[all...]
H A Du_keymap.c48 struct cso_hash *cso; member in struct:keymap
117 map->cso = cso_hash_create();
118 if (!map->cso) {
141 cso_hash_delete(map->cso);
153 iter = cso_hash_find(map->cso, key_hash);
216 iter = cso_hash_insert(map->cso, key_hash, item);
283 cso_hash_erase(map->cso, iter);
301 iter = cso_hash_first_node(map->cso);
304 cso_hash_take(map->cso, cso_hash_iter_key(iter));
308 iter = cso_hash_first_node(map->cso);
[all...]
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_fragprog.c132 const struct pipe_shader_state *cso)
138 fp->pipe.tokens = tgsi_dup_tokens(cso->tokens);
131 nv30_fp_state_create(struct pipe_context *pipe, const struct pipe_shader_state *cso) argument
H A Dnv30_vertprog.c221 const struct pipe_shader_state *cso)
227 vp->pipe.tokens = tgsi_dup_tokens(cso->tokens);
220 nv30_vp_state_create(struct pipe_context *pipe, const struct pipe_shader_state *cso) argument
H A Dnv30_texture.c62 filter_mode(const struct pipe_sampler_state *cso) argument
66 switch (cso->mag_img_filter) {
75 switch (cso->min_img_filter) {
77 switch (cso->min_mip_filter) {
90 switch (cso->min_mip_filter) {
108 compare_mode(const struct pipe_sampler_state *cso) argument
110 if (cso->compare_mode != PIPE_TEX_COMPARE_R_TO_TEXTURE)
113 switch (cso->compare_func) {
129 const struct pipe_sampler_state *cso)
139 so->pipe = *cso;
128 nv30_sampler_state_create(struct pipe_context *pipe, const struct pipe_sampler_state *cso) argument
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_context.c284 struct cso_context *cso = st->cso_context; local
319 cso_destroy_context(cso);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_pipe_sampler.c99 struct svga_sampler_state *cso = CALLOC_STRUCT( svga_sampler_state ); local
101 if (!cso)
104 cso->mipfilter = translate_mip_filter(sampler->min_mip_filter);
105 cso->magfilter = translate_img_filter( sampler->mag_img_filter );
106 cso->minfilter = translate_img_filter( sampler->min_img_filter );
107 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 );
109 cso->magfilter = cso->minfilter = SVGA3D_TEX_FILTER_ANISOTROPIC;
110 cso->lod_bias = sampler->lod_bias;
111 cso
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_sampler.c99 struct svga_sampler_state *cso = CALLOC_STRUCT( svga_sampler_state ); local
101 if (!cso)
104 cso->mipfilter = translate_mip_filter(sampler->min_mip_filter);
105 cso->magfilter = translate_img_filter( sampler->mag_img_filter );
106 cso->minfilter = translate_img_filter( sampler->min_img_filter );
107 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 );
109 cso->magfilter = cso->minfilter = SVGA3D_TEX_FILTER_ANISOTROPIC;
110 cso->lod_bias = sampler->lod_bias;
111 cso
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.c92 struct cso_blend *cso = (struct cso_blend *)state; local
93 if (cso->delete_state)
94 cso->delete_state(cso->context, cso->data);
100 struct cso_depth_stencil_alpha *cso = (struct cso_depth_stencil_alpha *)state; local
101 if (cso->delete_state)
102 cso->delete_state(cso->context, cso
108 struct cso_sampler *cso = (struct cso_sampler *)state; local
116 struct cso_rasterizer *cso = (struct cso_rasterizer *)state; local
124 struct cso_velements *cso = (struct cso_velements *)state; local
179 void *cso = cso_hash_take(hash, cso_hash_iter_key(iter)); local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/
H A Dquad-tex.c68 struct cso_context *cso; member in struct:program
102 /* create the pipe driver context and cso context */
104 p->cso = cso_create_context(p->pipe);
285 cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 0, NULL);
288 cso_release_all(p->cso);
299 cso_destroy_context(p->cso);
310 cso_set_framebuffer(p->cso, &p->framebuffer);
316 cso_set_blend(p->cso, &p->blend);
317 cso_set_depth_stencil_alpha(p->cso, &p->depthstencil);
318 cso_set_rasterizer(p->cso,
[all...]
H A Dtri.c66 struct cso_context *cso; member in struct:program
97 /* create the pipe driver context and cso context */
99 p->cso = cso_create_context(p->pipe);
226 cso_release_all(p->cso);
235 cso_destroy_context(p->cso);
246 cso_set_framebuffer(p->cso, &p->framebuffer);
252 cso_set_blend(p->cso, &p->blend);
253 cso_set_depth_stencil_alpha(p->cso, &p->depthstencil);
254 cso_set_rasterizer(p->cso, &p->rasterizer);
255 cso_set_viewport(p->cso,
[all...]

Completed in 359 milliseconds

123