summaryrefslogtreecommitdiff
path: root/src/mesa/main/mfeatures.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-12 18:59:13 +0800
committerBrian Paul <brianp@vmware.com>2009-09-30 08:31:56 -0600
commitcef97267d696d37f4dccb22951499ca25d5d87ad (patch)
tree27154b35764d4bd573667b6338e2873a95cc900d /src/mesa/main/mfeatures.h
parenta73ba2d31b87e974f6846a8aaced704634f6f657 (diff)
mesa/main: New feature FEATURE_beginend.
This feature corresponds to the Begin/End paradigm. Disabling this feature also eliminates the use of GLvertexformat completely.
Diffstat (limited to 'src/mesa/main/mfeatures.h')
-rw-r--r--src/mesa/main/mfeatures.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h
index 27799771a5..c2fb8404b1 100644
--- a/src/mesa/main/mfeatures.h
+++ b/src/mesa/main/mfeatures.h
@@ -71,10 +71,12 @@
#define FEATURE_accum _HAVE_FULL_GL
#define FEATURE_arrayelt _HAVE_FULL_GL
#define FEATURE_attrib_stack _HAVE_FULL_GL
+/* this disables vtxfmt, api_loopback, and api_noop completely */
+#define FEATURE_beginend _HAVE_FULL_GL
#define FEATURE_colortable _HAVE_FULL_GL
#define FEATURE_convolve _HAVE_FULL_GL
#define FEATURE_dispatch _HAVE_FULL_GL
-#define FEATURE_dlist (_HAVE_FULL_GL && FEATURE_arrayelt)
+#define FEATURE_dlist (_HAVE_FULL_GL && FEATURE_arrayelt && FEATURE_beginend)
#define FEATURE_draw_read_buffer _HAVE_FULL_GL
#define FEATURE_drawpix _HAVE_FULL_GL
#define FEATURE_evaluators _HAVE_FULL_GL