diff options
author | Brian <[email protected]> | 2008-03-20 10:46:44 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-03-20 10:46:44 -0600 |
commit | e1406c8d2366dccac0037e5329217d1c8c265eaf (patch) | |
tree | e075560e1357a8f5c049ea5abe1eec5cdda6b723 /src/mesa/state_tracker/st_context.h | |
parent | 309d6e52c5c1cdeca1434cbe29e869b9176e5fa5 (diff) |
gallium: create one vertex buffer and re-use, also enable bypass_clipping
Quad clears should be a little more efficient now.
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r-- | src/mesa/state_tracker/st_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index 8058086d875..2563c7fed01 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -153,6 +153,8 @@ struct st_context struct { void *vs; void *fs; + float vertices[4][2][4]; /**< vertex pos + color */ + struct pipe_buffer *vbuf; } clear; struct gen_mipmap_state *gen_mipmap; |