Searched defs:hwtnl (Results 1 - 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_draw.c49 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
86 svga_hwtnl_set_flatshade( struct svga_hwtnl *hwtnl, boolean flatshade, boolean flatshade_first ) argument
94 svga_hwtnl_set_unfilled( struct svga_hwtnl *hwtnl, unsigned mode ) argument
100 svga_hwtnl_reset_vdecl( struct svga_hwtnl *hwtnl, unsigned count ) argument
116 svga_hwtnl_vdecl( struct svga_hwtnl *hwtnl, unsigned i, const SVGA3dVertexDecl *decl, struct pipe_resource *vb) argument
136 svga_hwtnl_is_buffer_referred( struct svga_hwtnl *hwtnl, struct pipe_resource *buffer) argument
278 svga_hwtnl_set_index_bias( struct svga_hwtnl *hwtnl, int index_bias) argument
290 svga_hwtnl_prim( struct svga_hwtnl *hwtnl, const SVGA3dPrimitiveRange *range, unsigned min_index, unsigned max_index, struct pipe_resource *ib ) argument
[all...]
H A Dsvga_draw_arrays.c42 static enum pipe_error generate_indices( struct svga_hwtnl *hwtnl, argument
48 struct pipe_context *pipe = &hwtnl->svga->pipe;
94 static enum pipe_error retrieve_or_generate_indices( struct svga_hwtnl *hwtnl, argument
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
188 simple_draw_arrays( struct svga_hwtnl *hwtnl, unsigned prim, unsigned start, unsigned count ) argument
225 svga_hwtnl_draw_arrays( struct svga_hwtnl *hwtnl, unsigned prim, unsigned start, unsigned count) argument
[all...]
H A Dsvga_draw_elements.c41 translate_indices( struct svga_hwtnl *hwtnl, argument
49 struct pipe_context *pipe = &hwtnl->svga->pipe;
100 svga_hwtnl_simple_draw_range_elements( struct svga_hwtnl *hwtnl, argument
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, argument
177 if (hwtnl->api_fillmode != PIPE_POLYGON_MODE_FILL &&
183 hwtnl->api_fillmode,
195 hwtnl->api_pv,
196 hwtnl
[all...]
H A Dsvga_context.h366 struct svga_hwtnl *hwtnl; member in struct:svga_context
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_state_validate.c459 nv30_state_validate(struct nv30_context *nv30, boolean hwtnl) argument
470 if (hwtnl) {

Completed in 403 milliseconds