History log of /external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
be05388ce983face72ca17241f0f2e154c11f435 16-Feb-2012 Brian Paul <brianp@vmware.com> st/wgl: check for hPbuffer=0 in wgl pbuffer functions

Per the GL_WGL_pbuffer spec, generate ERROR_INVALID_HANDLE and
return FALSE (and don't segfault).

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
9ffc8ea8f4cfa15115a93039cc7099f0fd597fe3 08-Feb-2012 José Fonseca <jfonseca@vmware.com> st/wgl: Fix argument of stw_pixelformat_get_info().

stw_pixelformat_get_info takes zero based index, not a 1 based pixel
format number.
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
9646762261d976d34bee8c8b1dcda9656cec655c 08-Feb-2012 José Fonseca <jfonseca@vmware.com> 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.
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
90a95f4d2c50b63ffa4c114081a1cfa5cdfa05cb 08-Feb-2012 José Fonseca <jfonseca@vmware.com> st/wgl: Invoke SetPixelFormat twice for pbuffers.
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
0cf554fa9b31dbac1890f496974392001e2df825 08-Feb-2012 José Fonseca <jfonseca@vmware.com> st/wgl: Just pass pPixelFormat to stw_pixelformat_get_info().

Avoids the likely error of forgetting to subtract one.
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
6beed86ab8970b57aad8442a3e6bf6410fff13ec 08-Feb-2012 José Fonseca <jfonseca@vmware.com> st/wgl: Fix argument of stw_pixelformat_get_info().

stw_pixelformat_get_info takes zero based index, not a 1 based pixel
format number.
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
7b09a9428203db5c0c46b9226ba1d5a06f17b2d8 13-Oct-2011 Mathias Froehlich <Mathias.Froehlich@web.de> st/wgl: Release stw_framebuffer::mutex after pbuffer creation.

This change releases the stw_framebuffer::mutex past creation of
the pbuffer stw_framebuffer. Without this change the pbuffers
lock is never released. Since on win32 mutexes are recursive, this
does not hurt as long as all actions on a context are done from
the same thread. But if, for example, context creation happens in
a different thread than usage, every access to the context will
block for ever.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
8a5a28b731efc7e1cddd552c46f015ca328662bd 23-Jun-2011 Brian Paul <brianp@vmware.com> st/wgl: return height, not width for WGL_PBUFFER_HEIGHT_ARB

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38599
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
9fbd708932d151b6ababbca1e23d01fb22154446 03-May-2011 José Fonseca <jfonseca@vmware.com> st/wgl: Allow to create pbuffers bigger than the desktop.

We use a hidden window for pbuffer contexts, but Windows limits window
sizes to the desktop size by default. This means that creating a big
pbuffer on a small resolution single monitor would truncate the pbuffer
size to the desktop.

This change overrides the windows maximum size, allow to create windows
arbitrarily large.
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
f4e392bf8d35a87f84c8a58f9d2bd174ec29ebd9 24-Mar-2011 José Fonseca <jfonseca@vmware.com> st/wgl: Adjust the pbuffer invisible window size.

Thanks to Brian Paul for diagnosing the issue.
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
31aeac5bf91f3b1daacb1aa27505bfb25215da87 29-Nov-2010 José Fonseca <jfonseca@vmware.com> wgl: More complete WGL_ARB_pbuffer support.
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
c4a43873c5f2e39def45eb9ca24f538adf3f9196 05-May-2010 José Fonseca <jfonseca@vmware.com> wgl: Stub WGL_ARB_pbuffer support.

See http://www.opengl.org/registry/specs/ARB/wgl_pbuffer.txt
/external/mesa3d/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c