HomeSort by relevance Sort by last modified time
    Searched defs:cso (Results 1 - 19 of 19) sorted by null

  /external/mesa3d/src/gallium/state_trackers/xorg/
xorg_renderer.h 21 struct cso_context *cso; member in struct:xorg_renderer
  /external/mesa3d/src/gallium/auxiliary/postprocess/
pp_program.h 41 struct cso_context *cso; member in struct:program
  /external/mesa3d/src/mesa/state_tracker/
st_context.c 284 struct cso_context *cso = st->cso_context; local
288 /* need to unbind and destroy CSO objects before anything else */
319 cso_destroy_context(cso);
st_cb_drawtex.c 110 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, numAttribs, velements)
    [all...]
st_cb_bitmap.c 415 struct cso_context *cso = st->cso_context; local
456 cso_save_rasterizer(cso);
457 cso_save_samplers(cso, PIPE_SHADER_FRAGMENT);
458 cso_save_sampler_views(cso, PIPE_SHADER_FRAGMENT);
459 cso_save_viewport(cso);
460 cso_save_fragment_shader(cso);
461 cso_save_stream_outputs(cso);
462 cso_save_vertex_shader(cso);
463 cso_save_geometry_shader(cso);
464 cso_save_vertex_elements(cso);
    [all...]
st_cb_drawpixels.c 667 struct cso_context *cso = st->cso_context; local
681 cso_save_rasterizer(cso);
682 cso_save_viewport(cso);
683 cso_save_samplers(cso, PIPE_SHADER_FRAGMENT);
684 cso_save_sampler_views(cso, PIPE_SHADER_FRAGMENT);
685 cso_save_fragment_shader(cso);
686 cso_save_stream_outputs(cso);
687 cso_save_vertex_shader(cso);
688 cso_save_geometry_shader(cso);
689 cso_save_vertex_elements(cso);
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
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_keymap.c 31 * Like Jose's util_hash_table, based on CSO cache code for now.
48 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))
    [all...]
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_gen_mipmap.c 60 struct cso_context *cso; member in struct:gen_mipmap_state
    [all...]
u_vbuf.c 130 static void u_vbuf_delete_vertex_elements(struct u_vbuf *mgr, void *cso);
194 * its own preprocessed state per vertex element CSO. */
215 struct cso_velements *cso = MALLOC_STRUCT(cso_velements); local
216 memcpy(&cso->state, &velems_state, key_size);
217 cso->data = u_vbuf_create_vertex_elements(mgr, count, states);
218 cso->delete_state = (cso_state_callback)u_vbuf_delete_vertex_elements;
219 cso->context = (void*)mgr;
221 iter = cso_insert_state(mgr->cso_cache, hash_key, CSO_VELEMENTS, cso);
222 ve = cso->data;
704 static void u_vbuf_delete_vertex_elements(struct u_vbuf *mgr, void *cso)
    [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/mesa3d/src/gallium/auxiliary/cso_cache/
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/tests/trivial/
quad-tex.c 68 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, &p->rasterizer)
    [all...]
tri.c 66 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, &p->viewport)
    [all...]
  /external/mesa3d/src/gallium/drivers/i915/
i915_state.c 222 struct i915_sampler_state *cso = CALLOC_STRUCT( i915_sampler_state ); local
229 cso->templ = *sampler;
239 cso->state[0] |= SS2_MAX_ANISO_4;
245 cso->state[0] |= ((b << SS2_LOD_BIAS_SHIFT) & SS2_LOD_BIAS_MASK);
252 cso->state[0] |= (SS2_SHADOW_ENABLE |
259 cso->state[0] |= ((minFilt << SS2_MIN_FILTER_SHIFT) |
263 cso->state[1] |=
269 cso->state[1] |= SS3_NORMALIZED_COORDS;
280 cso->minlod = minlod;
281 cso->maxlod = maxlod
442 struct i915_depth_stencil_state *cso = CALLOC_STRUCT( i915_depth_stencil_state ); local
886 struct i915_rasterizer_state *cso = CALLOC_STRUCT( i915_rasterizer_state ); local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xa/
xa_priv.h 84 struct cso_context *cso; member in struct:xa_context
  /external/mesa3d/src/gallium/state_trackers/vega/
renderer.c 78 struct cso_context *cso; member in struct:renderer
257 cso_set_vertex_shader_handle(r->cso, r->cached_vs[id]);
331 cso_set_fragment_shader_handle(r->cso, r->cached_fs[id]);
355 cso_set_viewport(r->cso, &viewport);
376 cso_set_framebuffer(r->cso, &fb);
407 cso_set_blend(r->cso, &blend);
438 cso_single_sampler(r->cso, PIPE_SHADER_FRAGMENT, i, &sampler);
439 cso_single_sampler_done(r->cso, PIPE_SHADER_FRAGMENT);
442 cso_set_sampler_views(r->cso, PIPE_SHADER_FRAGMENT, num_views, views);
460 cso_set_fragment_shader_handle(renderer->cso, fs)
    [all...]

Completed in 241 milliseconds