st/wgl: Properly support non-displayble pixel formats, and implement float pixelforma...
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 8 Feb 2012 16:23:06 +0000 (16:23 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 10 Feb 2012 16:23:27 +0000 (16:23 +0000)
commit9646762261d976d34bee8c8b1dcda9656cec655c
tree7433473c28a262191b0e06b87753df2d61435025
parent90a95f4d2c50b63ffa4c114081a1cfa5cdfa05cb
st/wgl: Properly support non-displayble pixel formats, and implement float pixelformats as as one.

WGL_ARB_pixel_format establishes the existence of pixel formats which
are invisible to GDI.

However we still need to pass a valid pixelformat to GDI, so that
context creation/binding works.

The actual WGL_TYPE_RGBA_FLOAT_ARB implementation is from Brian Paul.
src/gallium/state_trackers/wgl/stw_context.c
src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
src/gallium/state_trackers/wgl/stw_ext_pixelformat.c
src/gallium/state_trackers/wgl/stw_framebuffer.c
src/gallium/state_trackers/wgl/stw_framebuffer.h
src/gallium/state_trackers/wgl/stw_pixelformat.c