st/wgl: Don't rely on GDI to bookkeep pixelformat for us.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 22 Mar 2012 12:16:17 +0000 (12:16 +0000)
committerJose Fonseca <jfonseca@vmware.com>
Mon, 9 Nov 2015 11:08:27 +0000 (11:08 +0000)
commite524df5ef32fe8fada0695417bd86413d836a6bb
treea24edbce802aa4d4f411133a299ea2346ba14fad
parent24abbaff9ad177624c2b4906c7d94f5d91ac3cc0
st/wgl: Don't rely on GDI to bookkeep pixelformat for us.

This allows to use apitrace's retracediff script on Windows to retrace and
compare two builds of a Mesa based opengl32.dll/ICD side-by-side.

See also https://github.com/apitrace/apitrace/commit/e4a4f15f5b92e0abbd24d7d053da25f8278c9f64
src/gallium/state_trackers/wgl/stw_context.c
src/gallium/state_trackers/wgl/stw_framebuffer.c