diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-12-27 22:20:58 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-01-06 16:51:54 +0100 |
commit | 31afa7616e3c11e9874f3297ac66ebdd50a67186 (patch) | |
tree | 0ad99ee0645556ba157031d00a5db1cbab65347e /src/gallium/drivers/r300/r300_context.h | |
parent | 45b51a9e7021c004c754e1903afeb15fd885109e (diff) | |
download | external_mesa3d-31afa7616e3c11e9874f3297ac66ebdd50a67186.zip external_mesa3d-31afa7616e3c11e9874f3297ac66ebdd50a67186.tar.gz external_mesa3d-31afa7616e3c11e9874f3297ac66ebdd50a67186.tar.bz2 |
r300g: skip buffer validation of upload buffers when appropriate
because the upload buffers are reused for subsequent draw operations.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index f3a3df0..52556ec 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -619,6 +619,9 @@ struct r300_context { /* Whether any buffer (FB, textures, VBOs) has been set, but buffers * haven't been validated yet. */ boolean validate_buffers; + /* Whether user buffers have been validated. */ + boolean upload_vb_validated; + boolean upload_ib_validated; }; #define foreach_atom(r300, atom) \ |