intel: Update comment in intelInitScreen2 to noting DRI2 protocol issues
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 8 Feb 2010 18:32:29 +0000 (10:32 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 10 Feb 2010 18:50:28 +0000 (10:50 -0800)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/intel/intel_screen.c

index c9ef1647a322822357a549727ab742b5c218d628..1acd7a576eb24f525496833d4863749412f5b0f4 100644 (file)
@@ -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;