aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_state.h
diff options
context:
space:
mode:
authorVladimir Dergachev <[email protected]>2004-12-30 06:06:54 +0000
committerVladimir Dergachev <[email protected]>2004-12-30 06:06:54 +0000
commit74bf43051c5a0abbe83f431ca8e1d8d4d2b068c4 (patch)
treedf567d3c5f0324f346a06ae4b7f570209839a288 /src/mesa/drivers/dri/r300/r300_state.h
parent5be14fd59a24612afd09da13688d611a1711d6da (diff)
Port viewport setting code from R200.
Take it outside R300ResetHwState.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_state.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.h b/src/mesa/drivers/dri/r300/r300_state.h
index 9c945c4cdd6..a04835c79d1 100644
--- a/src/mesa/drivers/dri/r300/r300_state.h
+++ b/src/mesa/drivers/dri/r300/r300_state.h
@@ -43,6 +43,19 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
r300->hw.is_dirty = GL_TRUE; \
} while(0)
+/* Fire the buffered vertices no matter what.
+ TODO: This has not been implemented yet
+ */
+#define R300_FIREVERTICES( r300 ) \
+do { \
+ /* \
+ if ( (r300)->store.cmd_used || (r300)->dma.flush ) { \
+ radeonFlush( (r300)->radeon.glCtx ); \
+ } \
+ */ \
+} while (0)
+
+
extern void r300ResetHwState(r300ContextPtr r300);
extern void r300InitState(r300ContextPtr r300);