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

1 2

  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
svga_draw.c 49 struct svga_hwtnl *hwtnl = CALLOC_STRUCT(svga_hwtnl); local
50 if (hwtnl == NULL)
53 hwtnl->svga = svga;
54 hwtnl->upload_ib = upload_ib;
56 hwtnl->cmd.swc = swc;
58 return hwtnl;
64 void svga_hwtnl_destroy( struct svga_hwtnl *hwtnl )
70 pipe_resource_reference( &hwtnl->index_cache[i][j].buffer,
75 for (i = 0; i < hwtnl->cmd.vdecl_count; i++)
76 pipe_resource_reference(&hwtnl->cmd.vdecl_vb[i], NULL)
    [all...]
svga_draw.h 44 void svga_hwtnl_destroy( struct svga_hwtnl *hwtnl );
46 void svga_hwtnl_set_flatshade( struct svga_hwtnl *hwtnl,
50 void svga_hwtnl_set_unfilled( struct svga_hwtnl *hwtnl,
53 void svga_hwtnl_vdecl( struct svga_hwtnl *hwtnl,
58 void svga_hwtnl_reset_vdecl( struct svga_hwtnl *hwtnl,
63 svga_hwtnl_draw_arrays( struct svga_hwtnl *hwtnl,
69 svga_hwtnl_draw_range_elements( struct svga_hwtnl *hwtnl,
80 svga_hwtnl_is_buffer_referred( struct svga_hwtnl *hwtnl,
84 svga_hwtnl_flush( struct svga_hwtnl *hwtnl );
86 void svga_hwtnl_set_index_bias( struct svga_hwtnl *hwtnl,
    [all...]
svga_draw_arrays.c 42 static enum pipe_error generate_indices( struct svga_hwtnl *hwtnl,
48 struct pipe_context *pipe = &hwtnl->svga->pipe;
94 static enum pipe_error retrieve_or_generate_indices( struct svga_hwtnl *hwtnl,
106 if (hwtnl->index_cache[prim][i].buffer != NULL &&
107 hwtnl->index_cache[prim][i].generate == generate)
109 if (compare(hwtnl->index_cache[prim][i].gen_nr, gen_nr, gen_type))
112 hwtnl->index_cache[prim][i].buffer );
121 pipe_resource_reference( &hwtnl->index_cache[prim][i].buffer,
126 i, hwtnl->index_cache[prim][i].gen_nr);
139 if (hwtnl->index_cache[prim][i].buffer == NULL
    [all...]
svga_draw_elements.c 41 translate_indices( struct svga_hwtnl *hwtnl,
49 struct pipe_context *pipe = &hwtnl->svga->pipe;
100 svga_hwtnl_simple_draw_range_elements( struct svga_hwtnl *hwtnl,
126 ret = u_upload_buffer( hwtnl->upload_ib,
150 ret = svga_hwtnl_prim( hwtnl, &range, min_index, max_index, index_buffer );
165 svga_hwtnl_draw_range_elements( struct svga_hwtnl *hwtnl,
177 if (hwtnl->api_fillmode != PIPE_POLYGON_MODE_FILL &&
183 hwtnl->api_fillmode,
195 hwtnl->api_pv,
196 hwtnl->hw_pv
    [all...]
svga_swtnl_backend.c 187 ret = svga_hwtnl_flush(svga->hwtnl);
190 ret = svga_hwtnl_flush(svga->hwtnl);
196 svga_hwtnl_reset_vdecl(svga->hwtnl, svga_render->vdecl_count);
201 svga_hwtnl_vdecl( svga->hwtnl,
207 /* We have already taken care of flatshading, so let the hwtnl
211 svga_hwtnl_set_flatshade(svga->hwtnl, FALSE, FALSE);
212 svga_hwtnl_set_unfilled(svga->hwtnl, PIPE_POLYGON_MODE_FILL);
215 svga_hwtnl_set_flatshade( svga->hwtnl,
219 svga_hwtnl_set_unfilled( svga->hwtnl,
245 ret = svga_hwtnl_draw_arrays(svga->hwtnl, svga_render->prim, start + bias, nr)
    [all...]
svga_draw_private.h 149 svga_hwtnl_prim( struct svga_hwtnl *hwtnl,
156 svga_hwtnl_simple_draw_range_elements( struct svga_hwtnl *hwtnl,
svga_context.c 62 svga_hwtnl_destroy( svga->hwtnl );
151 svga->hwtnl = svga_hwtnl_create( svga,
154 if (svga->hwtnl == NULL)
183 svga_hwtnl_destroy( svga->hwtnl );
251 ret = svga_hwtnl_flush( svga->hwtnl );
254 ret = svga_hwtnl_flush( svga->hwtnl );
269 if (svga_hwtnl_is_buffer_referred(svga->hwtnl, buffer)) {
svga_state_vdecl.c 56 svga_hwtnl_reset_vdecl( svga->hwtnl,
123 svga_hwtnl_vdecl( svga->hwtnl,
130 svga_hwtnl_set_index_bias( svga->hwtnl, -neg_bias );
149 "hw vertex decl state (hwtnl version)",
svga_pipe_draw.c 233 svga_hwtnl_set_unfilled( svga->hwtnl,
236 svga_hwtnl_set_flatshade( svga->hwtnl,
249 ret = svga_hwtnl_draw_range_elements( svga->hwtnl,
284 svga_hwtnl_set_unfilled( svga->hwtnl,
287 svga_hwtnl_set_flatshade( svga->hwtnl,
300 ret = svga_hwtnl_draw_arrays( svga->hwtnl, prim,
373 /* Avoid leaking the previous hwtnl bias to swtnl */
374 svga_hwtnl_set_index_bias( svga->hwtnl, 0 );
svga_state.c 130 ret = svga_hwtnl_flush( svga->hwtnl );
svga_context.h 366 struct svga_hwtnl *hwtnl; member in struct:svga_context
  /external/mesa3d/src/gallium/drivers/svga/
svga_draw.c 49 struct svga_hwtnl *hwtnl = CALLOC_STRUCT(svga_hwtnl); local
50 if (hwtnl == NULL)
53 hwtnl->svga = svga;
54 hwtnl->upload_ib = upload_ib;
56 hwtnl->cmd.swc = swc;
58 return hwtnl;
64 void svga_hwtnl_destroy( struct svga_hwtnl *hwtnl )
70 pipe_resource_reference( &hwtnl->index_cache[i][j].buffer,
75 for (i = 0; i < hwtnl->cmd.vdecl_count; i++)
76 pipe_resource_reference(&hwtnl->cmd.vdecl_vb[i], NULL)
    [all...]
svga_draw.h 44 void svga_hwtnl_destroy( struct svga_hwtnl *hwtnl );
46 void svga_hwtnl_set_flatshade( struct svga_hwtnl *hwtnl,
50 void svga_hwtnl_set_unfilled( struct svga_hwtnl *hwtnl,
53 void svga_hwtnl_vdecl( struct svga_hwtnl *hwtnl,
58 void svga_hwtnl_reset_vdecl( struct svga_hwtnl *hwtnl,
63 svga_hwtnl_draw_arrays( struct svga_hwtnl *hwtnl,
69 svga_hwtnl_draw_range_elements( struct svga_hwtnl *hwtnl,
80 svga_hwtnl_is_buffer_referred( struct svga_hwtnl *hwtnl,
84 svga_hwtnl_flush( struct svga_hwtnl *hwtnl );
86 void svga_hwtnl_set_index_bias( struct svga_hwtnl *hwtnl,
    [all...]
svga_draw_arrays.c 42 static enum pipe_error generate_indices( struct svga_hwtnl *hwtnl,
48 struct pipe_context *pipe = &hwtnl->svga->pipe;
94 static enum pipe_error retrieve_or_generate_indices( struct svga_hwtnl *hwtnl,
106 if (hwtnl->index_cache[prim][i].buffer != NULL &&
107 hwtnl->index_cache[prim][i].generate == generate)
109 if (compare(hwtnl->index_cache[prim][i].gen_nr, gen_nr, gen_type))
112 hwtnl->index_cache[prim][i].buffer );
121 pipe_resource_reference( &hwtnl->index_cache[prim][i].buffer,
126 i, hwtnl->index_cache[prim][i].gen_nr);
139 if (hwtnl->index_cache[prim][i].buffer == NULL
    [all...]
svga_draw_elements.c 41 translate_indices( struct svga_hwtnl *hwtnl,
49 struct pipe_context *pipe = &hwtnl->svga->pipe;
100 svga_hwtnl_simple_draw_range_elements( struct svga_hwtnl *hwtnl,
126 ret = u_upload_buffer( hwtnl->upload_ib,
150 ret = svga_hwtnl_prim( hwtnl, &range, min_index, max_index, index_buffer );
165 svga_hwtnl_draw_range_elements( struct svga_hwtnl *hwtnl,
177 if (hwtnl->api_fillmode != PIPE_POLYGON_MODE_FILL &&
183 hwtnl->api_fillmode,
195 hwtnl->api_pv,
196 hwtnl->hw_pv
    [all...]
svga_swtnl_backend.c 187 ret = svga_hwtnl_flush(svga->hwtnl);
190 ret = svga_hwtnl_flush(svga->hwtnl);
196 svga_hwtnl_reset_vdecl(svga->hwtnl, svga_render->vdecl_count);
201 svga_hwtnl_vdecl( svga->hwtnl,
207 /* We have already taken care of flatshading, so let the hwtnl
211 svga_hwtnl_set_flatshade(svga->hwtnl, FALSE, FALSE);
212 svga_hwtnl_set_unfilled(svga->hwtnl, PIPE_POLYGON_MODE_FILL);
215 svga_hwtnl_set_flatshade( svga->hwtnl,
219 svga_hwtnl_set_unfilled( svga->hwtnl,
245 ret = svga_hwtnl_draw_arrays(svga->hwtnl, svga_render->prim, start + bias, nr)
    [all...]
svga_draw_private.h 149 svga_hwtnl_prim( struct svga_hwtnl *hwtnl,
156 svga_hwtnl_simple_draw_range_elements( struct svga_hwtnl *hwtnl,
svga_context.c 62 svga_hwtnl_destroy( svga->hwtnl );
151 svga->hwtnl = svga_hwtnl_create( svga,
154 if (svga->hwtnl == NULL)
183 svga_hwtnl_destroy( svga->hwtnl );
251 ret = svga_hwtnl_flush( svga->hwtnl );
254 ret = svga_hwtnl_flush( svga->hwtnl );
269 if (svga_hwtnl_is_buffer_referred(svga->hwtnl, buffer)) {
svga_state_vdecl.c 56 svga_hwtnl_reset_vdecl( svga->hwtnl,
123 svga_hwtnl_vdecl( svga->hwtnl,
130 svga_hwtnl_set_index_bias( svga->hwtnl, -neg_bias );
149 "hw vertex decl state (hwtnl version)",
svga_pipe_draw.c 233 svga_hwtnl_set_unfilled( svga->hwtnl,
236 svga_hwtnl_set_flatshade( svga->hwtnl,
249 ret = svga_hwtnl_draw_range_elements( svga->hwtnl,
284 svga_hwtnl_set_unfilled( svga->hwtnl,
287 svga_hwtnl_set_flatshade( svga->hwtnl,
300 ret = svga_hwtnl_draw_arrays( svga->hwtnl, prim,
373 /* Avoid leaking the previous hwtnl bias to swtnl */
374 svga_hwtnl_set_index_bias( svga->hwtnl, 0 );
svga_state.c 130 ret = svga_hwtnl_flush( svga->hwtnl );
svga_context.h 366 struct svga_hwtnl *hwtnl; member in struct:svga_context
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
nv30_context.h 193 nv30_state_validate(struct nv30_context *nv30, boolean hwtnl);
nv30_state_validate.c 459 nv30_state_validate(struct nv30_context *nv30, boolean hwtnl)
470 if (hwtnl) {
  /external/mesa3d/src/gallium/drivers/nv30/
nv30_context.h 193 nv30_state_validate(struct nv30_context *nv30, boolean hwtnl);

Completed in 443 milliseconds

1 2