HomeSort by relevance Sort by last modified time
    Searched refs:cso (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/
cso_context.h 48 void cso_destroy_context( struct cso_context *cso );
52 enum pipe_error cso_set_blend( struct cso_context *cso,
54 void cso_save_blend(struct cso_context *cso);
55 void cso_restore_blend(struct cso_context *cso);
59 enum pipe_error cso_set_depth_stencil_alpha( struct cso_context *cso,
61 void cso_save_depth_stencil_alpha(struct cso_context *cso);
62 void cso_restore_depth_stencil_alpha(struct cso_context *cso);
66 enum pipe_error cso_set_rasterizer( struct cso_context *cso,
68 void cso_save_rasterizer(struct cso_context *cso);
69 void cso_restore_rasterizer(struct cso_context *cso);
    [all...]
cso_cache.c 92 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->data)
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...]
cso_context.c 31 * Wrap the cso cache & hash mechanisms in a simplified
125 struct cso_blend *cso = (struct cso_blend *)state; local
127 if (ctx->blend == cso->data)
130 if (cso->delete_state)
131 cso->delete_state(cso->context, cso->data);
138 struct cso_depth_stencil_alpha *cso = local
141 if (ctx->depth_stencil == cso->data)
144 if (cso->delete_state
153 struct cso_sampler *cso = (struct cso_sampler *)state; local
162 struct cso_rasterizer *cso = (struct cso_rasterizer *)state; local
175 struct cso_velements *cso = (struct cso_velements *)state; local
224 void *cso = cso_hash_iter_data(iter); local
384 struct cso_blend *cso = MALLOC(sizeof(struct cso_blend)); local
443 struct cso_depth_stencil_alpha *cso = local
506 struct cso_rasterizer *cso = MALLOC(sizeof(struct cso_rasterizer)); local
845 struct cso_velements *cso = MALLOC(sizeof(struct cso_velements)); local
985 struct cso_sampler *cso = MALLOC(sizeof(struct cso_sampler)); local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/cso_cache/
cso_context.h 48 void cso_destroy_context( struct cso_context *cso );
52 enum pipe_error cso_set_blend( struct cso_context *cso,
54 void cso_save_blend(struct cso_context *cso);
55 void cso_restore_blend(struct cso_context *cso);
59 enum pipe_error cso_set_depth_stencil_alpha( struct cso_context *cso,
61 void cso_save_depth_stencil_alpha(struct cso_context *cso);
62 void cso_restore_depth_stencil_alpha(struct cso_context *cso);
66 enum pipe_error cso_set_rasterizer( struct cso_context *cso,
68 void cso_save_rasterizer(struct cso_context *cso);
69 void cso_restore_rasterizer(struct cso_context *cso);
    [all...]
cso_cache.c 92 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->data)
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/auxiliary/util/
u_draw_quad.h 46 util_draw_vertex_buffer(struct pipe_context *pipe, struct cso_context *cso,
51 util_draw_user_vertex_buffer(struct cso_context *cso, void *buffer,
55 util_draw_texquad(struct pipe_context *pipe, struct cso_context *cso,
u_blit.c 57 struct cso_context *cso; member in struct:blit_state
90 util_create_blit(struct pipe_context *pipe, struct cso_context *cso)
100 ctx->cso = cso;
214 cso_set_fragment_shader_handle(ctx->cso, ctx->fs[pipe_tex][writemask]);
233 cso_set_fragment_shader_handle(ctx->cso, ctx->fs_depthstencil[pipe_tex]);
252 cso_set_fragment_shader_handle(ctx->cso, ctx->fs_depth[pipe_tex]);
271 cso_set_fragment_shader_handle(ctx->cso, ctx->fs_stencil[pipe_tex]);
293 cso_set_vertex_shader_handle(ctx->cso, ctx->vs);
655 cso_save_blend(ctx->cso);
    [all...]
u_hash_table.c 52 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...]
u_draw_quad.c 43 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,
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,
148 util_draw_vertex_buffer(pipe, cso, vbuf, 0, PIPE_PRIM_TRIANGLE_FAN, 4, 2);
  /external/mesa3d/src/gallium/auxiliary/util/
u_draw_quad.h 46 util_draw_vertex_buffer(struct pipe_context *pipe, struct cso_context *cso,
51 util_draw_user_vertex_buffer(struct cso_context *cso, void *buffer,
55 util_draw_texquad(struct pipe_context *pipe, struct cso_context *cso,
u_blit.c 57 struct cso_context *cso; member in struct:blit_state
90 util_create_blit(struct pipe_context *pipe, struct cso_context *cso)
100 ctx->cso = cso;
214 cso_set_fragment_shader_handle(ctx->cso, ctx->fs[pipe_tex][writemask]);
233 cso_set_fragment_shader_handle(ctx->cso, ctx->fs_depthstencil[pipe_tex]);
252 cso_set_fragment_shader_handle(ctx->cso, ctx->fs_depth[pipe_tex]);
271 cso_set_fragment_shader_handle(ctx->cso, ctx->fs_stencil[pipe_tex]);
293 cso_set_vertex_shader_handle(ctx->cso, ctx->vs);
655 cso_save_blend(ctx->cso);
    [all...]
u_hash_table.c 52 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...]
u_draw_quad.c 43 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,
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,
148 util_draw_vertex_buffer(pipe, cso, vbuf, 0, PIPE_PRIM_TRIANGLE_FAN, 4, 2);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
svga_pipe_sampler.c 99 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->addressu = translate_wrap_mode(sampler->wrap_s)
    [all...]
  /external/mesa3d/src/gallium/drivers/svga/
svga_pipe_sampler.c 99 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->addressu = translate_wrap_mode(sampler->wrap_s)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
nv30_state.c 38 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->rt[0].colormask & PIPE_MASK_B)
    [all...]
nv30_texture.c 62 filter_mode(const struct pipe_sampler_state *cso)
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)
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;
    [all...]
  /external/mesa3d/src/gallium/drivers/nv30/
nv30_state.c 38 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->rt[0].colormask & PIPE_MASK_B)
    [all...]
nv30_texture.c 62 filter_mode(const struct pipe_sampler_state *cso)
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)
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;
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
nv50_state.c 117 const struct pipe_blend_state *cso)
121 boolean emit_common_func = cso->rt[0].blend_enable;
126 SB_DATA (so, cso->independent_blend_enable);
129 so->pipe = *cso;
132 SB_DATA (so, !cso->independent_blend_enable);
135 SB_DATA (so, !cso->independent_blend_enable);
137 if (cso->independent_blend_enable) {
140 SB_DATA(so, cso->rt[i].blend_enable);
141 if (cso->rt[i].blend_enable)
149 if (!cso->rt[i].blend_enable
    [all...]
  /external/mesa3d/src/gallium/drivers/nv50/
nv50_state.c 117 const struct pipe_blend_state *cso)
121 boolean emit_common_func = cso->rt[0].blend_enable;
126 SB_DATA (so, cso->independent_blend_enable);
129 so->pipe = *cso;
132 SB_DATA (so, !cso->independent_blend_enable);
135 SB_DATA (so, !cso->independent_blend_enable);
137 if (cso->independent_blend_enable) {
140 SB_DATA(so, cso->rt[i].blend_enable);
141 if (cso->rt[i].blend_enable)
149 if (!cso->rt[i].blend_enable
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
nvc0_state.c 87 const struct pipe_blend_state *cso)
97 so->pipe = *cso;
100 if (cso->independent_blend_enable) {
101 for (r = 0; r < 8 && !cso->rt[r].blend_enable; ++r);
104 if (!cso->rt[i].blend_enable)
107 if (cso->rt[i].rgb_func != cso->rt[r].rgb_func ||
108 cso->rt[i].rgb_src_factor != cso->rt[r].rgb_src_factor ||
109 cso->rt[i].rgb_dst_factor != cso->rt[r].rgb_dst_factor |
    [all...]
  /external/mesa3d/src/gallium/drivers/nvc0/
nvc0_state.c 87 const struct pipe_blend_state *cso)
97 so->pipe = *cso;
100 if (cso->independent_blend_enable) {
101 for (r = 0; r < 8 && !cso->rt[r].blend_enable; ++r);
104 if (!cso->rt[i].blend_enable)
107 if (cso->rt[i].rgb_func != cso->rt[r].rgb_func ||
108 cso->rt[i].rgb_src_factor != cso->rt[r].rgb_src_factor ||
109 cso->rt[i].rgb_dst_factor != cso->rt[r].rgb_dst_factor |
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/postprocess/
pp_colors.c 46 cso_single_sampler(p->cso, PIPE_SHADER_FRAGMENT, 0, &p->sampler_point);
47 cso_single_sampler_done(p->cso, PIPE_SHADER_FRAGMENT);
48 cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 1, &p->view);
50 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][0]);
51 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][1]);
  /external/mesa3d/src/gallium/auxiliary/postprocess/
pp_colors.c 46 cso_single_sampler(p->cso, PIPE_SHADER_FRAGMENT, 0, &p->sampler_point);
47 cso_single_sampler_done(p->cso, PIPE_SHADER_FRAGMENT);
48 cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 1, &p->view);
50 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][0]);
51 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][1]);

Completed in 2222 milliseconds

1 2 3 4