diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-05-18 23:08:49 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-05-23 12:14:41 -0700 |
commit | 65a71de66a4da18ba2befe1066bbbe38c6ecc93b (patch) | |
tree | 311d9f96f2bcc8ce27dc55c324f3c0ef21e8f6cd /include | |
parent | 43ccab5248ab0880fb75e4f7ca4cf20cb76da001 (diff) |
all: Add enum WAFFLE_ACCUM_BUFFER
This is a boolean attribute for waffle_config.
If true on EGL, the WAFFLE_UNSUPPORTED_ON_PLATFORM on is emitted.
If true on GLX, then an accum buffer is requested.
This is required for Piglit test 'clear-accum'.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/waffle/waffle_config.h | 1 | ||||
-rw-r--r-- | include/waffle/waffle_enum.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/waffle/waffle_config.h b/include/waffle/waffle_config.h index dd8266a..83ba5fc 100644 --- a/include/waffle/waffle_config.h +++ b/include/waffle/waffle_config.h @@ -190,6 +190,7 @@ struct waffle_display; /// | WAFFLE_SAMPLES | int | 0 | . | /// | . | . | . | . | /// | WAFFLE_DOUBLE_BUFFERED | bool | true | . | +/// | WAFFLE_ACCUM_BUFFER | bool | false | . | /// WAFFLE_API struct waffle_config* waffle_config_choose(struct waffle_display *dpy, const int32_t attrib_list[]); diff --git a/include/waffle/waffle_enum.h b/include/waffle/waffle_enum.h index 661a600..ec256d2 100644 --- a/include/waffle/waffle_enum.h +++ b/include/waffle/waffle_enum.h @@ -89,6 +89,8 @@ enum waffle_enum { WAFFLE_DOUBLE_BUFFERED = 0x0209, + WAFFLE_ACCUM_BUFFER = 0x0213, + // ------------------------------------------------------------------ // For waffle_dl_sym() // ------------------------------------------------------------------ |