Mesa (master): intel: Update comment in intelInitScreen2 to noting DRI2 protocol issues
Ian Romanick
idr at kemper.freedesktop.org
Wed Feb 10 18:51:28 UTC 2010
Module: Mesa
Branch: master
Commit: 066f45c7a1888ca8a9de78a81b38af7c74bca9e1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=066f45c7a1888ca8a9de78a81b38af7c74bca9e1
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Feb 8 10:32:29 2010 -0800
intel: Update comment in intelInitScreen2 to noting DRI2 protocol issues
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
---
src/mesa/drivers/dri/intel/intel_screen.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index c9ef164..1acd7a5 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -401,9 +401,9 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp)
__DRIconfig **new_configs;
int depth_factor;
- /* With DRI2 right now, GetBuffers always returns a depth/stencil buffer
- * with the same cpp as the drawable. So we can't support depth cpp !=
- * color cpp currently.
+ /* Starting with DRI2 protocol version 1.1 we can request a depth/stencil
+ * buffer that has a diffferent number of bits per pixel than the color
+ * buffer. This isn't yet supported here.
*/
if (fb_type[color] == GL_UNSIGNED_SHORT_5_6_5) {
depth_bits[1] = 16;
More information about the mesa-commit
mailing list