wgl: Be lenient when sharing contexts.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 15 Feb 2010 19:34:38 +0000 (19:34 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 15 Feb 2010 21:48:13 +0000 (21:48 +0000)
commit33cf477c37535e39858b26caa282e167f1ab04d8
tree10676616d01d8372361ac681a83b6d44b9a5ac20
parent1587eff1b6d6ab74c302ca2ccb767d917ce3b1dd
wgl: Be lenient when sharing contexts.

My first reading of MS docs was wrong. It says:

  All rendering contexts of a shared display list must use an identical
  pixel format. Otherwise the results depend on the implementation of
  OpenGL used.

That is, it is OK to share contexts with different pixel formats.

Adobe Premiere Pro tries to do that: share lists between a rgbx8 and a
rgba8 pixel format.
src/gallium/state_trackers/wgl/stw_context.c