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

  /external/mesa3d/src/gallium/drivers/svga/
svga_draw.h 42 void svga_hwtnl_destroy(struct svga_hwtnl *hwtnl);
44 void svga_hwtnl_set_flatshade(struct svga_hwtnl *hwtnl,
47 void svga_hwtnl_set_fillmode(struct svga_hwtnl *hwtnl, unsigned mode);
50 svga_hwtnl_vertex_decls(struct svga_hwtnl *hwtnl,
57 svga_hwtnl_vertex_buffers(struct svga_hwtnl *hwtnl,
61 svga_hwtnl_draw_arrays(struct svga_hwtnl *hwtnl,
66 svga_hwtnl_draw_range_elements(struct svga_hwtnl *hwtnl,
76 svga_hwtnl_is_buffer_referred(struct svga_hwtnl *hwtnl,
79 enum pipe_error svga_hwtnl_flush(struct svga_hwtnl *hwtnl);
81 void svga_hwtnl_set_index_bias(struct svga_hwtnl *hwtnl, int index_bias)
    [all...]
svga_draw_arrays.c 43 generate_indices(struct svga_hwtnl *hwtnl,
48 struct pipe_context *pipe = &hwtnl->svga->pipe;
92 retrieve_or_generate_indices(struct svga_hwtnl *hwtnl,
103 SVGA_STATS_TIME_PUSH(svga_sws(hwtnl->svga), SVGA_STATS_TIME_GENERATEINDICES);
106 if (hwtnl->index_cache[prim][i].buffer != NULL &&
107 hwtnl->index_cache[prim][i].generate == generate) {
108 if (compare(hwtnl->index_cache[prim][i].gen_nr, gen_nr, gen_type)) {
110 hwtnl->index_cache[prim][i].buffer);
118 pipe_resource_reference(&hwtnl->index_cache[prim][i].buffer,
123 i, hwtnl->index_cache[prim][i].gen_nr)
    [all...]
svga_draw.c 50 struct svga_hwtnl *hwtnl = CALLOC_STRUCT(svga_hwtnl); local
51 if (!hwtnl)
54 hwtnl->svga = svga;
56 hwtnl->cmd.swc = svga->swc;
58 return hwtnl;
66 svga_hwtnl_destroy(struct svga_hwtnl *hwtnl)
72 pipe_resource_reference(&hwtnl->index_cache[i][j].buffer, NULL);
76 for (i = 0; i < hwtnl->cmd.vbuf_count; i++)
77 pipe_resource_reference(&hwtnl->cmd.vbufs[i].buffer, NULL);
79 for (i = 0; i < hwtnl->cmd.prim_count; i++
    [all...]
svga_draw_private.h 192 svga_need_unfilled_fallback(const struct svga_hwtnl *hwtnl,
195 const struct svga_context *svga = hwtnl->svga;
207 hwtnl->api_fillmode == PIPE_POLYGON_MODE_LINE) {
215 return hwtnl->api_fillmode == PIPE_POLYGON_MODE_POINT;
218 return hwtnl->api_fillmode != PIPE_POLYGON_MODE_FILL;
224 svga_hwtnl_prim( struct svga_hwtnl *hwtnl,
233 svga_hwtnl_simple_draw_range_elements( struct svga_hwtnl *hwtnl,
svga_draw_elements.c 62 translate_indices(struct svga_hwtnl *hwtnl, struct pipe_resource *src,
69 struct pipe_context *pipe = &hwtnl->svga->pipe;
150 svga_hwtnl_simple_draw_range_elements(struct svga_hwtnl *hwtnl,
175 return svga_hwtnl_prim(hwtnl, &range, count,
182 svga_hwtnl_draw_range_elements(struct svga_hwtnl *hwtnl,
195 SVGA_STATS_TIME_PUSH(svga_sws(hwtnl->svga),
198 if (svga_need_unfilled_fallback(hwtnl, prim)) {
202 hwtnl->api_fillmode,
211 hwtnl->api_pv,
212 hwtnl->hw_pv
    [all...]
svga_pipe_draw.c 65 svga_hwtnl_set_fillmode(svga->hwtnl, svga->curr.rast->hw_fillmode);
74 svga_hwtnl_set_flatshade(svga->hwtnl,
79 ret = svga_hwtnl_draw_range_elements( svga->hwtnl,
117 svga_hwtnl_set_fillmode(svga->hwtnl, svga->curr.rast->hw_fillmode);
126 svga_hwtnl_set_flatshade(svga->hwtnl,
131 ret = svga_hwtnl_draw_arrays(svga->hwtnl, prim, start, count,
240 /* Avoid leaking the previous hwtnl bias to swtnl */
241 svga_hwtnl_set_index_bias( svga->hwtnl, 0 );
svga_state_vdecl.c 123 svga_hwtnl_vertex_decls(svga->hwtnl,
129 svga_hwtnl_vertex_buffers(svga->hwtnl,
133 svga_hwtnl_set_index_bias( svga->hwtnl, -(int) neg_bias );
152 "hw vertex decl state (hwtnl version)",
svga_swtnl_backend.c 226 ret = svga_hwtnl_flush(svga->hwtnl);
229 ret = svga_hwtnl_flush(svga->hwtnl);
239 svga_hwtnl_vertex_decls(svga->hwtnl,
252 svga_hwtnl_vertex_buffers(svga->hwtnl, 1, &vb);
255 /* We have already taken care of flatshading, so let the hwtnl
259 svga_hwtnl_set_flatshade(svga->hwtnl, FALSE, FALSE);
260 svga_hwtnl_set_fillmode(svga->hwtnl, PIPE_POLYGON_MODE_FILL);
263 svga_hwtnl_set_flatshade( svga->hwtnl,
268 svga_hwtnl_set_fillmode(svga->hwtnl, svga->curr.rast->hw_fillmode);
298 ret = svga_hwtnl_draw_arrays(svga->hwtnl, svga_render->prim, start + bias, nr
    [all...]
svga_context.c 91 svga_hwtnl_destroy(svga->hwtnl);
199 svga->hwtnl = svga_hwtnl_create(svga);
200 if (svga->hwtnl == NULL)
287 if (svga->hwtnl)
288 svga_hwtnl_destroy(svga->hwtnl);
411 ret = svga_hwtnl_flush(svga->hwtnl);
414 ret = svga_hwtnl_flush(svga->hwtnl);
430 if (svga_hwtnl_is_buffer_referred(svga->hwtnl, buffer)) {
svga_state.c 140 ret = svga_hwtnl_flush( svga->hwtnl );
svga_context.h 520 struct svga_hwtnl *hwtnl; member in struct:svga_context
  /external/mesa3d/src/gallium/drivers/nouveau/nv30/
nv30_context.h 208 nv30_state_validate(struct nv30_context *nv30, uint32_t mask, bool hwtnl);
nv30_state_validate.c 463 nv30_state_validate(struct nv30_context *nv30, uint32_t mask, bool hwtnl)
474 if (hwtnl) {

Completed in 632 milliseconds