• Home
  • History
  • Annotate
  • only in /external/mesa3d/src/gallium/state_trackers/wgl/
History log of /external/mesa3d/src/gallium/state_trackers/wgl/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
229868edf7f4232a4d97867a2ccea12db4c8cf57 24-Aug-2012 Brian Paul <brianp@vmware.com> wgl: update some comments
tw_framebuffer.h
tw_winsys.h
4bde1ba7fb6253e80197d3645b23893424ef756b 26-Jun-2012 José Fonseca <jfonseca@vmware.com> st/wgl: Add a few more comments.
tw_icd.h
tw_wgl.c
345ee593e91e14173cbc08a647b008855b7638ca 25-Jun-2012 Brian Paul <brianp@vmware.com> st/wgl: 80-column wrapping
tw_context.c
tw_ext_context.c
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>
tw_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.
tw_ext_pbuffer.c
ad9455314d9c5cb9b31af22116841ee3e642a55b 08-Feb-2012 Brian Paul <brianp@vmware.com> st/wgl: refactor stw_pixelformat_init()

Replace duplicated code with add_color_format_variants() helper.
tw_pixelformat.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.
tw_context.c
tw_ext_pbuffer.c
tw_ext_pixelformat.c
tw_framebuffer.c
tw_framebuffer.h
tw_pixelformat.c
90a95f4d2c50b63ffa4c114081a1cfa5cdfa05cb 08-Feb-2012 José Fonseca <jfonseca@vmware.com> st/wgl: Invoke SetPixelFormat twice for pbuffers.
tw_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.
tw_context.c
tw_ext_pbuffer.c
tw_ext_pixelformat.c
tw_framebuffer.c
tw_pixelformat.c
tw_pixelformat.h
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.
tw_ext_pbuffer.c
6811704830b6637d7c9b19914bd3549143eeb3e5 23-Dec-2011 José Fonseca <jfonseca@vmware.com> st/wgl: Return NULL for NULL HDCs in wglGetExtensionsStringARB.

WGL_ARB_extensions_string states that wglGetExtensionsStringARB should
return NULL for invalid HDCs. And some applications rely on it.

Reviewed-By: "Keith Whitwell" <keithw@vmware.com>
tw_ext_extensionsstring.c
3258cd9e611bb188e4b21d23cd5dd6cb0c0ff1ef 24-Dec-2011 Alexandre Demers <alexandre.f.demers@gmail.com> egl,glx,wgl: Fixes stapi->createContext usage

Fixed the build failure, fixed a warning where attributs and error arguments had
been
inverted and fixed another call that was missing an argument.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
tw_context.c
358ecff1ea0fa8432fd46bd3deeb8d2d694b5550 01-Dec-2011 Ian Romanick <ian.d.romanick@intel.com> st-api: Clean-up OpenGL profile handling

There seems to have been two different ways to communicate the
profile. There were flags and there were profiles. I've opted to
remove the profile flags and use ST_PROFILE_DEFAULT (compatibility
profile) and ST_PROFILE_OPENGL_CORE (core profile) consistently
instead.

Also change the values of the ST_CONTEXT_FLAG_DEBUG and
ST_CONTEXT_FLAG_FORWARD_COMPATIBLE flags to match the WGL and GLX
values.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Chia-I Wu <olv@lunarg.com>
tw_context.c
c7fc4067ebd4758dd7566b20169a428dc8926c8d 02-Nov-2011 Morgan Armand <morgan.devel@gmail.com> wglSetPixelFormat should ignore the ppfd parameter.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
tw_wgl.c
0c6a2c78fdd8b4ae620a9f449cab65c4be21a9a1 28-Oct-2011 Morgan Armand <morgan.devel@gmail.com> implement WGL_ARB_create_context

Signed-off-by: José Fonseca <jfonseca@vmware.com>
Conscript
tw_context.c
tw_context.h
tw_ext_context.c
tw_getprocaddress.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>
tw_ext_pbuffer.c
866f9b18c68ede63c00917ec9c3dae3524ca8826 11-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: rename ZS stencil type to UINT (v2)

these are never USCALED, always UINT in reality.

taken from some work by Christoph Bumiller

v2: fixup formatting of table + tabs

Signed-off-by: Dave Airlie <airlied@redhat.com>
tw_pixelformat.c
ec759b37553226b2b945d6c5d93c4bfb630a38a4 29-Aug-2011 José Fonseca <jose.r.fonseca@gmail.com> st/wgl: Fix build on mingw-w64

Which already declares wglSwapMultipleBuffers and WGLSWAP.
tw_wgl.h
ac8fdbc1c723afb19eeaba5457ba78d0bf33b8d4 29-Jun-2011 Thomas Hellstrom <thellstrom@vmware.com> st-api: Rework how drawables are invalidated v3.

The api and the state tracker manager code as well as the state tracker code
assumed that only a single context could be bound to a drawable. That is not
a valid assumption, since multiple contexts can bind to the same drawable.

Fix this by making it the state tracker's responsibility to update all
contexts binding to a drawable

Note that the state trackers themselves don't use atomic stamps on
frame-buffers. Multiple context rendering to the same drawable should
be protected by the application.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
tw_context.c
tw_st.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
tw_ext_pbuffer.c
c3c1976f522a67be6a0619e938a90cf186ad42e6 23-May-2011 José Fonseca <jfonseca@vmware.com> wgl: Don't hold on to user supplied HDC.

Certain applications (e.g., Bernina My Label, and the Windows
implementation of Processing language) destroy the device context used when
creating the frame-buffer, causing presents to fail because we were still
referring to the old device context internally.

This change ensures we always use the same HDC passed to the ICD
entry-points when available, or our own HDC when not available (necessary
only when flushing on single buffered visuals).
tw_framebuffer.c
tw_st.c
tw_st.h
a67ecfeebc522bd2021160ba68cf59299cd4d9de 09-May-2011 José Fonseca <jfonseca@vmware.com> st/wgl: Remove buggy assertion.

The assertion is wrong, now that state tracker can cope with a window with
zero width or height.
tw_framebuffer.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.
tw_ext_pbuffer.c
c636daa1455121d1db5b98bba09dd8004498c3b8 18-Apr-2011 José Fonseca <jfonseca@vmware.com> st/wgl: Cope with zero width/height windows.

While ensuring the framebuffer area is never zero.
tw_framebuffer.c
16d42af618aa6250bedc7e66e0e2c0b061cc6e99 07-Apr-2011 José Fonseca <jfonseca@vmware.com> st/wgl: Prevent spurious framebuffer sizes when the window is minimized.

When the window is minimized GetClientRect will return zeros.

Instead of creating a 1x1 framebuffer, simply preserve the current window
size, until the window is restored or maximized again.
tw_framebuffer.c
b5829c0d6444a9eb25738c9b7f0bab8b667c8e0a 07-Apr-2011 José Fonseca <jfonseca@vmware.com> st/wgl: Fix debug output format specifiers of stw_framebuffer_get_size().
tw_framebuffer.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.
tw_ext_pbuffer.c
7e02303497237cde958c28608477d0c355a8038b 08-Mar-2011 Marek Olšák <maraeo@gmail.com> gallium: remove flags from the flush function

The drivers have been changed so that they behave as if all of the flags
were set. This is already implicit in most hardware drivers and required
for multiple contexts.

Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag
to decide whether flush_frontbuffer should be called.
New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement.
tw_context.c
e968975cb57eb854769292f7c6ff773c64a386c3 08-Mar-2011 Marek Olšák <maraeo@gmail.com> gallium: remove the geom_flags param from is_format_supported
tw_pixelformat.c
0ffd603e17fd489886b47c5fec4624a589a13c10 08-Mar-2011 José Fonseca <jfonseca@vmware.com> wgl: Force framebuffer validation on glViewport.
tw_device.c
e1510d48165abbfdbe5036b6eb1e4ae89b4ad5fb 06-Mar-2011 José Fonseca <jose.r.fonseca@gmail.com> st/wgl: No need to initialize OneTimeLock anymore.
tw_device.c
bb770af3a59e5935c108c05ee45490fc5668d4a3 14-Jan-2011 Chia-I Wu <olv@lunarg.com> scons: Add support for GLES.

GLES can be enabled by running scons with

$ scons gles=yes

When gles=yes is given, the build is changed in three ways. First,
libmesa.a will be built with FEATURE_ES1 and FEATURE_ES2. This makes
DRI drivers and libEGL support and advertise GLES support. Second, GLES
libraries will be created. They are libGLESv1_CM, libGLESv2, and
libglapi. Last, libGL or opengl32 will link to libglapi. This change
is required as _glapi_* will be declared as __declspec(dllimport) in
libmesa.a on windows. libmesa.a expects those symbols to be defined in
another DLL. Due to this change to GL, GLES support is marked
experimental.

Note that GLES requires libxml2-python to generate some of its sources.
Conscript
tw_device.c
63df5a464e984af771b3896d05baa258912ac202 02-Dec-2010 José Fonseca <jfonseca@vmware.com> wgl: Fix visual's buffer_mask configuration.
tw_pixelformat.c
e3659329e0b91ea78afe32e231f2f75d3d728af9 02-Dec-2010 José Fonseca <jfonseca@vmware.com> WIN32_THREADS -> WIN32

Fixes nasty bug where some parts of the code didn't define WIN32_THREADS
and were using the integer mutex implementation, causing even confusion
to the debuggers.

And there is little interest of other thread implemenation on Win32
besides Win32 threads.
Conscript
tw_device.c
14e2dc9c66b332b2527201e65a4dbe2ded968669 02-Dec-2010 José Fonseca <jfonseca@vmware.com> wgl: Unreference the current framebuffer after the make_current call.

To prevent a dangling pointer dereference.
tw_context.c
e5ffa9aa474b40a17a2b3206a29fdc7540637c5e 02-Dec-2010 José Fonseca <jfonseca@vmware.com> wgl: Fix double free. Remove dead code.
tw_st.c
4c7001462607e6e99e474d6271dd481d3f8f201c 02-Dec-2010 Roland Scheidegger <sroland@vmware.com> gallium: support for array textures and related changes

resources have a array_size parameter now.
get_tex_surface and tex_surface_destroy have been renamed to create_surface
and surface_destroy and moved to context, similar to sampler views (and
create_surface now uses a template just like create_sampler_view). Surfaces
now really should only be used for rendering. In particular they shouldn't be
used as some kind of 2d abstraction for sharing a texture. offset/layout fields
don't make sense any longer and have been removed, width/height should go too.
surfaces and sampler views now specify a layer range (for texture resources),
layer is either array slice, depth slice or cube face.
pipe_subresource is gone array slices (or cube faces) are now treated the same
as depth slices in transfers etc. (that is, they use the z coord of the
respective functions).

Squashed commit of the following:

commit a45bd509014743d21a532194d7b658a1aeb00cb7
Merge: 1aeca28 32e1e59
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Dec 2 04:32:06 2010 +0100

Merge remote branch 'origin/master' into gallium-array-textures

Conflicts:
src/gallium/drivers/i915/i915_resource_texture.c
src/gallium/drivers/i915/i915_state_emit.c
src/gallium/drivers/i915/i915_surface.c

commit 1aeca287a827f29206078fa1204715a477072c08
Merge: 912f042 6f7c8c3
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Dec 2 00:37:11 2010 +0100

Merge remote branch 'origin/master' into gallium-array-textures

Conflicts:
src/gallium/state_trackers/vega/api_filters.c
src/gallium/state_trackers/vega/api_images.c
src/gallium/state_trackers/vega/mask.c
src/gallium/state_trackers/vega/paint.c
src/gallium/state_trackers/vega/renderer.c
src/gallium/state_trackers/vega/st_inlines.h
src/gallium/state_trackers/vega/vg_context.c
src/gallium/state_trackers/vega/vg_manager.c

commit 912f042e1d439de17b36be9a740358c876fcd144
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Dec 1 03:01:55 2010 +0100

gallium: even more compile fixes after merge

commit 6fc95a58866d2a291def333608ba9c10c3f07e82
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Dec 1 00:22:26 2010 +0100

gallium: some fixes after merge

commit a8d5ffaeb5397ffaa12fb422e4e7efdf0494c3e2
Merge: f7a202f 2da02e7
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Nov 30 23:41:26 2010 +0100

Merge remote branch 'origin/master' into gallium-array-textures

Conflicts:
src/gallium/drivers/i915/i915_state_emit.c
src/gallium/state_trackers/vega/api_images.c
src/gallium/state_trackers/vega/vg_context.c

commit f7a202fde2aea2ec78ef58830f945a5e214e56ab
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Nov 24 19:19:32 2010 +0100

gallium: even more fixes/cleanups after merge

commit 6895a7f969ed7f9fa8ceb788810df8dbcf04c4c9
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Nov 24 03:07:36 2010 +0100

gallium: more compile fixes after merge

commit af0501a5103b9756bc4d79167bd81051ad6e8670
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Nov 23 19:24:45 2010 +0100

gallium: lots of compile fixes after merge

commit 0332003c2feb60f2a20e9a40368180c4ecd33e6b
Merge: 26c6346 b6b91fa
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Nov 23 17:02:26 2010 +0100

Merge remote branch 'origin/master' into gallium-array-textures

Conflicts:
src/gallium/auxiliary/gallivm/lp_bld_sample.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_inlines.h
src/gallium/auxiliary/util/u_surface.c
src/gallium/auxiliary/util/u_surfaces.c
src/gallium/docs/source/context.rst
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/nv50/nv50_state_validate.c
src/gallium/drivers/nvfx/nv04_surface_2d.c
src/gallium/drivers/nvfx/nv04_surface_2d.h
src/gallium/drivers/nvfx/nvfx_buffer.c
src/gallium/drivers/nvfx/nvfx_miptree.c
src/gallium/drivers/nvfx/nvfx_resource.c
src/gallium/drivers/nvfx/nvfx_resource.h
src/gallium/drivers/nvfx/nvfx_state_fb.c
src/gallium/drivers/nvfx/nvfx_surface.c
src/gallium/drivers/nvfx/nvfx_transfer.c
src/gallium/drivers/r300/r300_state_derived.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_buffer.c
src/gallium/drivers/r600/r600_context.h
src/gallium/drivers/r600/r600_screen.c
src/gallium/drivers/r600/r600_screen.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_texture.c
src/gallium/include/pipe/p_defines.h
src/gallium/state_trackers/egl/common/egl_g3d_api.c
src/gallium/state_trackers/glx/xlib/xm_st.c
src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c
src/gallium/targets/libgl-gdi/libgl_gdi.c
src/gallium/tests/graw/tri.c
src/mesa/state_tracker/st_cb_blit.c
src/mesa/state_tracker/st_cb_readpixels.c

commit 26c6346b385929fba94775f33838d0cceaaf1127
Author: Roland Scheidegger <sroland@vmware.com>
Date: Mon Aug 2 19:37:21 2010 +0200

fix more merge breakage

commit b30d87c6025eefe7f6979ffa8e369bbe755d5c1d
Merge: 9461bf3 1f1928d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Mon Aug 2 19:15:38 2010 +0200

Merge remote branch 'origin/master' into gallium-array-textures

Conflicts:
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_rast_priv.h
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_screen_buffer.c
src/gallium/drivers/r300/r300_state_derived.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/r300/r300_texture.h
src/gallium/drivers/r300/r300_transfer.c
src/gallium/drivers/r600/r600_screen.c
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_texture.c
src/gallium/drivers/r600/r600_texture.h
src/gallium/state_trackers/dri/common/dri1_helper.c
src/gallium/state_trackers/dri/sw/drisw.c
src/gallium/state_trackers/xorg/xorg_exa.c

commit 9461bf3cfb647d2301364ae29fc3084fff52862a
Merge: 17492d7 0eaccb3
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Jul 15 20:13:45 2010 +0200

Merge commit 'origin/master' into gallium-array-textures

Conflicts:
src/gallium/auxiliary/util/u_blitter.c
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_surface.c
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/r300/r300_transfer.c
src/gallium/tests/trivial/quad-tex.c

commit 17492d705e7b7f607b71db045c3bf344cb6842b3
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Jun 18 10:58:08 2010 +0100

gallium: rename element_offset/width fields in views to first/last_element

This is much more consistent with the other fields used there
(first/last level, first/last layer).
Actually thinking about removing the ugly union/structs again and
rename first/last_layer to something even more generic which could also
be used for buffers (like first/last_member) without inducing headaches.

commit 1b717a289299f942de834dcccafbab91361e20ab
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Jun 17 14:46:09 2010 +0100

gallium: remove PIPE_SURFACE_LAYOUT_LINEAR definition

This was only used by the layout field of pipe_surface, but this
driver internal stuff is gone so there's no need for this driver independent
layout definition neither.

commit 10cb644b31b3ef47e6c7b55e514ad24bb891fac4
Merge: 5691db9 c85971d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Jun 17 12:20:41 2010 +0100

Merge commit 'origin/master' into gallium-array-textures

Conflicts:
src/gallium/docs/source/glossary.rst
src/gallium/tests/graw/fs-test.c
src/gallium/tests/graw/gs-test.c

commit 5691db960ca3d525ce7d6c32d9c7a28f5e907f3b
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Jun 17 11:29:03 2010 +0100

st/wgl: fix interface changes bugs

commit 2303ec32143d363b46e59e4b7c91b0ebd34a16b2
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Jun 16 19:42:32 2010 +0100

gallium: adapt code to interface changes...

commit dcae4f586f0d0885b72674a355e5d56d47afe77d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Jun 16 19:42:05 2010 +0100

gallium: separate depth0 and array_size in the resource itself.

These fields are still mutually exclusive (since no 3d array textures exist)
but it ultimately seemed to error-prone to adapt all code accept the new
meaning of depth0 (drivers stick that into hardware regs, calculate mipmap
sizes etc.). And it isn't really cleaner anyway.
So, array textures will have depth0 of 1, but instead use array_size,
3D textures will continue to use depth0 (and have array_size of 1). Cube
maps also will use array_size to indicate their 6 faces, but since all drivers
should just be fine by inferring this themselves from the fact it's a cube map
as they always used to nothing should break.

commit 621737a638d187d208712250fc19a91978fdea6b
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Jun 16 17:47:38 2010 +0100

gallium: adapt code to interface changes

There are still usages of pipe_surface where pipe_resource should be used,
which should eventually be fixed.

commit 2d17f5efe166b2c3d51957c76294165ab30b8ae2
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Jun 16 17:46:14 2010 +0100

gallium: more interface changes

In particular to enable usage of buffers in views, and ability to use a
different pipe_format in pipe_surface.
Get rid of layout and offset parameter in pipe_surface - the former was
not used in any (public) code anyway, and the latter should either be computed
on-demand or driver can use subclass of pipe_surface.
Also make create_surface() use a template to be more consistent with
other functions.

commit 71f885ee16aa5cf2742c44bfaf0dc5b8734b9901
Merge: 3232d11 8ad410d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Mon Jun 14 14:19:51 2010 +0100

Merge commit 'origin/master' into gallium-array-textures

Conflicts:
src/gallium/auxiliary/util/u_box.h
src/gallium/drivers/nv50/nv50_surface.c
src/gallium/drivers/nvfx/nvfx_surface.c
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/r300/r300_transfer.c
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_screen.h
src/gallium/include/pipe/p_state.h

commit 3232d11fe3ebf7686286013c357b404714853984
Author: Roland Scheidegger <sroland@vmware.com>
Date: Mon Jun 14 11:40:04 2010 +0100

mesa/st: adapt to interface changes

still need to fix pipe_surface sharing
(as that is now per-context).
Also broken is depth0 handling - half the code assumes
this is also used for array textures (and hence by extension
of that cube maps would have depth 6), half the code does not...

commit f433b7f7f552720e5eade0b4078db94590ee85e1
Author: Roland Scheidegger <sroland@vmware.com>
Date: Mon Jun 14 11:35:52 2010 +0100

gallium: fix a couple of bugs in interface chnage fixes

commit 818366b28ea18f514dc791646248ce6f08d9bbcf
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:42:11 2010 +0200

targets: adapt to interface changes

Yes even that needs adjustments...

commit 66c511ab1682c9918e0200902039247793acb41e
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:41:13 2010 +0200

tests: adapt to interface changes

Everything needs to be fixed :-(.

commit 6b494635d9dbdaa7605bc87b1ebf682b138c5808
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:39:50 2010 +0200

st: adapt non-rendering state trackers to interface changes

might not be quite right in all places, but they really don't want
to use pipe_surface.

commit 00c4289a35d86e4fe85919ec32aa9f5ffe69d16d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:38:48 2010 +0200

winsys: adapt to interface changes

commit 39d858554dc9ed5dbc795626fec3ef9deae552a0
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:26:54 2010 +0200

st/python: adapt to interface changes

don't think that will work, sorry.

commit 6e9336bc49b32139cec4e683857d0958000e15e3
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:26:07 2010 +0200

st/vega: adapt to interface changes

commit e07f2ae9aaf8842757d5d50865f76f8276245e11
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:25:56 2010 +0200

st/xorg: adapt to interface changes

commit 05531c10a74a4358103e30d3b38a5eceb25c947f
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:24:53 2010 +0200

nv50: adapt to interface changes

commit 97704f388d7042121c6d496ba8c003afa3ea2bf3
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:24:45 2010 +0200

nvfx: adapt to interface changes

commit a8a9c93d703af6e8f5c12e1cea9ec665add1abe0
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:24:01 2010 +0200

i965g: adapt to interface changes

commit 0dde209589872d20cc34ed0b237e3ed7ae0e2de3
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:22:38 2010 +0200

i915g: adapt to interface changes

commit 5cac9beede69d12f5807ee1a247a4c864652799e
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:20:58 2010 +0200

svga: adapt to interface changes

resource_copy_region still looking fishy.
Was not very suited to unified zslice/face approach...

commit 08b5a6af4b963a3e4c75fc336bf6c0772dce5150
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:20:01 2010 +0200

rbug: adapt to interface changes

Not sure if that won't need changes elsewhere?

commit c9fd24b1f586bcef2e0a6e76b68e40fca3408964
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:19:31 2010 +0200

trace: adapt to interface changes

commit ed84e010afc5635a1a47390b32247a266f65b8d1
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:19:21 2010 +0200

failover: adapt to interface changes

commit a1d4b4a293da933276908e3393435ec4b43cf201
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:19:12 2010 +0200

identity: adapt to interface changes

commit a8dd73e2c56c7d95ffcf174408f38f4f35fd2f4c
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:18:55 2010 +0200

softpipe: adapt to interface changes

commit a886085893e461e8473978e8206ec2312b7077ff
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:18:44 2010 +0200

llvmpipe: adapt to interface changes

commit 70523f6d567d8b7cfda682157556370fd3c43460
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:18:14 2010 +0200

r600g: adapt to interface changes

commit 3f4bc72bd80994865eb9f6b8dfd11e2b97060d19
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:18:05 2010 +0200

r300g: adapt to interface changes

commit 5d353b55ee14db0ac0515b5a3cf9389430832c19
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:17:37 2010 +0200

cell: adapt to interface changes

not even compile tested

commit cf5d03601322c2dcb12d7a9c2f1745e2b2a35eb4
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:14:59 2010 +0200

util: adapt to interface changes

amazing how much code changes just due to some subtle interface changes?

commit dc98d713c6937c0e177fc2caf23020402cc7ea7b
Author: Roland Scheidegger <sroland@vmware.com>
Date: Sat Jun 12 02:12:40 2010 +0200

gallium: more interface fail, docs

this also changes flush_frontbuffer to use a pipe_resource instead of
a pipe_surface - pipe_surface is not meant to be (or at least no longer)
an abstraction for standalone 2d images which get passed around.
(This has also implications for the non-rendering state-trackers.)

commit 08436d27ddd59857c22827c609b692aa0c407b7b
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Jun 10 17:42:52 2010 +0200

gallium: fix array texture interface changes bugs, docs

commit 4a4d927609b62b4d7fb9dffa35158afe282f277b
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Jun 3 22:02:44 2010 +0200

gallium: interface changes for array textures and related cleanups

This patch introduces array textures to gallium (note they are not immediately
usable without the associated changes to the shader side).
Also, this abandons pipe_subresource in favor of using level and layer
parameters since the distinction between several faces (which was part of
pipe_subresource for cube textures) and several z slices (which were not part
of pipe_subresource but instead part of pipe_box where appropriate for 3d
textures) is gone at the resource level.
Textures, be it array, cube, or 3d, now use a "unified" set of parameters,
there is no distinction between array members, cube faces, or 3d zslices.
This is unlike d3d10, whose subresource index includes layer information for
array textures, but which considers all z slices of a 3d texture to be part
of the same subresource.
In contrast to d3d10, OpenGL though reuses old 2d and 3d function entry points
for 1d and 2d array textures, respectively, which also implies that for instance
it is possible to specify all layers of a 2d array texture at once (note that
this is not possible for cube maps, which use the 2d entry points, although
it is possible for cube map arrays, which aren't supported yet in gallium).
This should possibly make drivers a bit simpler, and also get rid of mutually
exclusive parameters in some functions (as z and face were exclusive), one
potential downside would be that 3d array textures could not easily be supported
without reverting this, but those are nowhere to be seen.

Also along with adjusting to new parameters, rename get_tex_surface /
tex_surface_destroy to create_surface / surface_destroy and move them from
screen to context, which reflects much better what those do (they are analogous
to create_sampler_view / sampler_view_destroy).

PIPE_CAP_ARRAY_TEXTURES is used to indicate if a driver supports all of this
functionality (that is, both sampling from array texture as well as use a range
of layers as a render target, with selecting the layer from the geometry shader).
tw_framebuffer.c
tw_framebuffer.h
tw_st.c
tw_winsys.h
31aeac5bf91f3b1daacb1aa27505bfb25215da87 29-Nov-2010 José Fonseca <jfonseca@vmware.com> wgl: More complete WGL_ARB_pbuffer support.
tw_device.c
tw_device.h
tw_ext_pbuffer.c
tw_ext_pixelformat.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
Conscript
tw_ext_extensionsstring.c
tw_ext_pbuffer.c
tw_getprocaddress.c
db1689c23629d2cf66a7a35ed0e899006ef2af52 10-Nov-2010 Chia-I Wu <olv@lunarg.com> st/wgl: Use st_context_iface::share for DrvShareLists.
tw_context.c
7e9f5eab4e18e0b661fc9b65a0f409d10e041b24 05-Nov-2010 Jakob Bornecrantz <jakob@vmware.com> scons: Move dependancy checks to the main gallium scons file
Conscript
b4ac0adb75bddc1c17c57eb19c7e6dde52e4b7e7 04-Nov-2010 Jakob Bornecrantz <jakob@vmware.com> scons: Detabify

Drivers scons files for a later time
Conscript
4531356817ec8383ac35932903773de67af92e37 10-Sep-2010 Chia-I Wu <olv@lunarg.com> gallium: Add context profile support to st_api.

Add struct st_context_attribs to describe context profiles and
attributes. Modify st_api::create_context to take the new struct
instead of an st_visual.

st_context_attribs can be used to support GLX_ARB_create_context_profile
and GLX_EXT_create_context_es2_profile in the future. But the
motivation for doing it now is to be able to replace ST_API_OPENGL_ES1
and ST_API_OPENGL_ES2 by profiles.

Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is
not a sane abstraction, since all of them share glapi for current
context/dispatch management.
tw_context.c
59e6e765426a5877db7446e1e34bb7edd3dc1f74 23-Aug-2010 Chia-I Wu <olv@lunarg.com> st/wgl: Include main/core.h.

Make st/wgl include only main/core.h from core mesa.
tw_context.c
tw_device.c
tw_pixelformat.c
tw_pixelformat.h
5f66363f8ed26d6f3fc8fcccde804fe1fea1bbaa 21-May-2010 Jakob Bornecrantz <jakob@vmware.com> st_api: Add get param function to st_manager
tw_device.c
3293bcdc80cdfa20a2381aae2b94505bdf95d857 21-May-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-msaa'

Conflicts:
src/mesa/state_tracker/st_gen_mipmap.c
src/mesa/state_tracker/st_texture.c
a127e4709dcafa409dde25061481c130064a1c42 17-May-2010 Roland Scheidegger <sroland@vmware.com> st/wgl: adapt to interface changes
tw_pixelformat.c
80c8c891c9272a9a022335e61fa4c3514bb50df8 07-May-2010 José Fonseca <jfonseca@vmware.com> wgl: Add mapi to includes.
Conscript
210218bb96fce822ad58df6b6fdd41350c6fbdf8 26-Apr-2010 Vinson Lee <vlee@vmware.com> st/wgl: s/st_manager_create_api/st_gl_api_create/

commit 0c572c6828b6a338b07a6860280b3a314a81662e replaced
st_manager_create_api with st_gl_api_create.

Fixes MSVC build.
tw_st.c
0bddb58d2f8dc07500d0b063608d995628dbe363 11-Apr-2010 José Fonseca <jfonseca@vmware.com> stw: Update for pipe_resource interface changes.
tw_st.c
1dc8e08e84c6b014622e00090eb2d7301355faf6 11-Apr-2010 José Fonseca <jfonseca@vmware.com> stw: Fix minor st_api migration glitches.
tw_context.c
tw_st.c
192f06adca5e79b4824d92dc41186592ed57f71e 17-Mar-2010 Chia-I Wu <olvaffe@gmail.com> st/wgl: Switch from st_public.h to st_api.h. [V2]

This is only compile tested with crossmingw.

V2:
- reference count stw_framebuffer
Conscript
tw_context.c
tw_context.h
tw_device.c
tw_device.h
tw_ext_pixelformat.c
tw_framebuffer.c
tw_framebuffer.h
tw_pixelformat.c
tw_pixelformat.h
tw_st.c
tw_st.h
287c94ea4987033f9c99a2f91c5750c9083504ca 10-Apr-2010 Keith Whitwell <keithw@vmware.com> Squashed commit of the following:

commit 0189cb2fde9f5d7326fd4bfbc2e52db4cce73b3e
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Apr 10 12:48:43 2010 +0100

gallium: don't use generic get_transfer func for textures

It doesn't know and can't fill in the stride value.

commit 65bc6f88fd9ce8ff90175b250e580bef2739ea35
Author: Chia-I Wu <olv@lunarg.com>
Date: Sat Apr 10 13:49:34 2010 +0800

i915g: Initialize screen surface function.

commit eb56e64986790aa2fa35534ce652b78656b0c3c5
Merge: f8b0a7f e7f1e5c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Apr 10 00:38:43 2010 +0100

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/r300/r300_texture.c

commit f8b0a7f6a3a98fd36ce90a81073ec8c8f09b684c
Merge: a3c9980 f43c679
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Apr 10 00:35:09 2010 +0100

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/r300/r300_texture.c

commit a3c99807de37dc2c072f1d75ed3a11da333bc9a1
Author: unknown <michal@.(none)>
Date: Fri Apr 9 18:51:39 2010 +0200

scons: Add missing sources.

commit 927cec79cedb457efa9e6f335727cfcb8e4908e2
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 18:07:56 2010 +0200

gallium: fix another compile warning after merge. Hmpf.

commit 52953cd7b0e51deafecb812bdc40f9e45f9ac62a
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 18:02:11 2010 +0200

gallium: fix comment

commit 7c8763aa6cfc74adf1ea49c2bab25ca17b32575f
Author: unknown <michal@.(none)>
Date: Fri Apr 9 18:05:20 2010 +0200

util: Fix type cast.

commit 9d0086411a104b7cc9297aac0d1f82853118d7bf
Author: unknown <michal@.(none)>
Date: Fri Apr 9 18:04:33 2010 +0200

libgl-gdi: Use proper unwrap functions for resources.

commit 251a5cdd18ba31c690ef61f133dfc65cd4a45cf8
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 17:51:23 2010 +0200

gallium: more comments fixup

commit 8f3f9d5e1e9c0de98a3dfb19e81250d2c32ee4e9
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 17:48:18 2010 +0200

gallium: another fix after merge

commit 41f00a32ee5be91512c048bacb89ede0e04bc08d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 17:44:30 2010 +0200

gallium: more pipe_texture/resource fixes after merge

commit faf53328d1154c51d8a59513f2bfcae62272b0bf
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 17:44:24 2010 +0200

gallium: fix comments for changed USAGE flags

commit fdcb17bea4b0798d316b56deea69832f41142adf
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 16:40:07 2010 +0200

gallium/pb: pb uses PB_USAGE_ flags, not PIPE_TRANSFER_ (same value anyway)

commit c95f7278ecc6db417ec1053279f2a8172c47aee9
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:44:35 2010 +0100

llvmpipe: fix merge glitches

commit 28f8b8683175149a381be5eff263d4c20568bce7
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:41:39 2010 +0100

r300g: update after merge for pipe_resources

commit 248c93cbc066ba6e3fadd94c5fcf3bdbb373d8fd
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:41:20 2010 +0100

st/mesa: fix old pipe_texture usages

commit a563b1c5c2cb57b3ef28a3654d9b477460d13ced
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:40:56 2010 +0100

r300g: remove unused variable

commit 734500131d828c9dfd68c5fa26b3e6b07e086d2d
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:40:36 2010 +0100

nv50: fix compiler warning

commit efd402e13037e5c3e29759fa5b1c754c6d65d0e2
Merge: fec8a1d 5452615
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:33:57 2010 +0100

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/cell/ppu/cell_screen.c
src/gallium/drivers/cell/ppu/cell_texture.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/r300/r300_transfer.c
src/gallium/state_trackers/egl/common/egl_g3d.h
src/gallium/state_trackers/egl/kms/native_kms.c
src/gallium/state_trackers/egl/x11/native_dri2.c
src/gallium/state_trackers/egl/x11/native_ximage.c

commit fec8a1db13fac04ef56f6ece799d1f20aa3011db
Author: Marek Olšák <maraeo@gmail.com>
Date: Sat Apr 3 07:58:34 2010 +0200

util: fix assertion failures in pipe_buffer_flush_mapped_range

commit 1ff3984c2edce9927744f3cce3e7b07778990170
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 8 17:44:54 2010 +0200

docs: fix transfer_map description

commit 20bf14be8ac6438cb1afa38212e306fc06a5ed40
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Apr 8 14:39:13 2010 +0100

util: fix up several uses of pipe_map_buffer_range

This function used to return a pointer to where the start of the
actual buffer would have been, even though only the requested range is
being mapped.

In the resources change, the function was modified to use a transfer
internally, and started returning the pointer to the beginning of the
transfer, ie the mapped range.

Some users of the function were changed to reflect this new behaviour,
some were not. Since then the function has reverted to its original
behaviour, matching master.

This change restores some of the users of the map_buffer_range helper
to expect the old/original behaviour.

commit 33179a86058b68b518f40971030db337dc26fe6e
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Apr 8 14:38:54 2010 +0100

mesa/st: fix up several uses of pipe_map_buffer_range

This function used to return a pointer to where the start of the
actual buffer would have been, even though only the requested range is
being mapped.

In the resources change, the function was modified to use a transfer
internally, and started returning the pointer to the beginning of the
transfer, ie the mapped range.

Some users of the function were changed to reflect this new behaviour,
some were not. Since then the function has reverted to its original
behaviour, matching master.

This change restores some of the users of the map_buffer_range helper
to expect the old/original behaviour.

commit 3f5363d4dc9d7ad48467ae82d58d5f3d9bd10698
Author: Keith Whitwell <keithw@vmware.com>
Date: Wed Apr 7 17:26:52 2010 +0100

util: map_range and flush_range have offsets relative to start of buffer

commit 7eb1bfb97a790c73188d6b616d54fb3849e69b1e
Author: Keith Whitwell <keithw@vmware.com>
Date: Wed Apr 7 17:26:08 2010 +0100

nv50: fix compiler warning

commit d040daff0642dd791ac38e9b353dc251b03fc873
Author: Keith Whitwell <keithw@vmware.com>
Date: Wed Apr 7 17:25:58 2010 +0100

nvfx: fix compiler warning

commit 49ec01dffb8e99ab3ff8f856287db7b4df3efed6
Author: Chia-I Wu <olv@lunarg.com>
Date: Mon Apr 5 11:58:53 2010 +0800

mesa/es: Fixes for gallium-resources.

commit 47c87ada452be45766928a01b6d69da63e3a5f5e
Author: Marek Olšák <maraeo@gmail.com>
Date: Sat Apr 3 05:19:20 2010 +0200

r300g: fix transfers for textures created from winsys handles

commit 5f2701fddaef9c18d85c049311c2819c49cc1ae0
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Sat Apr 3 03:52:38 2010 +0200

nouveau: don't use the staging usage

Maybe it could make sense, but for now dynamic is enough.

None of these avoid uncached reads from GART on AGP cards.

commit 0db20fa49e008f35911007fa7ed9be1d678a2161
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Sat Apr 3 03:27:19 2010 +0200

i965: add brw_resource.c to Makefile

commit b94f3e7389cbd1b6465de3c04e8059ce73f1ea1f
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Sat Apr 3 01:48:33 2010 +0200

nouveau: fix for gallium-resources

commit a01ff99a19986e6beb7903431e60a074945b09bc
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 19:26:35 2010 +0200

gallium: fix missing includes

commit 26aeded562ce947a6deeb867fe22bf8daf7b1a1a
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 19:19:18 2010 +0200

gallium: remove video interface and related stuff

These interfaces weren't quite was needed, and building disabled for a while.
Some code actually build since some branch merge, and were now not fully
converted to gallium-resources.
See http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg09619.html
for a discussion of this. Video related work is done in origin/pipe-video
branch.

commit c64285aea45997a276fb141d7badc8a04f617c7c
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 18:45:54 2010 +0200

python: fixes for resource changes

doesn't look quite ok yet, but sort of compiles.

commit 03d4d5a41f5cf158a358fd705c695e1c987a328f
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 18:34:46 2010 +0200

gallium: s/u_box_orgin_2d/u_box_origin_2d

commit 2444f023142bcaf7bd310b44794580f273254408
Author: Marek Olšák <maraeo@gmail.com>
Date: Thu Apr 1 03:26:50 2010 +0200

r300g: fix segfault when the transfers functions are used

Still broken.

commit 6f09bf4066ab651b323c131bb07978e700519805
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 00:05:12 2010 +0200

r300g: compile fixes

commit 76711ff40d2092f9ef03d452de7458c4e76d9246
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 00:04:47 2010 +0200

nvfx: more compile fixes

commit c5d2e90c9cc119447a447dc04a4bce4ab91fc671
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Mar 31 23:18:50 2010 +0200

gallium: more mostly merge fallout fixes...

commit fbc3722696790857f4adc936190406e74dffd969
Merge: 86d9225 d97f696
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Mar 31 22:09:35 2010 +0200

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/cell/ppu/cell_screen.c
src/gallium/drivers/i915/i915_buffer.c
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_resource_texture.c
src/gallium/drivers/i915/i915_screen.c
src/gallium/drivers/i915/i915_state_emit.c
src/gallium/drivers/i965/brw_resource_texture.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/nvfx/nv30_fragtex.c
src/gallium/drivers/nvfx/nv40_fragtex.c
src/gallium/drivers/nvfx/nvfx_miptree.c
src/gallium/drivers/nvfx/nvfx_screen.c
src/gallium/drivers/nvfx/nvfx_transfer.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/svga/svga_screen_texture.c
src/gallium/state_trackers/dri/common/dri_drawable.c
src/gallium/state_trackers/dri/common/dri_screen.c
src/gallium/state_trackers/dri/common/dri_st_api.h
src/gallium/state_trackers/dri/drm/dri1.c
src/gallium/state_trackers/dri/drm/dri1.h
src/gallium/state_trackers/dri/drm/dri2.c
src/gallium/state_trackers/python/st_device.c
src/gallium/state_trackers/python/st_sample.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_readpixels.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_extensions.c

commit 86d9225d19d194eebbbe95b059695697c3307d15
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Mar 31 19:06:06 2010 +0200

gallium: more fixes for bind changes

commit a215ef0606347e34669a580ec8df93ede7e46399
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Mar 31 18:48:36 2010 +0200

gallium/docs: some updates for bind changes

commit c6c7e6746cbc7af59f7972719ed76f43e8ac16fc
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 30 20:24:26 2010 +0200

gallium: more bind change compile fixes

commit a83fa1504b78180524a5eb454ae186741a27cdf8
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 30 17:37:13 2010 +0200

compile fixes

commit 30dc8afcd243d6a160571bac5f06d773e54a4196
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 30 16:56:28 2010 +0200

fix some merge issues

commit 30aa617fee11fe50c0a9c2f33fcd120a474f5e34
Merge: 1dde609 3a830bc
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 30 16:09:45 2010 +0200

Merge commit 'origin/gallium-buffer-usage-cleanup' into gallium-resources

Conflicts:
src/gallium/drivers/nouveau/nouveau_screen.c
src/gallium/drivers/nvfx/nvfx_transfer.c
src/gallium/winsys/drm/radeon/core/radeon_drm_buffer.c

commit 1dde609ad6c9d2dfa0a5f7167f3c5bcf023b7c4d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Mar 24 02:35:00 2010 +0100

docs: some updates for pipe_resource

commit f236f9660d31b936f54b64ae07e569f8637067bd
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Wed Mar 24 01:31:28 2010 +0100

nvfx: fix for gallium-resources

It seems to work with basic applications but almost surely needs more work.

In particular, it probably shouldn't use PIPE_BUFFER_USAGE_* flags
and should use PIPE_TRANSFER_* in several places.

Also, we probably don't want the vtable indirect calls and that ought
to be replaced with something better instead.

commit 5a136ad7b63768cb9a753eff8686c44592e62325
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Wed Mar 24 01:31:19 2010 +0100

nv50: fix build in gallium-resources

Not actually tested.

Also needs next patch tee to actually build, this is just the nv50 part
split from the rest.

commit 3a830bc4a3f0f60c925b9434845a6bcad9a913c5
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 23 14:00:52 2010 -0700

st/egl: fix up for binding flags

commit c6a80dc32ef17bc972d4137ce7444ebed4d28ebb
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 23 13:52:15 2010 -0700

r300: restore 4k alignment for oqbo buffers

commit e75a8d5ea9e0ffcf67bc858e08937e10b4fc74ba
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 23 13:00:07 2010 -0700

gallium: bind flags

commit 1f5b509543a7f399835fd9edf27c18e1643fab7d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 19:32:21 2010 +0100

i965g: scons compile fixes

commit 2c385f8f905ec794d9119c05c6293e0b1b9b565a
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 19:20:33 2010 +0100

nouveau: drm compile fix

commit b285086ebd5132b47c340897c4622cc9fbd286cb
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 18:36:19 2010 +0100

r300g: pipe_resource compile fixes

bring back mistakenly deleted radeon_buffer.h
plus some more

commit 7810606f423ef2f51f0a14b919640c2fd2c931aa
Author: Michal Krol <michal@vmware.com>
Date: Tue Mar 23 16:21:03 2010 +0100

softpipe: Map GS constants, too.

commit 366f1176fb89d2b1978da6cfe60000b76bbc7338
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 15:51:52 2010 +0100

failover: update for pipe_resources

commit 615f44d70d293704ed821bc0b21fcfe6e363895d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 15:51:02 2010 +0100

identity: remove double is_resource_reference assignment

commit 7008586020395905ddfff333d02b3893de369796
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 15:50:32 2010 +0100

trace: compile fix

commit 058c5697bda4c9cf7b49d26ee27a34586544efaa
Merge: dd7ba13 b33fd3c
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 23 06:40:39 2010 -0700

Merge commit 'origin/gallium-resources' into gallium-buffer-usage-cleanup

Conflicts:
src/gallium/state_trackers/vega/api_filters.c
src/mesa/state_tracker/st_cb_drawpixels.c

commit b33fd3ce3daf2921a895367d0ed3fd9c718a8575
Author: Michal Krol <michal@vmware.com>
Date: Mon Mar 22 21:03:26 2010 +0100

gallium: Usage parameter of get_transfer/transfer_inline_write is a bitfield.

commit 9c1162d9d656062a490a529997def3f674cc61fc
Author: Michal Krol <michal@vmware.com>
Date: Mon Mar 22 20:50:49 2010 +0100

scons: Update file lists after gallium-resources changes.

commit af9793ab9e5386b150d6b25c0d1978fdc67172e4
Author: Michal Krol <michal@vmware.com>
Date: Mon Mar 22 20:04:39 2010 +0100

gallium: Do not use `template` for formal parameter names.

commit dc2e12d714c444af9ff1acdd5a7e91408b116c99
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:41:34 2010 +0000

ws/nouveau: remove pipe_texture reference

commit b94c72329f1be85887d40d49b0586979da469d77
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:40:41 2010 +0000

ws/xlib: remove pipe_buffer reference in comment

commit 0a2af3eeae7de1d1cb433f0a2c35136b115f9920
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:39:34 2010 +0000

st/vega: clean up reference to pipe_texture

commit 437ce98daae46be5d532fbb04c7cbf4a503c1623
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:39:02 2010 +0000

st/python: begin conversion to pipe_resources, much more to do

commit 1b02e1ee3e5e87774f0c9e5f0e1898b7f8de1b16
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:29:34 2010 +0000

st/xorg: update for pipe_resources

commit eb39977fe7a1d9f0c3f4f2d4303a93c2c613cc3b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:23:51 2010 +0000

st/dri: update for pipe_resources

commit e447aeff597a4d8c0f5de25854c14c99f2cc138c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:23:36 2010 +0000

st/egl: update for pipe_resources

commit e4cc48da8fdbd7d521257a6d7cd10e6fc5aa1a65
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:08:44 2010 +0000

r300: drop use of R300 DONT SYNC flag

commit 129a83ab4d32e44ded5faea3f86ae5e1e62cddb6
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:08:17 2010 +0000

pipebuffer: use transfer flag

commit 575b35ee6b683d77095ef21c573c1de207107e79
Merge: f29ac73 9fc6c8b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:03:25 2010 +0000

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/winsys/drm/radeon/core/radeon_buffer.h

commit f29ac73f3f626d5779a627b7fa6fecdb60a35aab
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 18:37:25 2010 +0000

cell: attempt to convert to pipe_resources

Can't even compile test this driver.

commit 484b1947f4af81bab60b41f21c3c23ea6f67488c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 17:25:50 2010 +0000

nvfx: restore usage of pipe_winsys

The interface that cannot be killed...

commit ac76ac6eb30f4f9aa9f5733d60358b357925953a
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 17:25:10 2010 +0000

nv50: fix warning

commit 9683f4423449fa5acf6c019c571223650473bd82
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 17:14:31 2010 +0000

util: restore u_simple_screen, nouveau still relies on it

commit 961cbcb62232689c959965384c6aa9b8eca697c1
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 16:51:54 2010 +0000

nouveau: convert nvfx and nv50 to pipe_resources

Compile tested only.

This was a deeper change than I was hoping for, due to the
layering of the pipe_texture implementation in each driver on
top of a shared pipe_buffer implementation in the shared code.

Have modified the shared code to act as a set of convenience
routines operating on nouveau_bo objects.

Each driver now uses the u_resource_vtbl technique to split the
implementation of pipe_resources between the existing miptree code
for textures and a new, minimal buffer implementation in each
driver.

Eventually these should be combined, not least because APIs are now
allowing things like binding buffer resources as textures and render
targets.

commit 18ba74016db13b23282f5033ee37b628a12ee566
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 10:02:54 2010 +0000

r300: fix compilation after merge

Also build r300 by default.

commit eb9c0175c8e4baca3fcb0b8364f83ceba9d74e0d
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 09:59:49 2010 +0000

st/vega: fix up after merge

commit ea8dd1d4ae7b58c9315c3491046ef3852ddd3377
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 09:59:44 2010 +0000

aux: remove unused piperesource helpers

commit be7af29d3ad1a10409b0ea689d882cf30a4e1d62
Merge: d22c2c6 12deb9e
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 09:54:53 2010 +0000

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/cso_cache/cso_context.h
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_state_derived.c
src/gallium/state_trackers/vega/api_filters.c
src/gallium/state_trackers/vega/image.c
src/gallium/state_trackers/vega/image.h
src/gallium/state_trackers/vega/mask.c
src/gallium/state_trackers/vega/mask.h
src/gallium/state_trackers/vega/paint.c
src/gallium/state_trackers/vega/paint.h
src/gallium/state_trackers/vega/renderer.c
src/gallium/state_trackers/vega/renderer.h
src/gallium/state_trackers/vega/shader.c
src/gallium/state_trackers/vega/vg_context.h
src/gallium/state_trackers/vega/vg_tracker.c
src/mesa/state_tracker/st_manager.c

commit d22c2c6cb23a063e3334a165d0c5c3d73f05d234
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 20 11:48:54 2010 +0000

drm/r300: update for r300g pipe_resources conversion

Remove old files that related to pipe_buffers but weren't being
built. Hopefully this is correct.

commit f07b2c836958bee5796899123eca4ed05ac6242b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 20 11:47:03 2010 +0000

r300: convert to pipe_resources

Do a very shallow conversion - basically keeping the existing
buffer and texture code intact and using a vtbl struct
inside our resource struct to select between the two implementations.

The buffer and texture treatments could be further merged without
much effort, but try to keep the existing code working at this point.

commit feca9c3ca62daaf0d8745370106d4e3b22340c49
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 06:00:34 2010 +0000

gallium: update new merges to pipe_resource

commit 1cad983eac77a0c5333e6a3ce92b90ac87407714
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 06:00:19 2010 +0000

drm/sw: update new merges to pipe_resource

commit 191d39490ed792c569f98d42cf05891b264f71f8
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 06:00:01 2010 +0000

vg: update new merges to pipe_resource

commit b727c59bc44812ad503d9390505c92b738a5b8b0
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 05:59:38 2010 +0000

llvmpipe: update new merges to pipe_resource

commit 5f4b64b37fdcd70162c382b2ebbd494bef751dbd
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 05:59:23 2010 +0000

brw: pipe_resource fixes

commit d4aca209f531f1b65bf706ce1e5fc0375b587eb6
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 05:59:06 2010 +0000

util: update new merges to pipe_resource

commit cf6bef0afee10763c78509a3d17e9a6e49bcd3c8
Merge: 1997231 6de8e56
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 05:38:50 2010 +0000

Merge commit 'origin/master' into gallium-resources

commit 1997231916144485c3c4a36f53eda39fce460272
Merge: ad88ac7 e1ee3ea
Author: Keith Whitwell <keithw@vmware.com>
Date: Wed Mar 17 08:46:38 2010 +0000

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_blit.h
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/auxiliary/util/u_gen_mipmap.h
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_gen_mipmap.c

commit ad88ac79034a91670940276e722bdd398d5c9023
Merge: 77bc770 8cdfd12
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 16 09:13:07 2010 +0000

Merge branch 'gallium-sampler-view' into gallium-resources

Conflicts:
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/softpipe/sp_texture.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_framebuffer.c
src/mesa/state_tracker/st_texture.c

commit 77bc770c991ea025c82eaa4e0e2390efd825d96d
Author: Keith Whitwell <keithw@vmware.com>
Date: Mon Mar 15 22:21:48 2010 +0000

util: missing file

commit f83c91db8ae63a3c3a34ff21492427a5663fb760
Merge: c1d4774 42910eb
Author: Keith Whitwell <keithw@vmware.com>
Date: Mon Mar 15 09:48:58 2010 +0000

Merge commit 'origin/gallium-sampler-view' into gallium-resources

Conflicts:
src/gallium/drivers/nv40/nv40_transfer.c
src/gallium/drivers/nvfx/nvfx_transfer.c
src/gallium/drivers/trace/tr_drm.c

commit dd7ba1378fc50710667724d30d6d4cf1125ad61e
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 23:54:36 2010 +0000

gallium: start a cleanup of buffer_usage

Remove fairly meaningless CPU/GPU READ/WRITE flags and
replace with proper usages.

commit c1d4774187189f4af8ff421b210824f3d53ceefb
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 23:05:45 2010 +0000

llvmpipe: don't FREE userbuffer data

commit 9bfa07afe179f8060e7beefb754a29c4d9c6e349
Merge: 65757a1 08cddfe
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 22:54:51 2010 +0000

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_scene.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/llvmpipe/lp_texture.h
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/svga/svga_screen_texture.c

commit 65757a143f8e3fcd7afbc1ff92db44a823edf46c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 22:41:17 2010 +0000

svga: build fixes

commit 2f5435220501d4b3050cab2bb1dce6174cd13ff6
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 22:39:25 2010 +0000

gallivm: build fix

commit 42642ec0984107d82b740711f2debbf38457a06e
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 22:38:33 2010 +0000

llvmpipe: convert to pipe_resources

commit 7bbcb21e20cb545ef8dd5fc61d67ed931c69e813
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 22:19:30 2010 +0000

gallivm: convert to pipe_resources

commit 88ae0d04610ca52649b42e32141a52af6d5a739b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 21:01:22 2010 +0000

configs: build svga

commit 0e112bc69828e65085ebfaef895ecd78fe53f1c4
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 21:01:17 2010 +0000

gallium: restore PIPE_BUFFER_USAGE_CUSTOM

commit 102aca688b95c976b7178b84092fba7d041ff9d2
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 21:00:41 2010 +0000

util: more transfer helpers

commit a79f6a4a0836fc64c07f9aeec21d914474fe3649
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 20:59:36 2010 +0000

svga: convert to use pipe_resrource

As with others so far, a fairly shallow conversion.

commit 087fb54492fa5e3baf040c5efbf7dacd98a8849b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 18:38:08 2010 +0000

brw: fix function name

commit cfc9dd707d16e06fd23b6926da3a6e2269f31dc8
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 18:19:06 2010 +0000

gallium: enable brw compile

commit 8a5b86d76bdd3c7de63322423f59940a4dc2ee25
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 18:18:50 2010 +0000

brw: compiles with pipe_resource

commit 563ca458b548c41ca4dca559354c16ca1a80d009
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 18:18:42 2010 +0000

i915: hook up userbuffer create

commit b5095b48247b6020e36cc942ac145c3fccbe9a19
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 17:20:51 2010 +0000

i915: use helpers for is_resource_referenced

commit d5392bdc6d70002acf9c5bac0fde14ba405c4d84
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 17:20:38 2010 +0000

util: helpers for is_resource_referenced

commit 2f3492a5aefbb2e745f6700d8e910ebb5cbb98cf
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 17:08:50 2010 +0000

i915: remove buffer.c again

commit 1373a35b65fcc25ec6cdfea2703bbb3417de2c6d
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 17:08:34 2010 +0000

i915: add new files to scons

commit 0251612d70e57fe38e10e75915b394631d224f2c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 16:38:29 2010 +0000

i915: compiling with pipe_resources

commit 9a0235864252929a8eedd44dbd2fe30fe54c531d
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 13:51:16 2010 +0000

gallium: remove inline_read transfer

commit a6ba315e25793e0c228d3a4ae2f8201634dc9ff0
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 13:50:32 2010 +0000

trace: get running

Some dumping will be incorrect or disabled, but it runs without
crashing

commit 2133f1d90aa919662a8420a0cf3b4557e6ec1afd
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 13:49:42 2010 +0000

gallium: remove the inline_read transfer

There aren't enough users of this to justify it.

commit bccaf1fa30881f6b4fb189a9b74fc7af79c3b481
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 12:30:37 2010 +0000

identity: hook up inline transfer operations

commit e4c152a344f2f53c842b810724a2ae7cb4554f58
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 12:21:54 2010 +0000

gallium: build trace and identity

commit 0b5a311db78852fa9fd021e17b5968a1e0436b49
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 12:21:36 2010 +0000

gallium: add more of the transfer state to pipe_transfer

Not really sure if recording all the arguments to the
create_{transfer,texture,surface,etc} functions in the result of those
calls is a great idea, but it seems we're fairly dependent on it
throughout the code.

commit a23985c26eafe76b0a7dacc892e50cb589f211fe
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 12:19:46 2010 +0000

identity: compiles with pipe_resources

commit d0d630944304c208f6dade6ef8836763ee2bc7b4
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 12:13:02 2010 +0000

trace: compiles with pipe_resources

commit a4451ea459cc8bfc915fe6aed2891b90854b6c9d
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:39:50 2010 +0000

softpipe: give userbuffers a format other than NONE

Most mesa demos working

commit 32bb1bd4ba29884a4ecfa11c8441d33dfceabcef
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:39:21 2010 +0000

util: correct argument order in pipe_buffer_map

commit 7e2696c06445282feb781047277b260308760a33
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:32:55 2010 +0000

softpipe: transfer flush

commit a0543b13c042e3c1142522d9d136f16fd4cabf78
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:32:13 2010 +0000

util: noop implementation of transfer_flush_region

commit ce418533be752dbeb164e7ff82a99483048e482b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:26:07 2010 +0000

gallium: softpipe runs gears with pipe_resources

commit bfda4f2eb34498e4b7f3c608d30fccff6bb9651b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:25:48 2010 +0000

util: get clip_tile working again

commit f5ef219c3bed62b6a0da842e675fae16268e0fbe
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 09:43:20 2010 +0000

softpipe: use u_transfer helpers

commit 072957aab25affecf0702e925310e46c694a5ee4
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 09:42:46 2010 +0000

util: helpers for inline transfers

commit 9c45561fb0d7a52400093bcb2ce5f727fafd7777
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 09:42:25 2010 +0000

util: fix typo calculating transfer box

commit f3e98fd47f36804d019a684d49ff230df3ab0cf5
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 09:25:46 2010 +0000

st/vega: convert to pipe_resource

commit d1b7b00afc944f6499c83d676c7642115d62a62c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 08:37:56 2010 +0000

gallium: begin converting drivers to pipe_resource

Work in progress...

commit 51c25117f5d6da1926a2be5ecc66677952a8abf0
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 13 20:16:27 2010 +0000

gallium: work in progress on layering resources on top of old textures

Helper code in an aux module to avoid rewriting all the drivers.

commit fb6764d3ce95c55aa78af2f1c8cbb17b79ce1ba2
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 13 19:19:09 2010 +0000

heaps of wip

commit ee6b3bc730fcdaf8da3646d62f04578ec06d36a1
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 13 16:38:02 2010 +0000

wip2

commit 1830880212445189fe267d615075239ed17c7cc0
Merge: 90b4045 47bfbd4
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 13 15:14:03 2010 +0000

Merge branch 'gallium-sampler-view' into gallium-resources

Conflicts:
src/gallium/include/pipe/p_context.h
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_texture.h

commit 90b4045fbc0a093fcd04efba7e045ec259c490b8
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 13 14:52:43 2010 +0000

wip
tw_pixelformat.c
6fb364a1717858d8201b2caf234076ce5d4832ac 30-Mar-2010 Roland Scheidegger <sroland@vmware.com> gallium: adapt all code to the renamed depth/stencil formats
tw_pixelformat.c
b13e305ee1a2454265fd957a99640a2e49507bea 12-Mar-2010 Michel Dänzer <daenzer@vmware.com> Merge branch '7.8'
fab1f07d6ad01463897ae792f4b33738afb07369 13-Jun-2008 Jeff Smith <whydoubt@yahoo.com> Grammar and spelling fixes

Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
tw_framebuffer.h
de27e272f42f8f453588edbcb98f3e510dad869b 10-Mar-2010 Keith Whitwell <keithw@vmware.com> gallium: remove trace module injection from various state trackers

Components such as state trackers, drivers, etc, should be free to be
recombined in arbtrary ways to build driver stacks. They should not
be reaching out and trying to build the stack themselves - this is now
expected to be handled by the "target" abstraction.
tw_device.c
tw_device.h
tw_ext_gallium.c
tw_framebuffer.c
80f86d22b2d16e3191dfeedcb9ea94bf30db68a5 10-Mar-2010 Keith Whitwell <keithw@vmware.com> st/wgl: add missing paramter
tw_context.c
3e38dbe3d3371f0a37dd35582301ae2b1507e5d2 10-Mar-2010 Keith Whitwell <keithw@vmware.com> gallium: plumb winsys-drawable-handle through to state tracker

The state trackers need this value so that they can supply it
as the "void *" argument to flush_frontbuffer.

Fixes single-buffer rendering.
tw_context.c
f4113012e0b0defa0ddb8ff3b7f6a518df9ac1e0 04-Mar-2010 Vinson Lee <vlee@vmware.com> wgl: Fix mingw32 build.

This was missed in commit fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8.
tw_pixelformat.c
2998cad9ce0c2c60078a28e6a0f3f3bbda3a6535 02-Mar-2010 José Fonseca <jfonseca@vmware.com> Merge branch 'gallium-format-cleanup'
d41ab94d35cb47effbd2582289298be4f13c50e4 01-Mar-2010 George Sapountzis <gsapountzis@gmail.com> glapi.c: misc coscmetic for FreeTSD

- move out of of the dispatch/context block to after corresponding init functions

- use more consistent naming with corresponding init functions

- XXX use _glthread_InitTSD() vs (void)_glthread_GetTSD() in _glapi_check_multithread() XXX
tw_device.c
5706d7fcaf3c3238c652593d5669b9f793c6cdce 01-Mar-2010 José Fonseca <jfonseca@vmware.com> wgl: Rename pipe formats.
tw_pixelformat.c
33cf477c37535e39858b26caa282e167f1ab04d8 15-Feb-2010 José Fonseca <jfonseca@vmware.com> 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.
tw_context.c
a583c3ab476078332679f96d2ca7fe8aab4c8d2d 13-Feb-2010 José Fonseca <jfonseca@vmware.com> wgl: Implement wglSwapMultipleBuffers.
pengl32.def
pengl32.mingw.def
tw_wgl.c
tw_wgl.h
a80d988144efad54e7a99920f8681e28243e9e9a 12-Feb-2010 José Fonseca <jfonseca@vmware.com> wgl: Go into dormant state when DLL is unloaded unclealy.

When our DLL is unloaded, even if we leave the data structures in memory
for sake of future calls, the MS CRT will destroy the heap. Instead we
make all calls no-ops by setting stw_dev to NULL.
tw_device.c
e475ae920a4f6026b78b0bbe80c83cf4060f610e 12-Feb-2010 José Fonseca <jfonseca@vmware.com> wgl: Do not reach out and destroy contexts on cleanup.

Simply skip cleanup when contexts are still active.

This addresses two issues:

- in some situations the ICD DLL may be unloaded before the DLL that is
using GL contexts is, so we may receive GL calls after stw_cleanup.

- when aborting (exception, or control-c) the contexts may have been left
in an inconsistent state and attempting to destroy can cause
unpredictable results.
tw_device.c
e6b66210def2c10f703c2a990b9652ea5419ebbe 11-Feb-2010 José Fonseca <jfonseca@vmware.com> wgl: Fail gracefully whenever 3D could not be enabled for some reason.
tw_context.c
tw_framebuffer.c
tw_getprocaddress.c
tw_pixelformat.c
7f41f5447c8f9113c8956901e1c5fff6081ecd94 08-Feb-2010 Keith Whitwell <keithw@vmware.com> gallium: squash-merge of gallium screen context

Squashed commit of the following:

commit 009598122adf5cad42bf9af067eccaf8e89e1233
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Mon Feb 8 11:03:26 2010 +0000

nouveau: fix gallium-screen-context branch fallout

commit 7b2ffc2019d72e833afea7eebf3e80121187375d
Merge: 51e190e c036d13
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Feb 5 09:55:02 2010 +0000

Merge commit 'origin/master' into gallium-screen-context

Conflicts:
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c

This branch has got a pretty tortured history now, I expect
a squash merge will be appropriate when it is done.

commit 51e190e95acf120f72768fafb29e9721e358df1b
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 17:58:02 2010 +0000

gallium: fix some build issues

commit f524bdaa723fb181637ad30c6ad708aeedabe25b
Merge: f906212 3aba0a2
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 17:51:32 2010 +0000

Merge commit 'origin/master' into gallium-screen-context

commit f9062126883199eabf045714c717cd35f4b7b313
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 17:17:12 2010 +0000

gallium/docs: small description of screen::create_context

commit efcb37bd3d5ed37f06c6105bd2d750b374ec0927
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:42:42 2010 +0000

drm/radeon: more dead create_context wrapper removal

commit 6badc0dd9e06cf2ec936940bcf12b9ef5324b301
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:42:30 2010 +0000

drm/i965: more dead create_context wrapper removal

commit cf04ebd5a54b18b2d894cfdab2b0f2fd55626ffc
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:42:05 2010 +0000

st/python: more dead create_context wrapper removal

commit 444f114c3516abf71c430e6e9d0d2ae3b80679d3
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:37:58 2010 +0000

idenity: wrapped context creation

commit 5a6d09cb9e468d1ee6c8d54b887618819d8d94f2
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:28:47 2010 +0000

ws/gdi: remove dead context_create wrapper

commit 132b55f4bec39386ac625f09aaa11f609664024c
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:27:52 2010 +0000

ws/gdi: remove dead context_create wrapper

commit 56d2d21a0cdcb197a364049d354c2f15a4fc026a
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:25:38 2010 +0000

st/xorg: use screen::context_create

commit 838c5cfe56b2af6c644909bed3c5e7cdd64c336a
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:23:20 2010 +0000

glx/xlib: simplify creation of trace-wrapped contexts

Trace screen knows how to properly wrap context creation in the
wrapped screen, so nothing special to do here.

commit c99404c03ebaec4175f08a2f363e43c9085f2635
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:18:24 2010 +0000

st/python: no need to special case context creation for trace

commit 193a527a682b6877bb1faecd8092df4dfd055a18
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:15:30 2010 +0000

drm/radeon: remove dead create_context declaration

commit bb984eecc25cf23bc77e1c818b81165ba1a07c9a
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:14:58 2010 +0000

nv/drm: remove dead create_context ref

commit e809313a44287dc4e16c28e9e74ef3b2b5271aa1
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:12:51 2010 +0000

st/egl: remove a layer of wrappers around screen::create_context

commit 39caa6672a04122f185c22e17aab86d1c40938bf
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:05:28 2010 +0000

r300g: fill in screen::context_create

commit 407f12556d16ba0656774d8a1d9ebda22f82f473
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:04:04 2010 +0000

cell: adapt for screen::create_context, untested

commit d02b0c6ce321a04c76fdabb09e0e4380ce1c1376
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:50:24 2010 +0000

drm/nv: adapt for screen::create_context

All contexts now created directly through the screen, so remove
equivalent code here.

Remove apparently un-needed array of contexts in the winsys.

commit 53eec5b1349aa1b6892a75a7bff7e7530957aeae
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:50:08 2010 +0000

stw: adapt for screen::create_context, untested

commit c6a64de3eb381bc9a88e9fbdecbf87d77925aaf5
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:49:20 2010 +0000

trace: expose the wrapped context's priv data

If we are going to keep this priv idea, really want an accessor
function for it so that trace and other drivers can wrap that.

commit 75d6104e11d86ec2b0749627ed58e35f856ee6eb
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:47:55 2010 +0000

nv30: adapt to screen::context_create

commit 12f5deb6ed9723e9b5d34577052b8365813ca14e
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:44:47 2010 +0000

nv40: adapt to screen::context_create

commit 14baccaa3b6bbb3b91056126f6521828e786dc62
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:35:27 2010 +0000

nv50: adapt to screen::create_context

Not build tested. Need to figure out how to build nouveau.

commit a0e94505ccd2d7f3e604465a2ac302f1286b73b6
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:22:27 2010 +0000

llvmpipe: update for screen::create_context, untested

commit 0eae17107c950346030e4f7e0ec232f868d3893d
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:16:57 2010 +0000

xlib/llvmpipe: remove dead winsys context creation path

commit 2f69f9ffaa7e2a01d2483277246ed13051ae4ca3
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 14:58:27 2010 +0000

gallium: convert most code to use screen::create_context

I wish I could build all of gallium at once to find breakages.

commit d7b57f4061b82322cbcae176125913d9f0dea6c1
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 12:46:21 2010 +0000

glx: permit building with older protocol headers

I'd like to be able to build mesa on current distro releases without
having to upgrade from the standard dri2proto and glproto headers. With
this change I'm able to build on ancient releases such as Ubuntu 9-10...

In general, it would be nice to be able to build-test mesa to check for
unintended breakages without having to follow the external dependencies
of every group working on the codebase.

commit 57adedd6fb06c98572ed8d4aef19203df4c4eea2
Merge: da71847 e1906ae
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 11:38:15 2010 +0000

Merge commit 'origin/master' into gallium-screen-context

Conflicts:
src/gallium/drivers/softpipe/sp_video_context.h
src/gallium/drivers/trace/tr_context.c
src/gallium/state_trackers/wgl/shared/stw_context.c
src/gallium/winsys/gdi/gdi_softpipe_winsys.c

commit da71847ea6414d7e352c6094f8963bb4eda344dc
Author: José Fonseca <jfonseca@vmware.com>
Date: Sat May 2 08:57:39 2009 +0100

wgl: Use pipe_screen::context_create.

commit 2595a188f93fd903600ef5d8517737ee0592035d
Author: José Fonseca <jfonseca@vmware.com>
Date: Sat May 2 08:56:47 2009 +0100

trace: Implement pipe_screen::context_create.

commit f3640e4ae37a5260cbfba999d079f827de0a313a
Author: José Fonseca <jfonseca@vmware.com>
Date: Sat May 2 08:56:17 2009 +0100

softpipe: Implement pipe_screen::context_create.

commit 347266bddc8bd39c711bacb2193793759d0f3696
Author: José Fonseca <jfonseca@vmware.com>
Date: Sat May 2 08:55:31 2009 +0100

gallium: New pipe_screen::context_create callback.
tw_context.c
tw_ext_gallium.c
tw_winsys.h
2aaca1df9df6980ec88180c8866c8987b31db91a 02-Feb-2010 José Fonseca <jfonseca@vmware.com> gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.

Into os/os_thread.h and util/u_atomic.h respectively.
tw_device.h
tw_framebuffer.h
cd8614b0287dc5a69725ec4ee0208fad61f7789e 22-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
src/gallium/auxiliary/pipebuffer/Makefile
src/gallium/auxiliary/pipebuffer/SConscript
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/drivers/i915/i915_surface.c
src/gallium/drivers/i915/i915_texture.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/softpipe/sp_prim_vbuf.c
src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/winsys/drm/intel/gem/intel_drm_api.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
src/gallium/winsys/drm/radeon/core/radeon_drm.c
src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c
src/mesa/state_tracker/st_cb_clear.c
7a39a5c1cb5087a1b8247f9bed59bf9374717cb3 19-Jan-2010 José Fonseca <jfonseca@vmware.com> wgl: Check for PIPE_TEXTURE_USAGE_DISPLAY_TARGET support in exported color pixel formats.

Since all formats we export have PFD_DRAW_TO_WINDOW flag.
tw_pixelformat.c
5e870f4fe9e71b7f467f2a0b03934352f90846cc 19-Jan-2010 José Fonseca <jfonseca@vmware.com> wgl: Don't export pure-stencil pixel formats.

They cause DCT's conform to always fail.
tw_pixelformat.c
3d747eded475b227cc025391d0438a5dd1357cb9 31-Dec-2009 José Fonseca <jfonseca@vmware.com> scons: Don't globally define WIN32_LEAN_AND_MEAN.

Some of the demo progams legitimately need the functionality
that's disabled by WIN32_LEAN_AND_MEAN.

Instead the solution should be to define WIN32_LEAN_AND_MEAN just before
including windows.h on a case by case basis.
Conscript
16c6dce013f089d072256652f012b3b604781bfd 17-Dec-2009 Michal Krol <michal@vmware.com> Merge branch 'master' into pipe-format-simplify

Conflicts:
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_pstipple.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/auxiliary/util/u_surface.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/drivers/cell/ppu/cell_texture.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/softpipe/sp_tile_cache.c
src/gallium/drivers/svga/svga_state_vs.c
src/gallium/include/pipe/p_format.h
src/gallium/state_trackers/dri/dri_drawable.c
src/gallium/state_trackers/egl/egl_surface.c
src/gallium/state_trackers/python/p_device.i
src/gallium/state_trackers/python/st_softpipe_winsys.c
src/gallium/state_trackers/vega/api_filters.c
src/gallium/state_trackers/vega/image.c
src/gallium/state_trackers/vega/mask.c
src/gallium/state_trackers/vega/paint.c
src/gallium/state_trackers/vega/renderer.c
src/gallium/state_trackers/vega/vg_tracker.c
src/gallium/state_trackers/xorg/xorg_crtc.c
src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/state_trackers/xorg/xorg_exa.c
src/gallium/state_trackers/xorg/xorg_renderer.c
src/gallium/state_trackers/xorg/xorg_xv.c
src/gallium/state_trackers/xorg/xvmc/surface.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
src/gallium/winsys/drm/radeon/core/radeon_buffer.c
src/gallium/winsys/egl_xlib/sw_winsys.c
src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c
src/gallium/winsys/gdi/gdi_softpipe_winsys.c
src/gallium/winsys/xlib/xlib_cell.c
src/gallium/winsys/xlib/xlib_llvmpipe.c
src/gallium/winsys/xlib/xlib_softpipe.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_texture.c
6fd8b9b550713302566bb4c28e49c219870ccfec 08-Dec-2009 Michal Krol <michal@vmware.com> Remove remaining pipe format utility functions.

Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2().

Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values:

UNKNOWN = TYPE_VOID
UNORM = TYPE_UNSIGNED + LAYOUT_ARITH
SNORM = TYPE_SIGNED + LAYOUT_ARITH
FIXED = TYPE_FIXED
FLOAT = TYPE_FLOAT
USCALED = TYPE_UNSIGNED + LAYOUT_ARRAY
SSCALED = TYPE_SIGNED + LAYOUT_ARRAY
SRGB = TYPE_COLORSPACE_SRGB
tw_framebuffer.c
tw_pixelformat.c
f5bd93fae2e4f46665eb1f09ca64cb39ff2b8a79 03-Dec-2009 Michal Krol <michal@vmware.com> Move pf_get_component_bits() to u_format auxiliary module.
tw_framebuffer.c
tw_pixelformat.c
b2581dcab41c142c38f2e065c4348cb892931c48 02-Dec-2009 José Fonseca <jfonseca@vmware.com> wgl: Call st_swapbuffers instead of st_notify_swapbuffers.

This will get single buffer, double buffer, and
joint single/double buffer (typical in CAD applications) done right,
at least as far as the frambuffer is concerned.

There are still problems with multiple contexts using the same
framebuffer because st_framebuffer_* calls assume the framebuffer
is bound to a single context.
tw_device.c
tw_framebuffer.c
tw_framebuffer.h
dc86f4a20b6ffe0340ca178dc303271a8a112bb9 11-Nov-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix copy'n'paste typo in comment.
tw_winsys.h
c6d663e6dc8799a178b03bc3059ef5c5c3d7f629 11-Nov-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix copy'n'paste typo in comment.
tw_winsys.h
4e5ed05b025b9b6a1a6dabba72fce3d918e77044 24-Sep-2009 José Fonseca <jfonseca@vmware.com> wgl: DWM integration.
pengl32.def
pengl32.mingw.def
tw_device.c
tw_device.h
tw_framebuffer.c
tw_framebuffer.h
tw_icd.h
tw_pixelformat.c
tw_pixelformat.h
tw_winsys.h
31f1571d1f6e325c16833afbb6e15b61561e5f1f 22-Sep-2009 José Fonseca <jfonseca@vmware.com> wgl: Eliminate the shared layer; implement WGL API on top of the ICD callbacks.

While the WGL API has been stale for decades now, the ICD interface has
been updated with new Windows versions, so it is much easier to define
everything in terms of the ICD interfaces, which is pretty much what
Microsoft's opengl32.dll does anyway.
Conscript
tw_context.c
tw_context.h
tw_device.c
tw_device.h
tw_ext_gallium.c
tw_ext_pixelformat.c
tw_framebuffer.c
tw_getprocaddress.c
tw_icd.c
tw_pixelformat.c
tw_pixelformat.h
tw_public.h
tw_wgl.c
f724036f0045bd28f323af3666c43b3ef03b6886 22-Sep-2009 José Fonseca <jfonseca@vmware.com> wgl: Flatten the source tree.

It is easier to have the WGL API on top of the ICD callbacks as
Microsoft's own implementation does, than to have a seperate shared
entity. This source reorganization is in antecipation of that.
Conscript
cd/stw_icd.c
cd/stw_icd.h
hared/stw_arbpixelformat.c
hared/stw_context.c
hared/stw_context.h
hared/stw_device.c
hared/stw_device.h
hared/stw_extensionsstring.c
hared/stw_extgallium.c
hared/stw_extgallium.h
hared/stw_extswapinterval.c
hared/stw_framebuffer.c
hared/stw_framebuffer.h
hared/stw_getprocaddress.c
hared/stw_pixelformat.c
hared/stw_pixelformat.h
hared/stw_public.h
hared/stw_tls.c
hared/stw_tls.h
hared/stw_winsys.h
tw_context.c
tw_context.h
tw_device.c
tw_device.h
tw_ext_extensionsstring.c
tw_ext_gallium.c
tw_ext_gallium.h
tw_ext_pixelformat.c
tw_ext_swapinterval.c
tw_framebuffer.c
tw_framebuffer.h
tw_getprocaddress.c
tw_icd.c
tw_icd.h
tw_pixelformat.c
tw_pixelformat.h
tw_public.h
tw_tls.c
tw_tls.h
tw_wgl.c
tw_wgl.h
tw_winsys.h
gl/stw_wgl.c
gl/stw_wgl.h
8d1af5991d739e33962e8ca52c6a5ce1c9204ce6 22-Sep-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix debug_printf format specifiers.
cd/stw_icd.c
4e1e18a772061fe3573f2ee2bf6afe447ee66fd6 16-Jul-2009 José Fonseca <jfonseca@vmware.com> wgl: Expose pipe_screen/pipe_context via an extension.
Conscript
hared/stw_extgallium.c
hared/stw_extgallium.h
hared/stw_getprocaddress.c
1068c15c61a6c76a2da04ed3ca136f0d49abed1d 06-Jul-2009 José Fonseca <jfonseca@vmware.com> wgl: Make the stw_framebuffer destructions threadsafe.

Ensure no other thread is accessing a framebuffer when it is being destroyed by
acquiring both the global and per-framebuffer mutexes. Normal access only
needs the global lock to walk the linked list and acquire the per-framebuffer
mutex.
hared/stw_context.c
hared/stw_device.c
hared/stw_device.h
hared/stw_framebuffer.c
hared/stw_framebuffer.h
6f4167c8a215b561e5ad6eb58a8d875a5b8d8d6a 06-Jul-2009 José Fonseca <jfonseca@vmware.com> wgl: Check for multiple threads before GET_CURRENT_CONTEXT.

Fixes wglthreads -- the 2nd thread MakeCurrent call was trying to flush
the first thread context while still in use.
hared/stw_context.c
5470a67335dfd9afffb92ff6521a77519cda40d8 06-Jul-2009 José Fonseca <jfonseca@vmware.com> wgl: Listen to WM_WINDOWPOSCHANGED instead of WM_SIZE messages.

According to
http://blogs.msdn.com/oldnewthing/archive/2008/01/15/7113860.aspx
WM_SIZE is generated from WM_WINDOWPOSCHANGED by DefWindowProc so it
can be masked out by the application.

Also there were some weird bogus WM_SIZE 0x0 messages when starting
sharedtex_mt which we don't get like this.
hared/stw_framebuffer.c
aa98575ebb97bc38cf40acd3d78b72ee49f7b86b 03-Jul-2009 Keith Whitwell <keithw@vmware.com> st/wgl: don't advertise WGL_EXT_swap_interval string

This is a tweak to a previous fix -- it's not necessary to actually
advertise this extension to prevent these games from crashing -- they
ignore the extension string anyway. It's sufficient to just have
GetProcAddress return some dummy function addresses for SwapInterval.

Given we don't really implement this funcitonality, this is a better
fix.
hared/stw_extensionsstring.c
cffe7c8bd0397f8d54e2da16a21c7db4345766b8 03-Jul-2009 José Fonseca <jfonseca@vmware.com> wgl: Lookup framebuffers by HWND whenever possible.

Some applications create several HDCs for the same window, so spite the WGL
API is geared towards HDCs it is not reliable searching by HDC.
hared/stw_framebuffer.c
6c913411d39fd68eee1c1eeee7b6e81db9785fd1 01-Jul-2009 Keith Whitwell <keithw@vmware.com> st/wgl: dummy implementation of wgl swapinterval extension

Required as some applications
retrieve and call these functions regardless of the fact that we
don't advertise the extension and further more the results of
wglGetProcAddress are NULL.
Conscript
hared/stw_extensionsstring.c
hared/stw_extswapinterval.c
hared/stw_getprocaddress.c
e8c4663c11cfbb80ed23b1581cf1f3ccaef28bce 01-Jul-2009 José Fonseca <jfonseca@vmware.com> wgl: Optimize wglGetProcAddress.

Do linear search only if prefix matches.
hared/stw_getprocaddress.c
c25534f30d326c15dff845775d9bd55ba6064049 24-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Handle flush after a window is destroyed.

Fixes assertion failure with conform.
hared/stw_device.c
42882897c67f6c74e67e120e946a95929e6c2065 17-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix window resizing in multithread applications.

In multithreading stw_call_window_proc can be called by a thread other
than the thread where the context is bound.
hared/stw_context.c
hared/stw_device.c
hared/stw_framebuffer.c
hared/stw_framebuffer.h
4b4855c717e839a9ee6353604558543473c020c9 17-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Move all thread related code together.

Not only for cosmetic reasons, but also because we need to set the
SetWindowsHookEx hook for threads created before the DllMain is called
(threads for each we don't get the DLL_THREAD_ATTACH notification).
hared/stw_device.c
hared/stw_framebuffer.c
hared/stw_framebuffer.h
hared/stw_tls.c
hared/stw_tls.h
d22828f716fba0c63522101bd18f9660db17b364 16-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Factor out some repetitive code into inline functions.
hared/stw_context.c
d5ba39ad08f098f377fd258edb904aa7d64ab434 11-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix prototype.
hared/stw_framebuffer.c
9192347443bc3db9ebeb4b5cc090133b63396b04 09-Jun-2009 Keith Whitwell <keithw@vmware.com> stw: ignore swapbuffer requests on singlebuffer

Return TRUE in this case. Returning FALSE seems to result in
mis-rendering -- possibly opengl32.dll is trying to compensate by
doing a software blit??
hared/stw_framebuffer.c
4d9d0e62306ce1a046ff724936016a4f080cf21a 08-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> stw: If stfb not set don't call into mesa
hared/stw_framebuffer.c
557d2bb42397bb5511c32b4a2b39c7978e69dc8e 02-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Destroy the framebuffer when the window is destroyed.
hared/stw_framebuffer.c
ea3ee4791eb8b9eefdd40b6ce9bbfc2dc86542bf 01-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Cleanup framebuffer destruction logic.
hared/stw_framebuffer.c
0ea519f931a14e4dff6ef391803baba8bec84160 31-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Ensure we only create framebuffers for HDC associated with a window.
hared/stw_framebuffer.c
fe69b6bdc7bbde2cefec856ff338788d7be20f4e 31-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Use the right pixel format.

There is no current pixel format. Each HDC has its pixelformat which is
kept by gdi and set/get via the SetPixelFormat/GetPixelFormat functions.

Now the HDC's pixelformat is kept in the stw_framebuffer, which is
created during the SetPixelFormat.
hared/stw_context.c
hared/stw_context.h
hared/stw_device.c
hared/stw_framebuffer.c
hared/stw_framebuffer.h
hared/stw_pixelformat.c
hared/stw_pixelformat.h
hared/stw_tls.c
hared/stw_tls.h
be7c56be06183239008b168181aa6f1c78591579 31-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix debugging output.
cd/stw_icd.c
76f2bacb07b1b55a50018a1ccee42943d5e8a477 31-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Rename function.
hared/stw_device.c
1124f786c1a839036cc1b17f9398eead9f16b1c9 30-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Remove unused field.
hared/stw_context.c
hared/stw_context.h
b6e226109612057762eb7d0bf73f39a93c69e6c3 08-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Grow the maximum number of pixel formats to cope with the new accum pixel formats.

Fix a segfault when using softpipe.
hared/stw_device.h
44a996b185c446eab7038a10153db7e7496bf2c9 07-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Export pixelformats with accumulation bits.
hared/stw_pixelformat.c
ee7982718685cd2398a895caf5e7cd90b6ee12f9 06-May-2009 Keith Whitwell <keithw@vmware.com> stw: fix potential uninitialized use of curctx
hared/stw_context.c
d5eac43a2e06ff30f9e6f74e49493ef5d64cd309 06-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Enforce a minimum 1x1 framebuffer size.
hared/stw_context.c
d78b5952c10d5c65cd7d679b291c217ebd30cc4a 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Add assertion for missing function.
hared/stw_context.c
692263aad695c66669a0001fb3ac6d7a0bd84c94 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Remove unused variable.
hared/stw_context.c
4d28fcfeaa6be438f6739fddcb0661ae97a68919 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Implement ShareLists.
cd/stw_icd.c
hared/stw_context.c
hared/stw_public.h
gl/stw_wgl.c
1ed90091be0a79977eb6c055ba1da56114d52f53 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Implemente SwapLayerBuffers.
cd/stw_icd.c
hared/stw_framebuffer.c
hared/stw_public.h
gl/stw_wgl.c
d075cb4fc8c130f2e8f40356e7872fcc7ce3dcd1 30-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Include alpha bits in pixel format's cColorBits field.
hared/stw_pixelformat.c
bb9ea58f9502c7e54d03e3c2c21d20749f796c7c 28-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL.
hared/stw_context.c
43e24a5928aaf6a00f7d9e55e92abfb1b3e20166 27-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Store current HDC/HGLRC in stw_context.

Less TLS lookups.
hared/stw_context.c
hared/stw_context.h
hared/stw_tls.h
76b9da9e98bad4bf22fe6610394236203b620bd9 27-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Cope with pre-existing threads.

DllMain is called with DLL_THREAD_ATTACH only by threads created after
the DLL is loaded by the process.
hared/stw_tls.c
c384ccb0c4f50f72bafdfb693d0aa36b4304a064 27-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Implement WGL_EXT_extensions_string extension.
Conscript
hared/stw_arbextensionsstring.c
hared/stw_extensionsstring.c
hared/stw_getprocaddress.c
b504721cc7fdfd9420e80c0f7ab78a3f92abeb58 23-Apr-2009 José Fonseca <jfonseca@vmware.com> stw: Use a statically initiallized gl proc table.

It doesn't change anyway.
cd/stw_icd.c
be6037d459e722732f1712598217912bad245249 20-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Don't implement broken gl_dispatch_stub_xxx.

These don't respect the stdcall, so they crash upon return.
Conscript
hared/stw_quirks.c
995a168dea015ea6063bdf18ca0b031fd428460a 17-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Put commas in the right places.
hared/stw_pixelformat.c
5458f8eff6b6212d170fd5862c4fc82659666d22 17-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Flip the pixel format order.

List 32bit pixel formats first, as nobody is interested in 16bit pixel
formats nowadays.
hared/stw_pixelformat.c
11084d582764a916245ae92437421ac0cacdf335 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Protect the framebuffer with a lock.

Unfortunately this doesn't catch all the cases, as the mesa state tracker
can still use the framebuffer without giving the wgl state tracker
the chance to lock it.
hared/stw_context.c
hared/stw_framebuffer.c
hared/stw_framebuffer.h
6fc244c68d3b3a9f89b6f752725e6c768cb08a84 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Note down the gallium pixel formats, instead of re-guessing them.
hared/stw_context.c
hared/stw_context.h
hared/stw_framebuffer.c
hared/stw_framebuffer.h
hared/stw_pixelformat.c
hared/stw_pixelformat.h
aa405a2a77d51a4f807c5c2f63cbc76eb660e489 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Query the screen for supported formats.
hared/stw_pixelformat.c
0bca413ce9e5aca4ecbf689fd7aa3da44bb73f4d 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Walk through the pixel formats combinations.
hared/stw_device.h
hared/stw_pixelformat.c
hared/stw_pixelformat.h
e5d700721b05910f935c873ebb23d23f49961ebf 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Keep copies of the PIXELFORMATDESCRIPTOR structures.
hared/stw_arbpixelformat.c
hared/stw_context.c
hared/stw_pixelformat.c
hared/stw_pixelformat.h
0a2269703c2398d81d8cde439527f883f6fbc502 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Slightly simplify pixelformat creation.
hared/stw_pixelformat.c
87b04ce59b3ed26988b54ca182fab2e9dce03c38 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Move pixel format information into device structure.
hared/stw_device.h
hared/stw_pixelformat.c
hared/stw_pixelformat.h
3f2420e2e07b7ae0d2feec81178f998a1e46d631 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Combine alpha pixelformat info in color.
hared/stw_arbpixelformat.c
hared/stw_context.c
hared/stw_pixelformat.c
hared/stw_pixelformat.h
2921a4903378e2bfc461322a5443cc013e7414c9 10-Apr-2009 José Fonseca <jfonseca@vmware.com> stw: Reorder the pixelformats, so that no alpha pixelformats get chosen before alpha.

Some applications might not handle a alpha visual when when they did not
request for one.
hared/stw_pixelformat.c
0dd81ec97b4fd88fa9267f409a115a98344bc2fe 10-Apr-2009 José Fonseca <jfonseca@vmware.com> stw: Don't make assumptions about integer size.
hared/stw_pixelformat.c
f14497a9cd160106bd69ed37a89e24c77050a394 10-Apr-2009 José Fonseca <jfonseca@vmware.com> stw: Free the mesa framebuffer.
hared/stw_framebuffer.c
16c9bb81fd9ab3052f8790e5999d519c0f9bffea 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Remove unused member.
hared/stw_framebuffer.c
hared/stw_framebuffer.h
81660a44dc25648659ac590a37854103c36f9ce4 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Use more stw_* names.
hared/stw_device.c
hared/stw_winsys.h
4bbb5eb96ad9f2e5b6e064854eeb5f5cb1498f9d 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Use hooks instead of subclassing the window.

Subclassing the window is invasive: we might call an old window proc even
after it was removed. Glut and another bug just in the wrong time was
provoking this. Hooks don't have this problem.
hared/stw_device.c
hared/stw_framebuffer.c
hared/stw_framebuffer.h
hared/stw_tls.h
564ba2538691bd15df21da9fc378f0070235e286 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Catch the attempt of releasing a context which is not current.
hared/stw_context.c
858d3da441d3548eae23c91b3bc888c3b0233797 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Move the framebuffer list to the device. Avoid recursive locking.
hared/stw_context.c
hared/stw_device.c
hared/stw_device.h
hared/stw_framebuffer.c
8ef412900363aa6338351001574867866ebcae89 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: More symbol naming normalization.
cd/stw_icd.h
hared/stw_arbpixelformat.c
hared/stw_context.c
hared/stw_pixelformat.c
hared/stw_pixelformat.h
d8ffccc80b5835ff458facbe84d0dd9cda754a30 09-Apr-2009 José Fonseca <jfonseca@vmware.com> stw: Use wglext.h's defines and prototypes.
hared/stw_arbextensionsstring.c
hared/stw_arbextensionsstring.h
hared/stw_arbpixelformat.c
hared/stw_arbpixelformat.h
hared/stw_getprocaddress.c
19068d93c8f0f1d2b8809248266bf6da3dc6abd7 09-Apr-2009 José Fonseca <jfonseca@vmware.com> stw: Normalize symbols prefix.
hared/stw_arbextensionsstring.h
hared/stw_arbpixelformat.c
hared/stw_arbpixelformat.h
hared/stw_context.c
hared/stw_device.c
hared/stw_framebuffer.c
hared/stw_framebuffer.h
hared/stw_getprocaddress.c
hared/stw_pixelformat.c
hared/stw_pixelformat.h
7e563200b88edd50e0bbd00ada27f3988146ee9c 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Add const qualifier to global constant data.
hared/stw_arbpixelformat.c
hared/stw_getprocaddress.c
923b4413a63530be37cd44eed29910db21b39ac6 08-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Integrate the trace driver on debug builds.
hared/stw_context.c
hared/stw_device.c
hared/stw_device.h
hared/stw_framebuffer.c
b4c0e1f9e16ba61acd781ed6cbe448460e2b3153 07-Apr-2009 José Fonseca <jfonseca@vmware.com> stw: Choose a color buffer format that matches the visual.

The massive ifs are ugly, but it's not worth to automate this for just a
handful of formats.

Fixes conform bcolor.c.
hared/stw_framebuffer.c
aa011836c2778d242c75547c3f64435a055a86ff 27-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Don't flush surface if it is NULL.

Just a quick fix to prevent segfaults with glean.
hared/stw_framebuffer.c
c03000b73e49b858d6bf256114d28c8e9d7a2802 27-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Remove unused cruft.
hared/stw_context.c
hared/stw_framebuffer.c
hared/stw_framebuffer.h
ce518f4b0f361189957f20ce642afe919da680ba 25-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Use right integer type.
hared/stw_device.c
601a6a5839220605e353ea8cb82759b39542f9e5 25-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Use SetWindowLongPtr.
hared/stw_framebuffer.c
d6e877d0d716805907cbbaca3bcfcee84f98add6 20-Mar-2009 Michal Krol <michal@vmware.com> stw: Do not err on nil context handle in MakeCurrent().
hared/stw_context.c
5465f3adf93bd58b528bd6703b2367eb00c78c31 20-Mar-2009 Michal Krol <michal@vmware.com> stw: Use u_handle_table to maintain context list.
hared/stw_context.c
hared/stw_device.c
hared/stw_device.h
4489f9efee58f2cba374298f2d43c96e5cd2ff41 20-Mar-2009 Michal Krol <michal@vmware.com> stw: Keep per-thread storage for current context and pixel format.
Conscript
hared/stw_context.c
hared/stw_device.c
hared/stw_pixelformat.c
hared/stw_tls.c
hared/stw_tls.h
hared/stw_winsys.h
caf99be99976166f92d90203966a2dd42634e2af 18-Mar-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> stw: Fix makeCurrent.

Flush if we change current context.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
hared/stw_context.c
41a6a2b831bcb633fca0a539249bda8ece5e10d9 12-Mar-2009 Brian Paul <brianp@vmware.com> wgl: add new dispatch stubs
hared/stw_quirks.c
10812b079166e6d8dd414b8a0bf35b01e12bbdf0 12-Mar-2009 Keith Whitwell <keithw@vmware.com> stw: fix uninitialized variable issue
hared/stw_context.c
0bbcb47901c16661e39a1c586c19b58e5eb73d45 06-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Check support for all other depth/stencil formats.
hared/stw_framebuffer.c
78071fe7676adfcab44983505b0f64a31aa823b5 06-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Choose a supported S8Z24/Z24S8/X8Z24/Z24X8.
hared/stw_framebuffer.c
317a7da2c452f35ef627aec6fc4d31406758725d 03-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Support the same combinations of single buffer pixel formats.
hared/stw_pixelformat.c
b1ac00dc8d283f82a7f74bc435b5131311b2df86 24-Feb-2009 Keith Whitwell <keithw@vmware.com> st/wgl: silence some debug
cd/stw_icd.c
c7bbc9ad126b2b120407146c5aa9894f4487752e 23-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Enable the use of Win32 threads.
Conscript
hared/stw_device.c
a5c2570dc5a94dae8e50e0f8cd714b928aed695c 20-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Prevent null pointer reference.
hared/stw_context.c
5246c389e56f059096a896c9b17ad0b31f8514b4 19-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: debug_printf in the main entry/exit points
hared/stw_device.c
b9c5e41688de0e2978cf2cc50fd6ba096302884d 19-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Call pipe_screen::destroy on exit.
hared/stw_device.c
65fde5be8bd5e485dd69afc244568f164cf24fa4 19-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Use a separate .DEF for MinGW

gnu linker fails to resolve the @n symbols, unless:
- they are listed verbatim in the .def
- they are already linked.

And mingw's .def parser is slightly incompatible with MSVC in respect with
underscores. Will try to work with upstream to fix this, but for now there
is no option other to use seperate .def for mingw.
pengl32.mingw.def
d32ae764e930abb70ca2cc79ad18fdb32141ca0d 19-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Share more code between icd and standalone driver.
Conscript
cd/stw_icd.c
hared/stw_context.c
hared/stw_context.h
hared/stw_device.c
hared/stw_device.h
hared/stw_public.h
tw.c
tw.h
gl/stw_wgl.c
gl/stw_wgl.h
ea4bf267e4b023b08043f91ac44592fed1736e7f 18-Feb-2009 José Fonseca <jfonseca@vmware.com> util: Move p_debug.h into util module.

The debug functions depend on several util function for os abstractions, and
these depend on debug functions, so a seperate module is not possible.
cd/stw_icd.c
hared/stw_device.c
hared/stw_pixelformat.c
gl/stw_wgl.c
673d01eda9662f6cc984f2a1b608a875271d2a29 17-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Report memory leaks.
hared/stw_device.c
hared/stw_device.h
7892bdfc8ac5d1f29009025904eef009b687bff2 11-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Add a few more stubs.

I wonder why we need this... It is only necessary for the MSVC build.
MinGW does not require them.
hared/stw_quirks.c
f54149a3a3dde8056a8db9b9ac7cef32885946d7 10-Feb-2009 Keith Whitwell <keith@tungstengraphics.com> wgl: return before locking if stw_icd is NULL
cd/stw_icd.c
9c9ba66fbae8089e9423f6b09ad1091cccf9b006 10-Feb-2009 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/gallium-0.2' into gallium-0.2

Conflicts:

src/gallium/state_trackers/wgl/icd/stw_icd.c
ebb864da9e98003be9ea388013ae4385d341e46f 10-Feb-2009 Keith Whitwell <keith@tungstengraphics.com> wgl: mutex-protect the shared stw_icd struct
cd/stw_icd.c
a88e2544eeb0a93b23ab2383905fef44c056040c 10-Feb-2009 Keith Whitwell <keith@tungstengraphics.com> vmw/icd: remove bogus current_context value
cd/stw_icd.c
67e988a06c8ff5896da9df7ce1c7fc118352c8a3 10-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix null pointer reference.
cd/stw_icd.c
9fb9ee9d241c99a76e15af2db328332dfecf586d 10-Feb-2009 José Fonseca <jfonseca@vmware.com> stw: Hack for applications which use wglSetPixelFormat instead of SetPixelFormat.
hared/stw_pixelformat.c
42523a83b332c9a0b128ba5ceca7c5fcd5a1d6c6 09-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: s/0x%p/%p/g

Rather not have 0x prefix, than 0x0x in certain platforms.
cd/stw_icd.c
b608d64243f87677b36628e7923dde6a66a722c3 02-Feb-2009 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/gallium-0.2' into gallium-0.2
e4d1757f81323636e99abc5fff411d42e19e901a 02-Feb-2009 Keith Whitwell <keithw@vmware.com> Merge branch 'gallium-wgl-rework' into gallium-0.2

Conflicts:

src/gallium/state_trackers/wgl/shared/stw_public.h
a38b8213ff1b99b73aae884e7b90be3d1999e3bf 28-Jan-2009 Keith Whitwell <keithw@vmware.com> wgl: add missing header
hared/stw_public.h
cbd368e91be121f1381ef132b64839f5638009f7 28-Jan-2009 Keith Whitwell <keithw@vmware.com> stw: use proper stw_context pointers in shared interface

Move away from hglrc.
cd/stw_icd.c
hared/stw_context.c
hared/stw_context.h
gl/stw_wgl.c
866587942c7053cdcb7443ed00ce6d902c010631 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: clean up error paths
hared/stw_context.c
9a58a9d6ca19a2933b9fddfa3c870786f35183b0 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: don't call out to wglGetPixelFormat()
hared/stw_context.c
7dbd95618f3e50fe2818d4152527092a96e70474 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: remove duplicate function declarations
hared/stw_context.c
hared/stw_context.h
ef3fe78478d1ce8f70a36eefb6739103358ecb54 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: fix comment
hared/stw_framebuffer.c
c7e38bc7fe00e9042897639fcd524beeeca29555 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: remove header
hared/stw_context.c
906230d16e8950004cb5e1deed14c78f7d9f2817 28-Jan-2009 Keith Whitwell <keithw@vmware.com> svga: remove pixelformat helpers from stw shared interface

Keep these internal structs private to wgl/shared. Pull in
some pixelformat choosing code from wgl/wgl to avoid exporting them
more generally.
Conscript
cd/stw_icd.c
hared/stw_arbpixelformat.c
hared/stw_pixelformat.c
hared/stw_pixelformat.h
gl/stw_wgl.c
gl/stw_wgl_pixelformat.c
66059cd3c95bf5eba7922a4a09c2596514e5e956 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: move get_proc_address and extension functions to shared
Conscript
cd/stw_icd.c
hared/stw_arbextensionsstring.c
hared/stw_arbextensionsstring.h
hared/stw_arbpixelformat.c
hared/stw_arbpixelformat.h
hared/stw_context.c
hared/stw_getprocaddress.c
hared/stw_pixelformat.c
hared/stw_pixelformat.h
gl/stw_wgl.c
gl/stw_wgl_arbextensionsstring.c
gl/stw_wgl_arbextensionsstring.h
gl/stw_wgl_arbmultisample.c
gl/stw_wgl_arbmultisample.h
gl/stw_wgl_arbpixelformat.c
gl/stw_wgl_arbpixelformat.h
gl/stw_wgl_getprocaddress.c
54688ebdb259c5e8878817a411e24bd98efb8012 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: use shared version of make current in icd code
cd/stw_icd.c
cfb3fdfcb1aeb22c62a850795a7351ec9594e74d 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: more swapbuffers refactoring
Conscript
cd/stw_icd.c
gl/stw_wgl.c
gl/stw_wgl_swapbuffers.c
67b6e5b907096ce9eee32c36c164acd38574cf14 28-Jan-2009 Keith Whitwell <keithw@vmware.com> wgl: split device structs, move swapbuffers to shared

Each of icd, shared and wgl now have the opportunity to maintain their
own per-device structs, which should reduce the need for these
modules to be looking into each others structures.
Conscript
cd/stw_icd.c
hared/stw_device.c
hared/stw_device.h
hared/stw_framebuffer.c
hared/stw_pixelformat.h
tw.c
tw.h
gl/stw_wgl.c
gl/stw_wgl_arbpixelformat.c
gl/stw_wgl_pixelformat.c
gl/stw_wgl_swapbuffers.c
507498af1077390c684ca24e6ce6e0ee6ddcc479 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: rename stw_wgl_ --> stw_
cd/stw_icd.c
hared/stw_context.c
hared/stw_context.h
gl/stw_wgl.c
c3d744f5bbdc24792183a9ee162ebc6cb5f8d1f6 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: move pixelformat_get/set to shared
cd/stw_icd.c
hared/stw_context.c
hared/stw_pixelformat.c
hared/stw_pixelformat.h
gl/stw_wgl_pixelformat.c
cb70d27dd1b04ae7dc146d06a21fb32004265539 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: move pixelformat_describe to shared
cd/stw_icd.c
hared/stw_context.c
hared/stw_pixelformat.h
gl/stw_wgl_pixelformat.c
f17eb0b13c6a2e70746edd1d882bf71adec129fb 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> wgl: move context functions to shared
Conscript
cd/stw_icd.c
hared/stw_context.c
hared/stw_context.h
gl/stw_wgl.c
gl/stw_wgl_context.c
gl/stw_wgl_context.h
19d06f4e1692070afc7b3cab0ea1d78044820b0a 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> wgl: split into shared, (fake)wgl and icd directories
Conscript
cd/stw_icd.c
cd/stw_icd.h
hared/stw_device.c
hared/stw_device.h
hared/stw_framebuffer.c
hared/stw_framebuffer.h
hared/stw_pixelformat.c
hared/stw_pixelformat.h
hared/stw_quirks.c
hared/stw_winsys.h
tw_device.c
tw_device.h
tw_framebuffer.c
tw_framebuffer.h
tw_icd.c
tw_icd.h
tw_pixelformat.c
tw_pixelformat.h
tw_quirks.c
tw_wgl.c
tw_wgl.h
tw_wgl_arbextensionsstring.c
tw_wgl_arbextensionsstring.h
tw_wgl_arbmultisample.c
tw_wgl_arbmultisample.h
tw_wgl_arbpixelformat.c
tw_wgl_arbpixelformat.h
tw_wgl_context.c
tw_wgl_context.h
tw_wgl_getprocaddress.c
tw_wgl_pixelformat.c
tw_wgl_swapbuffers.c
tw_winsys.h
gl/stw_wgl.c
gl/stw_wgl.h
gl/stw_wgl_arbextensionsstring.c
gl/stw_wgl_arbextensionsstring.h
gl/stw_wgl_arbmultisample.c
gl/stw_wgl_arbmultisample.h
gl/stw_wgl_arbpixelformat.c
gl/stw_wgl_arbpixelformat.h
gl/stw_wgl_context.c
gl/stw_wgl_context.h
gl/stw_wgl_getprocaddress.c
gl/stw_wgl_pixelformat.c
gl/stw_wgl_swapbuffers.c
0e471ac45771393ea74178eb98f41b904168cf64 27-Jan-2009 Keith Whitwell <keithw@vmware.com> wgl: relocate wgl code to state_trackers/wgl

Similar to the GLX state trackers for DRI and xlib.
Conscript
pengl32.def
tw_device.c
tw_device.h
tw_framebuffer.c
tw_framebuffer.h
tw_icd.c
tw_icd.h
tw_pixelformat.c
tw_pixelformat.h
tw_quirks.c
tw_wgl.c
tw_wgl.h
tw_wgl_arbextensionsstring.c
tw_wgl_arbextensionsstring.h
tw_wgl_arbmultisample.c
tw_wgl_arbmultisample.h
tw_wgl_arbpixelformat.c
tw_wgl_arbpixelformat.h
tw_wgl_context.c
tw_wgl_context.h
tw_wgl_getprocaddress.c
tw_wgl_pixelformat.c
tw_wgl_swapbuffers.c
tw_winsys.h