• Home
  • History
  • Annotate
  • only in /external/mesa3d/src/gallium/state_trackers/
History log of /external/mesa3d/src/gallium/state_trackers/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3a39c3cb678e2b41b6d2edd4fe0ba8c6c381b614 04-Jan-2013 Brian Paul <brianp@vmware.com> st/glx: allow GLX_DONT_CARE for glXChooseFBConfig() attribute values

Fixes piglit glx-dont-care-mask test.

Note: This is a candidate for the stable branches.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
(cherry picked from commit fe90762414ea3191143a82534e304871c1e311a8)
lx/xlib/glx_api.c
37be707f57df72071a43b9899dec063730c338f5 03-Dec-2012 Brian Paul <brianp@vmware.com> st/glx: accept GLX_SAMPLE_BUFFERS/SAMPLES_ARB == 0

Only fail if GLX_SAMPLE_BUFFERS_ARB or GLX_SAMPLES_ARB are non-zero.
We were already doing this in the older swrast/glx code.

This fixes a piglit/waffle problem where we'd always fail to get a
visual/config and report the test as "skip".

Note: This is a candidate for the stable branches.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit c6d74bfaf61a6d52e6f886e33f2e98c3007d79fc)
lx/xlib/glx_api.c
39fdab1d66bd3374c6de31bb8d890b911391c1fa 30-Nov-2012 Johannes Obermayr <johannesobermayr@gmx.de> clover: Adapt libclc's INCLUDEDIR and LIBEXECDIR to make use of the new introduced libclc.pc.

Tom Stellard:
-Keep --with-libclc-path and mark it deprecated.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
(cherry picked from commit 959e83d65075513f989cb1fe634dca314a7e185f)
lover/Makefile.am
lover/llvm/invocation.cpp
5a36510f71fa9e348b094b4b88c6639b0850e5e4 04-Dec-2012 Johannes Obermayr <johannesobermayr@gmx.de> clover: Install CL headers.

Note: This is a candidate for the stable branches.
(cherry picked from commit b361bb3de4bd8d27f6fcb920e5516e51db00ef73)
lover/Makefile.am
f2da7e720f60e8df96bf2530f35e3e79897e0cb7 25-Dec-2012 Jonas Ådahl <jadahl@gmail.com> wayland: Don't cancel a roundtrip when any event is received

Since wl_display_dispatch_queue() returns the number of processed events
or -1 on error, only cancel the roundtrip if an -1 is returned.

This also fixes a potential memory corruption bug happening when the
roundtrip does an early return and the callback later writes to the then
out of scope stack allocated `done' parameter.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
gl/wayland/native_wayland.c
2332bc26d435e465a6f6571ab267db2a33ce05d2 28-Oct-2012 Jonas Ådahl <jadahl@gmail.com> wayland: Destroy frame callback when destroying surface

If a frame callback is not destroyed when destroying a surface, its
handler function will be invoked if the surface was destroyed after the
callback was requested but before it was invoked, causing a write on
free:ed memory.

This can happen if eglDestroySurface() is called shortly after
eglSwapBuffers().

Note: This is a candidate for stable branches.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
(cherry picked from commit a3b6b2d3055070da9bf7054fecfd0b171c398eb7)
gl/wayland/native_wayland.c
2a81037439afb04d4170f674646cdae59619707d 16-Oct-2012 Kristian Høgsberg <krh@bitplanet.net> wayland: Drop support for ill-defined, unused wl_egl_pixmap

It doesn't provide the cross-process buffer sharing that a window system
pixmap could otherwise support and we don't have anything left that uses
this type of surface.
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
a5776ac0b8c015bf5d6a8513cefec5920895cc8e 11-Oct-2012 Kristian Høgsberg <krh@bitplanet.net> egl/wayland: Update to Wayland 0.99 API

The 0.99.0 Wayland release changes the event API to provide a thread-safe
mechanism for receiving events specific to a subsystem (such as EGL) and
we need to use it in the EGL platform.

The Wayland protocol now also requires a commit request to make changes
take effect, issue that from eglSwapBuffers.
gl/wayland/native_drm.c
gl/wayland/native_shm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
00978098794f723230a33cab1c1152686f1c4fa5 31-Aug-2012 Jakob Bornecrantz <jakob@vmware.com> dri: Rework planar image interface

As discussed with Kristian on #wayland. Pushes the decision of components into
the dri driver giving it greater freedom to allow t to implement YUV samplers
in hardware, and which mode to use.

This interface will also allow drivers like SVGA to implement YUV surfaces
without the need to sub-allocate and instead send 3 seperate buffers for each
channel, currently not implemented.

I have tested these changes on Gallium Svga. Scott tested them on both intel
and Gallium Radeon. Kristan and Pekka tested them on intel.

v2: Fix typo in dri2_from_planar.
v3: Merge in intel changes.

(cherry picked from commit 6a7dea93fa70d670a5954e47a47075a2703209d4)

Tested-by: Scott Moreau <oreaus@gmail.com>
Tested-by: Pekka Paalanen <ppaalanen@gmail.com>
Tested-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
ri/common/dri_screen.h
ri/drm/dri2.c
33ee019422558d50033e02754d0a2a19ed9bf737 15-Aug-2012 Jakob Bornecrantz <jakob@vmware.com> st/dri: Support width and height getters

Tested-by: Scott Moreau <oreaus@gmail.com>
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
ri/drm/dri2.c
15effe1fabe9e47e680f9f9c12ea6b61acf97cd5 21-Aug-2012 Jakob Bornecrantz <jakob@vmware.com> st/dri: Claim to support validate_usage

Support version 3 as well as 2, since that is only the new format query,
which Jesse added support for to st/dri when he added it to dri_inteface.h.

Tested-by: Scott Moreau <oreaus@gmail.com>
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
ri/drm/dri2.c
229868edf7f4232a4d97867a2ccea12db4c8cf57 24-Aug-2012 Brian Paul <brianp@vmware.com> wgl: update some comments
gl/stw_framebuffer.h
gl/stw_winsys.h
87280d56a375fcfc9231e72963439f9a370c408a 23-Aug-2012 Blaž Tomažič <blaz.tomazic@gmail.com> clover: Accept CL_MEM_READ_WRITE flag

Fix API functions for memory objects to accept CL_MEM_READ_WRITE flag.

Signed-off-by: Blaž Tomažič <blaz.tomazic@gmail.com>
[ Francisco Jerez: Drop incorrect change in clCreateSubBuffer. ]
lover/api/memory.cpp
68d6441930fa19e2414a4c273ddce15e0c71de99 12-Apr-2012 Vadim Girlin <vadimgirlin@gmail.com> st/dri: pass config options to the state tracker

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
ri/common/dri_context.c
44f69fc82518d343733c77905cf9b9963fe102e4 12-Apr-2012 Vadim Girlin <vadimgirlin@gmail.com> st/dri: add force_glsl_extensions_warn option to dri options

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
ri/common/dri_screen.c
e7c177ec9e37d0c406c3b0ef8f228159d7ee5d69 12-Apr-2012 Vadim Girlin <vadimgirlin@gmail.com> st/dri: use driver name for driconf section lookup

The name is taken from the driver_descriptor, so it will be the same as
expected by driconf utility.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
ri/common/dri_context.c
c4610e9f927caa679f34f0d3135d7b1b8cb8bd29 14-Aug-2012 Jakob Bornecrantz <jakob@vmware.com> st/dri: Add shared usage on buffers created

Tested-by: Scott Moreau <oreaus@gmail.com>
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
ri/drm/dri2.c
0efd564a09988a4a7f49cab70b778026459dff1b 15-Aug-2012 Philipp Brüschweiler <blei42@gmail.com> wayland-drm: close fd after the display is uninitialized

This fixes a "kernel rejected pushbuf: Bad file descriptor" error on
wl_drm display destruction.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
gl/wayland/native_drm.c
538085c5d423df4fed3c3b2c473c3684f7b08db6 15-Aug-2012 Michel Dänzer <michel.daenzer@amd.com> st/egl: Fix up for ClientVersion -> ClientMajorVersion rename.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53513

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
gl/common/egl_g3d_api.c
a4bf68ca50da0ce291a464aec9b03a469ab2561a 02-Aug-2012 Chad Versace <chad.versace@linux.intel.com> dri: Simplify use of driConcatConfigs

If either argument to driConcatConfigs(a, b) is null or the empty list,
then simply return the other argument as the resultant list.

All callers were accomplishing that same behavior anyway. And each caller
accopmplished it with the same pattern. So this patch moves that external
pattern into the function.

Reviewed-by: <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
ri/common/dri_screen.c
b50703aea55450e04bcd8154335774786e0f253b 18-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> egl: Replace KHR_surfaceless_* extensions with KHR_surfaceless_context

KHR extension name is reserved for Khronos ratified extensions, and there is
no such thing as EGL_KHR_surfaceless_{gles1,gles2,opengl}. Replace these
three extensions with EGL_KHR_surfaceless_context since that extension
actually exists.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
gl/common/egl_g3d.c
c61d3fe8bddcbcf750c5f057a45b262fea92ca5e 03-Aug-2012 Brian Paul <brianp@vmware.com> st/xorg: updates for CSO interface changes
org/xorg_composite.c
org/xorg_xv.c
459dd568979a5745d84f8fd2bdff38242ee3c16f 03-Aug-2012 Brian Paul <brianp@vmware.com> st/xa: updates for CSO interface changes
a/xa_composite.c
a/xa_context.c
a/xa_renderer.c
a/xa_yuv.c
3d1bec5d9a1a365286110000a1a37dc96c8db883 03-Aug-2012 Brian Paul <brianp@vmware.com> vega: fix build breakage from cso sampler/view changes
ega/renderer.c
cdad337fec39d788a4b04de080a51d0ea1325e10 19-Jul-2012 Lucas Stach <dev@lynxeye.de> st/xorg: fix masked transformations

Someone tried to be clever and "optimized" add_vertex_data2() to just use
two points for the texture coordinates and then reuse individual
components. Sadly this is not how matrix multiplication works.

Fixes rendercheck -t tmcoords

Signed-off-by: Lucas Stach <dev@lynxeye.de>
org/xorg_renderer.c
a8c092266e9885f3370bbeae15bd80ebf035d05d 19-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> gallium-egl: Move wayland query_buffer implementation

Move it to native_wayland_drm_bufmgr_helper.c which only gets compiled when
wayland is enabled and which already includes the right headers.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
gl/common/egl_g3d_api.c
gl/common/native_wayland_bufmgr.h
gl/common/native_wayland_drm_bufmgr_helper.c
gl/common/native_wayland_drm_bufmgr_helper.h
gl/drm/native_drm.c
gl/wayland/native_drm.c
gl/x11/native_dri2.c
d7522ed13052a3d30bc4faedce04685263f57933 19-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> wayland: Support EGL_WIDTH and EGL_HEIGHT queries for wl_buffer

We're going to make the public wl_buffer struct as small as possible.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
gl/common/egl_g3d_api.c
e23bfdb3298ec43ef895121527fb4d79474d7b1b 19-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> wayland: Use existing EGL_TEXTURE_FORMAT for querying wl_buffer texture format

We also reuse EGL_TEXTURE_RGBA and EGL_TEXTURE_RGB, adding only the new
planar YUV texture formats: EGL_TEXTURE_Y_U_V_WL, EGL_TEXTURE_Y_UV_WL and
EGL_TEXTURE_Y_XUXV_WL.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
gl/common/egl_g3d_api.c
e1b45a3c06ec19a2b9f1e0d3f8732aaad2d932da 19-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> gallium-egl: Implement eglQueryWaylandBufferWL

Support this query for gallium EGL too.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
gl/common/egl_g3d_api.c
fb18ec4f2775f96982a39247efd1c70cccbc46fc 18-Jul-2012 Lucas Stach <dev@lynxeye.de> st/xorg: attach EDID to outputs

Allows tools like GNOME's monitor configuration to show meaningful names.

v2: fix resource leak

Signed-off-by: Lucas Stach <dev@lynxeye.de>
org/xorg_output.c
9de16ac0a838a98d71e6abf1f82ccee642073f40 18-Jul-2012 Lucas Stach <dev@lynxeye.de> st/xorg: remove superfluous memset

exaDriverAlloc() uses calloc, which already initialises pExa to zero.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
org/xorg_exa.c
70f0eda12723e19147c07740a4b7fcb91a3076d4 18-Jul-2012 Lucas Stach <dev@lynxeye.de> st/xorg: reorder exa context creation and use screen param queries

Gives the x-server a more accurate description of the exa hardware
capabilities.

v2: drop NPOT check

Signed-off-by: Lucas Stach <dev@lynxeye.de>
org/xorg_exa.c
2023bf996ed5c3797233b8d70670c28e15bdff75 17-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> gbm: Add gbm_bo_import for gallium gbm backend
bm/Makefile
bm/gbm_drm.c
1f2c87cc8f50d0a0ec3c9be1ddf6cf035002e5c7 17-Jul-2012 Elvis Lee <kwangwoong.lee@lge.com> st/egl: Fix build for wayland includes

common/native_wayland_drm_bufmgr_helper.c fails to find wayland-server.h

Signed-off-by: Elvis Lee <kwangwoong.lee@lge.com>
gl/Makefile
23f1e551cc6553ce7f99b9264efc8776f5f35b00 17-Jul-2012 Elvis Lee <kwangwoong.lee@lge.com> st/gbm: renaming pitch to stride on gallium

commit '7250cd506baa0bd4649b30d87509cdd0cbc06a57'
changes struct gbm_bo, renaming it's 'pitch' to 'stride'.
This applies to Gallium.

Signed-off-by: Elvis Lee <kwangwoong.lee@lge.com>
bm/gbm_drm.c
fe2a7b7e7fca599659b1d248e160d480f2b92ba2 16-Jul-2012 Brian Paul <brianp@vmware.com> st/egl: fix uninitialized pointer bug

If no format is matched in the loop the value of xconf was undefined.

NOTE: This is a candidate for the 8.0 branch.
gl/x11/native_ximage.c
d9a8cd76e5a156eb8af686eba614b9fada7258fe 12-Jul-2012 José Fonseca <jfonseca@vmware.com> st/xorg: Fix build failure due to symbol clash.
org/xorg_tracker.h
1aaec8c60985ffe03af265bf8f659ee0319926ca 05-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> wayland-drm: Add protocol to create planar buffers
gl/common/native_wayland_drm_bufmgr_helper.c
379eb47ea61c87c9ac071fa6d93e49ae3f02ac2c 05-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> wayland-drm: Pass struct wl_drm_buffer to the driver

We're going to extend this to support multi-plane buffers, so pass this
to the driver so it can access the details.
gl/common/native_wayland_drm_bufmgr_helper.c
gl/common/native_wayland_drm_bufmgr_helper.h
1d21bd057a6b1701dd44a79e82259c0f3ded2b70 28-Jun-2012 Tom Stellard <tstellar@gmail.com> clover: Handle NULL devs argument in clBuildProgram

If devs is NULL, then the kernel should be compiled for all devices
associated with the program.
lover/api/program.cpp
c6bb41c28b2da269d5b692d1d0f4acbf3cdd4b5c 28-Jun-2012 Francisco Jerez <currojerez@riseup.net> clover: Define non-templated copy constructor for clover::ref_ptr.

The templated copy constructor doesn't prevent the compiler from
emitting a default copy constructor, which leads to inconsistent
memory handling and was reported to cause segfaults when doing event
manipulation.

Reported-by: Tom Stellard <thomas.stellard@amd.com>
lover/core/base.hpp
ca8fa0230896727af81ee54197f6e2233d49481d 21-Jun-2012 Tom Stellard <thomas.stellard@amd.com> clover: Add a function internalizer pass before LTO v2

The function internalizer pass marks non-kernel functions as internal,
which enables optimizations like function inlining and global dead-code
elimination.

v2:
- Pass vector arguments by const reference
lover/llvm/invocation.cpp
4bde1ba7fb6253e80197d3645b23893424ef756b 26-Jun-2012 José Fonseca <jfonseca@vmware.com> st/wgl: Add a few more comments.
gl/stw_icd.h
gl/stw_wgl.c
345ee593e91e14173cbc08a647b008855b7638ca 25-Jun-2012 Brian Paul <brianp@vmware.com> st/wgl: 80-column wrapping
gl/stw_context.c
gl/stw_ext_context.c
ea76f0331011337cc4b7caac8f25947501a5aef9 15-Jun-2012 Tom Stellard <tstellar@gmail.com> clover: Add --with-clang-libdir option and verify CLANG_RESOURCE_DIR

$CLANG_RESOURCE_DIR is the directory that contains all resources
needed by clang to compile programs. When clover uses clang to
compile kernels it needs to specify a resource dir, so that clang
can find its internal headers (e.g. stddef.h).

clang defines $CLANG_RESOURCE_DIR as $CLANG_LIBDIR/clang/$CLANG_VERSION

This patch adds the --with-clang-libdir option in order to accommodate
clang intalls to non-standard locations, and it also adds a check
to the configure script to verify that $CLANG_RESOURCE_DIR/include
contains the necessary header files.
lover/Makefile.am
0f269c5e7b593eb29d5c1058dcd53fc6476871a9 14-Jun-2012 Christian König <deathsimple@vodafone.de> st/vdpau: use template size as default for source_rect.

Fixes alignment problems with flash player.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
d37c3c6ebecfe404d2341b897ac9b81adce5f4d7 09-Jun-2012 Christian König <deathsimple@vodafone.de> st/vdpau: clear Cb&Cr with 0.5f

That makes the output black in case of decoding errors.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/surface.c
d1acae2bdca85a6cfdddbf8410271f9d7469a221 18-Jun-2012 Vinson Lee <vlee@freedesktop.org> st/glx: Do not undefine _R, _G, and _B.

Fixes build error on Cygwin and Solaris. _R, _G, and _B are used in
ctype.h on those platforms.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
lx/xlib/glx_usefont.c
eb024c74885778ab1ffa6dc590116959bb526c2e 06-Jun-2012 Christian König <deathsimple@vodafone.de> st/vdpau: fix YCbCr down/up-loads for buffers larger than requested

When the video buffer turns out to be larger than
requested by the application we shouldn't upload
or download more data into / from it original requested.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39309

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/surface.c
6d289390ec4d643e7451f9dcb35439876f361c44 08-Jun-2012 Dave Airlie <airlied@redhat.com> st/xorg: Fix crash on startup.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
org/xorg_driver.c
743e505315b6be851618caed61981d7c1617bf45 15-May-2012 Eric Anholt <eric@anholt.net> automake: Globally add stub automake targets to the old Makefiles.

I tried to update all the old Makefiles that included the default
config to be sure they had a default target if they didn't previously
have one, since this new all target will always point at it. Almost
everything had one.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
3d1x/winedlls/Makefile.wine
2bb2e6a6e3017d462be0ae9308955f37c5ee03c6 06-Jun-2012 Dave Airlie <airlied@redhat.com> xorg: port to new compat API.

Signed-off-by: Dave Airlie <airlied@redhat.com>
org/compat-api.h
org/xorg_composite.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
org/xorg_tracker.h
org/xorg_xv.c
org/xorg_xvmc.c
46a13b3b11d859e131399853c11ae2be0eb02f0a 24-Apr-2012 Tom Stellard <thomas.stellard@amd.com> clover: Add function for building a clover::module for non-TGSI targets v6

v2:
-Separate IR type and LLVM triple
-Do the OpenCL C->LLVM IR and linking steps for all PIPE_SHADER_IR
types.

v3:
- Coding style fixes
- Removed compatibility code for LLVM < 3.1
- Split build_module_llvm() into three functions:
compile(), link(), and build_module_llvm()

v4:
- Use struct pipe_compute_program

v5:
- Don't malloc memory for struct pipe_llvm_program

v6:
- Fix serialization of llvm bytecode

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
lover/core/compiler.hpp
lover/core/program.cpp
lover/llvm/invocation.cpp
741463e18d8235025de649210e7f88a1b6e7af5a 25-May-2012 Tom Stellard <thomas.stellard@amd.com> clover: Remove target argument from compile_program_tgsi()

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
lover/core/compiler.hpp
lover/core/program.cpp
lover/tgsi/compiler.cpp
d724190bce7a10becfb378cad7ef9886ee4d2c8c 24-Apr-2012 Tom Stellard <thomas.stellard@amd.com> clover: Add constructors to some of the module classes v3

This is for the llvm code that can't use extended initializers.

v2:
- Use const references for vector arguments
- Move constructor defs before data members
- Initialize all values in the default constructors

v3:
- Fix typo
lover/core/module.hpp
5cc08efe8f708633271adc16208f020d79ddca46 24-Apr-2012 Tom Stellard <thomas.stellard@amd.com> clover: Add necessary flags to libclllvm_la_CXXFLAGS

$(LLVM_CFLAGS) for LLVM defines
-DLIBCLC_PATH for libclc path
-DCLANG_RESOURCE_DIR for clang includes
$(DEFINES) for -DHAVE_LLVM
lover/Makefile.am
613323b2564babc1ecaac25a6cfd786b8c839315 23-Apr-2012 Tom Stellard <thomas.stellard@amd.com> clover: Add a function for retrieving a device's preferred ir v3

A device now has two function for getting information about the IR
it needs to return.

ir_format() => returns the preferred IR
ir_target() => returns the triple for the target that is understood by
clang/llvm.

v2:
- renamed ir_target() to ir_format()
- renamed llvm_triple() to ir_target()

v3:
- Remove unnecessary include
- Do proper conversion from std::vector<char> to std::string

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
lover/core/device.cpp
lover/core/device.hpp
f80c2874eca86a12517fbe2f4c15287edfb4dc89 21-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> gallium: add st_api feature mask to prevent advertising MS visuals

v2: use a define for the maximum sample count
v3: also test odd sample counts (r300 supports MS3)

While multisample renderbuffers are supported by mesa, MS visuals
are not, so we need a way to tell dri/st not to advertise them even
if the gallium driver does support multisampled surfaces.

Otherwise applications selecting these non-functional visuals would
run into trouble ...

Reviewed-by: Brian Paul <brianp@vmware.com>
ri/common/dri_screen.c
ega/vg_manager.c
03e3bc4ba56f1021899a5f773b6ec21893619e3a 16-May-2012 Francisco Jerez <currojerez@riseup.net> gallium/auxiliary/pipe-loader: Fix usage of anonymous union.

Anonymous unions aren't part of the C99 standard. Fixes build on GCC
versions older than 4.6.

https://bugs.freedesktop.org/show_bug.cgi?id=50001

Reported-by: Michael Lange <michaell@gmx.org>
lover/core/device.cpp
76d6a64de30dc3af66c5aec855f1fc6560d85a89 16-May-2012 Michel Dänzer <michel.daenzer@amd.com> st/xorg: Better handling of EXA copies.

Always use the resource_copy_region hook. If a source and destination rectangle
overlap, copy to/from a temporary pixmap.
org/xorg_exa.c
org/xorg_exa.h
org/xorg_renderer.c
org/xorg_renderer.h
821c34ecd9921e7478c8775905bf887b7513100c 14-May-2012 Paul Berry <stereotype441@gmail.com> Add .gitignore files for recently-added gallium projects

This patch adds .gitignore files to ignore the makefiles generated by
the gallium pipe loader and the clover OpenCL state tracker.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
lover/.gitignore
b70736fa82c29e83a5ad222f58cfe8aa3b910c88 12-May-2012 Francisco Jerez <currojerez@riseup.net> clover: Fix build on i386.
lover/core/device.cpp
fcab4d4a34a28ec153612e41d5850884c5ccbfb9 12-May-2012 Francisco Jerez <currojerez@riseup.net> clover: Check the total work-group size provided to clEnqueueNDRangeKernel.
lover/api/kernel.cpp
5c9bccc97e9fb0776f2ca5bb57e55116a7efb43b 12-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> clover, gallium: add PIPE_COMPUTE_CAP_MAX_THREADS_PER_BLOCK

This is not necessarily the product of MAX_BLOCK_SIZE[i].

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
lover/api/device.cpp
lover/core/device.cpp
lover/core/device.hpp
7b49d4f05d8224448835c8e36724241f7d087a90 12-May-2012 José Fonseca <jfonseca@vmware.com> scons: Fix missing gbm symbols in st/egl.
gl/SConscript
9d6e908f140d0ed2fe8031d0f8084aaf2c3477db 11-May-2012 Andreas Betz <andreas.betz@elektrobit.com> vega: fix 565 color unpacking bug

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Brian Paul <brianp@vmware.com>
ega/vg_translate.c
bb4c5d72d7c7cb1d9e7016e2c07c36875f30011a 11-May-2012 Marek Olšák <maraeo@gmail.com> Merge branch 'gallium-userbuf'

Conflicts:
src/gallium/docs/source/screen.rst
src/gallium/drivers/nv50/nv50_state.c
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_draw.c
60e7b08101295099618a3c1f879440b257265253 04-May-2012 Francisco Jerez <currojerez@riseup.net> clover: Implement CL_MEM_COPY_HOST_PTR.
lover/core/memory.cpp
lover/core/queue.hpp
lover/core/resource.cpp
lover/core/resource.hpp
c6db1b3396384186aab5b685fe1fd540e17b3a62 20-Apr-2012 Francisco Jerez <currojerez@riseup.net> clover: Import OpenCL state tracker.
akefile
lover/Doxyfile
lover/Makefile.am
lover/api/context.cpp
lover/api/device.cpp
lover/api/event.cpp
lover/api/kernel.cpp
lover/api/memory.cpp
lover/api/platform.cpp
lover/api/program.cpp
lover/api/queue.cpp
lover/api/sampler.cpp
lover/api/transfer.cpp
lover/api/util.hpp
lover/core/base.hpp
lover/core/compat.hpp
lover/core/compiler.hpp
lover/core/context.cpp
lover/core/context.hpp
lover/core/device.cpp
lover/core/device.hpp
lover/core/event.cpp
lover/core/event.hpp
lover/core/format.cpp
lover/core/format.hpp
lover/core/geometry.hpp
lover/core/kernel.cpp
lover/core/kernel.hpp
lover/core/memory.cpp
lover/core/memory.hpp
lover/core/module.cpp
lover/core/module.hpp
lover/core/program.cpp
lover/core/program.hpp
lover/core/queue.cpp
lover/core/queue.hpp
lover/core/resource.cpp
lover/core/resource.hpp
lover/core/sampler.cpp
lover/core/sampler.hpp
lover/llvm/invocation.cpp
lover/tgsi/compiler.cpp
b52a0f22813c8e09747ece41173c21f22d4fc369 20-Apr-2012 Francisco Jerez <currojerez@riseup.net> gallium/gbm: Switch to auxiliary/pipe-loader.

Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
bm/gbm_drm.c
bm/gbm_gallium_drmint.h
a5f44cc8c2ce0916809ce5da5a2490ad000ef099 01-May-2012 Francisco Jerez <currojerez@riseup.net> gallium/tgsi: Split sampler views from shader resources.

This commit splits the current concept of resource into "sampler
views" and "shader resources":

"Sampler views" are textures or buffers that are bound to a given
shader stage and can be read from in conjunction with a sampler
object. They are analogous to OpenGL texture objects or Direct3D
SRVs.

"Shader resources" are textures or buffers that can be read and
written from a shader. There's no support for floating point
coordinates, address wrap modes or filtering, and, unlike sampler
views, shader resources are global for the whole graphics pipeline.
They are analogous to OpenGL image objects (as in
ARB_shader_image_load_store) or Direct3D UAVs.

Most hardware is likely to implement shader resources and sampler
views as separate objects, so, having the distinction at the API level
simplifies things slightly for the driver.

This patch introduces the SVIEW register file with a declaration token
and syntax analogous to the already existing RES register file. After
this change, the SAMPLE_* opcodes no longer accept a resource as
input, but rather a SVIEW object. To preserve the functionality of
reading from a sampler view with integer coordinates, the
SAMPLE_I(_MS) opcodes are introduced which are similar to LOAD(_MS)
but take a SVIEW register instead of a RES register as argument.
3d1x/gd3d1x/sm4_to_tgsi.cpp
1de377bd307f3c4aa63f1a14a693f81af54d56ee 29-Apr-2012 David Herrmann <dh.herrmann@googlemail.com> egl-fbdev: Fix compile-error by including errno.h

We use errno and EINVAL so include errno.h.

This patch introduced this bug:
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/state_trackers/egl/fbdev/native_fbdev.c?id=b60120608f6ddf4098bc324363197c979ee04cb7

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Cc: Chia-I Wu <olv@lunarg.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Adam Jackson <ajax@redhat.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
gl/fbdev/native_fbdev.c
3ed72dd31d45b66e54724dcd20bbbbb6875313c3 29-Apr-2012 Marek Olšák <maraeo@gmail.com> st/xorg: don't use user_buffer_create
org/xorg_renderer.c
889c9a566c1b0e1d3ef269c53900e5cfbd6d7b45 29-Apr-2012 Marek Olšák <maraeo@gmail.com> st/xa: don't use user_buffer_create
a/xa_renderer.c
fa20733a622770eaaa941f64d570d7b63d8f37b6 29-Apr-2012 Marek Olšák <maraeo@gmail.com> st/vega: don't use user_buffer_create
ega/polygon.c
ega/renderer.c
0279d15c990d831c7cc4e76cbe7caeba1347b689 29-Apr-2012 Marek Olšák <maraeo@gmail.com> st/vega: use cso_draw_arrays
ega/renderer.c
f656607c35c80250f0217b6c03b9312987450f13 29-Apr-2012 Marek Olšák <maraeo@gmail.com> st/xorg: fix compilation - wrong libkms include file
org/xorg_crtc.c
org/xorg_driver.c
507337864fa80caf9f26602324d2c28dd0a75d61 24-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: change set_constant_buffer to be UBO-friendly
3d1x/gd3d11/d3d11_context.h
ega/renderer.c
a/xa_renderer.c
org/xorg_renderer.c
5db9cedeafe98c5ac094fc32f7b4d275c273b867 13-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: remove PIPE_TRANSFER_NOOVERWRITE, use equivalent UNSYNCHRONIZED
3d1x/gd3d11/d3d11_context.h
e55cf4854d594eae9ac3f6abd24f4e616eea894f 01-Apr-2012 Dylan Noblesmith <nobled@dreamwidth.org> st/vega: silence enum cast warnings

clang warns on these:

stroker.c:626:19: warning: implicit conversion from enumeration
type 'VGPathCommand' to different enumeration type 'VGPathSegment'
[-Wconversion]

No change in the underlying value.

Reviewed-by: Brian Paul <brianp@vmware.com>
ega/stroker.c
6a491b5728fcfb928612182fa87212eeb2253917 01-Apr-2012 Dylan Noblesmith <nobled@dreamwidth.org> st/vega: fix uninitialized values

C still treats array arguments exactly like pointer arguments.
By sheer coincidence, this still worked fine on 64-bit
machines where 2 * sizeof(float) == sizeof(void*), but not
on 32-bit.

Noticed by clang:

text.c:76:51: warning: sizeof on array function parameter will
return size of 'const VGfloat *' (aka 'const float *') instead of
'const VGfloat [2]' [-Wsizeof-array-argument]
memcpy(glyph->glyph_origin, glyphOrigin, sizeof(glyphOrigin));

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Brian Paul <brianp@vmware.com>
ega/text.c
7bb1c784a30124a7259a2cc30356f7d88d27a767 07-Apr-2012 Johannes Obermayr <johannesobermayr@gmx.de> st/xa: Link with -Wl,-r instead of -r.

This is required to link with clang:
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000400160.
a/Makefile
129d5138d63697a9812d531895293313dfad6d57 05-Apr-2012 Alexandre Demers <alexandre.f.demers@gmail.com> xatracker: fix the build of a 32bit lib on a 64bit os

we were missing cflags.

Signed-off-by: Zack Rusin <zackr@vmware.com>
a/Makefile
9ba3cecaa02eba07bc6456c441126e4e2e823da5 03-Apr-2012 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Update to the new wl_shm_pool interface
gl/wayland/native_shm.c
24ca588ce66233a92e95dc70deb983c97dc24e55 29-Mar-2012 Christian König <deathsimple@vodafone.de> st/vdpau: fix deadlock in PresentationQueueQuerySurfaceStatus

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/presentation.c
fc0a5e21d77ae2f082fd19dd2295e84f6fb7bd3b 26-Mar-2012 Christian König <deathsimple@vodafone.de> vl: move winsys helper out of winsys directory

They aren't winsys of their own,
just help dealing with them.

v2: add some more comments in vl_winsys.h

Signed-off-by: Christian König <deathsimple@vodafone.de>
a/Makefile
a/va_context.c
dpau/Makefile
dpau/device.c
dpau/query.c
dpau/vdpau_private.h
vmc/Makefile
vmc/context.c
vmc/subpicture.c
vmc/surface.c
ad22e647e07d17ce51d267ac200d8a544a33c834 27-Mar-2012 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Also remove wl_buffer_damage in wayland backend

As commit 03eca9d92d407c71a59ff8a43067759769da0ae4 does for egl_dri2.
gl/wayland/native_wayland.c
7f6af4909241de7197e774dee988f574cb576a3b 24-Mar-2012 Christian König <deathsimple@vodafone.de> st/vdpau: clear video surface at least once

So if anything goes wrong we won't display a random image.

v2: flush before using the surface with the decoder.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/decode.c
dpau/surface.c
dpau/vdpau_private.h
9f777699ed39e1c326938f84fc8f54198990cfa1 24-Mar-2012 Christian König <deathsimple@vodafone.de> st/vdpau: invert interlaced buffer checks

That wasn't working as supposed.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/decode.c
d6c5ad52b2473064f0b3e031a2e1b59480c68c43 22-Mar-2012 Dave Airlie <airlied@gmail.com> drisw: fix image stride calculation for 16-bit.

If you ran g-s in 16-bpp we'd do a bunch of memory corruption.

now it just misrenders for some other reasons.

applies to stable.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
ri/sw/drisw.c
f23a2cb5d2f8087cbf0537aa46e353955ae3a6a8 15-Mar-2012 Christian König <deathsimple@vodafone.de> st/vdpau: improve frame dumping functionality a bit

Just a workaround until we get a real unit-
testing tool for VDPAU.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/presentation.c
fa66fda5b042d8735145d2ac1e64b6e7feacd634 15-Mar-2012 Christian König <deathsimple@vodafone.de> st/vdpau: add VC-1 startcode if none is found in the stream

v2: only advanced profile needs that.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/decode.c
901a1183274670766df7f3f5c3b0d60b22fee722 11-Mar-2012 José Fonseca <jose.r.fonseca@gmail.com> egl/drm: Include errno.h

Fixes scons build.
gl/drm/native_drm.c
b60120608f6ddf4098bc324363197c979ee04cb7 10-Dec-2011 David Fries <David@Fries.net> Set close on exec flag FD_CLOEXEC

Set the close on exec flag when opening dri character devices, so they
will be closed and free any resouces allocated in exec.

Signed-off-by: David Fries <David@Fries.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
gl/drm/native_drm.c
gl/fbdev/native_fbdev.c
gl/wayland/native_drm.c
gl/x11/x11_screen.c
9a3c2776acef1950a752e109eedd282a40edaf66 07-Mar-2012 Christian König <deathsimple@vodafone.de> st/vdpau: fix two small memory leaks

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/device.c
dpau/output.c
2e5f3cdca51e08320f38089f627fd059b7ebfa99 05-Mar-2012 Christian König <deathsimple@vodafone.de> st/vdpau: add xine workaround

For reasons I don't understand xine tries to set
the surface format by using a zero pitch.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/surface.c
d6119ac9facac23dbfaf40a582287785c190b5da 02-Mar-2012 Christian König <deathsimple@vodafone.de> gallium: remove format aliases

They are incomplete and don't make to much sense.

Signed-off-by: Christian König <deathsimple@vodafone.de>
3d1x/d3d1xstutil/src/dxgi_enums.cpp
d5fc3746fe3a337bccba0d644543633b728b9444 02-Mar-2012 Christian König <deathsimple@vodafone.de> st/vdpau: cleanup YCBCR matching functions

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/vdpau_private.h
5d5b414a7b840a4a90050041fabd88a9af6dca43 05-Mar-2012 Christian König <deathsimple@vodafone.de> st/vdpau: fix chroma_format handling in VideoSurfaceQueryGetPutBitsYCbCrCapabilities

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/query.c
e6aa32ac7f8d7b843f4d4f8bf9d8e9db790b0868 05-Mar-2012 Benjamin Franzke <benjaminfranzke@googlemail.com> wayland: Use new wl_display_disconnect

This replaces the previously used wl_display_destroy.
wl_display_destroy was povided by wayland-client.so and
wayland-server.so, to resolve that conflict its renamed client-side.
gl/wayland/native_drm.c
gl/wayland/native_shm.c
05579339c0da442669ea75749651e8cf4f9ec39b 01-Mar-2012 Christian König <deathsimple@vodafone.de> st/vdpau: make the interface thread save

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/bitmap.c
dpau/decode.c
dpau/device.c
dpau/mixer.c
dpau/output.c
dpau/presentation.c
dpau/query.c
dpau/surface.c
dpau/vdpau_private.h
1d0c357a9733238985cbe029b174173ef927ac70 01-Mar-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement support for high-precision output timing

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/presentation.c
4f5469f8d65fdeafe5b8410bbe20292b476b1ac9 29-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement support for extra mixer layers

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
54faecf6076fd50ef219ffed97f9a59218f7ca68 27-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement OutputSurfaceQueryPutBitsYCbCrCapabilities

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/query.c
d14c879d82d62f4000045dc6f001186559b81faa 27-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement OutputSurfacePutBitsYCbCr

v2: the csc_matrix is optional

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/output.c
8d0808214a75bbb254185b0293c8dd48aa5c4df7 26-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement VideoSurfaceGetBitsYCbCr

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/surface.c
222600972c60ce987b63c6422f26b9b8da95f1b0 26-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement OutputSurfaceQueryGetPutBitsNativeCapabilities

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/query.c
507fd8026ad2ade8bc79f5852ec20ad74503cc7f 26-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement OutputSurfaceGetBitsNative

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/output.c
494e0025d995fb2cab04474d13880ee438b0c868 26-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement OutputSurfacePutBitsNative

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/bitmap.c
dpau/output.c
dpau/vdpau_private.h
a0571b135ef2fdc9ade78b476e0af154f0f8a1f6 26-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement OutputSurfaceQueryPutBitsIndexedCapabilities

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/query.c
379f46c8ac50b9b76455b1e62d6d541182339e96 27-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: fix default swizzle for Output/Bitmap samplers

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/bitmap.c
dpau/device.c
dpau/output.c
dpau/vdpau_private.h
503cfbc7ba536710439e92cc961c2b75d9bb8ff2 27-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: add support for per vertex colors

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/output.c
bf19596870a61c615f12e593f4812052ce9d9721 26-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement BitmapSurfaceQueryCapabilities

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/query.c
abf31e3822665b6bdf5ac78b757a21522c9448b1 26-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement OutputSurfaceRenderBitmapSurface

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/output.c
2ec6af0c638da5ebd196e8071630f09a5472b9e4 26-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement BitmapSurfaceGetParameters

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/bitmap.c
e44731265dbfde75f955283f2f720a1917da120b 26-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement BitmapSurfacePutBitsNative

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/bitmap.c
3aa087fa048dfda37ab247e2dbe4a809c2fac948 26-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement BitmapSurfaceCreate/Destroy

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/bitmap.c
dpau/vdpau_private.h
f8ac7e034803a1c873bf156c012fede6d2640097 25-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: avoid an unnessasary copy

Delay the actual mixer rendering until we really
know which surface is the real destination.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/device.c
dpau/mixer.c
dpau/output.c
dpau/presentation.c
dpau/vdpau_private.h
14766f820069ca987543918bce96410c481e5d20 29-Feb-2012 Christian König <deathsimple@vodafone.de> vl/csc: simplify matrix handling

A csc matrix is only 4x3 not 4x4, also define a VDPAU compatible type for it.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/vdpau_private.h
vmc/attributes.c
vmc/context.c
74a4e9089488e7f341d21053bbf2d4aa52b99b70 29-Feb-2012 Christian König <deathsimple@vodafone.de> vl/compositor: add support for per layer dst areas

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/output.c
vmc/surface.c
b90727bb241e4a04158d34aad078cb18e478fea7 27-Feb-2012 Christian König <deathsimple@vodafone.de> vl/compositor: add per vertex color suport

Used in subtitles, for example.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/output.c
dpau/presentation.c
vmc/surface.c
d645dc65b6c5e7d46538e98208a703f0f7a5d20b 25-Feb-2012 Christian König <deathsimple@vodafone.de> vl/compositor: replace pipe_video_rect with u_rect

So we support things like flipping also.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/output.c
dpau/presentation.c
dpau/vdpau_private.h
vmc/subpicture.c
vmc/surface.c
vmc/xvmc_private.h
32c4381d4a0479b3d9bfe305ce701be6b5ac8e18 25-Feb-2012 Christian König <deathsimple@vodafone.de> vl/compositor: split shaders and state

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/output.c
dpau/presentation.c
dpau/vdpau_private.h
vmc/attributes.c
vmc/context.c
vmc/surface.c
vmc/xvmc_private.h
c14c84f383309ee0fdf007c0d3e968c38f3af86e 25-Feb-2012 Christian König <deathsimple@vodafone.de> vl: move dirty area handling into winsys abstraction

Fixing uninitialized areas in SwapBuffers mode.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/presentation.c
dpau/vdpau_private.h
vmc/surface.c
vmc/xvmc_private.h
f56784f9d0922163d59d7e1dff74c1970b86ba2c 24-Feb-2012 Christian König <deathsimple@vodafone.de> st/xvmc: remove dst buffer texture workaround

Signed-off-by: Christian König <deathsimple@vodafone.de>
vmc/context.c
vmc/surface.c
vmc/xvmc_private.h
dcf8ee7d6ac89bb2a9d608618a51604a3c78fe96 15-Feb-2012 Christian König <deathsimple@vodafone.de> st/xvmc: move xvmc state tracker out of xorg subdir

The xvmc state tracker is completely seperate and
doesn't shares code or anything else with the
xorg state tracker.

Signed-off-by: Christian König <deathsimple@vodafone.de>
org/xvmc/Makefile
org/xvmc/attributes.c
org/xvmc/block.c
org/xvmc/context.c
org/xvmc/subpicture.c
org/xvmc/surface.c
org/xvmc/tests/.gitignore
org/xvmc/tests/Makefile
org/xvmc/tests/test_blocks.c
org/xvmc/tests/test_context.c
org/xvmc/tests/test_rendering.c
org/xvmc/tests/test_subpicture.c
org/xvmc/tests/test_surface.c
org/xvmc/tests/testlib.c
org/xvmc/tests/testlib.h
org/xvmc/tests/xvmc_bench.c
org/xvmc/xvmc_private.h
vmc/Makefile
vmc/attributes.c
vmc/block.c
vmc/context.c
vmc/subpicture.c
vmc/surface.c
vmc/tests/.gitignore
vmc/tests/Makefile
vmc/tests/test_blocks.c
vmc/tests/test_context.c
vmc/tests/test_rendering.c
vmc/tests/test_subpicture.c
vmc/tests/test_surface.c
vmc/tests/testlib.c
vmc/tests/testlib.h
vmc/tests/xvmc_bench.c
vmc/xvmc_private.h
1448e829e86981e6144410ba6a3d0f16357fb2b3 15-Feb-2012 Christian König <deathsimple@vodafone.de> vl: rework winsys interface

Throw out all the old and now unneeded stuff.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/decode.c
dpau/device.c
dpau/mixer.c
dpau/output.c
dpau/presentation.c
dpau/surface.c
dpau/vdpau_private.h
org/xvmc/context.c
org/xvmc/subpicture.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
5f60a00743f6e03c3b90fa3a95e448e53bc150e1 20-Feb-2012 Brian Paul <brianp@vmware.com> st/glx: remove STENCIL_BITS, DEFAULT_SOFTWARE_DEPTH_BITS

Remove some Mesa/swrast stuff.
lx/xlib/glx_api.c
0a543eb5c4b299a4e819895455913a77a44f52b9 20-Feb-2012 Brian Paul <brianp@vmware.com> st/glx: remove MAX_WIDTH/HEIGHT usage
lx/xlib/glx_api.c
bed7b4aa5ff7bab39e9aafe9d78c4ec63f5631bc 23-Feb-2012 Jakob Bornecrantz <jakob@vmware.com> st/dri: Fix crash in st/dri from dri format commit

Introduced with 8de5c355fa2bf0f30df2c7cf39aee01e793284bf, it would probably just crash.

Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Jesse Barnes <jbarnes@virtousgeek.org>
ri/drm/dri2.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>
gl/stw_ext_pbuffer.c
9ffc8ea8f4cfa15115a93039cc7099f0fd597fe3 08-Feb-2012 José Fonseca <jfonseca@vmware.com> st/wgl: Fix argument of stw_pixelformat_get_info().

stw_pixelformat_get_info takes zero based index, not a 1 based pixel
format number.
gl/stw_ext_pbuffer.c
8de5c355fa2bf0f30df2c7cf39aee01e793284bf 21-Feb-2012 Jesse Barnes <jbarnes@virtuousgeek.org> gbm: track buffer format through DRI drivers

GBM needs the buffer format in order to communicate with DRM and clients
for things like scanout.

So track the DRI format requested in the various back ends and use it to
return the DRI format back to GBM when requested. GBM will then map
this into the GBM surface type (which is in turn based on the DRM fb
format list).

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
ri/common/dri_screen.h
ri/drm/dri2.c
37f97e1753af20a7161f61e99cb203b214e00641 10-Feb-2012 Christian König <deathsimple@vodafone.de> vl: add support for bob deinterlacing

v2: return VDP_STATUS_INVALID_VIDEO_MIXER_PICTURE_STRUCTURE
for unknown picture structure.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
org/xvmc/surface.c
0f194fc9e443ee6abd266737321655882e435970 10-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: Use transfer_inline_write to upload ycbcr data

Uses less code and looks at least a bit cleaner than mapping manually.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/surface.c
736dda82ca5477b8976e2c6b810a71efe2337267 10-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: remove unnecessary tracing and adjust tracing levels a bit

Tracing function entry/exits is a bit pointless
when VDPAU_TRACE=1 does the same thing.

v2: use WARN instead of ERR for application problems

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/decode.c
dpau/device.c
dpau/mixer.c
dpau/output.c
dpau/presentation.c
dpau/query.c
dpau/surface.c
d394bc5853f70f5a2d4c4b396e55b96c1ba63be7 18-Feb-2012 Vinson Lee <vlee@freedesktop.org> st/egl: Move drm_display_authenticate into HAVE_WAYLAND_BACKEND section.

Fixes this GCC warning.
native_drm.c:153:1: warning: ‘drm_display_authenticate’ defined but not
used [-Wunused-function]

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
gl/drm/native_drm.c
0342ffba1fa0ad4a724ca2450af6fc78358f5956 18-Feb-2012 Vinson Lee <vlee@freedesktop.org> st/vega: Remove unused variable.

Fixes this GCC warning.
mask.c: In function ‘mask_layer_fill’:
mask.c:387:12: warning: variable ‘alpha_color’ set but not used
[-Wunused-but-set-variable]

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
ega/mask.c
e77e88740d8861affa5b3bfa69dd1745d3c4484a 18-Feb-2012 Vinson Lee <vlee@freedesktop.org> st/glx: Remove unused variables.

Fixes these GCC warnings.
glx_api.c: In function ‘choose_visual’:
glx_api.c:678:8: warning: variable ‘trans_value’ set but not used
[-Wunused-but-set-variable]
glx_api.c:677:8: warning: variable ‘trans_type’ set but not used
[-Wunused-but-set-variable]
glx_api.c:663:8: warning: variable ‘min_ci’ set but not used
[-Wunused-but-set-variable]

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
lx/xlib/glx_api.c
78734e375a0e3ea87abd6d5b2f85946e78e96015 13-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: fix a small memory leak

The matrix filter wasn't freed on mixer destruction.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
553e8203879d163e6fe2f3a8f6b80a44749514c1 13-Feb-2012 Christian König <deathsimple@vodafone.de> vl: fix low strength denoise filter

A filter strength of zero or one doesn't make any
sense. Thanks to Andy Furniss for pointing this out.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/vdpau_private.h
ad9455314d9c5cb9b31af22116841ee3e642a55b 08-Feb-2012 Brian Paul <brianp@vmware.com> st/wgl: refactor stw_pixelformat_init()

Replace duplicated code with add_color_format_variants() helper.
gl/stw_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.
gl/stw_context.c
gl/stw_ext_pbuffer.c
gl/stw_ext_pixelformat.c
gl/stw_framebuffer.c
gl/stw_framebuffer.h
gl/stw_pixelformat.c
90a95f4d2c50b63ffa4c114081a1cfa5cdfa05cb 08-Feb-2012 José Fonseca <jfonseca@vmware.com> st/wgl: Invoke SetPixelFormat twice for pbuffers.
gl/stw_ext_pbuffer.c
0cf554fa9b31dbac1890f496974392001e2df825 08-Feb-2012 José Fonseca <jfonseca@vmware.com> st/wgl: Just pass pPixelFormat to stw_pixelformat_get_info().

Avoids the likely error of forgetting to subtract one.
gl/stw_context.c
gl/stw_ext_pbuffer.c
gl/stw_ext_pixelformat.c
gl/stw_framebuffer.c
gl/stw_pixelformat.c
gl/stw_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.
gl/stw_ext_pbuffer.c
36cd50152c76d5a5b34202887af68aab09854d5d 08-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: use matrix filter to blur/sharpen video

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/query.c
dpau/vdpau_private.h
bbb48e983d232d67031250127b3c2acfc086369e 07-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: use median filter for noise reduction

And while at it implement the rest of the feature
querying also.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/query.c
dpau/vdpau_private.h
814be043fae0ed3498bbc4c8e8f07c2655c2438b 02-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: use dst surface size if clip width/height is zero

Just another fix for gstreamer.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/presentation.c
97349dfa798929e99a2b9fac3cf7192457de5459 02-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement vlVdpOutputSurfaceQueryCapabilities

Fixing some problems with gstreamer.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
dpau/query.c
14f47d164d198e6aabce7348d9574c8253134708 02-Feb-2012 Christian König <deathsimple@vodafone.de> st/xvmc: respect caps when creating video buffers

Signed-off-by: Christian König <deathsimple@vodafone.de>
org/xvmc/surface.c
8f54929c5d9a07a999cb0a55c406062fd8cdfb74 01-Feb-2012 Christian König <deathsimple@vodafone.de> st/vdpau: use interlacing capabilities

Recreate video buffer if need arises.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/decode.c
dpau/surface.c
8bfadc802f6c3c85de4c429b2a87d0bdb1705028 30-Jan-2012 Christian König <deathsimple@vodafone.de> st/vdpau: implement uploads to interlaced video buffers

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/surface.c
0fcc518964223d9baaa2b45e80afeb800beb872f 01-Feb-2012 Ville Syrjala <syrjala@sci.fi> gallium/dri: Handle xserver that doesn't send needless DRI2 invalidate events

Ever since xserver commit 531869448d07e00ae241120b59f3aaaa5709d59c,
the server no longer sends invalidate events to clients, unless they
have performed a GetBuffers request since the drawable was last
invalidated.

If the drawable gets invalidated immediately after the GetBuffers
request was processed by the X server, it's possible that Xlib
will process the invalidate event while waiting for the GetBuffers
reply. So the server, thinking the client knows that the buffers
are invalid, is waiting for another GetBuffers request before
sending any more invalidate events. The client, on the other hand,
believes the buffers to be valid, and thus is expecting to receive
another invalidate event before it has to send another GetBuffers
request. The end result is that the client never again sends
a GetBuffers request.

To avoid this problem, take a snapshot of the lastStamp before
doing GetBuffers, and retry if the snapshot and the current
lastStamp no longer match after the GetBuffers reply has been
processed.

Signed-off-by: Ville Syrjälä <syrjala@sci.fi>
Signed-off-by: Dave Airlie <airlied@redhat.com>
ri/common/dri_drawable.c
c5976017e31828dd67fb54e8c11b863fffcac70b 24-Jan-2012 Lauri Kasanen <cand@gmx.com> gallium/postprocess: Fix depth logic

This prevents a possible lapse of the depth buffer - the situation where
the app and pp have different depth buffers.

NOTE: This is a candidate for the 8.0 stable branch.

Signed-off-by: Lauri Kasanen <cand@gmx.com>
ri/common/dri_context.c
d36f89c8cfb3776368f8acef46514421f454205c 31-Jan-2012 Christian König <deathsimple@vodafone.de> vl: fix some missing prototypes error

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45444
Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/preemption.c
6386f80dbd6f1230abf16fa5ac65dc0dca70033a 31-Jan-2012 Brian Paul <brianp@vmware.com> vega: memset data array to zero to silence uninitialized var warnings
ega/path.c
c72d7df16879e3210946ba92a7edc823815b6f16 29-Jan-2012 Benjamin Franzke <benjaminfranzke@googlemail.com> st/dri: Support 24bit formats in dri2_allocate_buffer

Prior commit 576161289df68eedade591fbca4013329c9e5ded,
the parameter format was bpp, thus both 24bit and 32bit formats were
requested with format set to 32. Handle 24bit seperately now.

Fixes RGBX formats in wayland platform for egl_dri2 (EGL_ALPHA_SIZE=0).

Note: This is a candidate for the 8.0 branch.
ri/drm/dri2.c
c2e2b58a58880c9b9f189fc154205e99144e9502 24-Jan-2012 Christian König <deathsimple@vodafone.de> st/xvmc: remove xorg-server dependency

Fixing a circular build dependency.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Christian König <deathsimple@vodafone.de>
org/xvmc/subpicture.c
81da773f841aa69debc473537750c475e6261e37 18-Jan-2012 Stéphane Marchesin <marcheu@chromium.org> st/dri: Remove useless flush front.

In the following scenario:
- CreateContext C1
- MakeCurrent C1
- DestroyContext C1 (does not actually destroy the first context, postponed
until the next MakeCurrent)
- CreateContext C2
- MakeCurrent C2
MakeCurrent will call flush on a half destroyed context, leading to crashes.
Since the other paths (destroy and makecurrent) already flush the context,
there is no need to flush here, so we remove this useless flush front call.

This fixes GPU crashes with Chrome and gallium drivers.
ri/common/dri_context.c
221c678329fd1c073d5f8dcf387129cd426ecf07 18-Jan-2012 Kristian Høgsberg <krh@bitplanet.net> gbm: Validate usage flags in gbm_bo_create_from_egl_image()

The entry point is supposed to validate that the EGLImage is suitable for
the passed in usage flags, but that was never implemented.
ri/drm/dri2.c
e0897009f8fe8100204038e37f5555966300383a 17-Jan-2012 Scott Moreau <oreaus@gmail.com> Complete ARGB8888 naming convention format renames missed
gl/wayland/native_shm.c
2eabd05b7525f081ec203747a436d597ce33eb3b 10-Jan-2012 Christian König <deathsimple@vodafone.de> vl: fix YV12 handling

We actually implemented YV21 instead of YV12, so fix the plane ordering.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/surface.c
020a6f6cd8c3c8632f68e1f47ba3c63f2315e47e 10-Jan-2012 Christian König <deathsimple@vodafone.de> st/vdpau: recreate video buffer if decode doesn't like it

Recreate the video buffer if the decoder can't handle it.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/decode.c
4a4811ea178fb158339c1fbfacc58a9ab97058f8 10-Jan-2012 Christian König <deathsimple@vodafone.de> st/vdpau: recreate video buffer if format doesn't match

Recreate the video buffer in PutBitsYCbCr if the format doesn't match.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/surface.c
dpau/vdpau_private.h
9d9afcb5bac2931d4b8e6d1aa571e941c5110c90 10-Jan-2012 Christian König <deathsimple@vodafone.de> vl: reintroduce PIPE_VIDEO_CAP_PREFERED_FORMAT

Create the video buffers in the format the driver preffers.
This temporary creates problems with decoder less VDPAU video playback.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/surface.c
org/xvmc/surface.c
d6aa0ad55dc245bfacb7d9c3b479fe5a6557d43f 09-Jan-2012 Christian König <deathsimple@vodafone.de> vl: add h264 infrastructure

No implementation so far, just the defines for
VDPAUs picture info structure.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/decode.c
8ea416f35de0c664ef47b71841756758f22d7faa 04-Jan-2012 Christian König <deathsimple@vodafone.de> vl: move away from state like parameters

Again based on Maartens work, but keep begin_frame
and end_frame functions for now.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/decode.c
org/xvmc/surface.c
e027759336bf49e3f568bd73b9e5f26d56ef6f83 02-Jan-2012 Christian König <deathsimple@vodafone.de> vl/video_buffer: use template style create params

Just like in the rest of gallium, this reduces the
number of parameters significantly.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/surface.c
org/xvmc/surface.c
8a4f7d1cdc6f3c9e8a5a6f4a0928c3abdb132541 12-Jan-2012 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Bump version to 1.0.0 according to the README

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
a/xa_tracker.h
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>
gl/stw_ext_extensionsstring.c
7f6de60c585c6ac99d8e6b1280a8d7ce82f3c5e2 11-Jan-2012 Brian Paul <brianp@vmware.com> st/glx/xlib: call register_with_display() in glXChooseFBConfig()

This is the same fix as the previous commit, except it's for the gallium
glx/xlib state tracker.

NOTE: This is a candidate for the 7.11 branch.

Reviewed-by: Adam Jackson <ajax@redhat.com>
lx/xlib/glx_api.c
58dc1b28d1ef4d1931c52b079d304f2e1546329d 11-Jan-2012 Kristian Høgsberg <krh@bitplanet.net> wayland-drm: Drop the non-premul formats, use format codes from drm_fourcc.h
gl/common/native_wayland_drm_bufmgr_helper.c
gl/wayland/native_drm.c
gl/wayland/native_shm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
dc4c821f0817a3db716f965692fb701079f66340 10-Jan-2012 Marek Olšák <maraeo@gmail.com> Squash-merge branch 'gallium-clip-state'

Conflicts:
src/gallium/auxiliary/tgsi/tgsi_strings.c
src/mesa/state_tracker/st_atom_clip.c

commit d919791f2742e913173d6b335128e7d4c63c0840
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 17:59:22 2012 +0100

d3d1x: adapt to new clip state

commit cfec82bca3fefcdefafca3f4555285ec1d1ae421
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 14:16:51 2012 +0100

gallium/docs: update for clip state changes

commit c02bfeb81ad9f62041a2285ea6373bbbd602912a
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 14:21:43 2012 +0100

tgsi: add TGSI_PROPERTY_PROHIBIT_UCPS

commit d4e0a785a6a23ad2f6819fd72e236acb9750028d
Author: Brian Paul <brianp@vmware.com>
Date: Thu Jan 5 08:30:00 2012 -0700

tgsi: consolidate TGSI string arrays in new tgsi_strings.h

There was some duplication between the tgsi_dump.c and tgsi_text.c
files. Also use some static assertions to help catch errors when
adding new TGSI values.

v2: put strings in tgsi_strings.c file instead of the .h file.

Reviewed-by: Dave Airlie <airlied@redhat.com>

commit c28584ce0d8c62bd92c8f140729d344f88a0b3cd
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 12:48:09 2012 +0100

gallium: extend user_clip_plane_enable to apply to clip distances

commit f1d5016c07f786229ed057effbe55fbfd160b019
Author: Marek Olšák <maraeo@gmail.com>
Date: Fri Jan 6 02:39:09 2012 +0100

nvfx: adapt to new clip state

commit 6f6fa1c26bd19f797c1996731708e3569c9bfe24
Author: Marek Olšák <maraeo@gmail.com>
Date: Fri Jan 6 01:41:39 2012 +0100

st/mesa: fix DrawPixels with GL_DEPTH_CLAMP

commit c86ad730aa1c017788ae88a55f54071bf222be12
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Tue Jan 3 23:51:30 2012 +0100

nv50: adapt to new clip state

commit 3a8ae6ac243bae5970729dc4057fe02d992543dc
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Tue Jan 3 23:32:36 2012 +0100

nvc0: adapt to new clip state

commit 6243a8246997f8d2fcc69ab741a2c2dea080ff11
Author: Marek Olšák <maraeo@gmail.com>
Date: Thu Dec 29 01:32:51 2011 +0100

draw: initalize pt.user.planes in draw_init

This fixes a crash in glean/fpexceptions.

commit e3056524b19b56d473f4faff84ffa0eb41497408
Author: Marek Olšák <maraeo@gmail.com>
Date: Mon Dec 26 06:26:55 2011 +0100

svga: adapt to new clip state

commit c5bfa8b37d6d489271df457229081d6bbb51b4b7
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 14:11:51 2011 +0100

r600g: adapt to new clip state

commit f11890905362f62627c4a28a8255b76eb7de7df2
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 14:10:26 2011 +0100

r300g: adapt to new clip state

commit e37465327c79a01112f15f6278d9accc5bf3103f
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 12:39:16 2011 +0100

draw: adapt to new clip state

This adds a regression in the LLVM clipping path. Can anybody see anything
wrong with the code? It works for every other case, just glean/fpexceptions
crashes when doing the "Infinite clip plane test".

commit b474d2b18c72d965eefae4e427c269cba5ce6ba2
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 13:14:59 2011 +0100

u_blitter: don't save/set/restore clip state

commit 9dd240ea91f523a677af45e8d0adb9e661e28602
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 13:11:56 2011 +0100

gallium: don't cso_save/set/restore clip state

The enable bits are in the rasterizer state.

commit a4f7031179f5f4ad524b34b394214b984ac950f6
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 12:58:55 2011 +0100

gallium: default depth_clip to 1

depth_clip = !depth_clamp

commit fe21147a00ab90e549d63fe12ee4625c9c2ffcc3
Author: Marek Olšák <maraeo@gmail.com>
Date: Mon Dec 26 06:14:19 2011 +0100

trace,util: update state logging to new clip state

Also dump the other missing flags.

commit 2a3b96e84ac872dcc5bc1de049fe76bb58d64b23
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 10:43:43 2011 +0100

st/mesa: adapt to new clip state

commit b7b656a42fca19d7c85267f42649a206a85a2c72
Author: Marek Olšák <maraeo@gmail.com>
Date: Sat Dec 17 15:45:19 2011 +0100

gallium: move state enable bits from clip_state to rasterizer_state
3d1x/dxgi/src/dxgi_native.cpp
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_objects.h
3d1x/gd3d11/d3d11_screen.h
ega/renderer.c
a/xa_renderer.c
org/xorg_renderer.c
8c2bfa34a0d70ab08de44e3b091b3a097abbad97 23-Dec-2011 Christian König <deathsimple@vodafone.de> vl: replace decode_buffers with auxiliary data field

Based on patches from Maarten Lankhorst <m.b.lankhorst@gmail.com>

Signed-off-by: Christian König <deathsimple@vodafone.de>
Acked-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
dpau/decode.c
dpau/vdpau_private.h
org/xvmc/context.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
e532b6288f01b63d8d8ba8c8dc08292967e65490 01-Dec-2011 Ian Romanick <ian.d.romanick@intel.com> dri2: Add plumbing to get context version requirements and flags to drivers

This adds support for DRI_DRI2 version 3 to all of the DRI2 drivers.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ri/common/dri_context.c
ri/common/dri_context.h
797960dbeca675d8966752bc7a201f311123f3d5 30-Dec-2011 Brian Paul <brianp@vmware.com> st/glx/xlib: check for null attrib_list in glXCreateContextAttribsARB()

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=44234
lx/xlib/glx_api.c
7ac114f94a8fac5fa7cc0e99bf6a3c03ec194650 22-Dec-2011 Christian König <deathsimple@vodafone.de> vl: call decode_bitstream only once

Submit all bitstreams at once to decode_bitstream.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
dpau/decode.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>
gl/common/egl_g3d_api.c
lx/xlib/xm_api.c
gl/stw_context.c
d18152028e1825c05c7de33acacee3336350a096 14-Dec-2011 Ian Romanick <ian.d.romanick@intel.com> st-api: Have context_create explain why creation failed

This won't be used in the client-side libGL, but the xserver has to
generate a different protocol error depending on the reason context
creation failed.

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>
ri/common/dri_context.c
ega/vg_manager.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>
lx/xlib/xm_api.c
gl/stw_context.c
704d22dfc1da2cb8c6c46d540018ae67d09f4d36 20-Dec-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> xvmc: Remove unused variable

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Signed-off-by: Christian König <deathsimple@vodafone.de>
org/xvmc/attributes.c
249c6f1934d1d0a6215d02ef6b8a7e9585dfe955 20-Dec-2011 Chia-I Wu <olv@lunarg.com> st/egl: error check and clamp coordinates in eglPostSubBufferNV

EGL_BAD_PARAMETER should be returned when any of the coordinates is negative.
gl/common/egl_g3d_api.c
75772842133d101223ca31400e100b83476f327b 14-Dec-2011 Fredrik Höglund <fredrik@kde.org> st/egl: Add support for EGL_NV_post_sub_buffer

Signed-off-by: Fredrik Höglund <fredrik@kde.org>

[olv: remove #ifdef checks]
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
f957cac772d34b3406be3236b81571e456ee40e8 20-Dec-2011 Chia-I Wu <olv@lunarg.com> egl: remove #ifdef's for official extensions

There is no point in having them when we distribute eglext.h.

As for unofficial extensions, there is a chance that we might remove some of
them evetually. Keeping the #ifdef's for now should make that easier.
gl/common/egl_g3d.h
gl/common/egl_g3d_api.c
gl/common/egl_g3d_sync.c
gl/common/egl_g3d_sync.h
d6942f781f9cf741e7013f01c2af31f0a5867cc9 19-Dec-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> vdpau: Add background surface support

Sets rgba layer as zeroth layer if a custom background_surface is specified.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
e8e0756bd35e5e3b70a0eee323f5aaa3707fe11d 19-Dec-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> vdpau: Add support for mixer attributes

It's harmless to add support for attributes we don't support,
since they require a feature enabled for them to affect
something. As long as they aren't enabled, nothing happens.

This enables support for custom colorspaces and background colors.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/query.c
dpau/vdpau_private.h
89b9863252272a7109d468738517a0d68376a909 19-Dec-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> vdpau: Add support for parameters

Currently only validating, since nothing else can be done with it yet

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>

v2: removed check_video_surface

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/query.c
dpau/vdpau_private.h
14193da589275969be31dbdb3280bb48cd24d0c0 15-Dec-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: implement new stream output interface
3d1x/dxgi/src/dxgi_native.cpp
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_objects.h
3d1x/gd3d11/d3d11_screen.h
3d1x/gd3d1x/d3d_enums.cpp
3d1x/gd3d1x/sm4_to_tgsi.cpp
3d1x/gd3d1x/sm4_to_tgsi.h
861a029ddb31e91bb4d8e18ab708d0d172f63aad 15-Dec-2011 Marek Olšák <maraeo@gmail.com> gallium: interface changes necessary to implement transform feedback (v5)

Namely:
- EXT_transform_feedback
- ARB_transform_feedback2
- ARB_transform_feedback_instanced

The old interface was not useful for OpenGL and had to be reworked.

This interface was originally designed for OpenGL, but additional
changes have been made in order to make st/d3d1x support easier.

The most notable change is the stream-out info must be linked
with a vertex or geometry shader and cannot be set independently.
This is due to limitations of existing hardware (special shader
instructions must be used to write into stream-out buffers),
and it's also how OpenGL works (stream outputs must be specified
prior to linking shaders).

Other than that, each stream output buffer has a "view" into it that
internally maintains the number of bytes which have been written
into it. (one buffer can be bound in several different transform
feedback objects in OpenGL, so we must be able to have several views
around) The set_stream_output_targets function contains a parameter
saying whether new data should be appended or not.

Also, the view can optionally be used to provide the vertex
count for draw_vbo. Note that the count is supposed to be stored
in device memory and the CPU never gets to know its value.

OpenGL way | Gallium way
------------------------------------
BeginTF = set_so_targets(append_bitmask = 0)
PauseTF = set_so_targets(num_targets = 0)
ResumeTF = set_so_targets(append_bitmask = ~0)
EndTF = set_so_targets(num_targets = 0)
DrawTF = use pipe_draw_info::count_from_stream_output

v2: * removed the reset_stream_output_targets function
* added a parameter append_bitmask to set_stream_output_targets,
each bit specifies whether new data should be appended to each
buffer or not.
v3: * added PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME for ARB_tfb2,
note that the draw-auto subset is always required (for d3d10),
only the pause/resume functionality is limited if the CAP is not
advertised
v4: * update gallium/docs
v5: * compactified struct pipe_stream_output_info, updated dump/trace
ega/shaders_cache.c
3baaa1bbd72f67f6bc7374b2b6a16b0322006a65 14-Dec-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Disable composite solid fill with mask

Xa doesn't support it yet. Trying to do that would cause a segfault.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
a/xa_composite.c
aa7d7656f50f5c49734e3b0fad0f20a89cd5eb5b 14-Dec-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Fix format conversion copy alpha channel

When doing format conversion copies between a format without an
alpha channel and a format with an alpha channel, make sure the
destination alpha is set to 1.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
a/xa_context.c
a/xa_priv.h
a/xa_renderer.c
11c9459ba0b0c0afa1ae0ea41b0edaf069fc421a 14-Dec-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Fix component alpha check

Component alpha only affects mask pictures.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
a/xa_composite.c
7aadb53ef020b13658c9a99ecffe554af8755420 15-Dec-2011 Chia-I Wu <olv@lunarg.com> st/egl: fix compiler warnings

One is about casting a pointer to integer and the other is about an unused
function when HAVE_WAYLAND_BACKEND is not defined.
gl/common/egl_g3d_image.c
gl/x11/native_dri2.c
a06f58fee5dbf0054fb363e759d30cf13c4bbab9 14-Dec-2011 Fredrik Höglund <fredrik@kde.org> st/egl: Implement EGL_NOK_swap_region for x11

v2: inline x11_drawable_copy_buffers().

Signed-off-by: Fredrik Höglund <fredrik@kde.org>

[olv: s/inline/INLINE/]
gl/x11/native_dri2.c
gl/x11/x11_screen.c
gl/x11/x11_screen.h
fa0f70e45ed1b69c0e72588a061bc30fd9ad371e 14-Dec-2011 Fredrik Höglund <fredrik@kde.org> st/egl: Add support for EGL_NOK_swap_region

Backends indicate that they support this extension by returning
EGL_TRUE when native_display::get_param() is called with
NATIVE_PARAM_PRESENT_REGION and NATIVE_PARAM_PRESERVE_BUFFER.

native_present_control is extended to include the region that should
be presented. When native_present_control::num_rects is zero,
the whole surface is to be presented.

Signed-off-by: Fredrik Höglund <fredrik@kde.org>
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
gl/common/native.h
5d1de8bc7d83a20ed5ace7b408e7d3e1da7f9087 12-Dec-2011 Christian König <deathsimple@vodafone.de> st/vdpau: fix unwanted output scaling

vlVdpPresentationQueueDisplay shouldn't scale, so
use size of destination surface as source rectangle.

Based on work of Maarten Lankhorst <m.b.lankhorst@gmail.com>

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/presentation.c
9e51c200a78b8be8be195e0d82d69e952afd1343 12-Dec-2011 Christian König <deathsimple@vodafone.de> st/vdpau: some mixer fixes

Correctly use destination_rect and destination_video_rect
in the mixer, and also use a dirty area tracking for output surfaces.

Based on work of Maarten Lankhorst <m.b.lankhorst@gmail.com>

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/output.c
dpau/vdpau_private.h
167b1b32c5ff30d514253072ce54513112c03d4d 12-Dec-2011 Christian König <deathsimple@vodafone.de> g3dvl/compositor: improve dirty area handling

Take viewport and scissors into account and make
the dirty area a parameter instead of a member.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/mixer.c
dpau/output.c
dpau/presentation.c
dpau/vdpau_private.h
org/xvmc/surface.c
org/xvmc/xvmc_private.h
45bb4b79f6ddd1fdb447632c88333866585fb80c 02-Dec-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> vl: Add missing mpeg fields to pipe_mpeg12_picture_desc

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
dpau/decode.c
340c0f6f9ece070e3f3245134eabe80d7551a870 07-Dec-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Update xa_yuv_planar_blit semantics

Change and document the interpretation of the color conversion matrix
in order to make the function more versatile and to simplify the
generated shader.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
a/xa_context.h
a/xa_tgsi.c
a/xa_tracker.h
a/xa_yuv.c
576161289df68eedade591fbca4013329c9e5ded 06-Dec-2011 Thomas Hellstrom <thellstrom@vmware.com> st/dri: Use depth instead of bpp when communicating formats with the X server v3

Some hardware can't reinterpret the format of hardware buffers and thus
the X server needs to know the format when the buffer is created.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Michel Daenzer <michel@daenzer.net>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
ri/drm/dri2.c
9ab43f74547b31d07d57acf2351ff46465d077bf 06-Dec-2011 Fabio Pedretti <fabio.ped@libero.it> vega: remove unused vars

Signed-off-by: Brian Paul <brianp@vmware.com>
ega/vg_translate.c
c8db5a3d535c347193556c0d4a8fad83d96be184 09-Nov-2011 José Fonseca <jose.r.fonseca@gmail.com> st/vega: Fix warnings about dllimport attributes on windows.
ega/SConscript
dbf00812b073bd3f17cbbaadb14c6f603b83cd10 24-Nov-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Kill a couple of compilation warnings

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
a/xa_composite.c
a/xa_context.h
32b1641a59610d94c0b56bf0494b2fc1cf400e3e 24-Nov-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa, xa/vmwgfx: Generate exported symbol list from the st/xa symbols.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
a/xa_symbols
4d04367eca66a85e26f7c0f5d6392823d13880f6 24-Nov-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa, xa/vmwgfx: Use XA_EXPORT attribute to indicate global visibility

Also fix up Makefiles to use the default mesa compilation flags.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrants <jakob@vmware.com>
a/Makefile
a/xa_composite.c
a/xa_context.c
a/xa_priv.h
a/xa_tracker.c
a/xa_yuv.c
404d2f9c866b3ac96834a8274775851440055d13 24-Nov-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa, xa/vmwgfx: Set the right version on library suffix

Also remove some unused variables in the st/xa makefile.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
a/Makefile
75cc24c876059d6eb183e07ed802f997fb416864 25-Nov-2011 Chia-I Wu <olv@lunarg.com> android: add support for ICS

With ICS (Android 4.0), several headers and structs are renamed. Define
ANDROID_VERSION so that we can choose a different path depending on the
platform version.

I've tested only softpipe and llvmpipe. r600g is also reported to work.
gl/android/native_android.cpp
gl/common/egl_g3d_image.c
gl/common/native_buffer.h
d3d3c12a95bddb7b624818af559ab6b18d890d2f 24-Nov-2011 Chia-I Wu <olv@lunarg.com> st/egl: fix a crash in Android backend

There is no buffer and android_surface_present should be a no-op when
eglSwapBuffers is called twice in a row.
gl/android/native_android.cpp
f4515d106cd40351133c89855e3277a70bba8721 06-Nov-2011 Vinson Lee <vlee@vmware.com> st/dri: Fix memory leak on error path.

Fixes Coverity resource leak defect.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
ri/drm/dri2.c
78c076e6548f0bb44758d89ec434bcfddd902939 03-Nov-2011 George Sapountzis <gsapountzis@gmail.com> dri: drop drisw_util.h
ri/common/dri_context.h
ri/common/dri_screen.h
ri/common/dri_wrapper.h
ri/drm/dri2_buffer.h
875a757ddd103722cfe9a2b21035024aa5a23d32 03-Nov-2011 George Sapountzis <gsapountzis@gmail.com> dri: unify __DRIscreenRec

Also drop DriverAPI field, this is a static symbol and I don't see why it
should be accessed through __DRIscreenRec
ri/common/dri_drawable.c
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri2.c
ri/sw/drisw.c
7192c37294964b3f6e1551469f161593ec8f851d 02-Nov-2011 George Sapountzis <gsapountzis@gmail.com> dri: unify __DriverAPIRec

I dropped the comments because they don't add much.
ri/drm/dri2.c
ri/sw/drisw.c
fc9e80fab9dc529cbe67cc718b89b17e18fa41d8 03-Nov-2011 George Sapountzis <gsapountzis@gmail.com> dri: drop drmLock remnants
ri/common/dri_context.c
ri/common/dri_context.h
ri/common/dri_screen.h
eadbcb221db16af96aa6c3f40d48896d23d9eebc 31-Oct-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> state_trackers/vdpau: Add support for VC-1 decoding

Add a struct with all the fields.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
dpau/decode.c
dpau/vdpau_private.h
91d33b5c589a63f73212546825988cfa4f80b207 31-Oct-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> state_trackers/vdpau: Add mpeg4 part2 to PipeToProfile and ProfileToPipe

So it can actually be used when someone implements it. :)

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
dpau/vdpau_private.h
12bf452945ae64da69f474298758f9a7c8b94af5 31-Oct-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> state_trackers/vdpau: Add support for MPEG4 Part 2

Just the support patch, no decoder implements it currently.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
dpau/decode.c
1eb48c5500e5b3e3319108a1cecf63524fdede0d 31-Oct-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> state_trackers/vdpau: Test if profile is supported first before trying to create decoder

So a nicer error message is returned.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
dpau/decode.c
c4d47f065ae2a015a9d2e9a060d71e04d5935c2b 31-Oct-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> state_trackers/vdpau: Add num_slices to mpeg12 picture structure

Bitstream parsers might need that field.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
dpau/decode.c
c9c6eec1c6650623f1be412dc2acd935de6b728b 31-Oct-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> state_trackers/vdpau: Implement VdpGenerateCSCMatrix

With the smpte240 profile, which was missing.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
dpau/mixer.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>
gl/stw_wgl.c
a0d8e5d12a059fcb5e606c262d30e41ad6248282 02-Nov-2011 José Fonseca <jfonseca@vmware.com> gallium/dri: Remove references to vblank.
ri/drm/Makefile
d14a1071582c9a802f0b37556665b79f38f7eaae 02-Nov-2011 Kristian Høgsberg <krh@bitplanet.net> Fix gallium dri compile and a merge conflict
ri/common/dri_drawable.c
ri/drm/dri2.c
2e53f3018f69d07b885c5885a1f865339700a189 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove unused dri texmem.c
ri/drm/Makefile
a14bb89d3ffda49ec8e64453640b42b670cb43a7 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Drop unused dri renderbuffer helper functions
ri/drm/Makefile
e9beaf65fdaf82a7845cbe176f353ddb6b8466c7 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove unnecessary timestamp pointer indirection
ri/common/dri_drawable.c
ri/drm/dri2.c
d24b81e0e0f4109f3256dc45b0adc5ffd59fb749 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove cliprect information from __DRIdrawable
ri/drm/dri2.c
73ec71cb16fbae0effcb4a92da7dc7f17cd6a62a 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove driMediaStreamCounterExtension

Also DRI1-only.
ri/drm/dri2.c
759cbb751b29b1c6608593841c56e0ad08eb33b0 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove driSwapControlExtension

DRI1-only as well.
ri/drm/dri2.c
8e898e83c6934fc9c62730ad82fbf6f9d9180577 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Drop driCopySubBufferExtension

Another DRI1-only extension.
ri/drm/dri2.c
ad3221587164c10ae16d85db514484b717cabc6f 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Drop driReadDrawableExtension

All DRI2 drivers support setting a separate read drawable.
ri/drm/dri2.c
32039126007a67a6bcca5973a7406c41ccc8c543 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Drop driLegacyExtension

There are no DRI1 drivers left.
ri/drm/dri2.c
0c425ac18c56ea3315fcb0fdeecfa3685a52f4ba 02-Nov-2011 George Sapountzis <gsapountzis@gmail.com> st/dri/sw: add get_image inline helper similar to put_image

TODO: check if GetImage works with passing the pitch as width, similar to PutImage,
which avoids the extra copy, ala dri_sw_displaytarget_display() in src/gallium/winsys/sw/dri/dri_sw_winsys.c
ri/sw/drisw.c
31156c07b0292e477fa0d1f11fe7a318b6eda254 02-Nov-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/dri/sw: Fix incorrect cast

Missed one casting error due to rebase for commit
98aa2a8f725e44aec8bd998fe436a134e94f13bb.
ri/sw/drisw.c
98aa2a8f725e44aec8bd998fe436a134e94f13bb 09-Sep-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/dri/sw: Implement texture_from_pixmap

This is a cleanup of commit 02f1b50987c0d24da3dcc36dbb44821c20d0660c.

Update tex buffer using a dri_drawable hook from implemented in sw/drisw.c.
This saves us the duplication of dri_drawable.c.

CC: Stuart Abercrombie <sabercrombie@chromium.org>
CC: Stéphane Marchesin <marcheu@chromium.org>
ri/common/dri_drawable.c
ri/common/dri_drawable.h
ri/drm/dri2.c
ri/sw/drisw.c
0a2afcb754c9d291f13650732a6a40aac1a019f2 09-Sep-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> Revert "Duplicate state_tracker/dri/sw/dri_drawable.c"

This reverts commit 569bde1fa7d03fb7688d0d391b32e61e857ad44e.

CC: Stuart Abercrombie <sabercrombie@chromium.org>
CC: Stéphane Marchesin <marcheu@chromium.org>
ri/common/dri_drawable.c
5da7c5e36478a2afa2a54a6746c01d0893c41db4 09-Sep-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> Revert "state_trackers/dri/sw: Implement texture_from_pixmap."

This reverts commit 02f1b50987c0d24da3dcc36dbb44821c20d0660c.

CC: Stuart Abercrombie <sabercrombie@chromium.org>
CC: Stéphane Marchesin <marcheu@chromium.org>
ri/common/dri_drawable.c
dc4ef916016dc4237551bad132325c71f4eb28e2 01-Nov-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Add a scanout flag for surfaces

Bump minor to signal availability.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
a/xa_tracker.c
a/xa_tracker.h
c04b9d1d561cc3a1300e65bd410f33dfff6fe1e0 31-Oct-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Plug a pipe context leak.

Forgot to destroy the pipe context on xa context destroy.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
a/xa_context.c
0c6a2c78fdd8b4ae620a9f449cab65c4be21a9a1 28-Oct-2011 Morgan Armand <morgan.devel@gmail.com> implement WGL_ARB_create_context

Signed-off-by: José Fonseca <jfonseca@vmware.com>
gl/SConscript
gl/stw_context.c
gl/stw_context.h
gl/stw_ext_context.c
gl/stw_getprocaddress.c
27de26073b0ab385e57504d77197a33bb7b6c28f 26-Oct-2011 Brian Paul <brianp@vmware.com> st/glx: fix mixed declarations and code, remove unused var
lx/xlib/xm_api.c
00ddc7ea47fdae09ca154d8b3a15c6f9a4926d68 24-Oct-2011 Stéphane Marchesin <marcheu@chromium.org> st/glx: Implement texture_from_pixmap without DRI.

Makes texture_from_pixmap work with non-DRI llvmpipe.
lx/xlib/xm_api.c
lx/xlib/xm_st.c
lx/xlib/xm_st.h
27b0c9d51300712f3b5d4af6cc20d53fcf9c8c46 20-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: set primitive restart in the correct draw calls
3d1x/gd3d11/d3d11_context.h
d5cfab703b1179ac6e81c6281f6e25d1cab9d4c2 20-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: fix/improve OMSetRenderTargets

Don't count trailing NULL RTVs.
Don't skip update if only DSV has changed.
3d1x/gd3d11/d3d11_context.h
3dff43d8974f3eab650df613ac56d92a1f81d8ec 13-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: avoid translating invalid blend, depth or stencil state
3d1x/gd3d11/d3d11_screen.h
3d1x/gd3d1x/d3d1x_private.h
74ff845e336ed0ccd6884aa072a19ac7ce7dd0a2 13-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: add support for buffer views
3d1x/gd3d11/d3d11_screen.h
1fc5aee8ff6b53fb6385e2aed2d63b92dc972937 13-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: improve CreateInputLayout
3d1x/gd3d11/d3d11_screen.h
856f3336dc6687c6629f88f67e589e007763ddf0 05-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x/context: fix IASetVertexBuffers stride comparison
3d1x/gd3d11/d3d11_context.h
5b6f3a2e3c1d364d243f170b0c9628f746301dea 13-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: use ZS formats for TYPELESS resources with DS binding
3d1x/gd3d11/d3d11_screen.h
845808f105f216861e725ce1bce67338357bba8d 17-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: use resource format if view format is UNKNOWN
3d1x/gd3d11/d3d11_screen.h
5081ebf23803c1f3042c3ca94f97865726d0c9f6 25-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: fix shadow comparison to gallium enum off by one
3d1x/gd3d11/d3d11_screen.h
c0e03c7694aa53c0dfb0513c57728c3582d8da7d 17-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: improve CheckFormatSupport
3d1x/gd3d11/d3d11_screen.h
77574bf0f46716490be741d8095a8d184eff6076 13-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: update format mapping table

Use the proper integer formats.
Fix mapping of some PIPE depth formats to DXGI.
3d1x/d3d1xstutil/include/d3d1xstutil.h
3d1x/d3d1xstutil/src/dxgi_enums.cpp
6ab6c43079083c811761241b901d07f9ad2c9aff 20-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: fix translation of subresource to layer
3d1x/gd3d11/d3d11_context.h
4b7851623ed665ffc1ace5f46570b990346372ce 13-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: fix initial data upload for 3D textures
3d1x/gd3d11/d3d11_screen.h
dac5baf2e4702fabe627adc5b30e537560e8980d 13-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: MipLevels -1 in resource view desc means all
3d1x/gd3d11/d3d11_screen.h
5d70b5d10b30ffb715f54f870df6e6eb04acdf45 11-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x/dxgi: fix initialization of pipe_box for Present copy
3d1x/dxgi/src/dxgi_native.cpp
c463dfe4e4999a0d745c31bce9a2a2bbe6a05899 13-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: implement array textures
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_screen.h
3d1x/gd3d1x/sm4_to_tgsi.cpp
cb884262931644340507b3abdc12c3842d3e9897 12-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: fix refcounting of GalliumD3D11DeviceChild objects

An external Release would have lowered the device reference count,
but an internal reference in the context does not raise it (by
design).
3d1x/gd3d11/d3d11_objects.h
c8ae342bf3efc2c43083ab11f0d52022cffe8ba4 12-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x/sm4: save CUSTOMDATA

This is the data for the immediate constant buffer.
3d1x/d3d1xshader/src/sm4_parse.cpp
903e3257d071caeeec84a096069a78b55666f72d 12-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: add FORK/JOIN phase opcodes to declarations

The phase instance counts are not necessarily redeclared so with
the separation of declarations and instructions we wouldn't know
which instance count applies to which phase.
3d1x/d3d1xshader/src/sm4_parse.cpp
d2cc8aedb5d544608842b58b6ae4754313ded939 20-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: add shader signature to sm4_program

Correct linkage requires examining the signature itself, it cannot
be reconstructed from declarations only since unused registers may
have been omitted from them.
3d1x/d3d1xshader/include/dxbc.h
3d1x/d3d1xshader/include/sm4.h
3d1x/d3d1xshader/src/dxbc_parse.cpp
3d1x/gd3d11/d3d11_misc.h
3d1x/gd3d11/d3d11_screen.h
47eb8a23eb03d885353442221ea24a8928d2c31a 12-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: attempt to detect D3D10 feature level

Virtually all applications refuse to use the D3D10 backend if this
level is not supported, which makes testing annoying.
3d1x/gd3d11/d3d11_screen.h
65303c49d1efc996f5cc9dafa2768d0225b76f1c 20-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: switch to TGSI SAMPLE opcodes

We don't want to clutter the code or handicap new hardware for
the sake of ancient GPUs on which d3d1x won't ever be used,
much less be fully compliant, anyway.
3d1x/d3d1xshader/include/sm4.h
3d1x/d3d1xshader/src/sm4_analyze.cpp
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_objects.h
3d1x/gd3d11/d3d11_screen.h
3d1x/gd3d1x/sm4_to_tgsi.cpp
55c5ad8dfa68c18589f19fba2d1bfecd425785c9 15-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: make use of new query types
3d1x/gd3d11/d3d11_screen.h
3d1x/gd3d1x/d3d_enums.cpp
bde2fc5a7123829dc87d3761934627555be4446f 12-Oct-2011 Thomas Hellstrom <thellstrom@vmware.com> st/dri: Hook up throttling based on the drm driver_descriptor configuration

Hooks up throttling if there is a configuration function present and
it indicates that throttling is desired.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
ri/common/dri_drawable.c
ri/common/dri_screen.h
ri/drm/dri2.c
23c41233ce9ac13ba60242f9e839d5b13d1ea803 11-Oct-2011 Thomas Hellstrom <thellstrom@vmware.com> st/dri: Implement the new dri2 throttling extension

But don't hook it up just yet until we figure out a good way to do that.
Also, we should, in the future, add driconf options to control what
throttling reasons should be honored, and the number of outstanding
swaps allowed.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
ri/common/dri_drawable.c
ri/common/dri_drawable.h
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>
gl/stw_ext_pbuffer.c
f1f7645f23bd11fb54a992cdbe9ef0a6ee0136f3 11-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: fix check for PIPE_CAP_CONDITIONAL_RENDER
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_screen.h
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>
3d1x/d3d1xstutil/src/dxgi_enums.cpp
ri/common/dri_screen.c
gl/common/egl_g3d.c
lx/xlib/xm_api.c
ega/vg_context.c
gl/stw_pixelformat.c
a/xa_tracker.c
org/xorg_dri2.c
ee1487953bdbe8694fc76b9fe398d0384cd9e3b4 09-Oct-2011 José Fonseca <jose.r.fonseca@gmail.com> st/glx/xlib: Advertise GLX_ARB_create_context(_profile)

They were already implemented, but not advertised.
lx/xlib/glx_api.c
c3ef232315a4e9c18b3d812dbb28ffac6830d6f8 06-Oct-2011 Stéphane Marchesin <marcheu@chromium.org> st/glx: remove the duplicated Drawable member.

If you want to access it, you should use the Drawable in xlib_drawable instead.
lx/xlib/glx_api.c
lx/xlib/xm_api.c
lx/xlib/xm_api.h
041ff4c731a00a0316d963456e2428146a01c709 05-Oct-2011 Brian Paul <brianp@vmware.com> egl: restore missing \ in Makefile
gl/Makefile
3db309aecee57d7e0055a49a0e12a491a554347b 01-Oct-2011 Stéphane Marchesin <marcheu@chromium.org> configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles.

Us poor souls who cross compile mesa want to be able to specify which pkg-config to pick, or at least just change one place.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
ri/drm/Makefile
gl/Makefile
a/Makefile
dpau/Makefile
org/Makefile
org/xvmc/Makefile
cd9627777c3f1a55560e10912b88b1977c8bfe87 04-Oct-2011 Stephen White <senorblanco@chromium.org> st/glx: Set the drawable attribute on xmesa_buffer creation.

Otherwise we'll be unable to use our pbuffers.
lx/xlib/xm_api.c
3d13b081c72626acba6b9a25baec740c60dfafe1 27-Sep-2011 Marek Olšák <maraeo@gmail.com> gallium: add PIPE_CAP_CONDITIONAL_RENDER

We were checking whether render_condition is set. That was not reliable,
because it's always set with trace and noop regardless of driver support.

Reviewed-by: Brian Paul <brianp@vmware.com>
3d1x/gd3d11/d3d11_context.h
f5bfe54a34d9c8cd5de2b096d0e8486fe0d990a7 27-Sep-2011 Marek Olšák <maraeo@gmail.com> gallium: add and use PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS

This removes:
- PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS
- PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS
in favor of the that new per-shader cap.

Reviewed-by: Brian Paul <brianp@vmware.com>
3d1x/gd3d11/d3d11_screen.h
e63f2787b6a8dd7ff7a093fea8017a0b74cac6fd 01-Sep-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Don't call fence_reference with an unitialized fence handle as dst

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/xa_context.c
5ec01ba7e85c41fce53ee5c2c3b53036923a0924 08-Jul-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: surfaces and sampler views are per context

Don't store references to these on the surface but on the context.
References to transfers are still stored on the surface since we allow
only a single map of a surface at a time.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/xa_composite.c
a/xa_context.c
a/xa_priv.h
a/xa_tracker.c
a/xa_yuv.c
ddb5cd0a7b7d55595c47f25645b80796dc8cdf7a 24-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: propagate DepthBiasClamp to rasterizer cso
3d1x/gd3d11/d3d11_screen.h
5def3b7be142cfc6bbb1534bd0557c5f324de8c0 24-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: fix uninitialized const color union black

Broken by 6dd284f7c8fac22f64c13fdf9909094f5ec59086.
3d1x/dxgi/src/dxgi_native.cpp
9f61e43b4903c6cf0ac03a479ec9ed7b15fd6ccf 27-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: move border color to be a color union

EXT_texture_integer also specifies border color should be a color
union, the values are used according to the texture sampler format.

(update docs)

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_screen.h
ega/api_filters.c
ega/paint.c
0cf1a55568dc7e511cbd8e3f5277ccfc272e4feb 22-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: setup draw info primitive restart parameters
3d1x/gd3d11/d3d11_context.h
4a96a02de7c1b8c136ffc0cd278401c85faab233 21-Sep-2011 Chia-I Wu <olv@lunarg.com> st/vega: fix drawing images with alpha channel

Checking if the paints are opaque in renderer_validate_blend() does not
work. We could be drawing images. Remove the check from
renderer_validate_blend() and take image drawing into consideration in
blend_use_shader().

The bug was introduced by 3f0a966807f03a364edea0272ddf45f08ab7ce4f,
which affects the lookup demo.
ega/renderer.c
ega/shader.c
ceb6d34906c7c03c102c7e78dd02f5b0ebab4ca9 21-Sep-2011 Chia-I Wu <olv@lunarg.com> st/vega: fix vg_context_is_object_valid()

vg_context_is_object_valid() checks if a handle is valid by checking if
the handle is a valid key of the object hash table. However, the keys
of the object hash table were object pointers.

Fix vg_context_add_object() to use the handles as the keys so that
vg_context_is_object_valid() works. This bug was introduced by
99c67f27d35a4bbbbefada8117d5972c7583cf42.
ega/image.c
ega/mask.c
ega/paint.c
ega/path.c
ega/text.c
ega/vg_context.c
ega/vg_context.h
a5f8d37be141fac5c4ac605163a552ac64324e15 20-Sep-2011 Chia-I Wu <olv@lunarg.com> st/egl: add support for null platform

The backend calls null_sw_create() to create sw_winsys. And that is
pretty much it...
gl/Makefile
gl/common/egl_g3d.c
gl/common/native.h
gl/null/native_null.c
6dd284f7c8fac22f64c13fdf9909094f5ec59086 16-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: move clear paths from rgba to a pointer to a color union (v2)

This moves the gallium interface for clears from using a pointer to 4 floats to a pointer to a union of float/unsigned/int values.

Notes:
1. the value is opaque.
2. only when the value is used should it be interpretered according to
the surface format it is going to be used with.
3. float clears on integer buffers and vice-versa are undefined.

v2: fixed up vega and graw, dropped hunks that shouldn't have been in
patch.

Signed-off-by: Dave Airlie <airlied@redhat.com>
3d1x/dxgi/src/dxgi_native.cpp
3d1x/gd3d11/d3d11_context.h
dpau/presentation.c
ega/api_masks.c
org/xorg_exa.c
ee09c1e1c37ba7a143db3300b11ef3b324891563 17-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: fix parsing of SM4 relative addressing register op
3d1x/d3d1xshader/src/sm4_parse.cpp
4a06248281f65d8a653c1bb744947bb6d47fdc9c 17-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: set flatshade_first in rasterizer state

D3D10 specifies the first vertex as the leading/provoking one.
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_screen.h
e27d72d6c3ca3512bfea524b8a7b007960841057 17-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: initialize point size and line width to 1

Otherwise lines would never be visible since the width cannot be
specified in D3D10.
Wireframe mode is also affected by line width.
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_screen.h
e911dbb56374edf9f3b7c4cec0cf9a22738bb198 12-Sep-2011 Emeric Grange <emeric.grange@gmail.com> st/vdpau: Preliminary support for timestamped output surface into the presentation queue

Signed-off-by: Emeric Grange <emeric.grange@gmail.com>
Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/presentation.c
dpau/vdpau_private.h
6cf0581159a33f3dc10be38cdc7ab94d9cbacc1e 12-Sep-2011 Emeric Grange <emeric.grange@gmail.com> st/vdpau: Output surfaces that are too large to fit into the display target will be clipped

Signed-off-by: Emeric Grange <emeric.grange@gmail.com>
Reviewed-by: Christian König <deathsimple@vodafone.de>
dpau/presentation.c
85534e6f48c1ad6ff8dee77e0407c6c3dedb4b84 12-Sep-2011 Emeric Grange <emeric.grange@gmail.com> st/vdpau: Add get_clear_color capability

Signed-off-by: Emeric Grange <emeric.grange@gmail.com>
Reviewed-by: Christian König <deathsimple@vodafone.de>
dpau/presentation.c
fa2a8316cebeb75626ffa3e38dbc1500e82054f6 12-Sep-2011 Emeric Grange <emeric.grange@gmail.com> st/vdpau: Add documentation from the VDPAU API and update some traces

Signed-off-by: Emeric Grange <emeric.grange@gmail.com>
Reviewed-by: Christian König <deathsimple@vodafone.de>
dpau/bitmap.c
dpau/decode.c
dpau/device.c
dpau/mixer.c
dpau/output.c
dpau/preemption.c
dpau/presentation.c
dpau/query.c
dpau/surface.c
dpau/vdpau_private.h
c24bc6f8684abee8c9a1b263334cd7a8506657b1 12-Sep-2011 Emeric Grange <emeric.grange@gmail.com> st/vdpau: Various whitespace cleanups found while reading some code

Signed-off-by: Emeric Grange <emeric.grange@gmail.com>
Reviewed-by: Christian König <deathsimple@vodafone.de>
dpau/bitmap.c
dpau/decode.c
dpau/device.c
dpau/ftab.c
dpau/mixer.c
dpau/output.c
dpau/preemption.c
dpau/presentation.c
dpau/vdpau_private.h
82e8bf36d8fcd46bcb76ec300875a47c7312f1a1 12-Sep-2011 Emeric Grange <emeric.grange@gmail.com> g3dvl: Add max_references parameter to vl_create_decoder()

Signed-off-by: Emeric Grange <emeric.grange@gmail.com>
dpau/decode.c
org/xvmc/context.c
7e302168798907e6e0b08d96141d97f04958a73e 10-Sep-2011 Marek Olšák <maraeo@gmail.com> st/dri: remove the call to driInitExtensions

The function no longer exists. This fixes Gallium build.
ri/common/dri_context.c
8adaed934727f9efa61686ffe0f528d40c693862 09-Sep-2011 Chia-I Wu <olv@lunarg.com> d3d1x: fix a build error

Fix for the st/egl interface change since
08e1076fd2d3f6fb879dd2529e7d035d6a399da2.
3d1x/dxgi/src/dxgi_native.cpp
4f341ee65a7f9017481108861adaf1ed2ca227c5 21-Aug-2011 Chia-I Wu <olv@lunarg.com> st/dri: add support for __DRI_IMAGE_FORMAT_ABGR8888

It maps to PIPE_FORMAT_R8G8B8A8_UNORM.
ri/drm/dri2.c
221a04fa8e264fc3aaba17e11f1f97c166416da2 08-Sep-2011 José Fonseca <jfonseca@vmware.com> st/egl: Fix GDI build.
gl/gdi/native_gdi.c
7645c49e07b638de94f03d5f71fde397066a46ee 08-Sep-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: add premultiplied alpha support to wayland

Return true for NATIVE_PARAM_PREMULTIPLIED_ALPHA when all formats with
alpha support premultiplied alpha.

(Based on Chia-I Wu's patch)

[olv: remove the use of param_premultiplied_alpha from the original
patch]
gl/wayland/native_drm.c
gl/wayland/native_shm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
1191d203632e2954ce59163f87c9896b1c6ed40a 08-Sep-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: correctly return configs under wayland

Handle "format" events and return configs for the supported formats.

(Based on Chia-I Wu's patch)

[olv: update and explain why PIPE_FORMAT_B8G8R8A8_UNORM should not be
enabled without HAS_ARGB32]
gl/wayland/native_drm.c
gl/wayland/native_shm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
ee0e6ae2bb25bfa02547ef9986bdff8afc792d49 08-Sep-2011 Chia-I Wu <olv@lunarg.com> Revert "st/egl: correctly return configs under wayland"

This reverts commit 95b445699d7f049116ee0927387a958a9933766b.
gl/wayland/native_drm.c
gl/wayland/native_shm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
93a96abe16068fa3ca8a1eb8d1c34195bffdc470 08-Sep-2011 Chia-I Wu <olv@lunarg.com> Revert "st/egl: add premultiplied alpha support to wayland"

This reverts commit 23aa978a9d76a48f4b93e9a8911ec50c0e5d94ab.
gl/wayland/native_drm.c
gl/wayland/native_shm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
23aa978a9d76a48f4b93e9a8911ec50c0e5d94ab 07-Sep-2011 Chia-I Wu <olv@lunarg.com> st/egl: add premultiplied alpha support to wayland

Return true for NATIVE_PARAM_PREMULTIPLIED_ALPHA when all formats with
alpha support premultiplied alpha. Currently, it means when argb32 and
argb32_pre are both supported.
gl/wayland/native_drm.c
gl/wayland/native_shm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
95b445699d7f049116ee0927387a958a9933766b 07-Sep-2011 Chia-I Wu <olv@lunarg.com> st/egl: correctly return configs under wayland

When wl_drm is avaiable and enabled, handle "format" events and return
configs for the supported formats. Otherwise, assume all formats of
wl_shm are supported.
gl/wayland/native_drm.c
gl/wayland/native_shm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
41f5d2e8acbe3d6393f8012813609215534b5678 07-Sep-2011 Chia-I Wu <olv@lunarg.com> st/egl: overload NATIVE_PARAM_PREMULTIPLIED_ALPHA

EGL does not export this capability of a display server. But wayland
makes use of EGL_VG_ALPHA_FORMAT to achieve it.

So, when the native display returns true for the parameter, st/egl will
set EGL_VG_ALPHA_FORMAT_PRE_BIT for all EGLConfig's with non-zero
EGL_ALPHA_SIZE. EGL_VG_ALPHA_FORMAT attribute of a surface will affect
how the surface is presented.

Because st/vega does not support EGL_VG_ALPHA_FORMAT_PRE_BIT,
EGL_OPENVG_BIT will be cleared.
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
gl/common/native.h
f4c37d6ab256f860a755fe69dfea5fb8df217a2f 07-Sep-2011 Chia-I Wu <olv@lunarg.com> st/egl: add NATIVE_PARAM_PREMULTIPLIED_ALPHA

Return TRUE if the display supports premultiplied alpha.
gl/common/native.h
08e1076fd2d3f6fb879dd2529e7d035d6a399da2 02-Sep-2011 Chia-I Wu <olv@lunarg.com> st/egl: add native_present_control

Replace the parameters of native_surface::present by a struct,
native_present_control. Using a struct allows us to add more control
options without having to update each backend every time.
gl/android/native_android.cpp
gl/common/egl_g3d_api.c
gl/common/egl_g3d_st.c
gl/common/native.h
gl/common/native_helper.c
gl/drm/modeset.c
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/wayland/native_wayland.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
6b52e82768b68dd75bfda9637f0154c5425171ed 07-Sep-2011 Chia-I Wu <olv@lunarg.com> st/egl: track changes to drop wl_visual in wayland

Follow a subset of changes in 7b1d94e5d1f53ac5f59000176aea1d02fc9a1181.
There are known issues, but it works to a certain degree. Non-working
demos also fail gracefully. More importantly, it fixes the build.
gl/common/native_wayland_drm_bufmgr_helper.c
gl/common/native_wayland_drm_bufmgr_helper.h
gl/wayland/native_drm.c
gl/wayland/native_shm.c
b89bca6d8b84e7922f44258c41e37997775f98c9 07-Sep-2011 Chia-I Wu <olv@lunarg.com> st/egl: track server side wayland changes

Follow changes in c661ecce1089000c3fca9a543713f8264221be50.
gl/wayland/native_drm.c
gl/wayland/native_shm.c
287278352ea26947f8d304458c10bf0388beebb5 07-Sep-2011 Chia-I Wu <olv@lunarg.com> st/egl: use new wl_callback mechanism in wayland

Follow the changes in 6602bda23ba6c4351eb7f04d34803103a68ac2db.
gl/wayland/native_drm.c
gl/wayland/native_wayland.c
02f1b50987c0d24da3dcc36dbb44821c20d0660c 30-Aug-2011 Stéphane Marchesin <marcheu@chromium.org> state_trackers/dri/sw: Implement texture_from_pixmap.

Signed-off-by: Stuart Abercrombie <sabercrombie@chromium.org>
Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
ri/common/dri_drawable.c
569bde1fa7d03fb7688d0d391b32e61e857ad44e 30-Aug-2011 Stéphane Marchesin <marcheu@chromium.org> Duplicate state_tracker/dri/sw/dri_drawable.c

We need this for the upcoming fix for sw texture_from_pixmap.

Signed-off-by: Stuart Abercrombie <sabercrombie@chromium.org>
Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
ri/common/dri_drawable.c
a09754c15fc48e5fed347f478a301a02ee69fe8c 02-Sep-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> xvmc: Replace frame_started by picture_structure

The preferred solution to keeping track of the picture structure
has been putting it in the state tracker, so use picture_structure
instead of frame_started to check if a frame needs to begin.

If picture_structure has been changed, end the frame and start again.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Signed-off-by: Christian König <deathsimple@vodafone.de>
org/xvmc/surface.c
org/xvmc/xvmc_private.h
49e24d3b8c0129e11fcc94b6e74dc2589d64c882 01-Sep-2011 Christian König <deathsimple@vodafone.de> st/vdpau: Implement VdpOutputSurfacePutBitsIndexed and VdpOutputSurfaceRenderOutputSurface

This gets mplayers menu overlay working.

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/device.c
dpau/mixer.c
dpau/output.c
dpau/vdpau_private.h
41fa51a49a7c5d39d7ab273e44652efd0a5c8153 01-Sep-2011 Christian König <deathsimple@vodafone.de> st/xvmc: the alpha component of palette entries isn't used
org/xvmc/subpicture.c
4f37636afb5adc299ecbe497209702a47039580c 01-Sep-2011 Christian König <deathsimple@vodafone.de> g3dvl: extend the functionality of the compositor

Prepares for vdpau menu overlay.
dpau/mixer.c
dpau/presentation.c
org/xvmc/surface.c
8612235bbfbaafbe364f62e9355ffd683128e04b 30-Aug-2011 Christian König <deathsimple@vodafone.de> st/xvmc: remove L4A4_UNORM workaround

This is no longer needed, since we now have native support for IA44 and AI44.

Signed-off-by: Christian König <deathsimple@vodafone.de>
org/xvmc/subpicture.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.
gl/stw_wgl.h
f5cf4ec90db3fd69d54375fbe663f54a22dfebc0 28-Aug-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> xorg/xvmc: Only set decode buffer when available

The nouveau xvmc decoder doesn't need it.

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
org/xvmc/surface.c
7ea550621e25f9b2f344b2ed60551ceec91b3fcf 27-Aug-2011 Kai Wasserbäch <kai@dev.carbon-project.org> st/xorg: Fix include style

As explained in the thread starting at [0], the internal include style
should be »#include "path/to/header.h"« for non-system includes.

[0]
<http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e>

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Signed-off-by: Brian Paul <brianp@vmware.com>
org/xorg_exa.h
org/xvmc/attributes.c
org/xvmc/block.c
org/xvmc/context.c
org/xvmc/subpicture.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
28f8ff6b622d63e8ffe322ab2cdf5197941f1a40 27-Aug-2011 Kai Wasserbäch <kai@dev.carbon-project.org> vdpau: Fix include style

As explained in the thread starting at [0], the internal include style
should be »#include "path/to/header.h"« for non-system includes.

[0]
<http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e>

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Signed-off-by: Brian Paul <brianp@vmware.com>
dpau/decode.c
dpau/device.c
dpau/htab.c
dpau/mixer.c
dpau/output.c
dpau/presentation.c
dpau/query.c
dpau/surface.c
dpau/vdpau_private.h
8bc7ccede1e126329c371e22b6d462edd21720d0 27-Aug-2011 Kai Wasserbäch <kai@dev.carbon-project.org> va: Fix include style

As explained in the thread starting at [0], the internal include style
should be »#include "path/to/header.h"« for non-system includes.

[0]
<http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e>

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Signed-off-by: Brian Paul <brianp@vmware.com>
a/htab.c
a/va_config.c
a/va_context.c
a/va_image.c
a/va_picture.c
a/va_private.h
a/va_subpicture.c
a/va_surface.c
92bc1111f3c5dd3616bd591129aebd3f4307e5b4 27-Aug-2011 Kai Wasserbäch <kai@dev.carbon-project.org> d3d1x: Fix include style

As explained in the thread starting at [0], the internal include style
should be »#include "path/to/header.h"« for non-system includes.

[0]
<http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e>

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Signed-off-by: Brian Paul <brianp@vmware.com>
3d1x/d3d1xstutil/include/d3d1xstutil.h
3d1x/dxgi/src/dxgi_native.cpp
3d1x/dxgid3d10/dxgid3d10.cpp
3d1x/dxgid3d11/dxgid3d11.cpp
3d1x/gd3d1x/d3d1x_private.h
ddd25cfbb05582963fc15a7ade1a9c5cd4a3ed27 28-Aug-2011 Christian König <deathsimple@vodafone.de> st/vdpau: Respect source_rect in VideoMixerRender

Fixing a bug reported by Andy Furniss.
dpau/mixer.c
110f846c2578357ebee4e6fab7d71e0e496493d3 28-Aug-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> xvmc tests: Clean up test_rendering slightly

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
org/xvmc/tests/test_rendering.c
09b5f1fd61bfbb5afdaee81687a9c74c70a62b8a 25-Aug-2011 Chia-I Wu <olv@lunarg.com> android: make DRM optional

For BOARD_GPU_DRIVERS=swrast build, DRM is not needed.
gl/Android.mk
gl/android/native_android.cpp
3bcb9a858f482c21bc7c4d0fcd3571e25ea95090 23-Aug-2011 Michel Dänzer <michel.daenzer@amd.com> st/xorg: Fix solid fills for formats other than PICT_a8r8g8b8.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
org/xorg_composite.c
f5a4e04cdb37069bc5b92798137588fed6eda39b 22-Aug-2011 Michel Dänzer <michel.daenzer@amd.com> st/xorg: Disable dirty throttling by default.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
org/xorg_driver.c
751f0ce7736de455f3f6d8dcfbaf25bbbd3fcf55 22-Aug-2011 Michel Dänzer <michel.daenzer@amd.com> st/xorg: Only damage non-front source in DRI2 CopyRegion hook.

Based on a vmwgfx xa/saa fix.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
org/xorg_dri2.c
2e62b30826679e9d5e1a783dc19baabec4fc8dfa 12-Aug-2011 Christian König <deathsimple@vodafone.de> g3dvl: Rework the decoder interface part 5/5

Make setting the quant matrixes a generic interface.
Also removes setting the quant matrix from the XvMC interface

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Younes Manton <younes.m@gmail.com>
dpau/decode.c
org/xvmc/surface.c
835ea8480f656ba4076e30813eb8c85965017266 11-Aug-2011 Christian König <deathsimple@vodafone.de> g3dvl: Rework the decoder interface part 4/5

Make the picture_structure enum spec complient.
Also remove it from the compositor.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Younes Manton <younes.m@gmail.com>
dpau/mixer.c
dpau/presentation.c
org/xvmc/surface.c
d3770d6229d95e9beb67358ae2b2c8824ed3ae58 10-Aug-2011 Christian König <deathsimple@vodafone.de> g3dvl: Rework the decoder interface part 3/5

Revert back to a macroblock based interface. The structure used
tries to keep as close to the spec as possible.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Younes Manton <younes.m@gmail.com>
dpau/decode.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
231fce7d630bcf6aaf0e435e461ad5af842e437f 09-Aug-2011 Christian König <deathsimple@vodafone.de> g3dvl: Rework the decoder interface part 2/5

Implement PIPE_CAP_NUM_BUFFERS_DESIRED giving the decoder control over
the number of buffers a state tracker should allocate.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Younes Manton <younes.m@gmail.com>
dpau/decode.c
dpau/vdpau_private.h
1d1d038c85ebb37f1da4540f092563e8ecab7dfb 09-Aug-2011 Christian König <deathsimple@vodafone.de> g3dvl: Rework the decoder interface part 1/5

First of all get ride of the decode_buffer structure, while still giving
the decoder the ability to organize it's buffers depending on the needs
of the state tracker.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Younes Manton <younes.m@gmail.com>
dpau/decode.c
dpau/vdpau_private.h
org/xvmc/surface.c
org/xvmc/xvmc_private.h
6571c0774af1f5ebd0fab40bf4769702d3c9ded5 25-Aug-2011 Brian Paul <brianp@vmware.com> Merge branch 'kasanen-post-process-v2'

Conflicts:
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
55592d9da1bb694c7275984cf9a3ecaafcccf46a 25-Aug-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: save to correct slot in xs_set_constant_buffers
3d1x/gd3d11/d3d11_context.h
974412d7b985f44c2d3a68f818d2723346a4512b 28-May-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: fix xs_set_samplers
3d1x/gd3d11/d3d11_context.h
8f26b59f53d6d80bf7d3c39a4dd3c438a2c305a4 29-Jul-2011 Maarten Lankhorst <m.b.lankhorst@gmail.com> st/xorg: Advertise support for XvMC

Formats were based on a patch sent to xf86-video-nouveau by Bryan Cain

Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>

[Michel Dänzer: Add xorg_xvmc.c to SConscript.]
org/SConscript
org/xorg_tracker.h
org/xorg_xv.c
org/xorg_xvmc.c
112e68c5039ff717848304f0c28a07c5b39c7f45 02-Aug-2011 Chia-I Wu <olvaffe@gmail.com> st/egl: add a missing include

Reported by cwhuang.
gl/android/native_android.cpp
b71a7a2f37ec3693b8f3a7f1acb0c59ed076f104 04-Aug-2011 Chia-I Wu <olvaffe@gmail.com> st/egl: improve error logging

This helps diagnose problems in EGL initialization.
gl/android/native_android.cpp
5ce2dc692f9ffe801d96f45e5be972d2fe1855f8 31-Jul-2011 Chia-I Wu <olvaffe@gmail.com> st/egl: add buffer preserving support to Android

Use a staging color buffer when buffer preserving is enabled.
gl/android/native_android.cpp
4c222ff4fea46ee5b740575df4b256fa2064984f 31-Jul-2011 Chia-I Wu <olvaffe@gmail.com> st/egl: improve buffer cache for Android

There may be more than two back buffers. Clean up and prepare the
buffer cache for that.
gl/android/native_android.cpp
62c7c2fca423020dc634cad838f53751b9835654 20-Jul-2011 Chia-I Wu <olvaffe@gmail.com> st/egl: swapping without a buffer is not an error

This fixes Kwaak3.
gl/android/native_android.cpp
8ccafbbbcc797dc15daed883b09250165ab980b3 30-Jul-2011 Chia-I Wu <olvaffe@gmail.com> st/egl: use HAL formats for Android backend

Native buffers use HAL formats, not UI formats.
gl/android/native_android.cpp
98345cf1b54f979fa12526ad89e40ded3ba4f542 17-Aug-2011 Chia-I Wu <olvaffe@gmail.com> android: build st/egl with android backend

This builds the static library libmesa_st_egl from st/egl.
gl/Android.mk
15418a850575b2a33132165605293ed835b4be53 18-Aug-2011 Chia-I Wu <olvaffe@gmail.com> st/egl: add android backend

Both HW and SW rendering are supported for Android. For SW rendering,
we use the generic gralloc lock/unlock for mapping and unmapping color
buffers (in winsys/android).

For HW rendering, we need to know the real type of color buffers. This
backend works with drm_gralloc, where a color buffer is backed by a GEM
object.
gl/android/native_android.cpp
gl/common/egl_g3d.c
gl/common/egl_g3d_image.c
gl/common/native.h
gl/common/native_buffer.h
421235d42ad9921fd45332ec7b33bcee5c1ad33d 19-Aug-2011 Lauri Kasanen <cand@gmx.com> st/dri: Bind the post-processing queue to dri

Signed-off-by: Lauri Kasanen <cand@gmx.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
ri/common/dri_context.c
ri/common/dri_context.h
ri/common/dri_screen.c
ri/drm/dri2.c
ri/sw/drisw.c
65bdb878a0afcdffe51716ae4533a04990c7d556 30-Jun-2011 Lauri Kasanen <cand@gmx.com> st/dri: Indent driconf options
ri/common/dri_screen.c
5e7713caa9d601e59b600218a3b867db0f331deb 16-Aug-2011 Marek Olšák <maraeo@gmail.com> st/dri: remove an unused-but-set variable
ri/drm/dri2.c
f272117def7a7962f355581d038af6d0981a23cb 16-Aug-2011 Cooper Yuan <cooperyuan@gmail.com> dri2: check if context is valid before flushing the pipe
ri/drm/dri2.c
9b784069ce76e1914eaafac0542458f6a84d9fc0 16-Aug-2011 Cooper Yuan <cooperyuan@gmail.com> dri2: add code to dri2_Flush extension.

It's going to flush client's commands in eglWaitClient(). Before this,
egl applications using pixmap or pbuffer flicker because of no flush.

Reviewed-by: Alan Hourihane
ri/drm/dri2.c
4dd3272df9f6d483cb3734c3b8c77e9c190b3773 07-Aug-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x: adapt to resource_resolve interface change
3d1x/gd3d11/d3d11_context.h
115651241b7f04e7ec274c267e7de5d1c8fb8c9f 05-Aug-2011 Marek Olšák <maraeo@gmail.com> st/dri: remove an unused-but-set variable
ri/drm/dri2.c
a3cde50effbc469379bf5d4d69d03464de43fb29 05-Aug-2011 Marek Olšák <maraeo@gmail.com> st/dri: remove a dummy function dri2_create_context

It does nothing besides calling dri_create_context with the same parameters.
ri/drm/dri2.c
32f4cf38085e4056b8e4a9fc78fea28897a1d05f 29-Jun-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl/gbm: Fix EGL_DEFAULT_DISPLAY
gl/drm/native_drm.c
gl/drm/native_drm.h
5c9e0ad5fddf216921703a0aa9c911a51226cdfd 29-Jul-2011 Chia-I Wu <olv@lunarg.com> st/egl: create pbuffers with PIPE_BIND_SAMPLER_VIEW

So that eglBindTexImage works.
gl/common/egl_g3d_st.c
7746b7d4bf48b75dd273510e7a6ad6405c91b8bb 18-Jul-2011 Emeric <emeric.grange@gmail.com> vdpau: enable mpeg1 hw decoding, using the exact same code path as mpeg2

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39307

Signed-off-by: Christian König <deathsimple@vodafone.de>
dpau/decode.c
0d082390d903e0a6908e1d444e762a23de14174a 15-Jul-2011 Christian König <deathsimple@vodafone.de> g3dvl: no need for flushing inside the compositor any more

Move that also inside the state tracker where needed.
dpau/mixer.c
dpau/presentation.c
org/xvmc/surface.c
2cbf532ae13513c3cbc7dad8ae41beeff931529e 15-Jul-2011 Christian König <deathsimple@vodafone.de> g3dvl: correctly distinct dst area and clip area in the compositor

Otherwise xine won't scale correctly.
dpau/mixer.c
dpau/presentation.c
org/xvmc/surface.c
13da00f07c35d78b7ba8bc5d30e8c4b0b001744c 14-Jul-2011 Christian König <deathsimple@vodafone.de> g3dvl: change picture parameter of decode_bitstream to general version

Using pipe_mpeg12_picture_desc was unintentional here.
dpau/decode.c
ed24e19070b7dff12670151b2d184f31c845ccae 13-Jul-2011 Christian König <deathsimple@vodafone.de> Merge branch 'pipe-video'
5e5d7acc2f93ddad8212b00c845dbd6381ee4119 12-Jul-2011 Christian König <deathsimple@vodafone.de> vaapi: cleanup the source and let the st at least compile again
a/ftab.c
a/htab.c
a/va_buffer.c
a/va_config.c
a/va_context.c
a/va_display.c
a/va_image.c
a/va_picture.c
a/va_private.h
a/va_subpicture.c
a/va_surface.c
efc7fda4627919b5355952d955ee4a2c98505e56 12-Jul-2011 Christian König <deathsimple@vodafone.de> [g3dvl] add some more PIPE_VIDEO_CAPs
dpau/query.c
df5e0b9435c869f88234a69db9bfe97342b027d4 11-Jul-2011 Christian König <deathsimple@vodafone.de> [g3dvl] fix a whole bunch of memory leaks
dpau/device.c
dpau/output.c
dpau/presentation.c
org/xvmc/surface.c
d60880db35fd11d9348ce4b2bfbcc9325d2ebf91 11-Jul-2011 Brian Paul <brianp@vmware.com> glx: add a few missing glXChooseFBConfig() attributes

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38842

NOTE: This is a candidate for the 7.11 branch.
lx/xlib/glx_api.c
f919547f3785b1d8839b9fc5c00ac397e30896a1 11-Jul-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_state_inlines.h
d644a50dc328e54d513e4304378bb8c34148f7cc 10-Jul-2011 Marek Olšák <maraeo@gmail.com> st/dri: remove unused variables
ri/common/dri_context.c
cd4f18089e44872ce9e3c04ac5e808a7204ffc49 10-Jul-2011 Christian König <deathsimple@vodafone.de> vdpau: make capabilities query more sane
dpau/device.c
dpau/query.c
dpau/vdpau_private.h
3d769619e2937cb4f2a036e82b396d9e53d65ba8 10-Jul-2011 Christian König <deathsimple@vodafone.de> vdpau: implement VdpOutputSurfaceGetParameters
dpau/output.c
dpau/query.c
dpau/surface.c
dpau/vdpau_private.h
95f9e118fe7b02ab5d28550dabd8751e5fb15e3c 09-Jul-2011 Chia-I Wu <olv@lunarg.com> st/egl: fix linking errors

Add symbols referenced by src/glx/dri2.c.
gl/x11/x11_screen.c
34145ecdad8d6d3b14dc88dafd71b689c68de36c 08-Jul-2011 Christian König <deathsimple@vodafone.de> vdpau: add implementation of VdpDecoderGetParameters
dpau/decode.c
dpau/vdpau_private.h
ea78480029450c019287c2a94d7c42a6a1d12dc3 08-Jul-2011 Christian König <deathsimple@vodafone.de> [g3dvl] and finally remove pipe_video_context
dpau/decode.c
dpau/device.c
dpau/mixer.c
dpau/output.c
dpau/presentation.c
dpau/surface.c
dpau/vdpau_private.h
org/xvmc/context.c
org/xvmc/subpicture.c
org/xvmc/surface.c
4e837f557bf5f5afb286e1f2244ed69c0092c2d6 08-Jul-2011 Christian König <deathsimple@vodafone.de> [g3dvl] move video buffer creation out of video context
dpau/surface.c
org/xvmc/surface.c
bd5fd67a3e3cda4b7676dd4745fc5d5524709210 08-Jul-2011 Christian König <deathsimple@vodafone.de> [g3dvl] move compositor creation and handling directly into the state trackers
dpau/mixer.c
dpau/presentation.c
dpau/vdpau_private.h
org/xvmc/attributes.c
org/xvmc/context.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
10fd45114d4a7bbac4093755305ea5e4ba3ab6a5 08-Jul-2011 Christian König <deathsimple@vodafone.de> [g3dvl] remove sampler view handling from video context
dpau/surface.c
org/xvmc/subpicture.c
06ddbc3b8e58a6cf22708263a8b7d16cf1db5dbc 08-Jul-2011 Christian König <deathsimple@vodafone.de> [g3dvl] remove create_surface from video context
dpau/output.c
f265a194263bb2a3fa204947a9c98f472835f121 07-Jul-2011 Christian König <deathsimple@vodafone.de> [g3dvl] rename get_param to get_video_param and move into screen object
org/xvmc/subpicture.c
1b23d4c9a5b9567ba62aee753d2a6ad6d5d2d177 07-Jul-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Fix up error reporting. Disable component alpha.

Component alpha is temporarily disabled since it seems a bit buggy.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/xa_composite.c
568d99cc6c8eea75ce50fe29e1ea8a94fe7ff7a7 06-Jul-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Fix render to xa_format_a8, which is backed by a gallium L8 texture

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/xa_composite.c
a/xa_context.c
a/xa_priv.h
a/xa_renderer.c
a/xa_tgsi.c
c3b2230b71cb3a00a7f4c0987197d397bada650b 04-Jul-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video

Conflicts:
configure.ac
src/gallium/drivers/r600/r600_state_inlines.h
src/gallium/tests/trivial/Makefile
src/gallium/winsys/g3dvl/dri/XF86dri.c
src/gallium/winsys/g3dvl/dri/driclient.c
src/gallium/winsys/g3dvl/dri/driclient.h
src/gallium/winsys/g3dvl/dri/xf86dri.h
src/gallium/winsys/g3dvl/dri/xf86dristr.h
src/gallium/winsys/r600/drm/r600_bo.c
424b1210d951c206e7c2fb8f2778acbd384eb247 04-Jul-2011 Thomas Hellstrom <thellstrom@vmware.com> Merge branch 'xa_branch'

Conflicts:
configure.ac

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a221807dc5d69598afd1d0e0a4e715fb82a9f30d 02-Jul-2011 Thomas Hellstrom <thellstrom@vmware.com> st/glx: Fix endless loop in drawable validation

This fixes a regression introduced with commit

"st-api: Rework how drawables are invalidated v3"

where the glx state tracker manager would invalidate a drawable each time it
checks the drawable dimensions, even during a validate call, which
resulted in an endless loop, since the state tracker would immediately
detect the new invalidation and rerun the validate...

This change marks the drawable invalid only if the drawable dimensions actually
changed during the validate, which will result in at most a single
unnecessary validate by the context running a validate during which the
dimensions changed.

To avoid unnecessary validates altogether, we need to implement yet another
st-api change: Returning the current time stamp from the validate function,
as suggested by Chia-I Wu. The glx state tracker manager could then return
the stamp resulting from the last drawable dimension check.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
lx/xlib/xm_api.c
f81ac1840a25ad39a9d7e46e4951e5eb45a05971 04-Jul-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Fix crosscompile builds with nonstandard ld locations

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/Makefile
bf04d9eebfd117ad3b9c095b990183614d4f5f09 01-Jul-2011 Chia-I Wu <olvaffe@gmail.com> st/egl: fix a typo

Wrong goto labels.
gl/common/native_helper.c
c0b0e71148726d5b7f276b10bef981034660427f 01-Jul-2011 Chia-I Wu <olv@lunarg.com> st/egl: remove unused header
gl/common/egl_g3d_image.c
235225ec935002b4669d14a48c9c20864a5496f8 30-Jun-2011 José Fonseca <jfonseca@vmware.com> scons: Expose pkg-config in a simpler manner.
ri/drm/SConscript
gl/SConscript
org/SConscript
5d2fad5444ebe0e2a66c49bd6254e2bc81618f6e 29-Jun-2011 Thomas Hellstrom <thellstrom@vmware.com> st/glx: Fix compilation error

Fix compilation error due to commit
"Rework how drawables are invalidated v3"

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
lx/xlib/xm_api.c
lx/xlib/xm_st.c
ade9f0d727092ca86f3896f733e085d9fd2bb8b2 28-Jun-2011 Thomas Hellstrom <thellstrom@vmware.com> st/dri: Get rid of the evil struct dri_drawable::context member

It's incorrect to assume a single context bound to a drawable.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
ri/common/dri_context.c
ri/common/dri_drawable.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>
ri/common/dri_drawable.c
ri/drm/dri2.c
ri/sw/drisw.c
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
gl/common/egl_g3d_st.c
ega/vg_context.h
ega/vg_manager.c
gl/stw_context.c
gl/stw_st.c
aa281dd3924cf76e24c0e8cbd971f58d082cd4cd 28-Jun-2011 Chia-I Wu <olv@lunarg.com> st/egl: update fbdev backend

Considering fbdev as an in-kernel window system,

- opening a device opens a connection
- there is only one window: the framebuffer
- fb_var_screeninfo decides window position, size, and even color format
- there is no pixmap

Now EGL is built on top of this window system. So we should have

- the fd as the handle of the native display
- reject all but one native window: NULL
- no pixmap support

modeset support is still around, but it should be removed soon.
gl/fbdev/native_fbdev.c
992680c8b46d72cbc61888b8439d815bff42986c 27-Jun-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl: Fix Terminate with shared gbm screens

NOTE: This is a candidate for the 7.11 branch.
gl/drm/native_drm.c
69140b719b401b5fbaa136a2b8728a3c3c053385 27-Jun-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Update README.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/README
9a0c5b46344740dbc9ffa5cbf574a7812425237c 27-Jun-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Add a function to check for supported formats

Typically this was done by having a surface creation function fail if
the format was not supported.
However, in some situations when changing hardware surface formats,
it's desirable to do this check before attempting costly readback operations.

Also updated the surface_redefine interface.

Bump minor.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/Makefile
a/xa_symbols
a/xa_tracker.c
a/xa_tracker.h
ab3587f70d9af5eada0c52defe1de13d77f556a6 23-Jun-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Various fixes for composite.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/xa_composite.c
a/xa_composite.h
a/xa_symbols
3a07d9594a60dd84464b30b2d9ffdfc4f219bc5b 27-Jun-2011 Chia-I Wu <olv@lunarg.com> st/d3d1x: fix for st/egl native.h interface change

The interface was changed in 73df31eedd0f33c8a9907855cb247c8f87964c48.
3d1x/dxgi/src/dxgi_native.cpp
ed47d65c7c05d7dd5a5b4cafaa32afbd4fff0bef 26-Jun-2011 Chia-I Wu <olvaffe@gmail.com> st/egl: fix a compile error

It is triggered when --with-driver=xlib is specified.
gl/x11/native_dri2.c
a0ad339915d8b5fdbebe82678fc81cbf1ec6682b 25-Jun-2011 Chia-I Wu <olv@lunarg.com> st/egl: add get_pixmap_format callback to native_display

And use it for EGL_MATCH_NATIVE_PIXMAP. Remove is_pixmap_supported
meanwhile.
gl/common/egl_g3d_api.c
gl/common/native.h
gl/wayland/native_wayland.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
31520548b763947da6b70b6debe38820835c5bcc 25-Jun-2011 Chia-I Wu <olv@lunarg.com> egl: make implementing eglChooseConfig easier

Add a new helper function, _eglFilterConfigArray, for drivers and hide
_eglSortConfigs.
gl/common/egl_g3d_api.c
53d354b2247fd2d4ec230a7b4adb5bd91d3cb83a 25-Jun-2011 Chia-I Wu <olv@lunarg.com> st/egl: add a fast path for ximage eglCopyBuffers
gl/x11/native_ximage.c
7c4e9dcdceec1112c91206619fe8b0885be99a79 25-Jun-2011 Chia-I Wu <olv@lunarg.com> st/egl: clean up eglCopyBuffers

Add copy_to_pixmap method to native_display and use it for
eglCopyBuffers.
gl/common/egl_g3d_api.c
gl/common/native.h
gl/common/native_helper.c
gl/common/native_helper.h
gl/wayland/native_wayland.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
73df31eedd0f33c8a9907855cb247c8f87964c48 25-Jun-2011 Chia-I Wu <olv@lunarg.com> st/egl: reorganize backend initialization

Remove set_event_handler() and pass the event handler with
native_get_XXX_platform(). Add init_screen() so that the pipe screen is
created later. This way we don't need to pass user_data to
create_display().
gl/common/egl_g3d.c
gl/common/native.h
gl/drm/native_drm.c
gl/drm/native_drm.h
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/wayland/native_drm.c
gl/wayland/native_shm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
gl/x11/native_dri2.c
gl/x11/native_x11.c
gl/x11/native_x11.h
gl/x11/native_ximage.c
febf5e4147612641fc23f202d5813958bee3af13 24-Jun-2011 Chia-I Wu <olv@lunarg.com> st/egl: make native_buffer interface typed

Use a typed struct to describe the native buffer and let the backends
map the native buffer to winsys_handle for
resource_from_handle/resource_to_handle.
gl/common/egl_g3d_image.c
gl/common/native_buffer.h
gl/common/native_helper.c
gl/common/native_helper.h
gl/drm/native_drm.c
gl/wayland/native_drm.c
45aecf01144341fa1c536f6d5131ae36c374066e 23-Jun-2011 Chia-I Wu <olv@lunarg.com> st/egl: drop guess_gl_api from egl_g3d_loader

It is not used and confusing.
gl/common/egl_g3d_loader.h
cb29ee91a27054714e589cf29ecf5025b7140813 23-Jun-2011 Chia-I Wu <olv@lunarg.com> st/egl: use a helper to get st_api from the loader
gl/common/egl_g3d.h
gl/common/egl_g3d_api.c
e9d49d282d3d065e7312a5f812fd1e1331725371 23-Jun-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Fix scons build
gl/SConscript
737bd7367e5a99cf64ec4bfc4420e3380b60878f 30-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Hookup gbm for drm backend
gl/Makefile
gl/common/egl_g3d.c
gl/common/native.h
gl/drm/modeset.c
gl/drm/native_drm.c
gl/drm/native_drm.h
48d4a001b3faaa707716ea6bd93dd98b487768ce 26-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> gbm: Add gallium (drm) backend
bm/Makefile
bm/gbm_drm.c
bm/gbm_gallium_drmint.h
15d7f1c1c73735eb108710a01806712b11ce5e8a 09-Mar-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/dri: Implement DRIimageExtension::dupImage
ri/drm/dri2.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
gl/stw_ext_pbuffer.c
87c3bb65bbd4fdf868d57c2c58f3330efa36b75b 23-Jun-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl/wayland: Take resize parameters only if size changes

This matches what we do in egl_dri2, and clients should
behave like this anyway.
gl/wayland/native_wayland.c
adf166b6c4f6781fd5e751622e9488e5f834bbc2 21-Jun-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Solid fill (tested) and composite (yet untested)

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/Makefile
a/xa_composite.c
a/xa_composite.h
a/xa_context.c
a/xa_context.h
a/xa_priv.h
a/xa_renderer.c
a/xa_symbols
a/xa_tracker.h
5f20fae40d3034de4dc8fdb3678000f7b17c6d75 21-Jun-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Really support xa_surface_format. Bump minor.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/Makefile
a/xa_symbols
a/xa_tracker.c
a/xa_tracker.h
642951fbcaa56a975422f7caddf6620f20d47721 20-Jun-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Support format-changing copy.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/xa_context.c
a/xa_priv.h
a/xa_renderer.c
a97b40a886944a6aeb214e52028ff0e430b71dca 05-Jun-2011 Marcin Slusarz <marcin.slusarz@gmail.com> st/xorg: initialize drm_mode.type

it's uninitialized, but used by kernel (drm_mode_setcrtc -> drm_mode_set_crtcinfo)

Signed-off-by: Marek Olšák <maraeo@gmail.com>
org/xorg_crtc.c
fe20edf959c4ec565ef29f2556e03ce36e0c259f 16-May-2011 Marcin Slusarz <marcin.slusarz@gmail.com> st/xorg: fix crash triggered by rendercheck -t composite -f a8r8g8b8 -o Src, Saturate

samplers[0] may remain uninititialized if src picture/pixmap is null
org/xorg_composite.c
54d1b718b897742bf424f61f911e4ca8bbffa689 16-May-2011 Marcin Slusarz <marcin.slusarz@gmail.com> st/xorg: fix crash triggered by rendercheck -t blend -f a8r8g8b8 -o Clear
org/xorg_composite.c
a18ffcd40d172835b30ef46d8547755e4d91bbe2 16-Jun-2011 Thomas <thellstrom@vmware.com> st/xa: Make sure we blit all yuv regions.

The code forgot to increment a pointer.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/xa_yuv.c
7ba80e0c509c0bf1b14c2a20db579055b999f066 16-Jun-2011 Thomas <thellstrom@vmware.com> st/xa: Fix a typo pointed out by Keith Whitwell.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/README
9f2f5b3d7fd70663b98da5d302fcdfd5bc93db05 15-Jun-2011 Thomas Hellstrom <thellstrom@vmware.com> st/xa: Initial import of the xa state-tracker and the xa-vmwgfx target.

See the file src/gallium/state_trackers/xa/README for more info.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
a/Makefile
a/README
a/xa-indent
a/xa_context.c
a/xa_context.h
a/xa_priv.h
a/xa_renderer.c
a/xa_symbols
a/xa_tgsi.c
a/xa_tracker.c
a/xa_tracker.h
a/xa_yuv.c
e823ab1b002560c02edc2d9f165e3b150b5e020e 14-Jun-2011 Marek Olšák <maraeo@gmail.com> st/xorg: remove unused variable
org/xorg_xv.c
a23bf646bdeb72381e7f2bc784d47748cdd7d1ce 11-Jun-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/eglwayland: Add support for EGL_DEFAULT_DISPLAY
gl/wayland/native_drm.c
gl/wayland/native_shm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
003401f95c9b59471c22368b7da16fe7a951e490 09-Jun-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video

Conflicts:
src/gallium/tests/unit/u_format_test.c
src/gallium/winsys/r600/drm/r600_hw_context.c
9f865646f1fb05cec72dcb1d7411670d38b0a9b4 08-Jun-2011 José Fonseca <jfonseca@vmware.com> glx/xlib: Handle glXCreateContextAttribsARB in glXGetProcAddress.
lx/xlib/glx_getproc.c
6b492d09767531915aa631bec470af1cf4653a6c 08-Jun-2011 Chia-I Wu <olv@lunarg.com> st/egl: set EGL_ALPHA_MASK_SIZE
gl/common/egl_g3d.c
8b02f9e67b83e40019d6b07b9a035ba5d5042688 07-Jun-2011 Christian König <deathsimple@vodafone.de> xvmc: fix some warning about uninitialized vars
org/xvmc/context.c
f1bf7d3dbfa8c74b9537e6132f17dd8250a3451b 07-Jun-2011 Christian König <deathsimple@vodafone.de> [g3dvl] move dummy quantification into xvmc state tracker
org/xvmc/surface.c
a433755ec5c48088a0d8a340851a1a8be9e58897 30-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> targets/egl: Support driver name lookup using pci lists

Make use of this in drm and wayland st/egl backends.

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
gl/drm/native_drm.c
gl/wayland/native_drm.c
b4fa7db65639322ae8dea19a23c9cc8234a3d7e1 05-Jun-2011 Christian König <deathsimple@vodafone.de> [g3dvl] split quant matrix out of picture info
dpau/decode.c
c4a168819dee9a2f9b4e7c7ab8d79bb50876d85d 05-Jun-2011 Christian König <deathsimple@vodafone.de> [g3dvl] rename map/unmap to begin/end frame

mapping and unmapping of buffers is just an implementation detail.
begining and ending an frame is much more descriptive
dpau/decode.c
org/xvmc/surface.c
7e1fbb360332ecac2789e28a0f3d303306f687b1 05-Jun-2011 Christian König <deathsimple@vodafone.de> [g3dvl] remove unused and dublicate fields from picture structure
dpau/decode.c
1eb957bb4108123bea95b818e0544e3b5f255e08 05-Jun-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video
d1fd740bb778d7b3763e7c9b8383b1981084c318 02-Jun-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x/sm4: don't reset 1st index of multi-dimensional operands to 0
3d1x/d3d1xshader/src/sm4_parse.cpp
a531513b06be45868bc4d4f6a9757fe6992ef304 02-Jun-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> d3d1x/sm4: fix swizzle for 1 component operands

For example, "mov o0.w, l(1)" would use imm_values[3], which is
not valid.
3d1x/d3d1xshader/src/sm4_parse.cpp
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).
gl/stw_framebuffer.c
gl/stw_st.c
gl/stw_st.h
aa63ebc48a2ee1ee9afbf2112d4d25e8a9a8d1e8 21-May-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video
733fa000ce6792cb4f4d50537040441bdd8c6341 13-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Add support for EGL_DRM_BUFFER_USE_CURSOR_MESA
gl/common/egl_g3d_image.c
ea90eca44b790119f0d1fbe45cac120a374cb0ca 13-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/dri: Support dri2 useflags in dri2_create_image
ri/drm/dri2.c
ca79036fe8170a87fe8118fb812320c2536b6d46 20-May-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl/wayland: Deal with wayland visual changes

Since wayland 4bde293ff8109d55eeaee8732f5a6ee0c8cd4bd9 we cant
lookup visuals, as we dont receive the visual token events.

The format for pixmap-images thus has to default to argb for now.
gl/wayland/native_wayland.c
38f89c7008b5ed9a70439f4e6590f00a4e220b10 20-May-2011 Brian Paul <brianp@vmware.com> st/glx: define/set new ST_CONTEXT_FLAG_bits
lx/xlib/xm_api.c
1929d52fd907b4e42e31ad459dd50a1de53df26c 20-May-2011 Brian Paul <brianp@vmware.com> st/glx: pass major, minor, context flags, etc to XMesaCreateContext()
lx/xlib/glx_api.c
lx/xlib/xm_api.c
lx/xlib/xm_api.h
d1cd1cc871b79cce52ccd033c53fa57e410c9a6a 20-May-2011 Brian Paul <brianp@vmware.com> st/glx: implement glXCreateContextAttribsARB()
lx/xlib/glx_api.c
81183b1e3e6a23987817c4b29ab15bc37eae9711 20-May-2011 Brian Paul <brianp@vmware.com> st/glx: pass version, context flags, etc to create_context()
lx/xlib/glx_api.c
7be3e507317a0e731fef91a1505f8500e8d1c050 20-May-2011 Brian Paul <brianp@vmware.com> st/glx: refactor create-context functions
lx/xlib/glx_api.c
828540e491d88b9b6217e6568873a78462919ae8 15-May-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video
184bb09ff5cf2715dfee91e25ec20cbaa2e4445c 30-Apr-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Implement EGL_WL_bind_wayland_display for x11,drm,wayland
gl/Makefile
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
gl/common/egl_g3d_image.c
gl/common/native.h
gl/common/native_wayland_bufmgr.h
gl/common/native_wayland_drm_bufmgr_helper.c
gl/common/native_wayland_drm_bufmgr_helper.h
gl/drm/native_drm.c
gl/drm/native_drm.h
gl/wayland/native_drm.c
gl/x11/native_dri2.c
gl/x11/x11_screen.c
gl/x11/x11_screen.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.
gl/stw_framebuffer.c
bd3ce30ee7e33663ddebe17f514341f016751a2f 09-May-2011 Marcin Slusarz <marcin.slusarz@gmail.com> st/xorg: add some debugging messages to xorg_exa.c
org/xorg_exa.c
6e0263fdd45c16ba83aceab60084918d3b8bf9d2 09-May-2011 Marcin Slusarz <marcin.slusarz@gmail.com> st/xorg: remove DEBUG_PRINT macro and add exa_debug_printf

Localizes preprocessor usage to one place.
org/xorg_exa.c
7c5eaf5a2de7a469dab25dc3e9ba65d74ecc9765 09-May-2011 Marcin Slusarz <marcin.slusarz@gmail.com> st/xorg: fix compilation of xorg_exa.c with DEBUG_PRINT set to 1
org/xorg_exa.c
e06a09ac37c1ab55326922abc314fe84e3ac5824 07-May-2011 Christian König <deathsimple@vodafone.de> vdpau: use multiple buffers to speed up rendering
dpau/decode.c
dpau/vdpau_private.h
cd13ec253ab8befed6ee9ece20ceebed9f73050f 07-May-2011 Christian König <deathsimple@vodafone.de> vdpau: implement PresentationQueueSetBackgroundColor
dpau/presentation.c
e0cc970a54660035942ef8f8db122835e1407676 07-May-2011 Christian König <deathsimple@vodafone.de> vdpau: as long as we don't have a background picture we don't want an alpha channel
dpau/output.c
213b9004a6ee033a16af3dcd187aa68b56c39858 07-May-2011 Christian König <deathsimple@vodafone.de> Merge remote-tracking branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_state.c
3b2bc4ac5b63429738687fd296180149b54e67a4 06-May-2011 Marcin Slusarz <marcin.slusarz@gmail.com> gallium/xorg st/nv50: add PIPE_BIND_CURSOR

We need to distinguish surfaces for mouse cursors from scanouts,
because nv50 hardware display engine ignores tiling flags.
org/xorg_crtc.c
08f3a7cf7e9133f50adf33f800aa3696c909347f 04-May-2011 Christian König <deathsimple@vodafone.de> vdpau: make state tracker far less noisy
dpau/bitmap.c
dpau/decode.c
dpau/device.c
dpau/mixer.c
dpau/output.c
dpau/presentation.c
dpau/query.c
dpau/surface.c
dpau/vdpau_private.h
7709e6ebc3d9f159063e40ca217d61f20ce507f0 04-May-2011 Christian König <deathsimple@vodafone.de> vdpau: remove empty color.c file
dpau/color.c
ee92f0fdad9bba687a24c072de8c00bb587a0f55 04-May-2011 Christian König <deathsimple@vodafone.de> vdpau: remove the unused and incomplete mpeg2 parser
dpau/Makefile
dpau/mpeg2_bitstream_parser.c
dpau/mpeg2_bitstream_parser.h
c888fe027c338f337123de4da2de1ac73b0f7587 04-May-2011 Christian König <deathsimple@vodafone.de> [g3dvl] Implement MPEG2 VLD

Based uppon xine's slice_xvmc.c.
This gets VDPAU up and running.
dpau/decode.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.
gl/stw_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.
gl/stw_framebuffer.c
a8bbce8d6d894d482094fdac1e8823f838db6a94 03-May-2011 Marcin Slusarz <marcin.slusarz@gmail.com> st/xorg: flush after loading the cursor

We need cursor data to land in destination buffer before drmModeSetCursor.
It fixes "cursor lag" on nv50.
org/xorg_crtc.c
5815d06ac5a49a99a3659ba970a2f8df92c87a57 02-May-2011 Michel Dänzer <daenzer@vmware.com> st/xorg: Fix two more instances of typo 'accle'.
org/xorg_exa.c
951244c4cde0855bcdd9b66f1290de1227f4b827 01-May-2011 Marcin Slusarz <marcin.slusarz@gmail.com> st/xorg: fix typos
org/xorg_driver.c
org/xorg_exa.c
dc520d4fefa6a92b3a8f2eed3c5a1044dfccb3ff 29-Apr-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl/wayland: Fix possible lockup in drm initialization

Lockup happens when wl_drm interface is not available.
gl/wayland/native_drm.c
f20608b951dd629ecc1fceb111a876c1c70c57a9 28-Apr-2011 Johannes Obermayr <johannesobermayr@gmx.de> [g3dvl] Name of pkg-config file is libva.

Signed-off-by: Christian König <deathsimple@vodafone.de>
a/Makefile
2471acfc4c051d480861265011fa5e77fad02887 27-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: start to implement MPEG2 decoder part
dpau/decode.c
dpau/mixer.c
dpau/vdpau_private.h
221e1b7ababe67efe80f38f8ab2236be5cacfddf 27-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] make reset_dirty_area a public interface
org/xvmc/surface.c
f3f212acf0d2fc25d3b6bd70dd1f346d97a9b25d 27-Apr-2011 Christian König <deathsimple@vodafone.de> xvmc: recreate drawable surface only when dst area changes
org/xvmc/context.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
76d881b8b086495081c0a3c8fea2278f1480f107 27-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] fix a couple of bugs around paletted subpictures
org/xvmc/subpicture.c
2516a4654463322fede7cd17085dc4dbe92d324e 26-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: implement OutputSurfaceDestroy
dpau/output.c
67d93ea940a9cac1645ce4d6bdc78c5aad812cb6 26-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: implement PresentationQueueDestroy
dpau/presentation.c
13a50bd47deff3e52470a513695c1bdb86908d73 26-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: implement VideoMixerDestroy
dpau/mixer.c
38bd8131776879e9dc90d06848657756a4a13a66 26-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: add stups for the missing functions
dpau/decode.c
dpau/device.c
dpau/ftab.c
dpau/mixer.c
dpau/output.c
dpau/query.c
dpau/surface.c
dpau/vdpau_private.h
d72e7f0dd95fdf28cf64c0b5b6d42c16f087008a 23-Apr-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Add wayland shm softpipe support
gl/wayland/native_shm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
34fd282b270dbaf0ce87e342b3183eb3a4bf4a44 23-Apr-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Generalize wayland backend a bit
gl/wayland/native_drm.c
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
5aa26412432dbdb3b1677d6d2f74bba010f443ae 25-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: implement and cleanup PresentationQueueTarget destruction
dpau/device.c
dpau/htab.c
dpau/presentation.c
dpau/vdpau_private.h
7cde6722b01732e5a897771b56bf8d13719153ec 25-Apr-2011 Christian König <deathsimple@vodafone.de> xvmc: futher optimize ycbcr upload
org/xvmc/surface.c
104ac0066394f8246d18c833bca4bcce271b5eef 24-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] rework fence handling and add r600g workaround
org/xvmc/surface.c
org/xvmc/xvmc_private.h
3ea7e2713c836f23d59c4034385609e371a94c8d 24-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] start supporting different render target formats

Let's start with NV12, but anything else shouldn't be much of a problem any more.
dpau/surface.c
org/xvmc/surface.c
b54909910c04313fb45c4e8f39091ad73ec329f3 24-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] remove resource_format workaround
dpau/surface.c
org/xvmc/surface.c
fa31b1095eeea97695125ad5770239805bed37da 23-Apr-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
configs/linux-dri
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_state.c
src/gallium/include/pipe/p_format.h
src/gallium/tests/graw/fragment-shader/frag-abs.sh
src/gallium/tests/graw/fragment-shader/frag-add.sh
src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh
src/gallium/tests/graw/fragment-shader/frag-cb-2d.sh
src/gallium/tests/graw/fragment-shader/frag-dp3.sh
src/gallium/tests/graw/fragment-shader/frag-dp4.sh
src/gallium/tests/graw/fragment-shader/frag-dst.sh
src/gallium/tests/graw/fragment-shader/frag-ex2.sh
src/gallium/tests/graw/fragment-shader/frag-face.sh
src/gallium/tests/graw/fragment-shader/frag-flr.sh
src/gallium/tests/graw/fragment-shader/frag-frc.sh
src/gallium/tests/graw/fragment-shader/frag-kil.sh
src/gallium/tests/graw/fragment-shader/frag-lg2.sh
src/gallium/tests/graw/fragment-shader/frag-lit.sh
src/gallium/tests/graw/fragment-shader/frag-lrp.sh
src/gallium/tests/graw/fragment-shader/frag-mad-immx.sh
src/gallium/tests/graw/fragment-shader/frag-mad.sh
src/gallium/tests/graw/fragment-shader/frag-max.sh
src/gallium/tests/graw/fragment-shader/frag-min.sh
src/gallium/tests/graw/fragment-shader/frag-mov.sh
src/gallium/tests/graw/fragment-shader/frag-mul.sh
src/gallium/tests/graw/fragment-shader/frag-rcp.sh
src/gallium/tests/graw/fragment-shader/frag-rsq.sh
src/gallium/tests/graw/fragment-shader/frag-sge.sh
src/gallium/tests/graw/fragment-shader/frag-slt.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-abs.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-absneg.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-neg.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-swz.sh
src/gallium/tests/graw/fragment-shader/frag-sub.sh
src/gallium/tests/graw/fragment-shader/frag-tempx.sh
src/gallium/tests/graw/fragment-shader/frag-xpd.sh
src/gallium/tests/graw/vertex-shader/vert-abs.sh
src/gallium/tests/graw/vertex-shader/vert-add.sh
src/gallium/tests/graw/vertex-shader/vert-arl.sh
src/gallium/tests/graw/vertex-shader/vert-arr.sh
src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh
src/gallium/tests/graw/vertex-shader/vert-cb-2d.sh
src/gallium/tests/graw/vertex-shader/vert-dp3.sh
src/gallium/tests/graw/vertex-shader/vert-dp4.sh
src/gallium/tests/graw/vertex-shader/vert-dst.sh
src/gallium/tests/graw/vertex-shader/vert-ex2.sh
src/gallium/tests/graw/vertex-shader/vert-flr.sh
src/gallium/tests/graw/vertex-shader/vert-frc.sh
src/gallium/tests/graw/vertex-shader/vert-lg2.sh
src/gallium/tests/graw/vertex-shader/vert-lit.sh
src/gallium/tests/graw/vertex-shader/vert-lrp.sh
src/gallium/tests/graw/vertex-shader/vert-mad.sh
src/gallium/tests/graw/vertex-shader/vert-max.sh
src/gallium/tests/graw/vertex-shader/vert-min.sh
src/gallium/tests/graw/vertex-shader/vert-mov.sh
src/gallium/tests/graw/vertex-shader/vert-mul.sh
src/gallium/tests/graw/vertex-shader/vert-rcp.sh
src/gallium/tests/graw/vertex-shader/vert-rsq.sh
src/gallium/tests/graw/vertex-shader/vert-sge.sh
src/gallium/tests/graw/vertex-shader/vert-slt.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-abs.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-absneg.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-neg.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-swz.sh
src/gallium/tests/graw/vertex-shader/vert-sub.sh
src/gallium/tests/graw/vertex-shader/vert-xpd.sh
src/gallium/tools/trace/dump.py
src/gallium/tools/trace/format.py
src/gallium/tools/trace/model.py
src/gallium/tools/trace/parse.py
2e6274fc3b123e7de695038054b5cbd20b11559a 23-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] make ycbcr stream and block data a public interface
dpau/mpeg2_bitstream_parser.c
dpau/mpeg2_bitstream_parser.h
org/xvmc/surface.c
org/xvmc/xvmc_private.h
b1a91722773152ea96de79d2b446ae488561bb0c 07-Mar-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl/wayland: Update to buffer.damage addition
gl/wayland/native_wayland.c
400a99a679dfcf671d6d35cc4256d86cad7f9e93 21-Apr-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Update to wayland protocol,egl changes
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
b7acf83d523563cde613fe805bd8edaa02f64b53 20-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] make motion vector buffers a public interface
org/xvmc/surface.c
org/xvmc/xvmc_private.h
b8a6e0e6fc451096d684a1e18529ab4879cdba0a 17-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] give mv their own vertex buffer back
org/xvmc/surface.c
ffcf287aa227cfd1c0f928a3310d98554caf16cd 16-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: implement VDPAU_DUMP option
dpau/presentation.c
1b800c10e4aa3a9792e221043c54bbc930b50829 15-Apr-2011 Brian Paul <brianp@vmware.com> vega: move ureg_destroy(ureg) after last use of ureg var
ega/shaders_cache.c
efaf024f8c7c1000af06e54a85378818d55c5160 13-Apr-2011 Christian König <deathsimple@vodafone.de> xvmc: use a pipe_video_rect for subpicture src & dst
org/xvmc/subpicture.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
c7b65dcaffeb9d0760c8ecad052f4c79297bfc8a 13-Apr-2011 Christian König <deathsimple@vodafone.de> xvmc: Define some Xv attribs to allow users to specify color standard and procamp
org/xvmc/attributes.c
org/xvmc/context.c
org/xvmc/xvmc_private.h
537370be4b8aa3ecac8c5b0905f3cfc08e71da0d 12-Apr-2011 Christian König <deathsimple@vodafone.de> xvmc: move subpicture swizzle into own function
org/xvmc/subpicture.c
87e81a3e9db1a30f6f31e6e91aeb5acfdc8b589f 12-Apr-2011 Christian König <deathsimple@vodafone.de> xvmc: fix compiler warning
org/xvmc/surface.c
4d057864d0d523c241e40ad675487276789e3b36 12-Apr-2011 Christian König <deathsimple@vodafone.de> xvmc: flush surface of macroblock (0,0) is detected
org/xvmc/surface.c
b48676672592271597d07e5ece79cf4d3ffbe04b 12-Apr-2011 Christian König <deathsimple@vodafone.de> xvmc: cleanup headers
org/xvmc/attributes.c
org/xvmc/block.c
org/xvmc/context.c
org/xvmc/subpicture.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
f63aba41fb7eba142b0b22a2a46cb264157c2505 12-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: switch cb cr planes in vlVdpVideoSurfacePutBitsYCbCr
dpau/surface.c
62373e8f9e948ac441d9fe355edfc0dca5f9df9c 12-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: set at least a basic csc matrix
dpau/mixer.c
4f3fb1586aebfe248321e935651b5af92b5a8261 12-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] make resource format selection a public interface
dpau/surface.c
org/xvmc/surface.c
f05751aa2af1a8ec83c2d110385aab1b7e735238 16-Mar-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl/wayland: Update to per-surface frame events
gl/wayland/native_wayland.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.
gl/stw_framebuffer.c
b5829c0d6444a9eb25738c9b7f0bab8b667c8e0a 07-Apr-2011 José Fonseca <jfonseca@vmware.com> st/wgl: Fix debug output format specifiers of stw_framebuffer_get_size().
gl/stw_framebuffer.c
816d820b7de50827b9597b99823607cbab9a1ac6 09-Apr-2011 Christian König <deathsimple@vodafone.de> xvmc: add a workaround for xines xxmc vo plugin
org/xvmc/surface.c
7a5390b06fea99f85ab47d40d8dc40e40e0f2ab8 09-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] make mv weights a public interface
org/xvmc/surface.c
cae77aa80b3629a147ce3ae4526646014efae595 09-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: Implement basic output functionality

Even with totally wrong color space conversion
we finally se a picture with VDPAU. Yeah!
dpau/presentation.c
dpau/surface.c
dpau/vdpau_private.h
f3ead63e7023f61557cb92be30cae6fe9efb280a 08-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: get at least the very basic mixer functions working
dpau/mixer.c
574ffb440dbd878d51fc9b9794a6396cbe6f75bb 08-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: add compositor to mixer
dpau/mixer.c
dpau/vdpau_private.h
6710e690f6ccd2c917d6a39be7d55a037470fccb 08-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: add compositor to presentation queue
dpau/presentation.c
dpau/vdpau_private.h
b98b58c76a2560b1db603e62f96c6641cedfa8e8 08-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: implement output surface creation
dpau/output.c
dpau/vdpau_private.h
fcdf50f74befad8d89eb3f9cdfd88b82d1daa98c 07-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] add support for different decoding entry points
org/xvmc/context.c
2c21d28e8315ff65cb6f47fda46cbd65d67fb4e7 06-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: implement vlVdpVideoSurfacePutBitsYCbCr
dpau/device.c
dpau/surface.c
dpau/vdpau_private.h
afeaf1771d0ccbd2482c5ad7fa237c50b4d3921e 04-Apr-2011 José Fonseca <jose.r.fonseca@gmail.com> st/python: Remove bindings, and all its dependencies.

Because:
- bindings are not fully automatic, and they are broken most of the time
- unit tests/samples can be written in C on top of graw
- tracing/retracing is more useful at API levels with stable ABIs such as
GL, producing traces that cover more layers of the driver stack and and
can be used for regression testing
ython/README
ython/SConscript
ython/gallium.i
ython/p_compiler.i
ython/p_context.i
ython/p_device.i
ython/p_state.i
ython/p_texture.i
ython/st_device.c
ython/st_device.h
ython/st_hardpipe_winsys.c
ython/st_sample.c
ython/st_sample.h
ython/st_softpipe_winsys.c
ython/st_winsys.h
ython/tests/regress/fragment-shader/frag-abs.png
ython/u_format.i
d9ad3aa3b9647f1ede2568600978af956ff32fff 06-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] and finally split the decoder part out of the context

This should give a good basis to implement vdpau ontop of it.
org/xvmc/context.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
ebd564587a46891cb2729c6a0ed84b7c27dc23ec 03-Apr-2011 Christian König <deathsimple@vodafone.de> g3dvl/vdpau: some more indention fixes
dpau/device.c
e6176ce3719e6c6e88d31ae7307154386e83553b 03-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] some more debugging output in xvmc st
org/xvmc/surface.c
e5f78a74f8294ee02015552db664dae1e7da9f47 03-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] split compositor out of video context

Also redesign the compositor a bit and make the result a public available interface
org/xvmc/context.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
e6d41e4d0326cac60b49e149d86d0f95c2518045 03-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] start to cleanup the mess and provide at least basic functionality
dpau/surface.c
dpau/vdpau_private.h
d5b05a869a71147987a1c1d6c84f8df17148f031 03-Apr-2011 Christian König <deathsimple@vodafone.de> [g3dvl] start over with vdpau decoding
dpau/decode.c
dpau/surface.c
dpau/vdpau_private.h
7dc87676f203f1df935a97348e1fb15274be4642 02-Apr-2011 Christian König <deathsimple@vodafone.de> vdpau: get state tracker to compile again
dpau/decode.c
3e92b4fd14b731bd6984aafd220059e27948aea8 02-Apr-2011 Christian König <deathsimple@vodafone.de> g3dvl/xvmc: fix a stupid of by one bug
org/xvmc/surface.c
e8a701f40b138d31050bcf778dc7d5857102f49b 27-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] remove unused backbuffer from xvmc
org/xvmc/context.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
7f426615ab308de508f672567094b8b21d836a9b 26-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] fully implement paletted subpictures
org/xvmc/subpicture.c
org/xvmc/surface.c
9a59f22d114e11a84c99609013ffe00f709c998b 26-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] correct subpicture stride in upload
org/xvmc/subpicture.c
849a0b0a821ecc59a50fe53498a6354cfd0b24a4 26-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] start implementing palettes for subpictures
org/xvmc/subpicture.c
org/xvmc/xvmc_private.h
5f23328a8ad991ef1c70f045865b6a5e13323b67 26-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] get sampler swizzle right for subpictures

This should make ai44 work correctly.
org/xvmc/subpicture.c
3d40d4f391e2fc319a03d8f171a2cfb9daf250c8 26-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] throw out all unused parts of the interface
org/xvmc/context.c
org/xvmc/subpicture.c
4a0b80f00dbc77d333027afd195daae7ef1e651c 25-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] rework supicture handling

This gets ia44 and ai44 at least partial working
org/xvmc/subpicture.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
a17788ac490744b631fc7dd47e94af3296895701 25-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] start implementing AI44 and IA44 subpicture
org/xvmc/subpicture.c
ce6f8331fa520bc464a9fa50c18fe57678dd0a24 25-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] make ref_surface handling more sane
org/xvmc/surface.c
884cb79edfefb1133229a002f41b4d370d717a7e 24-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] make mapping and flushing of buffers a public interface
org/xvmc/surface.c
org/xvmc/xvmc_private.h
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.
gl/stw_ext_pbuffer.c
ba0bff85307c9b107cf432da05b39fd4ab242579 22-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] make video buffer a public available interface
org/xvmc/surface.c
org/xvmc/xvmc_private.h
bac8760f7f3523e9b6d5b2fd7cd46091d4883f5e 20-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] rename motion vector fields
org/xvmc/surface.c
1a238efe424c666d730ffe91c01f49415797a7ca 20-Mar-2011 Christian König <deathsimple@vodafone.de> [g3dvl] fix power_of_two buffer with/height handling
org/xvmc/surface.c
2bf95c519e755146704f4942b1703d47d18bfeaa 19-Mar-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_asm.c
src/gallium/tests/unit/SConscript
cbb3ad3d5aaeecfdd724ef0de120969031bb23fc 18-Mar-2011 Christian König <deathsimple@vodafone.de> vdpau: fix formating and idention of surface.c
dpau/surface.c
49f4aff75ce781fb71383a5ffe44e51e34ff1bf3 18-Mar-2011 Christian König <deathsimple@vodafone.de> vdpau: make indention and formating more sane
dpau/bitmap.c
dpau/decode.c
dpau/device.c
dpau/mixer.c
dpau/mpeg2_bitstream_parser.c
dpau/mpeg2_bitstream_parser.h
dpau/output.c
dpau/preemption.c
dpau/presentation.c
dpau/query.c
dpau/vdpau_private.h
b90f569a0f8578a20b9ee2997396b6c3ddd3b573 18-Mar-2011 Christian König <deathsimple@vodafone.de> vdpau: merge fixes for vdpau state tracker
dpau/decode.c
dpau/surface.c
1868d21c8ee1fdf775f3e3ddbb1c48fa89d5850c 12-Mar-2011 Marek Olšák <maraeo@gmail.com> st/dri: fix warning: ‘bind’ may be used uninitialized in this function
ri/drm/dri2.c
4faa95e74d3784b15551a8de171d081e7dd1e6c0 11-Mar-2011 Vinson Lee <vlee@vmware.com> st/python: Remove flags from flush function.
ython/p_context.i
9c366ceedbb9d550c830ba9a8b80b7675e42917b 11-Mar-2011 Vinson Lee <vlee@vmware.com> st/python: Remove the geom_flags param from is_format_supported.
ython/p_device.i
d17ef8636d9212d92815ffdff092bad3df1af06b 11-Mar-2011 Vinson Lee <vlee@vmware.com> st/python: Clean up fence_finish.
ython/p_context.i
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.
3d1x/dxgi/src/dxgi_native.cpp
3d1x/gd3d11/d3d11_context.h
ri/common/dri_context.c
ri/sw/drisw.c
gl/common/egl_g3d_api.c
gl/common/egl_g3d_sync.c
gl/common/native_helper.c
lx/xlib/xm_api.c
ega/api_context.c
ega/vg_manager.c
gl/stw_context.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
org/xorg_exa.h
e968975cb57eb854769292f7c6ff773c64a386c3 08-Mar-2011 Marek Olšák <maraeo@gmail.com> gallium: remove the geom_flags param from is_format_supported
3d1x/gd3d11/d3d11_screen.h
ri/common/dri_screen.c
gl/common/egl_g3d.c
gl/drm/native_drm.c
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/x11/native_dri2.c
lx/xlib/xm_api.c
ega/image.c
ega/renderer.c
ega/vg_context.c
gl/stw_pixelformat.c
org/xorg_dri2.c
org/xorg_exa.c
org/xorg_renderer.c
bfe88e69988b3d3bdff0b9f6051d0428e1315653 07-Mar-2011 Marek Olšák <maraeo@gmail.com> gallium: cleanup fence_signalled and fence_finish

So that they don't have the driver-specific param and return type.
gl/common/egl_g3d_api.c
gl/common/egl_g3d_sync.c
gl/common/native_helper.c
lx/xlib/xm_api.c
ega/api_context.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
25485f4b69447514ab8b595aced90c75606a99bd 07-Mar-2011 Marek Olšák <maraeo@gmail.com> gallium: kill is_resource_referenced

Only st/xorg used it and even incorrectly with regards to pipelined transfers.
org/xorg_renderer.c
org/xorg_xv.c
2b64886c8122227ffa2d86abb9b4a5d79d1e2451 11-Mar-2011 Adam Jackson <ajax@redhat.com> swrastg: Add __DRI_TEX_BUFFER support

Without this, EXT_texture_from_pixmap is trivially broken. With it,
it's merely subtly broken.

Signed-off-by: Adam Jackson <ajax@redhat.com>
ri/sw/drisw.c
a4a5d7e0dd0fb8888ab939e209b229e0f78139f4 11-Mar-2011 Brian Paul <brianp@vmware.com> vega: remove unused pipe var
ega/api_images.c
cb06f180e3a5829df1d9b60f95db7417fbcd9002 08-Mar-2011 Marek Olšák <maraeo@gmail.com> st/vega: remove unnecessary flushes

I don't see a reason we need them.
ega/api_images.c
ega/image.c
ega/mask.c
0ffd603e17fd489886b47c5fec4624a589a13c10 08-Mar-2011 José Fonseca <jfonseca@vmware.com> wgl: Force framebuffer validation on glViewport.
gl/stw_device.c
67f61199c24276e6032774d56d2843c62fe28a2f 09-Mar-2011 Vinson Lee <vlee@vmware.com> st/python: Add timeout parameter to fence_finish.

This is a follow-up to commit b39bccbd4ed71e9585da4cf5acf7b887b2e90899.

Fixes Linux SCons build.
ython/p_context.i
b39bccbd4ed71e9585da4cf5acf7b887b2e90899 05-Mar-2011 Marek Olšák <maraeo@gmail.com> gallium: add timeout parameter to fence_finish

This is a follow-up to the ARB_sync patch for st/mesa and completes
the ARB_sync implementation.
gl/common/egl_g3d_api.c
gl/common/egl_g3d_sync.c
gl/common/native_helper.c
lx/xlib/xm_api.c
ega/api_context.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
8329f4db6124de0578bd1def39f0d5845a9025af 05-Mar-2011 Brian Paul <brianp@vmware.com> st/glx: whitespace, 80-column fixes
lx/xlib/glx_api.c
e1510d48165abbfdbe5036b6eb1e4ae89b4ad5fb 06-Mar-2011 José Fonseca <jose.r.fonseca@gmail.com> st/wgl: No need to initialize OneTimeLock anymore.
gl/stw_device.c
199034a3cc46e09e7a325690ac5b2b097e90249f 05-Mar-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video
e71920929e3933b007b0bd2358def91df1447eb3 03-Mar-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl/wayland: Move wayland-egl into a subdir

This hopefully fixes wayland-egl's dependency
resolution for autogenerated wayland-drm headers.
gl/Makefile
0eccb1038a620bc76ba45ac00c293b3e88427510 03-Mar-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video
6b369c4c7cd8a52f99bbff2a57fb316b33a87495 21-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> egl: Add EGL_WL_bind_wayland_display
gl/Makefile
gl/wayland/native_wayland.c
8b145e23023927ddec7839a9e4498d5a42e3ca29 25-Feb-2011 Thomas Hellstrom <thellstrom@vmware.com> st/egl: Implement swapbuffer throttling

When doing copy swapbuffers using drm, throttle on outstanding copy operations.
Introduces a new environment variable, EGL_THROTTLE_FENCES that the
user can use to indicate the desired number of outstanding swapbuffers, or
disable throttling using EGL_THROTTLE_FENCES=0.

This can and perhaps should be extended to the pageflip case as well, since
with some hardware pageflips can be pipelined. In case the pageflip syncs, the
throttle operation will be a no-op anyway.

Update copyright notices.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
gl/common/native_helper.c
gl/common/native_helper.h
gl/drm/modeset.c
c9febff31f1032065f96ad76fd31f31ac330fef9 24-Feb-2011 Thomas Hellstrom <thellstrom@vmware.com> st/egl/drm: Rework swapbuffers

Use the pageflip ioctl when available.
Otherwise, or when the backbuffer contents need to be preserved,
fall back to a copy operation.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
gl/drm/modeset.c
gl/drm/native_drm.h
2b079485f6092051ebb7fec0e6210d6743926064 24-Feb-2011 Thomas Hellstrom <thellstrom@vmware.com> st/egl: Add a helper to perform a copy swap on a resource surface

The copy swap can be used when we need to preserve the contents of
the back buffer or when there is no way to do native page-flipping.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
gl/common/native_helper.c
gl/common/native_helper.h
d1e4117355f1db6ff87c837df6212bf6168e98a0 24-Feb-2011 Thomas Hellstrom <thellstrom@vmware.com> st/egl: Move the copy context to the native display structure

This makes it usable also for native helpers.
Also add inline functions to access the context and to
uninit the native display structure.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/egl_g3d_api.c
gl/common/native.h
gl/drm/native_drm.c
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/wayland/native_wayland.c
gl/x11/native_ximage.c
b1ceda5cbdfe716824cb1f1689a7fc48611f297f 01-Mar-2011 Dave Airlie <airlied@redhat.com> st/dri: one more missing array size

whats one more between friends.

again bnf on irc.
ri/drm/dri2.c
02448f2241d90fdbf97b0197e857a8f5acf5d4c7 01-Mar-2011 Dave Airlie <airlied@redhat.com> st/dri: fix missing array size init.

Init array size to 1,

reported by bnf on irc.
ri/drm/dri2.c
2d62e39c622124566779e504e7ed26eee96785fb 01-Mar-2011 Dave Airlie <airlied@redhat.com> egl/st: add array size initialisor

reported by bnf on irc.
gl/common/egl_g3d_image.c
b922a0ce12916a91cfc3e56714913fcf63279ff2 24-Feb-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
configure.ac
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_asm.h
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_state_inlines.h
src/gallium/drivers/r600/r600_texture.c
94ccc31ba4f64ac480137fd90f1ded44d2072f6e 01-Dec-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Track drawable context bindings

Needs to track this ourself since because we get into a race condition with
the dri_util.c code on make current when rendering to the front buffer.

This is what happens:
Old context is rendering to the front buffer.

App calls MakeCurrent with a new context. dri_util.c sets
drawable->driContextPriv to the new context and then calls the driver make
current. st/dri make current flushes the old context, which calls back into
st/dri via the flush frontbuffer hook. st/dri calls dri loader flush
frontbuffer, which calls invalidate buffer on the drawable into st/dri.

This is where things gets wrong. st/dri grabs the context from the dri
drawable (which now points to the new context) and calls invalidate
framebuffer to the new context which has not yet set the new drawable as its
framebuffers since we have not called make current yet, it asserts.
ri/common/dri_context.c
ri/common/dri_drawable.c
ri/common/dri_drawable.h
ri/drm/dri2.c
ae11707b830b206f4305310df3d873b72ed777a7 16-Feb-2011 Vinson Lee <vlee@vmware.com> st/python: add usage parameter to pipe_buffer_create

This is a follow-up to commit eafb7f234d11a290b00dcaf5492b9bdad1cf5148.

Fixes Linux SCons build.
ython/p_context.i
ython/p_device.i
eafb7f234d11a290b00dcaf5492b9bdad1cf5148 13-Feb-2011 Marek Olšák <maraeo@gmail.com> gallium: add usage parameter to pipe_buffer_create

And set a reasonable buffer usage flag everywhere instead of
just PIPE_USAGE_DEFAULT.
3d1x/dxgi/src/dxgi_native.cpp
ega/renderer.c
org/xorg_renderer.c
ec21eabe2a343b875c4c23b410fea8bfc204f917 14-Feb-2011 Vinson Lee <vlee@vmware.com> st/python: remove pipe_vertex_buffer::max_index

This is a follow-up to commit cdca3c58aa2d9549f5188910e2a77b438516714f.
ython/p_context.i
cdca3c58aa2d9549f5188910e2a77b438516714f 10-Jan-2011 Marek Olšák <maraeo@gmail.com> gallium: remove pipe_vertex_buffer::max_index

This is redundant to pipe_draw_info::max_index and doesn't really fit
in the optimizations I plan.
3d1x/dxgi/src/dxgi_native.cpp
3d1x/gd3d11/d3d11_context.h
ega/polygon.c
d5062fb3a315c46d77d5c954a3e3c14be1907d33 09-Jan-2011 Marek Olšák <maraeo@gmail.com> gallium: always save and restore vertex buffers using cso_cache
ega/renderer.c
org/xorg_renderer.c
9f213f6a4af9d6b3663bd2fbd371fbec9f869c75 11-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl wayland: Sync front buffer release
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
71fa2270293f7e3aa8e42b397bebb24d3fcd9b1f 09-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/dri: Set render_buffer in dri_fill_st_visual

st/mesa/st_managaer.c needs render_buffer in order
to determinde which buffer should be rendered to.
ri/common/dri_screen.c
fa3283cca8a2b010db60d9879b0f87802c0c9a3f 09-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/dri: img_from_renderbuf: Fix incorrect usage of dri_context()
ri/drm/dri2.c
0acb31be171f01aec8b38ceaddf47b7da6dae2a0 09-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/dri: Fix surfaceless gl using contexts with previous bound surfaces

ctx->dPriv might be != NULL then draw which is NULL is accessed:

struct dri_drawable *draw = dri_drawable(driDrawPriv);
[..]
if (ctx->dPriv != driDrawPriv) {
ctx->dPriv = driDrawPriv;
draw->texture_stamp = driDrawPriv->lastStamp - 1;
}
ri/common/dri_context.c
c79a5a706727c40a856e36c043da608c825390a2 09-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl wayland: Set color_format according to wl_visual
gl/wayland/native_wayland.c
15598fbf42068ecedd17c7b39e796965ff385e93 08-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Fix platform selection

A break for case _EGL_PLATFORM_X11 is missing.
introduced by: 381ea0d67a6d84a34d23571c49bbf4339ffda364
gl/common/egl_g3d.c
381ea0d67a6d84a34d23571c49bbf4339ffda364 04-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: Add wayland platform
gl/Makefile
gl/common/egl_g3d.c
gl/common/native.h
gl/wayland/native_wayland.c
gl/wayland/native_wayland.h
9b6dc9b7a46df41d7eb7b1f94e50d96300b557bc 04-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: drm_image: Check for MESA_drm_image

MESA_drm_image isnt limited to drm platform,
others can enable the extension too.
gl/common/egl_g3d_image.c
464cb3a09ea61b6e7fe7f5d2a69e3cdab210da8f 04-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl: native_helper: Add resource_surface_import_resource
gl/common/native_helper.c
gl/common/native_helper.h
f8e939a3a737971ac9d59494a0c433c22b25e628 04-Feb-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> st/dri: Implement dri2::{Allocate,Release}Buffer
ri/drm/dri2.c
ri/drm/dri2_buffer.h
3f0a966807f03a364edea0272ddf45f08ab7ce4f 30-Jan-2011 Chia-I Wu <olv@lunarg.com> st/vega: Disable blending when the paint is opaque.

When the paint is opaque (currently, solid color with alpha 1.0f), no
blending is needed for VG_BLEND_SRC_OVER. This eliminates the serious
performance hit introduced by 859106f196ade77f59f8787b071739901cd1a843
for a common scenario.
ega/api_paint.c
ega/api_params.c
ega/paint.c
ega/paint.h
ega/renderer.c
ega/shader.c
ega/vg_context.c
ega/vg_context.h
e919dee1edd469c174c5c07c95efd4932a674b67 30-Jan-2011 Chia-I Wu <olv@lunarg.com> st/vega: Remove an invalid sanity check.

Before create_handle returns, obj->handle is 0. Calling
handle_to_object will fail.
ega/handle.c
05e5b53128fc4dc25769fecace671cdaa7004630 30-Jan-2011 Chia-I Wu <olv@lunarg.com> st/vega: s/vg[A-Z]/vega[A-Z]/.
ega/api_filters.c
ega/api_images.c
ega/api_masks.c
ega/api_params.c
e28ecdee0396cc6665f9be95cfbaa2c2db1d4891 26-Jan-2011 Kristian Høgsberg <krh@bitplanet.net> st/egl: Downgrade warning to debug when we can't create a drm screen

We try to load a DRI driver if this fails so don't confuse users.
gl/drm/native_drm.c
gl/x11/native_dri2.c
99c67f27d35a4bbbbefada8117d5972c7583cf42 23-Jan-2011 Brian Paul <brianp@vmware.com> vega: implement handler/pointer conversion using a hash table

Before, we were just casting between 32-bit VGHandles and 64-bit pointers.
ega/Makefile
ega/SConscript
ega/api_path.c
ega/handle.c
ega/handle.h
ega/image.c
ega/vg_context.c
ega/vg_context.h
ega/vg_manager.c
f3e6edc70b7a8e3a642c9d666863901653105893 23-Jan-2011 Brian Paul <brianp@vmware.com> vega: remove redundant functions found elsewhere
ega/vgu.c
d41e694cf78ada8c9258f96995115c9da8437894 23-Jan-2011 Brian Paul <brianp@vmware.com> vega: replace casts with pointer/handle conversion functions

Per the spec, all OpenVG handles are 32-bit. We can't just cast them
to/from integers on 64-bit systems.

Start fixing that mess by introducing a set of handle/pointer conversion
functions in handle.h. The next step is to implement a handle/pointer
hash table...
ega/api_filters.c
ega/api_images.c
ega/api_masks.c
ega/api_paint.c
ega/api_params.c
ega/api_path.c
ega/api_text.c
ega/handle.h
ega/vg_context.c
ega/vg_context.h
ega/vgu.c
be0665b461c776e2c4444330a865134e53f3d121 24-Jan-2011 Michel Dänzer <daenzer@vmware.com> st/xorg: Fix build failure against xserver with XF86_CRTC_VERSION < 3.

Reported by Vinson Lee.
org/xorg_crtc.c
2dac3f995b9f41168991917e250fc54d9f60cd03 23-Jan-2011 Brian Paul <brianp@vmware.com> vega: sort filenames in Makefile, SConscript
ega/Makefile
ega/SConscript
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.
gl/SConscript
gl/stw_device.c
86e5b79a274ad4ed5c169aa5626106331273311c 21-Jan-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_texture.c
484edfc8151ddf63d3e0e7be3b4c8fa3906a0ec9 21-Jan-2011 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Fix warning
ri/common/dri_drawable.c
78faf8d0e9c276a0ff1465e501d58fb3d66de2f7 20-Jan-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_asm.c
d2ff6b8715e817c1ef14d4bf12be58c19d894143 20-Jan-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_shader.c
843f537cfbf988647fec5a2aa584d5f817e8acd3 18-Jan-2011 José Fonseca <jfonseca@vmware.com> Remove executables from source tree.
3d1x/progs/bin/d3d10tri.exe
3d1x/progs/bin/d3d11gears.exe
3d1x/progs/bin/d3d11spikysphere.exe
3d1x/progs/bin/d3d11tex.exe
3d1x/progs/bin/d3d11tri.exe
326332a130baa732805489565ed806ce344cc1f6 16-Jan-2011 Chia-I Wu <olv@lunarg.com> d3d1x: Fix broken build.

st/egl native.h changed its interface in
a22a332fc7cc54d4d0973dcd21a90159cc51de1a.
3d1x/dxgi/src/dxgi_native.cpp
a22a332fc7cc54d4d0973dcd21a90159cc51de1a 12-Jan-2011 Chia-I Wu <olv@lunarg.com> egl: Improve driver selection.

The idea is to be able to match a driver using the following order

try egl_gallium with hw renderer
try egl_dri2
try egl_gallium with sw renderer
try egl_glx

given the module list

egl_gallium
egl_dri2
egl_glx

For that, UseFallback initialization option is added. The module list
is matched twice: with the option unset and with the option set. In the
first pass, egl_gallium skips its sw renderer and egl_glx rejects to
initialize since UseFallback is not set. In the second pass,
egl_gallium skips its hw renderer and egl_dri2 rejects to initialize
since UseFallback is set. The process stops at the first driver that
initializes the display.
gl/common/egl_g3d.c
gl/common/native.h
gl/drm/native_drm.c
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/x11/native_x11.c
655e4598927728a663f4cfcd6babdf7e5ad83f77 12-Jan-2011 Chia-I Wu <olv@lunarg.com> egl: Simplify driver matching.

Add initialization options that drv->API.Initialize should support.
Replace drv->Probe by TestOnly initialization option and simplify
_eglMatchDriver.
gl/common/egl_g3d.c
a4a38dcf61f141297a083ccac217200947d57b0d 13-Jan-2011 Chia-I Wu <olv@lunarg.com> egl: Cleanup _EGLDisplay initialization.

Reorder/rename and document the fields that should be set by the driver during
initialization. Drop the major/minor arguments from drv->API.Initialize.
gl/common/egl_g3d.c
a8b6b6555c7d6a02a3d095c72ebbdc218bc45cd3 09-Jan-2011 Chia-I Wu <olv@lunarg.com> scons: Updates for targets/egl-static.

Update SConscripts to re-enable or add support for EGL on windows and
x11 platforms respectively. targets/egl-gdi is replaced by
targets/egl-static, where "-static" means pipe drivers and state
trackers are linked to statically by egl_gallium, and egl_gallium is a
built-in driver of libEGL. There is no more egl_gallium.dll on Windows.
gl/SConscript
a96fe679e2f57e8e4e26c38660d8b6e5b67d5b4b 12-Jan-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_shader.c
9032d2a13ecd019206a48767d9205c0aafa7cca2 10-Jan-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'vdpau/pipe-video' into pipe-video

Conflicts:
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/drivers/softpipe/sp_video_context.c
src/gallium/include/pipe/p_format.h
src/gallium/state_trackers/xorg/xvmc/context.c
src/gallium/tests/unit/SConscript
97e9a0e23f0e06d020883c37b9d065e8978a47f4 09-Jan-2011 Chia-I Wu <olv@lunarg.com> st/egl: Fix a void pointer arithmetic warning.
gl/x11/native_dri2.c
72e30991559017c16d48569e612dbc0970e3b9ca 08-Jan-2011 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
configure.ac
src/gallium/drivers/r600/eg_asm.c
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_asm.h
src/gallium/include/pipe/p_format.h
src/gallium/targets/dri-nouveau/Makefile
c7c1e5338cd4d47168fd2654ae951955578bef8d 05-Jan-2011 Michel Dänzer <daenzer@vmware.com> st/xorg: Flesh out colour map support and support depth 8.
org/xorg_crtc.c
org/xorg_driver.c
org/xorg_tracker.h
e179a8bf34022c200deee92d328cb1bae3c3aa4a 22-Dec-2010 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video
a91128030e6c19609f6bb66a871382bbe4e3e2a4 22-Dec-2010 Vinson Lee <vlee@vmware.com> st/vega: Remove unnecessary headers.
ega/api_masks.c
ega/renderer.c
ega/shader.c
ega/text.c
ega/vg_context.c
ega/vg_manager.c
445cb9e53b1a98eb8af6ec499912a52b03fb1ce3 22-Dec-2010 Chia-I Wu <olv@lunarg.com> st/egl: Assorted fixes for dri2_display_get_configs.

Set window_bit only when the visual id is greater than zero. Correct
visual types. Skip slow configs as they are not relevant. Finally, do
not return duplicated configs.
gl/x11/native_dri2.c
a31e2e3312cae5c4253a47dc30926ceb8c821ce3 22-Dec-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix eglCopyBuffers.

Flush before presenting.
gl/common/egl_g3d_api.c
18bc427adecd7ecd728adc03ed73bb07878c0e8f 22-Dec-2010 Chia-I Wu <olv@lunarg.com> st/egl: Plug pbuffer leaks.

Unreference validated resources or remove unnecessary validations.
gl/common/egl_g3d_api.c
0fb2dcc98ff46299094c308b7b4e0cde9e38d5c0 22-Dec-2010 Chia-I Wu <olv@lunarg.com> st/egl: Allow single-buffered pixmaps.

All single-buffered configs were ignored before to make sure
EGL_RENDER_BUFFER is settable for window surfaces. It is better to
allow single-buffered configs and set EGL_WINDOW_BIT only for
double-buffered ones. This way there can be single-buffered pixmaps.
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
975b7ef92a74c33bb853b012f377fb098e84fc46 21-Dec-2010 Chia-I Wu <olv@lunarg.com> st/egl: Remove native_config::samples.

Multisample buffers are never requested.
gl/common/egl_g3d.c
gl/common/native.h
gl/x11/native_dri2.c
3a93c348280767949c80ff6dde1645b77cab143d 21-Dec-2010 Chia-I Wu <olv@lunarg.com> st/egl: Remove native_config::slow_config.

In direct rendering scenario, it is not needed until an EGLDisplay can
support both HW and SW pipe screens.
gl/common/egl_g3d.c
gl/common/native.h
gl/gdi/native_gdi.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
0364c08d7f219ef3a250a4fd8396aacfdddf0368 21-Dec-2010 Chia-I Wu <olv@lunarg.com> st/egl: Remove unnecessary egl_g3d_find_pixmap_config.

It was used to find a compatible config for a given pixmap. Now that a
config is optional for pixmap surface creation, the function is not
needed.
gl/common/egl_g3d_api.c
gl/common/egl_g3d_api.h
gl/common/egl_g3d_image.c
af767ee1133058bb24e2183e8bf2846424c96ee0 21-Dec-2010 Chia-I Wu <olv@lunarg.com> st/egl: Make config optional for create_pixmap_surface.

eglCopyBuffers or EGL_KHR_image_pixmap require creating a pixmap surface
without a config. Make it just work without relying on
is_pixmap_supported.
gl/common/native.h
gl/x11/native_dri2.c
gl/x11/native_ximage.c
a14f79f801c52ac6d757ec6ab4c90a8cf952912b 20-Dec-2010 Vinson Lee <vlee@vmware.com> st/python: remove unused 'buf' parameter in pipe_buffer_unmap

This is a follow-up to commit ec51092a72e2dff1e9b1362d813fe4691cda89b7.

Fixes SCons build.
ython/p_context.i
9f2062fb12aa4e0d69583e88e70080efe70e1967 26-Dec-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix eglChooseConfig when configs is NULL.

When configs is NULL, the app wants to know the number of matching
configs.
gl/common/egl_g3d_api.c
7f178ffbf151b08f6d555187ac0f5ec21768d8c0 24-Dec-2010 Vinson Lee <vlee@vmware.com> st/egl: Remove unnecessary header.
gl/common/egl_g3d_image.c
772b25e1f366edc857e77b8c1ccdc5297d82cc41 11-Dec-2010 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_texture.c
8f2a974cf2c9b6c00dfac11be4316a7d121dfbb4 06-Dec-2010 Chia-I Wu <olv@lunarg.com> mapi: Rewrite mapi_abi.py to get rid of preprocessor magic.

The preprocessor magic in mapi was nothing but obfuscation. Rewrite
mapi_abi.py to generate real C code.

This commit removes the hack added in
43121f20866bb89e8dac92bd92ec85a943704b7e.
ega/.gitignore
ega/Makefile
ega/SConscript
ega/api.c
ega/api.h
5ae4b6693a8254236435960ef84701fe405fe59b 06-Dec-2010 Chia-I Wu <olv@lunarg.com> egl: _eglFilterArray should not allocate.

Otherwise, when it is called from within a driver, the caller cannot
free the returned data (on Windows).
gl/common/egl_g3d_api.c
6947e5254889b99bfba7104d15e9526a7bc1cdfa 04-Dec-2010 Marek Olšák <maraeo@gmail.com> r300g: cleanup winsys
gl/drm/native_drm.c
859106f196ade77f59f8787b071739901cd1a843 04-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Fix pipe blend state for various blend modes.

rgb_src_factor and rgb_dst_factor should be PIPE_BLENDFACTOR_ONE for
VG_BLEND_SRC_IN and VG_BLEND_DST_IN respectively. VG_BLEND_SRC_OVER can
be supported only when the fb has no alpha channel. VG_BLEND_DST_OVER
and VG_BLEND_ADDITIVE have to be supported with a shader.

Note that Porter-Duff blending rules assume premultiplied alpha.
ega/renderer.c
ega/shader.c
ega/vg_context.c
0ee73edeccd21034e03e9e43dd0d09fa6fbf7842 04-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add blend shaders for all blend modes.
ega/asm_fill.h
ega/shader.c
ega/shaders_cache.c
ega/shaders_cache.h
5d244111404fc36c55266f9703f81b27a5200a47 04-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Fix VG_BLEND_MULTIPLY.

TEMP[1].w will be needed for OUT.w just below. Use TEMP[0] to store the
intermediate value.
ega/asm_fill.h
8aa4cd0e503820e545cceeaa2357d670b948db27 04-Dec-2010 Vinson Lee <vlee@vmware.com> st/vega: Silence uninitialized variable warning.

Fixes this GCC warning.
api_filters.c: In function 'execute_filter':
api_filters.c:184: warning: 'tex_wrap' may be used uninitialized in this function
ega/api_filters.c
e87a0cd260804a2488ef3eb1cf988fef1dd70e06 04-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Blending should use premultiplied alpha.

Convert color values to and back from premultiplied form for blending.
Finally the rendering result of the blend demo looks much closer to that
of the reference implementation.
ega/asm_fill.h
e8ff3931f801dffdfd54832c298351e933688235 03-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add support for per-channel alpha.

Drawing an image in VG_DRAW_IMAGE_STENCIL mode produces per-channel
alpha for use in blending. Add a new shader stage to produce and save
it in TEMP[1].

For other modes that do not need per-channel alpha, the stage does

MOV TEMP[1], TEMP[0].wwww
ega/asm_fill.h
ega/shader.c
ega/shaders_cache.c
ega/shaders_cache.h
a19eaaa6c1956add5343295af7e9f682efa08d74 04-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Move masking after blending.

Masking should happen after blending. The shader is not entirely
correct, but leave it as is for now.
ega/asm_fill.h
ega/shader.c
ega/shaders_cache.c
ega/shaders_cache.h
3b4c8886539b02653761f092a387c27b5c562496 03-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Refactor blend shaders.

Add a helper function, blend_generic, that supports all blend modes and
per-channel alpha. Make other blend generators a wrapper to it.

Both the old and new code expects premultiplied colors, yet the input is
non-premultiplied. Per-channel alpha is also not used for stencil
image. They still need to be fixed.
ega/asm_fill.h
a09baf166826aba5be7dcf2347047129730f1628 03-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add some comments to pipeline shaders.
ega/asm_fill.h
5be631ce83c3801421c79240be2f422958b206a5 03-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add a missing break.
ega/api_params.c
a84a1e344f544ec4da61809d4f09853a94d93e07 02-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Move vertex transformation to shader.

It was done in path-to-polygon conversion. That meant that the
results were invalidated when the transformation was modified, and CPU
had to recreate the vertex buffer with new vertices. It could be a
performance hit for apps that animate.
ega/image.c
ega/mask.c
ega/path.c
ega/path.h
ega/renderer.c
ega/renderer.h
ega/shader.c
ega/shader.h
29bea39fde0b3be89a34bf0d979f33f601412eee 03-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Set pipe_resource::array_size to 1.
ega/mask.c
9028f24b8af52fcd268cccd1b4a3856424b9a424 03-Dec-2010 Chia-I Wu <olv@lunarg.com> st/egl: Set pipe_resource::array_size to 1.
gl/common/egl_g3d_image.c
63df5a464e984af771b3896d05baa258912ac202 02-Dec-2010 José Fonseca <jfonseca@vmware.com> wgl: Fix visual's buffer_mask configuration.
gl/stw_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.
gl/SConscript
gl/stw_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.
gl/stw_context.c
e5ffa9aa474b40a17a2b3206a29fdc7540637c5e 02-Dec-2010 José Fonseca <jfonseca@vmware.com> wgl: Fix double free. Remove dead code.
gl/stw_st.c
cb2791213a660dc39c22872ea9095bdfaa61aae4 02-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: polygon_array requires a deep free.

A polygon array is an array of pointers to polygons. The polygons
should be freed with the array.
ega/path.c
b950d6fa5d1a62ae81b83e20e07f373d8c777ac0 02-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Destroy the pipe context with vg_context.
ega/vg_manager.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).
3d1x/dxgi/src/dxgi_native.cpp
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_screen.h
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri2.c
ri/sw/drisw.c
gl/common/egl_g3d.h
gl/common/egl_g3d_api.c
gl/common/egl_g3d_image.c
gl/common/egl_g3d_st.c
gl/common/native_helper.c
gl/x11/native_dri2.c
lx/xlib/xm_st.c
ython/p_context.i
ython/p_state.i
ython/p_texture.i
ython/st_device.c
ython/st_device.h
ython/st_sample.c
ega/api_filters.c
ega/api_images.c
ega/image.c
ega/mask.c
ega/paint.c
ega/renderer.c
ega/vg_context.c
ega/vg_manager.c
gl/stw_framebuffer.c
gl/stw_framebuffer.h
gl/stw_st.c
gl/stw_winsys.h
org/xorg_composite.c
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_renderer.c
org/xorg_xv.c
6f7c8c3cbf68ab9b587235198e19af30c1a60a82 01-Dec-2010 José Fonseca <jfonseca@vmware.com> vega: Remove extraneous ;
ega/renderer.c
0dadc0b808bb2100f3d2d067b950f3f13081af40 01-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Avoid unnecessary constant bufer upload.

Remember the last uploaded data and avoid re-uploading.
ega/renderer.c
d7a6901cac48cc3c4eea24113e108ef9dce843c4 01-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Initialize pipe states with renderer.

Initialize vertex elements, rasterizer, stencil ref, and vertex shader
with renderer_create. Remove RASTERIZER_DIRTY and VS_DIRTY flags.
ega/renderer.c
ega/vg_context.c
ega/vg_context.h
c91c38601234dc67fa356160cbe3bd389cac083a 01-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Create drawing surface mask as needed.

As the blend texture, a drawing surface mask is used when masking is
enabled. It should be created as needed.

s/alpha_mask/surface_mask/ to follow OpenVG 1.1 naming.
ega/mask.c
ega/vg_context.c
ega/vg_context.h
04f342b4170366e417aa0c414cc536337270d3ab 01-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Delay blend texture creation until needed.

It is used for more advanced blending or mask update. It might not be
ever needed for some applications.
ega/mask.c
ega/shader.c
ega/vg_context.c
ega/vg_context.h
f8e0dd246b26281d31d4f37799985e27368ba2f4 01-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Remove st_inlines.h.

Per b0427bedde80e3189524651a327235bdfddbc613.
ega/api_filters.c
ega/mask.c
ega/paint.c
ega/st_inlines.h
ega/vg_context.c
2bb788ccc674669bc03ad09e4396f079044112e8 01-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Simplify radial gradient.

Eight less instructions with comments.
ega/asm_fill.h
d7aa03b4feb7c30408b2ed3070e0fe33e2fd05ba 01-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Fix degenerate paints.

Fix the case that the two points of a linear gradient coincide, or the
case that the radius of a radial gradient is equal to or less than 0.
ega/asm_fill.h
ega/paint.c
ega/paint.h
ega/shader.c
ega/shaders_cache.c
ega/shaders_cache.h
06e7a5502817d9df7f023083b135c8cd327c3e6c 01-Dec-2010 Chia-I Wu <olv@lunarg.com> st/vega: Fix negated logic in image_draw.

A typo from last commit.
ega/image.c
b06de80843e7d096bed4ae03ddc5e2842f1876af 30-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Fix paint coordinates transformations.

Depending on whether vgDrawPath(mode), vgDrawImage, or vgDrawGlyph[s] is
called, different paint-to-user and user-to-surface matrices should be
used to derive the sample points for the paint.

This fixes "paint" demo.
ega/image.c
ega/matrix.h
ega/paint.c
ega/paint.h
ega/path.c
ega/shader.c
ega/shader.h
ega/vg_context.c
ega/vg_context.h
ca8bc9c05b2126e949425dc967923c27f62ef378 29-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Bump version to 1.1.
ega/api_misc.c
e360f91f152615b35857a4d008d0439a3c3285a8 29-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add color transformation support.

Per OpenVG 1.1. A new shader stage is added. It uses the first two
constants of the fragment shader for color transformation parameters.
ega/asm_fill.h
ega/mask.c
ega/shader.c
ega/shader.h
ega/shaders_cache.c
ega/shaders_cache.h
ega/vg_context.c
213e288e78bf5b0fb0a996cc17dfd959756c2c53 29-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: More flexible shader selection.

Divide bits of VegaShaderType into 6 groups: paint, image, mask, fill,
premultiply, and bw. Each group represents a stage. At most one shader
from each group will be selected when constructing the final fragment
shader.
ega/asm_fill.h
ega/shaders_cache.c
ega/shaders_cache.h
30cab4b6cbf741e1ae727bfaed10cc3772e4dff9 28-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Revive mask layer support.
ega/api_masks.c
ega/mask.c
ega/renderer.c
ega/renderer.h
ega/vg_context.c
5d64a06a6322b6e6f88233e79c6431e96eda7de6 23-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add primitive text support.

Optional features such as auth-hinting are not implemented. There is no
anti-aliasing, and no effort is done to keep the glyph origin integral.
So the text quality is poor.
ega/Makefile
ega/api_params.c
ega/api_text.c
ega/text.c
ega/text.h
34f466d4e6a720138c0846ab6233c32dc039fe58 24-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Make image_draw take a matrix.
ega/api_images.c
ega/image.c
ega/image.h
165cb19abc4279839b0f5f53eb2feac60c2f415e 24-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Make path_render and path_stroke take a matrix.
ega/api_path.c
ega/mask.c
ega/path.c
ega/path.h
d873f1f5b63e7243c20751e92389e4189d39fd42 23-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Fix image sampler views for alpha-only formats.

For alpha-only VG formats, R = G = B = 1.0.
ega/image.c
56f02cedfaca9755d2855ec3fe075ccfe5e85c0a 19-Apr-2010 Chia-I Wu <olv@lunarg.com> st/vega: Update to latest headers.
ega/api_text.c
ega/mask.c
20ce148c305200c760f34d2098d92bc77cb6deee 28-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Get rid of renderer_copy_texture.
ega/image.c
ega/mask.c
ega/renderer.c
ega/renderer.h
33ca973e7a6036566aa7363681419a58a30ab0f3 28-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: vg_copy_texture and vg_copy_surface should share code.
ega/image.c
4690cdfe076a03b6e9da1db9f1908a663c49c820 27-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Clean up renderer fields and functions.
ega/renderer.c
ega/renderer.h
ace4539e88f6ef90d8e9fd2f1543eca0ae854b82 27-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Clean up vg_context fields and functions.
ega/asm_util.h
ega/renderer.c
ega/vg_context.c
ega/vg_context.h
635fe3e1927f812a69a68ec3e03d9ab7a2c3a5d9 27-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: vg_manager should care about only the color buffer.

Move depth/stencil buffer, blend texture view, and alpha mask view
creation to vg_context.c.
ega/vg_context.c
ega/vg_manager.c
ee0f1ab923cc52b5eeacc47a749561d1c7216207 28-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Make shader_bind call into the renderer.

With this commit, the pipe states are entirely managed by the renderer.
The rest of the code interfaces with the renderer instead of
manipulating the states directly.
ega/renderer.c
ega/renderer.h
ega/shader.c
b730f0fc52a208b5f2a308199724ab02aa391fec 27-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Move g3d states to renderer.

Let vg_context focus on OpenVG states and renderer focus on gallium
states.
ega/renderer.c
ega/renderer.h
ega/vg_context.c
ega/vg_context.h
96c6637a1360f146bbf49ffb207ae943ecbbdf49 27-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Use st_framebuffer for fb width/height.

This allows us to eventually make g3d states opaque.
ega/api_images.c
ega/api_masks.c
ega/mask.c
ega/vg_context.c
438359597cd4254558f4d2fd5b54eb32c03e1b4c 27-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Delay fb state update to vg_validate_state.

vg_manager_validate_framebuffer should mark the fb dirty and have
vg_validate_state call cso_set_framebuffer. Rename VIEWPORT_DIRTY to
FRAMEBUFFER_DIRTY.
ega/vg_context.c
ega/vg_context.h
ega/vg_manager.c
3b71cb6ad6dabfefc9363a35872f4e70e1125603 27-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add POLYGON_STENCIL and POLYGON_FILL renderer state.

The states are designated for polygon filling. Polygon filling is a
two-pass process utilizing the stencil buffer. polygon_fill and
polygon_array_fill functions are updated to make use of the state.
ega/polygon.c
ega/renderer.c
ega/renderer.h
b23f732075fc4e1cd9cbf5eaaaaa8ef8dc2b7922 28-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Use the renderer for vgMask.

vgMask renders to the alpha mask with special fragment shaders. The
operation can be supported by switching the renderer to FILTER state.
ega/mask.c
e5968a5355f0165aa7f3f8e71a27df884e5a3efb 26-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add FILTER renderer state for image filtering.

The state is designated to perform image filtering. execute_filter is
updated to make use of the state.
ega/api_filters.c
ega/renderer.c
ega/renderer.h
6b241f532a21990a7849c5a786504f7ac4124f76 26-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add CLEAR renderer state for vgClear.

This state provides the ability to clear rectangles of the framebuffer
to the specified color, honoring scissoring. vegaClear is updated to
make use of the state.
ega/api_masks.c
ega/renderer.c
ega/renderer.h
54cb382ea55610688c97465ef048a4990b8fd4d7 26-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add SCISSOR renderer state.

The state can be used to set rectangles of the depth buffer to 0.0f.
update_clip_state is changed to use the state for scissor update.
ega/renderer.c
ega/renderer.h
ega/vg_context.c
e31a04ea3bc957b2a43b910b1f51807b12da18a6 26-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Add DRAWTEX renderer state.

This state provides glDrawTex-like function. It can be used for
vgSetPixels.

Rather than modifying every user of the renderer, this commit instead
modifies renderer_copy_surface to use DRAWTEX or COPY state internally
depending on whether the destination is the framebuffer.
ega/renderer.c
ega/renderer.h
59309337e40106f734efc1e33f956f6f1f4301ac 26-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Overhaul renderer with renderer states.

Renderer states are high-level states to perform specific tasks. The
renderer is initially in INIT state. In that state, the renderer is
used for OpenVG pipeline.

This commit adds a new COPY state to the renderer. The state is used
for copying between two pipe resources using textured drawing. It can
be used for vgCopyImage, for example.

Rather than modifying every user of the renderer, this commit instead
modifies renderer_copy_texture to use the COPY state internally.
ega/renderer.c
ega/renderer.h
31aeac5bf91f3b1daacb1aa27505bfb25215da87 29-Nov-2010 José Fonseca <jfonseca@vmware.com> wgl: More complete WGL_ARB_pbuffer support.
gl/stw_device.c
gl/stw_device.h
gl/stw_ext_pbuffer.c
gl/stw_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
gl/SConscript
gl/stw_ext_extensionsstring.c
gl/stw_ext_pbuffer.c
gl/stw_getprocaddress.c
9cff90534389c2aad9b58ff04b1a5d624e3d0bdb 25-Nov-2010 Christian König <deathsimple@vodafone.de> [g3dvl] add dump option to xvmc
org/xvmc/surface.c
ba1128db4582d8c54834b771749ee503738243fc 25-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Fix a typo in EXTENDED_BLENDER_OVER_FUNC.

The typo was introduced by commit
231d5457b275c1d9bbeff14165cf3da33dda176b.
ega/asm_fill.h
c9fb8c3bcfe86063c0903ae90100c1bfdb49cbbd 25-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: No flipping in vg_prepare_blend_surface.

The blend sampler view is addressed with unnormalized coordinates in the
fragment shader. It should have the same orientation as the surface
does.
ega/vg_context.c
37ec090ac9025529325209b2b616a2d6ece4c367 24-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Masks and surfaces should share orientation.

The alpha mask is addressed with unnormalized coordinates in the
fragment shader. It should have the same orientation as the surface
does.

This fixes "mask" OpenVG demo.
ega/mask.c
9ea4936a36f5011695a3996c63cfad6b480b3e49 24-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Fix a crash with empty paths.
ega/path.c
0b1c0460a0ec52a7bff7887022f080d85228a658 24-Nov-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Add a function to flush pending rendering and damage

This is needed to properly sync with host side rendering. For example,
make sure we flush colorkey painting before updating the overlay.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_driver.c
org/xorg_tracker.h
e6b71530daea3059ee362d4df51575e27e026b22 21-Nov-2010 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video

Conflicts:
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
42c7291d2cb50c2bd94dd9346a8402a24303d66d 21-Nov-2010 Christian König <deathsimple@vodafone.de> [g3dvl] inverse check for iDCT
org/xvmc/context.c
b8f6cb380951463f86e6f9e7bb3a18a87fe2f53e 21-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Fix vgReadPixels with a subrectangle.

Fix a crash when the subrectangle is not inside the fb. Fix wrong
pipe transfer when sx > 0 or sy + height != fb->height.

This fixes "readpixels" demo.
ega/api_images.c
e8bbaff22e75953b1c8a259753dbd8658998305e 21-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Set wrap_r for mask and blend samplers.

These two samplers use non-normalized texture coordinates. wrap_r
cannot be PIPE_TEX_WRAP_REPEAT (the default).

This fixes

sp_tex_sample.c:1790:get_linear_unorm_wrap: Assertion `0' failed

assertion failure.
ega/vg_context.c
daa265e53c4c84682514ed59dda88a8bdb86d0fe 21-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: vegaLookupSingle should validate the state.

Fix "lookup" demo crash.
ega/api_filters.c
997a2547d10890dbc00f2c48191cde58a2ee37c8 17-Nov-2010 Chia-I Wu <olv@lunarg.com> st/glx: Replace MESA_VERSION_STRING by xmesa_get_name.

xmesa_get_name returns the name of the st_api, which is the same as
MESA_VERSION_STRING.
lx/xlib/glx_api.c
lx/xlib/xm_api.c
lx/xlib/xm_api.h
db1689c23629d2cf66a7a35ed0e899006ef2af52 10-Nov-2010 Chia-I Wu <olv@lunarg.com> st/wgl: Use st_context_iface::share for DrvShareLists.
gl/stw_context.c
28105471afce634df6c35ef14b198fe6e3684c00 17-Nov-2010 Chia-I Wu <olv@lunarg.com> gallium: Add st_api::name.

It is the name of the rendering API. This field is informative.
ega/Makefile
ega/SConscript
ega/vg_manager.c
cc5c908d7deab59f3512e1a5762fd058c4ae5940 17-Nov-2010 Chia-I Wu <olv@lunarg.com> st/vega: Do not wait NULL fences.
ega/api_context.c
3cbe27a9888b94d1ab24b5e76ebd7563a7d8c6b8 14-Nov-2010 Christian König <deathsimple@vodafone.de> [g3dvl] ups missed this check
org/xvmc/context.c
195bbe8ce218533569dde1368d04da0fd229913d 11-Nov-2010 Christian König <deathsimple@vodafone.de> Merge remote branch 'origin/master' into pipe-video
5182416f030af71bd2fa4b00edffc268cec0e050 09-Nov-2010 Christian König <deathsimple@vodafone.de> [g3dvl] start handling motion_vertical_field_select
org/xvmc/surface.c
5b6ec5a553876266bfa2ef65081aa1075419b97e 09-Nov-2010 Chia-I Wu <olv@lunarg.com> st/dri: Add support for surfaceless current contexts.

Tested with Wayland.
ri/common/dri_context.c
ri/common/dri_drawable.h
ri/common/dri_screen.c
8e630fad7260ea9e0c2792f4424a0c1ab0353cc9 01-Nov-2010 Thomas Hellstrom <thellstrom@vmware.com> st/egl: Fix build for include files in nonstandard places

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
gl/Makefile
gl/x11/native_x11.h
34e5ae5aed8187e0f6395dee2985091cea3a6df6 06-Nov-2010 Christian König <deathsimple@vodafone.de> [g3dvl] motion type depends on picture structure not dct type
org/xvmc/surface.c
f1600d3a9725803f0526fb3fd673787307539d27 05-Nov-2010 Jakob Bornecrantz <jakob@vmware.com> scons: Unify state tracker SConscripts
ri/drm/SConscript
ri/sw/SConscript
lx/xlib/SConscript
org/SConscript
7e9f5eab4e18e0b661fc9b65a0f409d10e041b24 05-Nov-2010 Jakob Bornecrantz <jakob@vmware.com> scons: Move dependancy checks to the main gallium scons file
ri/drm/SConscript
ri/sw/SConscript
gl/SConscript
lx/xlib/SConscript
gl/SConscript
org/SConscript
b4ac0adb75bddc1c17c57eb19c7e6dde52e4b7e7 04-Nov-2010 Jakob Bornecrantz <jakob@vmware.com> scons: Detabify

Drivers scons files for a later time
ri/SConscript
ri/drm/SConscript
ri/sw/SConscript
ega/SConscript
gl/SConscript
d49dfe66cfb0e13094e5918b9857c4eb474a53f6 03-Nov-2010 José Fonseca <jfonseca@vmware.com> st/xorg: Detect libkms with scons too.
org/SConscript
12376d8ea384f8a984daf6892a2bd07a70604962 03-Nov-2010 José Fonseca <jfonseca@vmware.com> st/xorg: Add missing \n to error message.
org/xorg_driver.c
b19b8580602a6ba37e81dc8b64c4ed30c1518886 03-Nov-2010 Brian Paul <brianp@vmware.com> egl/gdi: fix typo: xsurf->gsurf
gl/gdi/native_gdi.c
3f7876d76f0dabfe0be7a7edb44946334a6fedc2 10-Oct-2010 Chia-I Wu <olv@lunarg.com> st/egl: Use native_display_buffer for EGL_MESA_drm_image.

native_display_buffer is just a wrapper to resource_{from,get}_handle
for drm backend.
gl/common/egl_g3d.c
gl/common/egl_g3d_image.c
gl/drm/native_drm.c
af977b53826695afcdcfe900816a93671aec00f5 10-Oct-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add native_display_buffer interface.

The interface is a wrapper to pipe_screen::resource_from_handle and
pipe_screen::resource_get_handle. A winsys handle is
platform-dependent.
gl/common/native.h
gl/common/native_buffer.h
a5f4338fc4f9b4500c5754de237f77549b3cedf8 11-Oct-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add extern "C" wrapper to native.h.

This allows a backend to be written in C++.
gl/common/native.h
04ae53ca8a844fbb2764b6ecb942b68a6db850e7 03-Nov-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add support for EGL_MATCH_NATIVE_PIXMAP.

Added for completeness. It makes sense to have such mechanism, but I am
not aware of any user of that..
gl/common/egl_g3d_api.c
b8cb14209a3a694eaaa6451e19d79e5b2f789a30 03-Nov-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add support for swap interval and swap behavior.

The value of EGL_MAX_SWAP_INTERVAL and whether
EGL_SWAP_BEHAVIOR_PRESERVED_BIT is set will depend on the native
backend used.
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
828d944fd6670b44b2dd640a92bc0f9fe983a520 03-Nov-2010 Chia-I Wu <olv@lunarg.com> st/egl: Remove flush_frontbuffer and swap_buffers.

They are deprecated by native_surface::present and there is no user of
them.
gl/common/native.h
gl/drm/modeset.c
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
250d81da256fc919544f8c97b4e2364d3795f6c0 03-Nov-2010 Chia-I Wu <olv@lunarg.com> d3d1x: Use native_surface::present.

Replace native_surface::flush_frontbuffer and
native_surface::swap_buffers calls by native_surface::present calls.
3d1x/dxgi/src/dxgi_native.cpp
0ae4b23c534bc4182a019ab7d6a174588a42f844 03-Nov-2010 Chia-I Wu <olv@lunarg.com> st/egl: Use native_surface::present callback.

Replace native_surface::flush_frontbuffer and
native_surface::swap_buffers calls by native_surface::present calls.
gl/common/egl_g3d_api.c
gl/common/egl_g3d_st.c
94bf657b2390a1cb72d748047e5c7014e4bc1752 03-Nov-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add native_surface::present callback.

The callback presents the given attachment to the native engine. It
allows the swap behavior and interval to be controlled. It will replace
native_surface::flush_frontbuffer and native_surface::swap_buffers
shortly.
gl/common/native.h
gl/drm/modeset.c
gl/drm/native_drm.c
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
93a7e6d94e09a25bdbe31eedb0759e390ccb6a86 03-Nov-2010 Vinson Lee <vlee@vmware.com> st/vega: Remove unnecessary headers.
ega/api_filters.c
ega/api_images.c
ega/api_masks.c
ega/api_paint.c
ega/api_path.c
ega/api_text.c
ega/image.c
ega/paint.c
ega/polygon.c
ega/renderer.c
ega/shaders_cache.c
ega/vg_context.c
583e41855b0ae6b9a102b39ac62238472f4cf05a 01-Nov-2010 José Fonseca <jfonseca@vmware.com> scons: Disable python state tracker when swig is not present.
ython/SConscript
601498ae73e654c2de997ea75075613a694d604d 01-Nov-2010 José Fonseca <jfonseca@vmware.com> scons: Revamp how to specify targets to build.

Use scons target and dependency system instead of ad-hoc options.

Now is simply a matter of naming what to build. For example:

scons libgl-xlib

scons libgl-gdi

scons graw-progs

scons llvmpipe

and so on. And there is also the possibility of scepcified subdirs, e.g.

scons src/gallium/drivers

If nothing is specified then everything will be build.

There might be some rough corners over the next days. Please bare with me.
gl/SConscript
lx/xlib/SConscript
ython/SConscript
ega/SConscript
org/SConscript
6102683b191c5306a5ff40978d020393635b7c62 31-Oct-2010 Benjamin Franzke <benjaminfranzke@googlemail.com> st/egl image: multiply drm buf-stride with blocksize

[olv: formatted for 80-column wrapping]
gl/common/egl_g3d_image.c
2b296ec77c2b95e7632b45100de5a0878ac2a294 28-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: initial implementation of vlVaQueryImageFormats(), vlVaCreateImage(), vlVaQuerySubpictureFormats(), vlVaCreateSurfaces(), vlVaQueryConfigEntrypoints(), vlVaQueryConfigProfiles()
a/ftab.c
a/htab.c
a/va_config.c
a/va_context.c
a/va_display.c
a/va_image.c
a/va_picture.c
a/va_private.h
a/va_subpicture.c
a/va_surface.c
41ed47d6b8fb6c032e2907ef2e49e414c26f35c1 28-Oct-2010 Christian König <deathsimple@vodafone.de> Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-video

Conflicts:
src/gallium/include/pipe/p_format.h
8ba4c96f8204003ff0d5247d71c0855827810560 28-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: rest of va stubs
a/Makefile
a/va_config.c
a/va_context.c
a/va_image.c
a565f58edaad646942f2174e66ef1343f56ae679 28-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: enable target va-r600
a/va_subpicture.c
3fac09ad873b8a5239f84d07dc12e8b08a117561 28-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: Initial implementation of vlVaQuerySubpictureFormats.
a/va_subpicture.c
fd2cbe94dfaa98b79c16fb81d7bac84c5c683249 28-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: small typos and stuff
a/va_config.c
a/va_private.h
a/va_surface.c
6b6310e67ce1d2c5729d91c704302282998ed35e 27-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: morefixes to Luc's patch
a/ftab.c
a/va_buffer.c
a/va_surface.c
664f10625a74a7e0ed1bfd44b2fb6f44bd8828a2 27-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: rest of Luc's patch
a/va_buffer.c
a/va_config.c
a/va_display.c
a/va_picture.c
a/va_surface.c
990cb6296351a41a2e728f181c0dc096eaddaeb7 27-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: commited Orasanu Lucian's patch containing va stubs.
a/Makefile
a/ftab.c
a/va_context.c
a/va_image.c
a/va_private.h
a/va_subpicture.c
org/xvmc/context.c
dbf3a15313eed930a3d8fdde12e457259c43651b 26-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> Merge branch 'master' into pipe-video

Conflicts:
src/gallium/include/pipe/p_format.h
1dccc4cfaa423f15ab582d2a0253a84a0ae0b9fa 25-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: add'ed stub for VaCreateImage
a/ftab.c
a/va_image.c
a/va_private.h
aea4d004d2781ebb9cf437c9125ca232dd2d0aeb 25-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: more stub work for a va implementation
a/Makefile
a/ftab.c
a/va_context.c
a/va_image.c
a/va_private.h
a/va_subpicture.c
501ac572c604ef248ed41311a065bc5f4746fcb3 24-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: va state-tracker configuration scripts
a/Makefile
a/ftab.c
a/htab.c
a/va_private.h
dpau/mpeg2_bitstream_parser.h
dpau/vdpau_private.h
b122e50c3eabf157f8b7a3647590a37abd276c5c 23-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: initial va-api implementation
a/Makefile
a/ftab.c
a/htab.c
a/va_private.h
6c13fdf60e610f670c812a310e2a3cc9f5bed568 23-Oct-2010 Chia-I Wu <olv@lunarg.com> st/egl: Use resource reference count for egl_g3d_sync.
gl/common/egl_g3d.h
gl/common/egl_g3d_sync.c
d19afc57fe49816f3f3290410e0124d326577be2 22-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Use reference counting to replace IsLinked or IsBound.

Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update
_eglBindContext and drivers to do reference counting.
gl/common/egl_g3d_api.c
662e098b560c6983f5ac320cc5ff7a82ecdc5f8a 23-Oct-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix native_mode refresh mode.

Define the unit to match _EGLMode's.
gl/common/native_modeset.h
gl/drm/modeset.c
e32ac5b8a963202dcdfb91354f77979765083000 22-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Fix _eglModeLookup.

Internally a mode belongs to a screen. But functions like
eglGetModeAttribMESA treat a mode as a display resource: a mode can be
looked up without a screen. Considering how KMS works, it is better to
stick to the current implementation.

To properly support looking up a mode without a screen, this commit
assigns each mode (of all screens) a unique ID.
gl/common/egl_g3d.c
37213ceacc2d7b309de7641da501282f8f24c8c2 22-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Minor changes to the _EGLScreen interface.

Make _eglInitScreen take a display and rename _eglAddScreen to
_eglLinkScreen. Remove unused functions.
gl/common/egl_g3d.c
8a6bdf3979c2dda0efc6771308bf9e5c32bbdab4 22-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Minor changes to the _EGLConfig interface.

Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean
ups.
gl/common/egl_g3d.c
5664a983867038de48e71b65df89e0e254085af2 22-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Parse image attributes with _eglParseImageAttribList.

Avoid code duplications.
gl/common/egl_g3d_image.c
713c8734f45b51b3758ecc95b96cf7b5aecacec8 22-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Move attributes in _EGLImage to _EGLImageAttribs.

The opaque nature of EGLImage implies that extensions almost always
define their own attributes. Move attributes in _EGLImage to
_EGLImageAttribs and add a helper function to parse attribute lists.
gl/common/egl_g3d_image.c
a143b6d5d8e2646a7daedc2a13f2b964b89dd0ac 19-Oct-2010 Vinson Lee <vlee@vmware.com> st/xorg: Fix memory leak on error path.
org/xorg_exa.c
9e96b695b0bc59e01e69fd266f542dc3948114ad 19-Oct-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Fix compilation for Xservers >= 1.10

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_driver.c
2ab7a8a3ebf337aeed61166719adef9da4a1278a 19-Oct-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Don't use deprecated x*alloc / xfree functions

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
org/xorg_output.c
0301c9ac6207f21bae9e35c7f0bc18ea12491162 19-Oct-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Fix compilation errors for Xservers compiled without Composite

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_xv.c
0d0a6e9096f98cd6142d6a883e9a2884ccea0adb 14-Oct-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg, xorg/vmwgfx: Be a bit more frendly towards cross-compiling environments

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/Makefile
d6de1f44a0cdcc739d3b319b5f102e1733e5b4e3 14-Oct-2010 Chia-I Wu <olv@lunarg.com> st/egl: Do not finish a fence that is NULL.

i915g would dereference the NULL pointer.
gl/common/egl_g3d_api.c
c97c77d8698ddab1c8a2900fe7c82e1d111ccb8a 14-Oct-2010 Chia-I Wu <olv@lunarg.com> st/egl: Access _EGLConfig directly.

Drop the use of SET_CONFIG_ATTRIB. Fix the value of EGL_SAMPLE_BUFFERS
along the way.
gl/common/egl_g3d.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
lx/xlib/xm_api.c
31aca27c08d6a385c595d34fe4ee06390bf5b0e8 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLframebuffer typedef and just use struct gl_framebuffer
lx/xlib/xm_api.c
d3491e775fb07f891463b2185d74bbad62f3ed24 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Rename GLvisual and __GLcontextModes to struct gl_config
ri/common/dri_context.c
ri/common/dri_context.h
ri/common/dri_drawable.c
ri/common/dri_drawable.h
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri2.c
ri/sw/drisw.c
lx/xlib/xm_api.c
lx/xlib/xm_api.h
705e142dda047f24b563fc2bea0f922173e91d1b 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> gl: Remove unused GLcontextModes fields
lx/xlib/xm_api.c
lx/xlib/xm_api.h
e3c1c5377c7fcd17085bfb22fbc1cf30646751ba 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Get rid of GL/internal/glcore.h

__GLcontextModes is always only used as an implementation internal struct
at this point and we shouldn't install glcore.h anymore. Anything that
needs __GLcontextModes should just include the struct in its headers files
directly.
gl/x11/glcore.h
gl/x11/glxinit.c
gl/x11/x11_screen.h
2990292f0fdf36ae55c909da84f8927dc1aa9ae1 13-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: more work on the bitstream_parser
dpau/mpeg2_bitstream_parser.c
dpau/mpeg2_bitstream_parser.h
695cc370a280a637f411f5ff3877b3fd1c05e424 12-Oct-2010 Christian König <deathsimple@vodafone.de> Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-video

Conflicts:
configure.ac
src/gallium/drivers/nvfx/Makefile
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_screen.h
src/gallium/include/state_tracker/dri1_api.h
src/gallium/include/state_tracker/drm_api.h
src/gallium/winsys/nouveau/drm/nouveau_drm_api.c
893620e52ea2b6ffc2e50f6bd9b7def76c405424 12-Oct-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Fix typo

Pointed out by Jakob Bornecrantz.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_driver.c
0ad9d8b5384c64ed57eed986af42508be5467e69 12-Oct-2010 Brian Paul <brianp@vmware.com> st/xlib: add some comments
lx/xlib/xm_st.c
b6b7ce84e517cfb7d1c02ef2f389c8f2e5fea04c 12-Oct-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Don't try to remove invalid fbs

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_driver.c
bfd065c71ed6df1e1ce1a2a7e6bcf6bdacac38d4 12-Oct-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Add a customizer option to get rid of annoying cursor update flicker

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_crtc.c
org/xorg_driver.c
org/xorg_tracker.h
ec08047a801e430ab4db002aa68e5d412bf40b7e 12-Oct-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Don't try to use option values before processing options

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_driver.c
7d2bdc2d4db8321a72edcc921a0fcfa4e4d41ef9 08-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: bitstream decoder finds startcodes
dpau/decode.c
dpau/ftab.c
dpau/mpeg2_bitstream_parser.c
dpau/mpeg2_bitstream_parser.h
dpau/surface.c
dpau/vdpau_private.h
b2c0ef8b51ce86388335e83f2390940cb8fbc12f 06-Oct-2010 Chia-I Wu <olv@lunarg.com> st/vega: Fix version check in context creation.

This fixes a regression since 4531356817ec8383ac35932903773de67af92e37.
ega/vg_manager.c
bff1ac875c2c62ba5045bb953f800253c49361cb 07-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: some more fixes and addition to the decoder handling
dpau/decode.c
dpau/device.c
dpau/mixer.c
dpau/vdpau_private.h
65fe0866aec7b5608419f6d184cb1fa4fe1dc45a 06-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: implemented a few functions and made stubs to get mplayer running
dpau/Makefile
dpau/decode.c
dpau/device.c
dpau/ftab.c
dpau/header.c
dpau/mixer.c
dpau/mpeg2_bitstream_parser.c
dpau/output.c
dpau/preemption.c
dpau/presentation.c
dpau/render.c
dpau/vdpau_private.h
d0e203f1f00b0f760acc7fab07cd7ce8cca34000 06-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: initial commit of the bitstream parser
dpau/decode.c
dpau/mpeg2_bitstream_parser.c
dpau/mpeg2_bitstream_parser.h
org/xvmc/subpicture.c
cd114a92b996c246bb35080bca611fca3f375e94 05-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: change the xvmc state_tracker to the new gallium API
org/xvmc/subpicture.c
d64d6f7712e5e8d8f962de3455a71fce8b2a8f78 05-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: changed video pipe to use the new gallium API within master
dpau/query.c
1218430e1200a08cd64b6555d3fd1fd0274ad9e5 05-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> Merge branch 'master' into pipe-video

Conflicts:
configs/linux-dri
configure.ac
src/gallium/drivers/nvfx/Makefile
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_screen.h
src/gallium/include/state_tracker/dri1_api.h
src/gallium/include/state_tracker/drm_api.h
src/gallium/tests/python/samples/tri.py
src/gallium/tests/trivial/Makefile
src/gallium/tests/unit/Makefile
src/gallium/tests/unit/SConscript
src/gallium/tests/unit/u_format_test.c
src/gallium/winsys/nouveau/drm/nouveau_drm_api.c
63b1525cf0a50e3d31328c3b56355a86056e4c05 05-Oct-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: ...
dpau/mpeg2_bitstream_parser.c
e2b51b7c5baaaa21e64df1377ce0be5c83d016ff 30-Sep-2010 Chia-I Wu <olv@lunarg.com> st/egl: Drop context argument from egl_g3d_get_egl_image.

Fix a regression since 17eace581d25a626a7d75d9d1205d012cbb14a6e.
gl/common/egl_g3d_st.c
218d9737864f389d4bd8892d27643789f79b5af6 30-Sep-2010 Nicolas Kaiser <nikai@nikai.net> gallium/st: remove duplicated includes

Remove duplicated includes.

Signed-off-by: Brian Paul <brianp@vmware.com>
ython/st_device.c
ega/api_images.c
cac5e60fd3fa7b756bcd4174db8096335c70e145 30-Sep-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: moved some functions to more appropriate places
dpau/Makefile
dpau/decode.c
dpau/mpeg2_bitstream_parser.c
dpau/mpeg2_bitstream_parser.h
d63b2622f1c47d6f82fe96c9f1b749d908883a23 30-Sep-2010 Chia-I Wu <olv@lunarg.com> st/egl: Skip single-buffered configs in EGL.

Let DRI2 report single-buffered configs and skip them in EGL. This is
based on the patch by Luca Barbieri.
gl/common/egl_g3d.c
gl/x11/native_dri2.c
a73c6ce67b272b71dc814b3384d8c1c99f6c75e3 28-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: work around crash in widl
3d1x/gd3dapi/galliumd3d10_1.idl
3d1x/gd3dapi/galliumd3d11.idl
912682659414f45dc0afca1950db3be1738c0dad 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d11: fix reference counting so devices get freed
3d1x/gd3d11/d3d11_screen.h
8291db1cdb9d8e8d02a9c1a7ce34e6a23b8238ff 27-Sep-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: Renamed function to appropriate name.
dpau/decode.c
a359eb80c5e141f625cfe42b4d97bf78cf25d128 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix Map
3d1x/gd3d11/d3d11_context.h
f976cd0c9ead6a5e63146c11823770176c149a12 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: rework DXGI for occlusion testing and default width/height
3d1x/dxgi/src/dxgi_native.cpp
3d1x/gd3dapi/galliumdxgi.idl
3d1x/winedlls/dxgi/dxgi_dll.c
e01e2e1883b57fdc84807496fdab4fed22f23900 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: put proper calling convention in headers, fixes 64-bit builds
3d1x/gd3dapi/galliumd3d10_1.idl
3d1x/gd3dapi/galliumd3d11.idl
b821fdd563d2a46f11f956fab049f6807fcdbf7f 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: properly support specifying MipLevels as 0
3d1x/gd3d11/d3d11_screen.h
db6f1d0436b66435bac5e2b6db5d2f4e07e80473 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: support centroid interpolation
3d1x/gd3d1x/sm4_to_tgsi.cpp
94c2be73f417d5617946db306c28c318dbc094a2 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: link to libdrm for X11 platform too

Thanks to Xavier Chantry.
3d1x/progs/Makefile
f1afa8794e9dffa1f91a68c1c6aacb60aea54a18 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d11: ignore StructureByteStride

D3D11 applications are allowed to pass a random value if the buffer
is not structured
3d1x/gd3d11/d3d11_screen.h
dfc546c047b0f6df254586e991f656faa781ddba 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d11: advertise IDXGIDevice1, not just IDXGIDevice

Fixes failure to create device in DirectX SDK samples.
3d1x/d3d1xstutil/include/d3d1xstutil.h
99486bfc5b26f6deec38a2ccf2ee5645a92ae249 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: link progs with CXXFLAGS
3d1x/progs/Makefile
31d8f64f3f0befd154b0aa8b234d2c0dd40ab9b6 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix progs linking if not all EGL platforms are enabled
3d1x/progs/Makefile
9ba4b30eae1031cdd1f441218eea77de30175104 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: add private gitignore file
3d1x/.gitignore
8d0ed47d940ffe2ffdc2ec27a1bab917590e7d9e 27-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix parallel build
3d1x/d3d1xshader/Makefile
3d1x/gd3d1x/Makefile
f8ee415e3c2fa8e475e9f7fad0315c06c232ff94 25-Sep-2010 Vinson Lee <vlee@vmware.com> st/dri: Remove unnecessary header.
ri/common/dri_screen.c
11547654295cadcfde69f6c2361f50a4cd17fc7a 24-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: CRLF -> LF in progs
3d1x/progs/d3d10app/d3d10app.h
3d1x/progs/d3d10app/d3d10winmain.cpp
3d1x/progs/d3d10app/d3d10x11main.cpp
3d1x/progs/d3d10tri/d3d10tri.cpp
3d1x/progs/d3d10tri/d3d10tri.hlsl.ps.h
3d1x/progs/d3d10tri/d3d10tri.hlsl.vs.h
3d1x/progs/d3d11app/d3d11app.h
3d1x/progs/d3d11app/d3d11blit.hlsl.ps.h
3d1x/progs/d3d11app/d3d11blit.hlsl.vs.h
3d1x/progs/d3d11app/d3d11u.h
3d1x/progs/d3d11app/d3d11winmain.cpp
3d1x/progs/d3d11app/d3d11x11main.cpp
3d1x/progs/d3d11gears/d3d11gears.cpp
3d1x/progs/d3d11gears/d3d11gears.hlsl.ps.h
3d1x/progs/d3d11gears/d3d11gears.hlsl.vs.h
3d1x/progs/d3d11spikysphere/d3d11spikysphere.cpp
3d1x/progs/d3d11spikysphere/d3d11spikysphere.hlsl.ds.h
3d1x/progs/d3d11spikysphere/d3d11spikysphere.hlsl.hs.h
3d1x/progs/d3d11spikysphere/d3d11spikysphere.hlsl.ps.h
3d1x/progs/d3d11spikysphere/d3d11spikysphere.hlsl.vs.h
3d1x/progs/d3d11tex/d3d11tex.cpp
3d1x/progs/d3d11tex/d3d11tex.hlsl.ps.h
3d1x/progs/d3d11tex/d3d11tex.hlsl.vs.h
3d1x/progs/d3d11tri/d3d11tri.cpp
3d1x/progs/d3d11tri/d3d11tri.hlsl.ps.h
3d1x/progs/d3d11tri/d3d11tri.hlsl.vs.h
7e81c67c8b16c6f87e01320c9d9a7455a52cf91b 24-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: stop using GLX in demos, just use the default visual
3d1x/progs/Makefile
3d1x/progs/d3d10app/d3d10x11main.cpp
3d1x/progs/d3d11app/d3d11x11main.cpp
db1fbb1efc10ee4853c3fbdf63567e62fdde7447 24-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: assert if X visual is not among enumerated visuals
3d1x/dxgi/src/dxgi_native.cpp
f1063cfee213ba92f7c9e34199caccf4bed78c1c 24-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: don't crash on drivers not supporting vertex or geometry sampling
3d1x/gd3d11/d3d11.cpp
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_screen.h
c7a064b4d5b6df0277d35a21d5fc1df899087784 24-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix linking of dxbc2tgsi
3d1x/gd3d1x/Makefile
54ee7721a142f57c932f77e6a33af6874320cdc0 24-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: draw to the correct buffer
3d1x/dxgi/src/dxgi_native.cpp
0f4ec3f72ce66e4c56af9bb832c7c4cd2015901e 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix CheckMultisampleQualityLevels
3d1x/gd3d11/d3d11_screen.h
0e40b41ceec15d97507fe85343daad54aa1c4824 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: don't assert on unsupported resource types
3d1x/gd3d1x/sm4_to_tgsi.cpp
4babdc78448f92b8d027a66cd506351a16aef4ec 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: add untested support for geometry shader translation
3d1x/d3d1xstutil/include/d3d1xstutil.h
3d1x/d3d1xstutil/src/d3d_sm4_enums.cpp
3d1x/gd3d1x/d3d1x_private.h
3d1x/gd3d1x/d3d_enums.cpp
3d1x/gd3d1x/sm4_to_tgsi.cpp
f71f8c7d18a1a92681c337cb6dbf507ab06b62b1 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: add shader dumping
3d1x/gd3d11/d3d11.cpp
3d1x/gd3d11/d3d11_screen.h
96da9b28c838af00f15d6c0a5973857019d3aecc 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: obliterate IDL parameter names from d3d10.idl from Wine too
3d1x/d3dapi/d3d10.idl
bccd4eb824d32256dd0f9234df9ddf9ab5ed90fd 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: add autogenerated files as prerequisites, so make builds them
3d1x/d3d1xshader/Makefile
36a64bfe541c1c8149db08c559e044dfd835c69a 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix build without system EGL/egl.h
3d1x/dxgi/Makefile
eaf8fe84614f4881ddb03568de11cb4ed3ea5322 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: add missing guid.cpp
3d1x/d3d1xstutil/src/guids.cpp
1734a785384430f022de453dc5cb59b8c4999833 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: flush properly
3d1x/dxgi/src/dxgi_native.cpp
206c4cc8787ca4a635ed0248b8c17e0d833cc526 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: remove another include specstrings.h
3d1x/dxgi/src/dxgi_private.h
681f87e09bc278924a19fc960809556e607886f1 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: flush the pipe context when presenting
3d1x/dxgi/src/dxgi_native.cpp
9a97b9af68ef1e555d7581c1997c947d78b30ca7 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: remove specstrings.h include
3d1x/gd3d1x/d3d1x_private.h
b6b3fbcdb14faf5a5be66112a06d3406e7a46998 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d11: obliterate IDL parameter names
3d1x/d3dapi/d3d10_1.idl
3d1x/d3dapi/d3d10shader.idl
3d1x/d3dapi/d3d11.idl
3d1x/d3dapi/d3d11shader.idl
3d1x/d3dapi/d3dcommon.idl
3d1x/d3dapi/dxgi.idl
0525384c11a6bc95f9fc8f621ea22e13355c2ac8 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: rename parameters in dxgi
3d1x/dxgi/src/dxgi_native.cpp
3d1x/dxgid3d10/dxgid3d10.cpp
3d1x/dxgid3d11/dxgid3d11.cpp
9cd0e624b460bc361287f7d39bfe9aa61d90a457 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: rename params in misc and objects
3d1x/gd3d11/d3d11_misc.h
3d1x/gd3d11/d3d11_objects.h
4f700d23fd5d7277f4379454c0d85ff960e73810 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d11: rename screen params
3d1x/gd3d11/d3d11_screen.h
3e0f57b6401e7ddd0a5dc89b5b7fdd6c8d85818d 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: rename context params
3d1x/gd3d11/d3d11_context.h
6b485d85188f7a0499b921fbce4f05f1f5f4882b 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: minifix
3d1x/d3dapi/d3d10_1.idl
3d1x/d3dapi/d3d11.idl
8224256946619fb25278718bbf4703e3b9d60c93 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: remove specstrings
3d1x/d3d1xshader/include/sm4.h
3d1x/d3d1xstutil/include/d3d1xstutil.h
3d1x/d3dapi/specstrings.h
3d1x/dxgi/src/dxgi_native.cpp
3d1x/dxgid3d10/dxgid3d10.cpp
3d1x/dxgid3d11/dxgid3d11.cpp
3d1x/gd3d11/d3d11.cpp
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_misc.h
3d1x/gd3d11/d3d11_objects.h
3d1x/gd3d11/d3d11_screen.h
6c598c78bd17642d731cf57b8369cc794f64ba2f 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: normalize whitespace
3d1x/d3d1xshader/include/dxbc.h
3d1x/d3d1xshader/include/sm4.h
3d1x/d3d1xshader/src/sm4_analyze.cpp
3d1x/d3d1xstutil/include/d3d1xstutil.h
3d1x/d3dapi/d3d10_1.idl
3d1x/d3dapi/d3d10misc.h
3d1x/d3dapi/d3d10shader.idl
3d1x/d3dapi/d3d11.idl
3d1x/d3dapi/d3d11shader.idl
3d1x/d3dapi/d3dcommon.idl
3d1x/d3dapi/dxgi.idl
3d1x/d3dapi/dxgitype.idl
3d1x/docs/coding_style.txt
3d1x/dxgi/src/dxgi_loader.cpp
3d1x/dxgi/src/dxgi_native.cpp
3d1x/dxgid3d10/dxgid3d10.cpp
3d1x/dxgid3d11/dxgid3d11.cpp
3d1x/gd3d11/d3d11.cpp
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_misc.h
3d1x/gd3d11/d3d11_objects.h
3d1x/gd3d11/d3d11_screen.h
3d1x/gd3d1x/d3d_enums.cpp
3d1x/gd3d1x/sm4_to_tgsi.cpp
3d1x/gd3dapi/galliumcom.idl
3d1x/gd3dapi/galliumdxgi.idl
3d1x/progs/d3d10app/d3d10x11main.cpp
3d1x/progs/d3d10tri/d3d10tri.cpp
3d1x/progs/d3d11app/d3d11u.h
3d1x/progs/d3d11app/d3d11x11main.cpp
3d1x/progs/d3d11gears/d3d11gears.cpp
3d1x/progs/d3d11tri/d3d11tri.cpp
e5ae4588d150a179974a812887f3b6445d8e2f34 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: s/tpf/sm4/g
3d1x/d3d1xshader/Makefile
3d1x/d3d1xshader/gen-header.sh
3d1x/d3d1xshader/gen-text.sh
3d1x/d3d1xshader/include/sm4.h
3d1x/d3d1xshader/include/tpf.h
3d1x/d3d1xshader/src/sm4_analyze.cpp
3d1x/d3d1xshader/src/sm4_dump.cpp
3d1x/d3d1xshader/src/sm4_parse.cpp
3d1x/d3d1xshader/src/tpf_analyze.cpp
3d1x/d3d1xshader/src/tpf_dump.cpp
3d1x/d3d1xshader/src/tpf_parse.cpp
3d1x/d3d1xshader/tools/fxdis.cpp
3d1x/gd3d11/d3d11_screen.h
3d1x/gd3d1x/d3d1x_private.h
3d1x/gd3d1x/sm4_to_tgsi.cpp
3d1x/gd3d1x/sm4_to_tgsi.h
3d1x/gd3d1x/tools/dxbc2tgsi.cpp
3d1x/gd3d1x/tpf_to_tgsi.cpp
3d1x/gd3d1x/tpf_to_tgsi.h
75c29fe1c853d5d5e7be6af3187a4d4e36832f5b 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: autogenerate shader enums and text from def files

This avoids the duplication in tpf.h and tpf_text.cpp
3d1x/d3d1xshader/Makefile
3d1x/d3d1xshader/defs/files.txt
3d1x/d3d1xshader/defs/interpolations.txt
3d1x/d3d1xshader/defs/opcodes.txt
3d1x/d3d1xshader/defs/operand_compnums.txt
3d1x/d3d1xshader/defs/operand_index_reprs.txt
3d1x/d3d1xshader/defs/operand_modes.txt
3d1x/d3d1xshader/defs/shortfiles.txt
3d1x/d3d1xshader/defs/svs.txt
3d1x/d3d1xshader/defs/targets.txt
3d1x/d3d1xshader/defs/token_instruction_extended_types.txt
3d1x/d3d1xshader/defs/token_operand_extended_types.txt
3d1x/d3d1xshader/gen-header.sh
3d1x/d3d1xshader/gen-text.sh
3d1x/d3d1xshader/include/tpf.h
3d1x/d3d1xshader/src/tpf_parse.cpp
3d1x/d3d1xshader/src/tpf_text.cpp
22762012d1ab4060d8274c1007067c80bb8e806c 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: initialize the mutex
3d1x/d3d1xstutil/include/d3d1xstutil.h
1b15a3cafdc699c63466059d56f36b295475ee9e 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: bind NULL CSOs before destroying default CSOs on context dtor

Otherwise softpipe and llvmpipe assert.
3d1x/gd3d11/d3d11_context.h
17ad9972f4b998dbf1a046780b6bde461d721dd0 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix deadlocks on non-recursive mutex
3d1x/gd3d11/d3d11_context.h
881c05aa1ec22bb229a0bceae372d68f9fc91431 23-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: properly reference count the backend
3d1x/dxgi/src/dxgi_native.cpp
17eace581d25a626a7d75d9d1205d012cbb14a6e 23-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> dri: Pass the __DRIscreen and the __DRIscreen private back to image lookup

We will typically have a current context when we need to lookup the image,
but the lookup implementation don't need it so drop it.
ri/common/dri_context.h
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri2.c
38da5c9cb636387539daaf5688c2a3badee32447 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: add Wine dlls (tri, tex working, but no other testing)
3d1x/winedlls/Makefile
3d1x/winedlls/Makefile.wine
3d1x/winedlls/d3d10/Makefile
3d1x/winedlls/d3d10/d3d10.spec
3d1x/winedlls/d3d10/version.rc
3d1x/winedlls/d3d10_1/Makefile
3d1x/winedlls/d3d10_1/d3d10_1.spec
3d1x/winedlls/d3d10_1/version.rc
3d1x/winedlls/d3d11/Makefile
3d1x/winedlls/d3d11/d3d11.spec
3d1x/winedlls/d3d11/version.rc
3d1x/winedlls/dxgi/Makefile
3d1x/winedlls/dxgi/dxgi.spec
3d1x/winedlls/dxgi/dxgi_dll.c
3d1x/winedlls/dxgi/version.rc
3d1x/winedlls/version.rc.h
ab5e9a726d50b414718a248fd8625f1c6f269a49 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: define GUIDs in the normal way
3d1x/d3d1xstutil/include/d3d1xstutil.h
3d1x/progs/d3d10app/d3d10x11main.cpp
3d1x/progs/d3d11app/d3d11x11main.cpp
3d4a15dfab04dbdce3ee2c7b182b076ed5eb757a 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix API name
3d1x/gd3d11/d3d11_misc.h
e7624e23a3a374896863f54fe30dafd0bff8a91a 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: redesign the HWND resolver interface

This one should be powerful enough to hook up Wine.
3d1x/dxgi/src/dxgi_native.cpp
3d1x/gd3d11/d3d11_misc.h
3d1x/gd3dapi/galliumdxgi.idl
3d1x/progs/d3d10app/d3d10x11main.cpp
3d1x/progs/d3d11app/d3d11x11main.cpp
4f8e38dab88378b0b5f822893dae5b791e53fb46 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix GUID declarations
3d1x/d3d1xstutil/include/d3d1xstutil.h
6ce098631abf465e89b12d10c4e6713b9c843422 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: destroy native_display on adapter destruction
3d1x/dxgi/src/dxgi_native.cpp
9ec0b2a45e18c045fd3dbcdf846fad7faf97494c 22-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> dri2: Make createImageFromName() take a __DRIscreen instead of __DRIcontext

We can't expect to have a context when this is called, and we don't need one
so just require a __DRIscreen instead.

Reported by Yu Dai <yu.dai@intel.com>
ri/drm/dri2.c
cac1565b98c7450ef5c74660e8145e300b3f8d7f 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix segfault when hashing
3d1x/d3d1xstutil/include/d3d1xstutil.h
d83b7a69a0aeece9d7ba68c1b161656988009bfa 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix warning
3d1x/gd3d1x/tpf_to_tgsi.cpp
1aed6f42e9da0ca85b4d204d9dcaaa4632b34230 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix cf analysis
3d1x/d3d1xshader/src/tpf_analyze.cpp
12044e4c9907b9b3dca8960faa4f26fc4e195d83 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: link with CXXFLAGS

Otherwise, -m32 doesn't make it there.
3d1x/Makefile.inc
d092c0c60ddcb56f8c5d2786ae3b61f5339b84e1 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: add missing memory barrier
3d1x/d3d1xstutil/include/d3d1xstutil.h
6d0c39ce360609a0dc05abb63573452ab81c00e6 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: don't build progs automatically

progs requires winsys, which hasn't yet been built by the time we
go into state_trackers.

It may be a good idea to also move it into tests.

After a normal build, run make in src/gallium/state_trackers/d3d1x/progs
to build them.
3d1x/Makefile
a0e510320009766faa5ff8c0ed744e87f8095df7 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> glx: decouple dri2.c and GLX, fixing Gallium EGL and d3d1x build

The Gallium EGL state tracker reuses dri2.c but not the GLX code.

Currently there is a bit of code in dri2.c that is incorrectly tied
to GLX: instead, make it call an helper that both GLX and Gallium EGL
implement, like dri2InvalidateBuffers.

This avoids a link error complaining that dri2GetGlxDrawableFromXDrawableId
is undefined.

Note that we might want to move the whole event translation elsewhere,
and probably stop using non-XCB DRI2 altogether, but this seems to be
the minimal fix.
gl/x11/x11_screen.c
86bb64f889c08d2d8738bb7a0183c578e0338f0a 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: attempt to fix/workaround bug #30322

This may just be hiding some other bug though, since the types are supposed
to be the same (and it compiles for me).

Anyway, this interface will likely need to changed, since it seems Wine needs
a more powerful one capable of expressing window subregions and called at
every Present.
3d1x/dxgi/src/dxgi_native.cpp
83ea4878db8768b6e8444492009d80247d4374b7 21-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: ignore errors while building docs

Some versions of dot apparently lack pdf output.
3d1x/docs/Makefile
c02bf8162981c4b6287098bc33e954519d414326 21-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix GCC 4.1/4.2 build
3d1x/d3d1xstutil/include/d3d1xstutil.h
b4b2091655676ec3b898d3ae7298192aa7f9147f 21-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: add template parameters to base class ctor calls for GCC 4.4

GCC 4.5 is fine without them, but GCC 4.4 requires them.
Should fully fix the build on GCC 4.4
3d1x/dxgi/src/dxgi_native.cpp
3d1x/gd3d11/d3d11.cpp
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_objects.h
82c346673a78e6cc32e7a1451f2b127128246ef3 21-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix build with compilers other than GCC 4.5

There was some libstdc++-specific code that would only build with GCC 4.5
Now it should be much more compatible, at the price of reimplementing
the generic hash function.
3d1x/d3d1xstutil/include/d3d1xstutil.h
a90bdd09b6b342c3ff8d2c80480805f9614fabb3 21-Sep-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: Made vdpauinfo run again
dpau/Makefile
c5b6f7d16699cfda696538890a9c1744847bb434 21-Sep-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: Made the project compile again.
dpau/Makefile
dpau/surface.c
dpau/vdpau_private.h
bb26272beaf1d2bddffaad5341235e70abcf483b 21-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: actually enable and fix blob apis
3d1x/d3d1xstutil/include/d3d1xstutil.h
3d1x/gd3d11/d3d11_misc.h
f815b57b888d00228dcb355cbd34ed0f4c44a620 21-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: add missing file
3d1x/gd3d11/d3d11_misc.h
cb7cc36fff63e1bbdf4820538a8133f150541be4 21-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: fix compilation with recent Wine versions installed

Recent Wine versions provide a d3d11shader.h, which is however empty
and was getting used instead of our non-empty one.

Correct the include path order to fix this.
3d1x/d3d1xshader/Makefile
70fed0b0ec8a3ec4f6b9b47f1fe98cc54c6037f0 21-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: add blob and signature extraction APIs

NOTE: untested, needs a testing tool!
3d1x/d3d1xshader/include/dxbc.h
3d1x/d3d1xshader/src/dxbc_assemble.cpp
3d1x/d3d1xshader/src/dxbc_parse.cpp
3d1x/d3d1xstutil/include/d3d1xstutil.h
3d1x/d3dapi/d3dcommon.idl
3d1x/gd3d10/Makefile
3d1x/gd3d11/d3d11.cpp
5386a8a2e012aafa8a2a02df83e2c4c19ec1f8f5 21-Sep-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> vl: Various cleanups. Need to start from scratch with bitstream parser
dpau/header.c
92617aeac109481258f0c3863d09c1b8903d438b 12-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> d3d1x: add new Direct3D 10/11 COM state tracker for Gallium

This is a new implementation of the Direct3D 11 COM API for Gallium.

Direct3D 10 and 10.1 implementations are also provided, which are
automatically generated with s/D3D11/D3D10/g plus a bunch of #ifs.

While this is an initial version, most of the code is there (limited
to what Gallium can express), and tri, gears and texturing demos
are working.

The primary goal is to realize Gallium's promise of multiple API
support, and provide an API that can be easily implemented with just
a very thin wrapper over Gallium, instead of the enormous amount of
complex code needed for OpenGL.

The secondary goal is to run Windows Direct3D 10/11 games on Linux
using Wine.
Wine dlls are currently not provided, but adding them should be
quite easy.

Fglrx and nvidia drivers can also be supported by writing a Gallium
driver that talks to them using OpenGL, which is a relatively easy
task.
Thanks to the great design of Direct3D 10/11 and closeness to Gallium,
this approach should not result in detectable overhead, and is the
most maintainable way to do it, providing a path to switch to the
open Gallium drivers once they are on par with the proprietary ones.

Currently Wine has a very limited Direct3D 10 implementation, and
completely lacks a Direct3D 11 implementation.

Note that Direct3D 10/11 are completely different from Direct3D 9
and earlier, and thus warrant a fully separate implementation.

The third goal is to provide a superior alternative to OpenGL for
graphics programming on non-Windows systems, particularly Linux
and other free and open systems.

Thanks to a very clean and well-though design done from scratch,
the Direct3D 10/11 APIs are vastly better than OpenGL and can be
supported with orders of magnitude less code and development time,
as you can see by comparing the lines of code of this commit and
those in the existing Mesa OpenGL implementation.

This would have been true for the Longs Peak proposal as well, but
unfortunately it was abandoned by Khronos, leaving the OpenGL
ecosystem without a graphics API with a modern design.

A binding of Direct3D 10/11 to EGL would solve this issue in the
most economical way possible, and this would be great to provide
in Mesa, since DXGI, the API used to bind Direct3D 10/11 to Windows,
is a bit suboptimal, especially on non-Windows platforms.

Finally, a mature Direct3D 10/11 implementation is intrinsically going
to be faster and more reliable than an OpenGL implementation, thanks
to the dramatically smaller API and the segregation of all nontrivial
work to object creation that the application must perform ahead of
time.

Currently, this commit contains:
- Independently created headers for Direct3D 10, 10.1, 11 and DXGI 1.1,
partially based on the existing Wine headers for D3D10 and DXGI 1.0
- A parser for Direct3D 10/11 DXBC and TokenizedProgramFormat (TPF)
- A shader translator from TokenizedProgramFormat to TGSI
- Implementation of the Direct3D 11 core interfaces
- Automatically generated implementation of Direct3D 10 and 10.1
- Implementation of DXGI using the "native" framework of the EGL st
- Demos, usable either on Windows or on this implementation
- d3d11tri, a clone of tri
- d3d11tex, a (multi)texturing demo
- d3d11gears, an improved version of glxgears
- d3d11spikysphere, a D3D11 tessellation demo (currently Windows-only)
- A downloader for the Microsoft HLSL compiler, needed to recompile
the shaders (compiled shader bytecode is also included)

To compile this, configure at least with these options:
--with-state-trackers=egl,d3d1x --with-egl-platforms=x11
plus some gallium drivers (such as softpipe with --enable-gallium-swrast)

The Wine headers (usually from a wine-dev or wine-devel package) must
be installed.
Only x86-32 has been tested.

You may need to run "make" in the subdirectories of src/gallium/winsys/sw
and you may need to manually run "sudo make install" in
src/gallium/targets/egl

To test it, run the demos in the "progs" directory.
Windows binaries are included to find out how demos should work, and to
test Wine integration when it will be done.

Enjoy, and let me know if you manage to compile and run this, or
which issues you are facing if not.

Using softpipe is recommended for now, and your mileage with hardware
drivers may vary.
However, getting this to work on hardware drivers is also obviously very
important.

Note that currently llvmpipe is buggy and causes all 3 gears to be
drawn with the same color.
Use export GALLIUM_DRIVER=softpipe to avoid this.

Thanks to all the Gallium contributors and especially the VMware
team, whose work made it possible to implement Direct3D 10/11 much
more easily than it would have been otherwise.
3d1x/Makefile
3d1x/Makefile.inc
3d1x/d3d1xshader/Makefile
3d1x/d3d1xshader/include/dxbc.h
3d1x/d3d1xshader/include/le32.h
3d1x/d3d1xshader/include/tpf.h
3d1x/d3d1xshader/src/dxbc_dump.cpp
3d1x/d3d1xshader/src/dxbc_parse.cpp
3d1x/d3d1xshader/src/tpf_analyze.cpp
3d1x/d3d1xshader/src/tpf_dump.cpp
3d1x/d3d1xshader/src/tpf_parse.cpp
3d1x/d3d1xshader/src/tpf_text.cpp
3d1x/d3d1xshader/src/utils.h
3d1x/d3d1xshader/tools/fxdis.cpp
3d1x/d3d1xstutil/Makefile
3d1x/d3d1xstutil/include/d3d1xstutil.h
3d1x/d3d1xstutil/src/dxgi_enums.cpp
3d1x/d3dapi/Makefile
3d1x/d3dapi/d3d10.idl
3d1x/d3dapi/d3d10_1.idl
3d1x/d3dapi/d3d10misc.h
3d1x/d3dapi/d3d10shader.idl
3d1x/d3dapi/d3d11.idl
3d1x/d3dapi/d3d11shader.idl
3d1x/d3dapi/d3dcommon.idl
3d1x/d3dapi/dxgi.idl
3d1x/d3dapi/dxgiformat.idl
3d1x/d3dapi/dxgitype.idl
3d1x/d3dapi/specstrings.h
3d1x/docs/Makefile
3d1x/docs/coding_style.txt
3d1x/docs/module_dependencies.dot
3d1x/docs/source_layout.txt
3d1x/dxgi/Makefile
3d1x/dxgi/src/dxgi_loader.cpp
3d1x/dxgi/src/dxgi_native.cpp
3d1x/dxgi/src/dxgi_private.h
3d1x/dxgid3d10/Makefile
3d1x/dxgid3d10/dxgid3d10.cpp
3d1x/dxgid3d11/Makefile
3d1x/dxgid3d11/dxgid3d11.cpp
3d1x/gd3d10/Makefile
3d1x/gd3d10/d3d10.pl
3d1x/gd3d11/Makefile
3d1x/gd3d11/d3d11.cpp
3d1x/gd3d11/d3d11_context.h
3d1x/gd3d11/d3d11_objects.h
3d1x/gd3d11/d3d11_screen.h
3d1x/gd3d1x/Makefile
3d1x/gd3d1x/d3d1x_private.h
3d1x/gd3d1x/d3d_enums.cpp
3d1x/gd3d1x/tools/dxbc2tgsi.cpp
3d1x/gd3d1x/tpf_to_tgsi.cpp
3d1x/gd3d1x/tpf_to_tgsi.h
3d1x/gd3dapi/Makefile
3d1x/gd3dapi/galliumcom.idl
3d1x/gd3dapi/galliumd3d10_1.idl
3d1x/gd3dapi/galliumd3d11.idl
3d1x/gd3dapi/galliumdxgi.idl
3d1x/mstools/download-mstools
3d1x/progs/Makefile
3d1x/progs/bin/d3d10tri.exe
3d1x/progs/bin/d3d11gears.exe
3d1x/progs/bin/d3d11spikysphere.exe
3d1x/progs/bin/d3d11tex.exe
3d1x/progs/bin/d3d11tri.exe
3d1x/progs/d3d10app/d3d10app.h
3d1x/progs/d3d10app/d3d10winmain.cpp
3d1x/progs/d3d10app/d3d10x11main.cpp
3d1x/progs/d3d10tri/d3d10tri.cpp
3d1x/progs/d3d10tri/d3d10tri.hlsl
3d1x/progs/d3d10tri/d3d10tri.hlsl.ps.h
3d1x/progs/d3d10tri/d3d10tri.hlsl.vs.h
3d1x/progs/d3d10tri/d3d10tri.vcxproj
3d1x/progs/d3d11app/d3d11app.h
3d1x/progs/d3d11app/d3d11blit.hlsl
3d1x/progs/d3d11app/d3d11blit.hlsl.ps.h
3d1x/progs/d3d11app/d3d11blit.hlsl.vs.h
3d1x/progs/d3d11app/d3d11u.h
3d1x/progs/d3d11app/d3d11winmain.cpp
3d1x/progs/d3d11app/d3d11x11main.cpp
3d1x/progs/d3d11gears/d3d11gears.cpp
3d1x/progs/d3d11gears/d3d11gears.hlsl
3d1x/progs/d3d11gears/d3d11gears.hlsl.ps.h
3d1x/progs/d3d11gears/d3d11gears.hlsl.vs.h
3d1x/progs/d3d11gears/d3d11gears.vcxproj
3d1x/progs/d3d11spikysphere/d3d11spikysphere.cpp
3d1x/progs/d3d11spikysphere/d3d11spikysphere.hlsl
3d1x/progs/d3d11spikysphere/d3d11spikysphere.hlsl.ds.h
3d1x/progs/d3d11spikysphere/d3d11spikysphere.hlsl.hs.h
3d1x/progs/d3d11spikysphere/d3d11spikysphere.hlsl.ps.h
3d1x/progs/d3d11spikysphere/d3d11spikysphere.hlsl.vs.h
3d1x/progs/d3d11spikysphere/d3d11spikysphere.vcxproj
3d1x/progs/d3d11tex/d3d11tex.cpp
3d1x/progs/d3d11tex/d3d11tex.hlsl
3d1x/progs/d3d11tex/d3d11tex.hlsl.ps.h
3d1x/progs/d3d11tex/d3d11tex.hlsl.vs.h
3d1x/progs/d3d11tex/d3d11tex.vcxproj
3d1x/progs/d3d11tri/d3d11tri.cpp
3d1x/progs/d3d11tri/d3d11tri.hlsl
3d1x/progs/d3d11tri/d3d11tri.hlsl.ps.h
3d1x/progs/d3d11tri/d3d11tri.hlsl.vs.h
3d1x/progs/d3d11tri/d3d11tri.vcxproj
3d1x/progs/data/cornell_box_image.h
3d1x/progs/data/tux_image.h
3d1x/progs/progs.sln
3d1x/tools/fxc
3d1x/w32api
e4513e7fb96c6336d8c7fcdadfaddb6b335a736e 19-Sep-2010 Chia-I Wu <olv@lunarg.com> st/egl: s/kms/drm/ on the drm backend.

s/kms/drm/, s/kdpy/drmdpy/, and so forth.
gl/drm/modeset.c
gl/drm/native_drm.c
gl/drm/native_drm.h
e7424d72405a1cb1fb5ac625b340043aaa9f88be 19-Sep-2010 Chia-I Wu <olv@lunarg.com> st/egl: Rename kms backend to drm.

The main use of the backend is to support EGL_MESA_drm_display. drm
should be a better name.
gl/Makefile
gl/common/egl_g3d.c
gl/common/native.h
gl/drm/modeset.c
gl/drm/native_drm.c
gl/drm/native_drm.h
gl/kms/modeset.c
gl/kms/native_kms.c
gl/kms/native_kms.h
c7c2e7d0ce97b1586219be2ba742758f23f5c7aa 19-Sep-2010 Chia-I Wu <olv@lunarg.com> st/egl: Split modeset code support to modeset.c.

The modeset code supports now obsolete EGL_MESA_screen_surface. Move it
to a file of its own.
gl/kms/modeset.c
gl/kms/native_kms.c
gl/kms/native_kms.h
03224f492dc9cee179ff9ed961be0443a3669dd1 07-Sep-2010 Chia-I Wu <olv@lunarg.com> st/xlib: Notify the context when the front/back buffers are swapped.

The current context should be notified when the the front/back buffers
of the current drawable are swapped. The notification was skipped when
xmesa_strict_invalidate is false (the default).

This fixes fdo bug #29774.
lx/xlib/xm_api.c
lx/xlib/xm_api.h
lx/xlib/xm_st.c
948e3fa27ca9112b903a180d1a18c61cfb2928dc 09-Sep-2010 Chia-I Wu <olv@lunarg.com> st/egl: Use profiles to create OpenGL ES contexts.

Replace all uses of ST_API_OPENGL_ES{1,2} 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.
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
gl/common/egl_g3d_loader.h
gl/common/egl_g3d_st.h
0cd480f07639ec9ee01424aaa3e0c900b2204d4f 10-Sep-2010 Chia-I Wu <olv@lunarg.com> st/dri: Use profiles to create OpenGL ES contexts.

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.
ri/common/dri_context.c
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri2.c
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.
ri/common/dri_context.c
gl/common/egl_g3d_api.c
lx/xlib/xm_api.c
ega/vg_manager.c
gl/stw_context.c
1d61793824b77e45f2ecf9b7d38bfc36d2a5af52 26-Aug-2010 ben <benjaminfranzke@googlemail.com> st/dri: support EGL_MESA_image_drm: queryImage

Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
ri/drm/dri2.c
a572e3198d19b88a5418e12376e233a583b5977a 26-Aug-2010 ben <benjaminfranzke@googlemail.com> st/dri: support EGL_MESA_image_drm: createImage

Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
ri/drm/dri2.c
7e03e2b2c787657f2abe4bd362e625bd9a971c48 08-Sep-2010 Chia-I Wu <olv@lunarg.com> st/dri: Call dri_init_extensions only for API_OPENGL.

libmesagallium.a that this state tracker will be linked to expects
OpenGL's _glapi_table. That is, it expects libGL.so instead of
libGLESv1_CM.so or libGLESv2.so. As there is no clean way to know the
shared library the app links to, use the api as a simple check. It
might be as well to simply remove this function call though.
ri/common/dri_context.c
444d8408e75bb2bce019769da59802f05c3d5fab 08-Sep-2010 Chia-I Wu <olv@lunarg.com> st/dri: Use enum st_api_type internally.
ri/common/dri_context.c
ri/common/dri_context.h
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri2.c
8e3b658b7fdc1c2a2b9b6bd942a811adbf1ac4ab 30-Aug-2010 nobled <nobled@dreamwidth.org> st/dri: Add multi-api support

Make st/dri screens capable of creating OpenGL ES and
OpenGL ES2 contexts.

TODO: Figure out the "get_current" problem with multiple
st_api's for real.

(s/API_OPENGLES1/API_OPENGLES/ by Chia-I Wu)
ri/common/dri_context.c
ri/common/dri_context.h
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri2.c
ecd7ec9d62d2ba919410218f4cf3f69772681f3c 07-Sep-2010 nobled <nobled@dreamwidth.org> st/dri: Make clear which API's are supported

If the caller requests a GLES context, don't silently create
a desktop GL context in its place.
ri/common/dri_context.c
d500ad440503c79656f5610051dcb0ff76bafc58 02-Sep-2010 Brian Paul <brianp@vmware.com> st/glx: added some comments
lx/xlib/xm_st.c
6ac66192a66b4370fd5601d876f5bdc84a4841b2 01-Sep-2010 Brian Paul <brianp@vmware.com> st/glx: re-order destruction of buffers, visuals

Free the buffers before the visuals. Fixes valgrind warning
reported in fd.o bug 29919.
lx/xlib/glx_api.c
3fbbd70e80033566f5d7015fa2110a9d355bcfa4 31-Aug-2010 Chia-I Wu <olv@lunarg.com> st/egl: Enable EGL_MESA_drm_display.
gl/common/egl_g3d.c
4f6faf65d124bd690c4526f4c8e95de4d041601f 25-Aug-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add support for EGL_MESA_image_drm.
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
gl/common/egl_g3d_image.c
gl/common/egl_g3d_image.h
9b6a63a0e2271b0b28c89b22c8981ef8f73205c8 26-Aug-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add support for EGL_KHR_surfaceless_*.
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
c5279fd795eb4a0445285d5a9815de68b0c77626 25-Aug-2010 Chia-I Wu <olv@lunarg.com> st/egl: Make KMS support optional in KMS backend.

It should be called DRM backend now.
gl/kms/native_kms.c
1288d5c39234e7c54ae2fbb81dd788c98c62a7b3 23-Aug-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix r300/r600 support in KMS backend.

When the kernel driver name is radeon, ask the loader for r300 or r600
depending on the PCI ID.
gl/Makefile
gl/kms/native_kms.c
d473543069b9156ea7a928f17fb15bc70545d4d1 23-Aug-2010 Chia-I Wu <olv@lunarg.com> st/dri: Remove unnecessary main/mtype.h.
ri/common/dri_context.h
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.
gl/stw_context.c
gl/stw_device.c
gl/stw_pixelformat.c
gl/stw_pixelformat.h
40fd4323b4be0eee6d4204463737a37011739333 23-Aug-2010 Chia-I Wu <olv@lunarg.com> st/glx: Include main/core.h.

Make st/glx include only main/core.h from core mesa.
lx/xlib/glx_api.c
lx/xlib/glx_usefont.c
lx/xlib/xm_api.c
lx/xlib/xm_api.h
lx/xlib/xm_st.c
42719df0b866a00ea4a7739e82e1639c9943fcfd 22-Aug-2010 Keith Whitwell <keithw@vmware.com> glx/xlib: configurable strict/non-strict buffer size invalidate

Introduce a new configuration option XMESA_STRICT_INVALIDATE to switch
between swapbuffers-based and glViewport-based buffer invalidation.

Default strict invalidate to false, ie glViewport-based invalidation,
aka ST_MANAGER_BROKEN_INVALIDATE.

This means we will not call XGetGeometry after every swapbuffers,
which allows swapbuffers to remain asynchronous. For apps running at
100fps with synchronous swapping, a 10% boost is typical. For gears,
I see closer to 20% speedup.

Note that the work of copying data on swapbuffers doesn't disappear -
this change just allows the X server to execute the PutImage
asynchronously without us effectively blocked until its completion.

This applies even to llvmpipe's threaded rasterization as the
swapbuffers operation was a large part of the serial component of an
llvmpipe frame.

The downside of this is correctness - applications which don't call
glViewport on window resizes will get incorrect rendering, unless
XMESA_STRICT_INVALIDATE is set.

The ultimate solution would be to have per-frame but asynchronous
invalidation. Xcb almost looks as if it could provide this, but the
API doesn't seem to quite be there.
lx/xlib/xm_api.c
lx/xlib/xm_api.h
lx/xlib/xm_st.c
8b15de2736976ed6095d6f36e22c66f9de43601d 20-Aug-2010 Keith Whitwell <keithw@vmware.com> glx/xlib: remove another XSync

With this change, xmesa_get_window_size still does one round trip, but
that's better than doing two.
lx/xlib/xm_api.c
8570232b3b7930bd2ef58a337e9d57b12d3a8874 20-Aug-2010 Keith Whitwell <keithw@vmware.com> glx/xlib: no need to call XSync from XMesaFlush

Try to eliminate some unnecessary X server round trips.
lx/xlib/xm_api.c
d34f6e9db15a1fa3a7e3b68e47ac4eef2706b8cd 19-Aug-2010 Luca Barbieri <luca@luca-barbieri.com> st/glx: use PIPE_TEXTURE_RECT if appropriate
lx/xlib/xm_st.c
4a5acc0ec7d6d94ea2a73b3d8ee498f75e929a1c 18-Aug-2010 Luca Barbieri <luca@luca-barbieri.com> st/dri: use PIPE_TEXTURE_RECT if appropriate
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri2.c
ri/sw/drisw.c
ce29e864588b0fdf36607864df45a3c237781e78 19-Aug-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix win32 build.

Add new source files to SConscripts.
gl/SConscript
f945cb651518025159499999527ff5d4536acaf8 15-Aug-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add support for EGL_KHR_fence_sync.

The extension is implemented by pipe_fence_handle.
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/egl_g3d_sync.c
4b2495661f3a5ac8ed07b68c5d5bf90adee2c37d 14-Aug-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add support for EGL_KHR_reusable_sync.

The extension is implemented by pipe_condvar.
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/egl_g3d_api.c
gl/common/egl_g3d_sync.c
gl/common/egl_g3d_sync.h
5c0a0f219843fa283a0fd98dbe0544e8ea820c60 11-Aug-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: make dri_drawable_validate_att static
ri/common/dri_drawable.c
ri/common/dri_drawable.h
c14b4371ed58859d264b7b2581cfedc9cfd8401f 11-Aug-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: move TFP code to dri_drawable.c

This is based on a patch by nobled <nobled@dreamwidth.org> and allows the TFP
extension to be enabled for DRISW also. This patch does not enable TFP for DRISW
though, because testing on xephyr segfaults here (for both classic and gallium):

Program received signal SIGSEGV, Segmentation fault.
0x00786a4a in _mesa_GenTextures (n=1, textures=0xbfffee4c) at main/texobj.c:788
788 ASSERT_OUTSIDE_BEGIN_END(ctx);
(gdb)
(gdb) where
\#0 0x00786a4a in _mesa_GenTextures (n=1, textures=0xbfffee4c) at main/texobj.c:788
\#1 0x0817a004 in __glXDisp_GenTextures ()
\#2 0x08168498 in __glXDispatch ()
\#3 0x0808b6ce in Dispatch ()
\#4 0x08084435 in main ()

The TFP code is generic except for the teximage call. We need to verify that
DRISW correclty implements whatever hook teximage finally calls.
ri/common/dri_drawable.c
ri/common/dri_drawable.h
ri/drm/dri2.c
5270deaab682c938e360f0d3b52f35b4027db858 11-Aug-2010 nobled <nobled@dreamwidth.org> st/dri: Fix segmentation fault in sw drivers
ri/sw/drisw.c
d3758feb6b38292d90f4697fa41ea12dce563d5a 11-Aug-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: dri_drawable_get_format is shared between DRI2 and DRISW
ri/drm/dri2.c
afbf446de5ad91743e2e2a76799bd87f3eed5f9a 31-Jul-2010 Marek Olšák <maraeo@gmail.com> st/dri: fix crash when dri2_drawable_get_buffers fails

It's easily reproducible with Compiz with its Resize window mode
set to Normal (which is usually not the default mode).

https://bugs.freedesktop.org/show_bug.cgi?id=28658
https://bugs.freedesktop.org/show_bug.cgi?id=29303

This is actually a workaround to prevent Compiz crashes.
Instead, a completely white titlebar might show up during resizing
transparent windows (a rare case).

The underlying cause should be fixed by someone who has more knowledge
about the code. (dri2_drawable_get_buffers should not return NULL)

Acked-By: Jakob Bornecrantz <jakob@vmware.com>
ri/drm/dri2.c
966b836e2d5142e01b0286c864ca4a6f1be5b706 01-Aug-2010 Thomas Balling Sørensen <tball@io.dk> Stubs for the bitstream mpeg2 decoder
dpau/mpeg2_bitstream_parser.c
dpau/mpeg2_bitstream_parser.h
dpau/surface.c
6c7e0b95a4a16d268aa3ca74c5c8407779533314 30-Jul-2010 Chia-I Wu <olv@lunarg.com> egl: Add checks for EGL_MESA_screen_surface.

This allows Mesa EGL to be compiled with eglext.h that does not define
EGL_MESA_screen_surface.
gl/common/egl_g3d.c
gl/common/egl_g3d.h
ca0b0899d8cc20f3e918839e044c55f9a19e9ffe 31-Jul-2010 Vinson Lee <vlee@vmware.com> st/dri: Remove unnecessary headers.
ri/common/dri_drawable.c
ri/common/dri_screen.c
873ddf547d5aeb68f37a172d73131c6bc51101f6 18-Jul-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: move backend hooks to appropriate object
ri/common/dri_context.h
ri/common/dri_drawable.c
ri/common/dri_drawable.h
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri2.c
ri/sw/drisw.c
a30b966f8345cb99922a416fce2da6edb70f864c 26-May-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: drop dri1_helper
ri/common/dri1_helper.c
ri/common/dri1_helper.h
ri/common/dri_drawable.c
ri/common/dri_drawable.h
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/Makefile
ri/drm/SConscript
ri/drm/dri1_helper.c
ri/sw/Makefile
ri/sw/SConscript
ri/sw/dri1_helper.c
ri/sw/drisw.c
2e4ad14a525f4028f0e0a93de2f8db785df33fb7 08-Apr-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: mv driDriverAPI to backends
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri2.c
ri/drm/dri2.h
ri/sw/drisw.c
ri/sw/drisw.h
ab25c1597ddd60f148cafdbb2ea1e7562c9f9f69 29-Jul-2010 Chia-I Wu <olv@lunarg.com> st/python: Adapt to interface change.

This is only compile tested.
ython/p_context.i
cd3ef7592cc9e2c83b175a8652c0153c578fb46b 15-Jul-2010 Chia-I Wu <olv@lunarg.com> gallium: Use unified pipe_context::draw_vbo.

Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo.
ega/polygon.c
aa44bd9189848b91619335207b8ec3be5679f982 29-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> Untangle gallium/egl/glx source sharing mess and make it compile again
gl/x11/glxinit.c
gl/x11/glxinit.h
gl/x11/x11_screen.c
cc09dc2773a729ab361c58ea5fc70ff070d0b1d2 27-Jul-2010 Jakob Bornecrantz <wallbraker@gmail.com> swrastg: Add SWRAST_NO_PRESENT option to not send updates to X server

There seem to be a problem with this path and freeglut where
the window wont open if SWRAST_NO_PRESENT is set to true.
ri/sw/drisw.c
c88fc26ac9774e992501fe219caf71b290993fbf 08-Jun-2010 nobled <nobled@dreamwidth.org> st/egl: Fix debug line

Acked-by: Jakob Bornecrantz <jakob@vmware.com>
gl/common/egl_g3d_image.c
b1ef3e08634e3c382c5dc10c3000427a8f7a4bfa 24-Jul-2010 nobled <nobled@dreamwidth.org> st/xorg: fix use-after-free

Acked-by: Jakob Bornecrantz <jakob@vmware.com>
org/xorg_driver.c
cec7d6a4de42492a147a655046d4ccd801f84f55 23-Jul-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Init the Gallium3D / libkms resources in pre-init.

This makes it possible to prune modes already in pre-init.
We also keep these resources alive across server generations, and
they are implicitly closed on server exit.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_driver.c
org/xorg_tracker.h
f3ddffc3923583d8699d00bb5580a38237d325ec 22-Jul-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Kill a couple of compilation warnings

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_crtc.c
org/xorg_exa.c
6ffa23b8fe9641299746b53d1de0519822d4d087 22-Jul-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg vmwgfx/xorg: Add a pre-init customizer callback

Add a customizer callback just before initial config setting, so that the
customizer code can initialize the mode validator using the drm
file-descriptor.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_driver.c
org/xorg_tracker.h
a7a126bdfa386a4be9dd1f7bac1825edb7ff3fcd 22-Jul-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Add a possibility to prune modes and limit fb allocation size based on max fb size.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_driver.c
org/xorg_output.c
org/xorg_tracker.h
6ada38d29a9b6eb01ad21e9b1ec089bf42d497da 22-Jul-2010 Thomas Balling Sørensen <tball@io.dk> Added stubs for the rest of the vdpau interface
dpau/bitmap.c
dpau/color.c
dpau/decode.c
dpau/device.c
dpau/ftab.c
dpau/mixer.c
dpau/output.c
dpau/preemption.c
dpau/presentation.c
dpau/query.c
dpau/render.c
dpau/surface.c
725e4ada3062c80623abf51477dfdc73fe294f3f 20-Jul-2010 Thomas Balling Sørensen <tball@io.dk> Made some decoding function for mpeg2-decoding
dpau/Makefile
dpau/decode.c
dpau/device.c
dpau/query.c
dpau/surface.c
dpau/vdpau_private.h
87290a383be2eeffef4407eeb17c1070d1122b2f 20-Jul-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fixes for recent GLX cleanup.

Mainly, the type of __GLXdisplayPrivateRec::screenConfigs has changed
from "__GLXscreenConfigs *" to "__GLXscreenConfigs **".
gl/x11/glxinit.c
gl/x11/x11_screen.c
c7ad2a4e79dcb3aadaa26a484feb4cd24c74074d 19-Jul-2010 Chia-I Wu <olv@lunarg.com> st/dri: Remove driFrameTrackingExtension.

The extension has been removed in
22266c391fbe17603b15a83d4ccf5fa9455ccf8d.
ri/drm/dri2.c
c97ccc33531d4bf3f3154515317255645ada2afe 18-Jul-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> Added decode.c
dpau/decode.c
14e362c79aedd9b463c74ef2e56ad96101ceb2af 18-Jul-2010 Sven Arvidsson <sa@whiz.se> gallium/st/dri2: add dri2 vblank query extension support

from bugzilla:
https://bugs.freedesktop.org/show_bug.cgi?id=28771

Signed-off-by: Dave Airlie <airlied@redhat.com>
ri/drm/dri2.c
06a49b18729890417094aa9602c1cc1ea8b970e2 14-Jul-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> fixed compilation
dpau/surface.c
3299997bcc5a672617095adb560b3834dced39a6 14-Jul-2010 Thomas Balling Sørensen <tball@io.dk> vdpau changes
dpau/Makefile
dpau/device.c
dpau/ftab.c
dpau/query.c
dpau/vdpau_private.h
15bc635499589dc3490e5bdc198dfd376ce6fb1f 14-Jul-2010 Thomas Balling Sørensen <tball@tball-laptop.(none)> added surface.c and made some changes in device.c
dpau/surface.c
cf588ab3f1edb89be4cd57045a3888ff482fa817 06-Jul-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add support for !GLX_DIRECT_RENDERING.

st/egl uses GLX code for DRI2 support. It should honor
GLX_DIRECT_RENDERING.

Also updates configure.ac to define GLX_DIRECT_RENDERING for st/egl.
gl/x11/glxinit.c
gl/x11/native_dri2.c
gl/x11/x11_screen.c
gl/x11/x11_screen.h
1f0bcce6be14cb8916433cc8d7af0ace9799c0b0 04-Jul-2010 Vinson Lee <vlee@vmware.com> st/egl: Remove unnecessary headers.
gl/x11/native_x11.c
c5bc0a8d666334cb9ae823a12fac53f02a1ac592 30-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Manually free configs on terminate.

The configs should be FREE()ed, not free()ed. We cannot rely on
_eglCleanupDisplay here.
gl/common/egl_g3d.c
8b0c6c4a8dc1899d56e52fe3b0a9e1165c30ecae 30-Jun-2010 Chia-I Wu <olv@lunarg.com> egl: Store screens in a dynamic array.
gl/common/egl_g3d.c
6717a313f26e42a7864f46f499637462a7cc3d57 30-Jun-2010 Chia-I Wu <olv@lunarg.com> egl: Store configs in a dynamic array.
gl/common/egl_g3d_api.c
2d8e70fcd57b23786e3f4196f35440ed1861a98b 30-Jun-2010 Chia-I Wu <olv@lunarg.com> st/vega: Match MALLOC/FREE for vg_shader.

A vg_shader is destroyed with FREE.
ega/shaders_cache.c
f914cd1796845164109c837a111c39ba64852ad4 30-Jun-2010 nobled <nobled@dreamwidth.org> st/vega: s/free/FREE for matching MALLOC/CALLOC

[Manually fix a conflict in vg_context.c by Chia-I Wu]
ega/image.c
ega/mask.c
ega/paint.c
ega/path.c
ega/renderer.c
ega/shader.c
ega/shaders_cache.c
ega/vg_context.c
ega/vg_manager.c
78215b02e4b4b12d68ee7eecab7c9dff21494bf5 24-Jun-2010 nobled <nobled@dreamwidth.org> st/xorg: s/free/FREE for matching MALLOC/CALLOC
org/xorg_exa_tgsi.c
8977879ec91b21572abd9bb95dcd0e72ba49f753 30-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add egl-gdi target.

The target supports OpenVG on Windows with software rasterizer. The
egl_g3d_loader defined by the target supports arbitrary client APIs and
window systems. It is the SConscript that limits the support to OpenVG
and GDI.

This commit also fixes a typo in gdi backend.
gl/gdi/native_gdi.c
4cb853402b6c55f5dbabf4475cd46b34bd7b1bc1 24-Jun-2010 Chia-I Wu <olv@lunarg.com> egl: Remove st/egl probe code.

It is no longer needed.
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/native.h
gl/common/native_probe.h
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/kms/native_kms.c
gl/x11/native_x11.c
a81ef14228c6fe2893527b7b5f12855c90db3f8e 23-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Build a single EGL driver.

This change makes st/egl build a single egl_gallium.so and multiple
st_<API>.so and pipe_<HW>.so. When a display is initialized, the
corresponding pipe driver will be loaded. When a context is created,
the corresponding state tracker will be loaded.

Unlike DRI drivers, no ABI compatibility is maintained. egl_gallium,
pipe drivers and state trackers should always be distributed as a single
package. As such, there is only a single src/gallium/targets/egl/ that
builds everything for the package.
gl/x11/native_x11.c
d5ab243d5a5bacbd2ba615d40f13c8ab37364745 29-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Move module loading code to targets.

Several changes are made. libegl.a no longer defines _eglMain. It
defines functions to create and destroy a _EGLDriver instead. The
creation function is called by the targets. It takes an egl_g3d_loader
as its argument. The loader is defined by the targets and is in charge
of creating st_api and pipe_screen. This allows us to move the module
loading code to targets. Lastly, the modules are now loaded as the
respective contexts are created.
gl/Makefile
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/egl_g3d_api.c
gl/common/egl_g3d_loader.h
gl/common/egl_g3d_st.c
gl/common/egl_g3d_st.h
gl/common/native.h
gl/common/native_helper.c
gl/common/native_helper.h
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/kms/native_kms.c
gl/kms/native_kms.h
gl/x11/native_dri2.c
gl/x11/native_x11.c
gl/x11/native_x11.h
gl/x11/native_ximage.c
d8e0e114567ec19fd59f974080a418dc959cc9b6 29-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Reorganize targets.

Merge all targets into targets/egl/. The target produces
egl_gallium_<HW>.so for each pipe driver and st_<API>.so for each client
APIs. This enables us to further merge egl_gallium_<HW>.so into
egl_gallium.so later.
gl/Makefile
gl/common/egl_g3d_st.c
ea05299ce54ea0463626277907cab8e849884740 17-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: One driver per hardware.

Merge multiple egl_<platform>_<pipe>.so into a single
egl_gallium_<pipe>.so. The environment variable EGL_PLATFORM is now
used to modify the return value of _eglGetNativePlatform.
gl/Makefile
gl/SConscript
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/native.h
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/kms/native_kms.c
gl/x11/native_x11.c
f66a4e20c19d55005854bbee312947ec16e287e3 17-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Introduce native_platform.

Move native_get_name, native_create_probe, native_get_probe_result, and
native_create_display into struct native_platform, and add
native_get_platform to get a handle to the struct.
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/native.h
gl/common/native_probe.h
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/kms/native_kms.c
gl/x11/native_x11.c
982aba97c581bab0ff55dc9cae4164ab30dfbeae 23-Jun-2010 Chia-I Wu <olv@lunarg.com> st_api: Remove st_context::is_visual_supported.

The callback is used by st/vega to check if a visual specifies the
depth/stencil format. It forces st/vega to be loaded by st/egl to
perform the check. As noted in EGL spec, the depth/stencil format of a
visual should not affect OpenVG. It should be better to ignore the
field and always allocate the depth/stencil texture.
gl/common/egl_g3d.c
ega/vg_context.c
ega/vg_context.h
ega/vg_manager.c
a01e0afd9fc0d647081c6903baa1a7ba505c4b05 28-Jun-2010 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'gallium-drm-driver-drescriptor'

Conflicts:
src/gallium/state_trackers/egl/x11/native_dri2.c
src/gallium/state_trackers/egl/x11/native_x11.c
src/gallium/state_trackers/egl/x11/native_x11.h
src/gallium/state_trackers/xorg/xorg_driver.c
src/gallium/winsys/radeon/drm/radeon_drm.c
f3e34ba6fba76870b1c91a27adb706d1b87aeec8 27-Jun-2010 Younes Manton <younes.m@gmail.com> st/vdpau: Initial commit.

Enough plumbing here to get vdpauinfo working.
dpau/Makefile
dpau/device.c
dpau/ftab.c
dpau/htab.c
dpau/query.c
dpau/vdpau_private.h
f22665df95406567193dee0089f4830664ff4101 17-Jun-2010 Chia-I Wu <olv@lunarg.com> egl: Introduce platform displays internally.

This commit introduces type-safe platform displays internally. A
platform display consists of a generic pointer and an enum that
specifies the platform.

An EGLDisplay is created from a platform display. Native displays
become platform displays whose platform is determined by
_eglGetNativePlatform(). Platform windows and pixmaps may also be
introduced if needed.
gl/common/egl_g3d.c
gl/common/native.h
gl/common/native_probe.h
gl/fbdev/native_fbdev.c
gl/gdi/native_gdi.c
gl/kms/native_kms.c
gl/x11/native_dri2.c
gl/x11/native_x11.c
gl/x11/native_x11.h
gl/x11/native_ximage.c
da39d5d3b46c55f88a2f051368e09284732fd440 17-Jun-2010 Chia-I Wu <olv@lunarg.com> egl: s/EGL_DISPLAY/EGL_PLATFORM/.

A platform is already used to mean a window system in EGL. No need to
use a different term.
gl/Makefile
b9fe9665194899fc0a6336d876ab0596418c7287 13-Jun-2010 Younes Manton <younes.m@gmail.com> vl: Fix RGB subpictures.
org/xvmc/subpicture.c
org/xvmc/surface.c
71580edc017f8feb667953df5a6e0792557672e1 03-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add fbdev backend.

The backend is pure software. It implements EGL_MESA_screen_surface
extension, and is kept simple by only exporting the current mode.
gl/Makefile
gl/fbdev/native_fbdev.c
628cf02d673890fac4f16b9241021a8eda87c96c 11-Jun-2010 Vinson Lee <vlee@vmware.com> st/egl: Remove unnecessary header.
gl/common/egl_g3d_st.c
2e27bf8b7c150987fc6cf6523edf21f9ac921bff 08-Jun-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Add a customizable option to disable 3D.

If no customizer is present, 3D will be enabled by default.
Otherwise the option will default to the customizer value.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_driver.c
org/xorg_tracker.h
6414952efe3b53fd33d73d592da74975a1075330 06-Jun-2010 Younes Manton <younes.m@gmail.com> vl: Drop DRI1, clean up DRI2 bits.
org/xvmc/surface.c
f9d9574913c5edb92191ac3f5e8d011452427852 27-May-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Convert state trackers to drm driver interface
ri/common/dri_screen.h
ri/drm/dri2.c
ri/sw/drisw.c
gl/kms/native_kms.c
gl/kms/native_kms.h
gl/x11/native_dri2.c
gl/x11/native_x11.c
gl/x11/native_x11.h
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_tracker.h
0cfb5ffe3086bdd68cecb55cbfec0c3354731526 03-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix compiler warnings.

Forgot to stage this chunk in last commit.
gl/common/native_helper.h
22c2e57cbb0fd5ed6856a7350672fa01c02b00ca 03-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Move sw screen creation to native helper.

The code is shared by ximage and gdi backend.
gl/Makefile
gl/common/native_helper.c
gl/common/native_helper.h
gl/gdi/native_gdi.c
gl/x11/native_ximage.c
992382762a74fd834926fd2c3cd9e14a186e2dd5 03-Jun-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-newclear'

Conflicts:
src/gallium/state_trackers/python/p_context.i
a6e5c6c000df8655de3b41d5809547bb41c88c23 03-Jun-2010 Roland Scheidegger <sroland@vmware.com> gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencil

more consistent with rest of gallium naming conventions.
Also rename driver-internal names for these the same.
ython/p_context.i
d18fb4822bc71944867b66e6de966e4e55bbe574 03-Jun-2010 Brian Paul <brianp@vmware.com> gallium: add interpolation parameter to simple shader functions

This lets us specify linear interpolation instead of perspective
interpolation for blit operations. Might be a bit faster.
ega/renderer.c
d12f2bb9c03a9e8a08824c849200f5b23c05914c 31-May-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg, vmware: Make throttling configurable.

The xorg state tracker gets two new options to let the user choose
whether to enable / disable dirty throttling and swapbuffer throttling.
The default value of these options are enabled, unless the winsys
supplies a customizer with other values. The customizer record has been
extended to allow this, and also to set winsys-based throttling on a per-
context basis.

The vmware part of this patch disables the dirty throttling if the kernel
supports command submission throttling, and also in that case sets kernel
based throttling for everything but swapbuffers. The vmware winsys does not
set throttling per context, even if it theoretically could, but instead
sets throttling per screen. This should perhaps be changed, should the
xorg state tracker start to use multiple rendering contexts. Kernel throttling
is off by default for all new screens/contexts, so the dri state tracker
is not affected.

This significantly improves interactivity of the vmware xorg driver.

Cherry-picked from commit a8f3b3f88acc1f0193fa740e76e9d815f07f32ab

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
org/xorg_tracker.h
7356d1c140f2989df9e8645cf4b85962f27d0fca 13-Mar-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Fix Xv cliprect scaling.

Due to a quantization error, different cliprects of scaled video windows may
not have identical x / y scale.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_renderer.c
org/xorg_renderer.h
org/xorg_xv.c
195c476f9f693fdcc9981d4233f7c8f61edd7f61 06-Mar-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg Avoid advertizing rotation / reflection support.

We don't support it yet since we don't implement the shadow allocate
functions.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_crtc.c
a27690931be9479353dd8ae0d52186f5c72f4380 31-May-2010 Chia-I Wu <olv@lunarg.com> st/egl: Use stamps only to avoid unnecessary geometry update.

resource_surface_add_resources should still be called even when the
stamps match. For example, a caller may ask for two different sets of
attachments.
gl/gdi/native_gdi.c
gl/x11/native_ximage.c
47de9adece49f78c6e4065bedc69ce13272bc120 31-May-2010 Dave Airlie <airlied@redhat.com> gallium: fix TFP on gallium

This fixes an uninitialised value use in the dri2 st when doing TFP.

It uses the driContextPriv which isn't initialised at alloc time.

Signed-off-by: Dave Airlie <airlied@redhat.com>
ri/common/dri_context.h
7ede18abac601a9cdb7be863415ee3050c591c64 31-May-2010 Chia-I Wu <olv@lunarg.com> st/egl: Update KMS backend to use resource_surface.
gl/kms/native_kms.c
gl/kms/native_kms.h
e4400a48a69ff6d24f1e98b413b0eead37882d59 31-May-2010 Chia-I Wu <olv@lunarg.com> st/egl: Update GDI backend to use resource_surface.
gl/gdi/native_gdi.c
f38a20b4616632d8a5e604362dd661e1900b4ab8 31-May-2010 Chia-I Wu <olv@lunarg.com> st/egl: Update ximage backend to use resource_surface.
gl/x11/native_ximage.c
e1e0307c911f962cfb529c6e16b67ba66f08f6fe 31-May-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add helper functions for use by backends.

There is only resource_surface for now. It helps manage the resources
of a software-based native surface such as XImage or GDI.
gl/SConscript
gl/common/native_helper.c
gl/common/native_helper.h
e5b5d84e8a87a5603a84f8c4625592a278bcf9af 30-May-2010 Chia-I Wu <olv@lunarg.com> st/vega: Use SConscript for Windows build.

Fix several portability issues and add SConscript for Windows build.
ega/SConscript
ega/api_filters.c
ega/arc.c
ega/stroker.c
f6f9d1014b400ac72e463a892c6ae268a31fe26d 30-May-2010 Chia-I Wu <olv@lunarg.com> st/egl: Use OS-specific module suffices.

At least, .dll is used on Windows.
gl/common/egl_g3d_st.c
a8e195ec24dc244d975cbd3526debc2c22e717be 30-May-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add GDI backend.

The backend uses Windows GDI driver to provide a software EGL
implementation on Windows.
gl/SConscript
gl/common/egl_g3d.c
gl/gdi/native_gdi.c
311227abbb05a45475e645367239da165f7f69ed 29-May-2010 José Fonseca <jfonseca@vmware.com> st/python: Expose region_copy/fill_region instead of deprecated surface_copy/fill
ython/p_context.i
0f37f242dd79d8e60b674d6c47e1c305de3a1950 28-May-2010 Chia-I Wu <olv@lunarg.com> st/vega: Use FREE.

Match MALLOC with FREE. Otherwise, it causes weird segfaults when built
with memory debugging.
ega/util_array.h
a5183a38c293249dad36a7230ff872ea7485eee0 30-May-2010 Chia-I Wu <olv@lunarg.com> st/egl: Hook eglCreatePbufferFromClientBuffer.

This is some refactoring works. Creating a pbuffer from an
EGL_OPENVG_IMAGE is still not supported.
gl/common/egl_g3d.h
gl/common/egl_g3d_api.c
gl/common/egl_g3d_st.c
9d7219c560d468e1329d6867cff5033e979f535f 30-May-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix eglCopyBuffers.

It was broken since surface_copy -> resource_copy_region transition.
gl/common/egl_g3d_api.c
20c3d7190ed2c748cf959366a963b7dc973c5423 30-May-2010 Chia-I Wu <olv@lunarg.com> st/egl: Initialize KMS backend from an fd.

Check if the native native is EGL_DEFAULT_DISPLAY. If not, treat it as
an fd.
gl/kms/native_kms.c
62074f44bb5944593b65d6203deae6300bead42d 30-May-2010 Younes Manton <younes.m@gmail.com> st/xvmc: Restore tests removed by merge.
org/xvmc/tests/test_blocks.c
org/xvmc/tests/test_context.c
org/xvmc/tests/test_rendering.c
org/xvmc/tests/test_surface.c
org/xvmc/tests/testlib.c
org/xvmc/tests/testlib.h
org/xvmc/tests/xvmc_bench.c
c350068720a1a16ee53660d69f4648b90fbe2342 29-May-2010 Roland Scheidegger <sroland@vmware.com> st/python: adapt to clear interface changes
ython/p_context.i
057f7e8140865518b448c201dacb7a961a36d9b6 27-May-2010 Brian Paul <brianp@vmware.com> egl/mks: remove extra param from function call
gl/kms/native_kms.c
462bccef4fa47e39342259d53d072f58467305ea 27-May-2010 Brian Paul <brianp@vmware.com> egl_g3d: add missing param to egl_g3d_st_manager_get_egl_image()
gl/common/egl_g3d_st.c
2966a25d3b6f7e767feb082bff7a616cbd60427c 26-May-2010 Vinson Lee <vlee@vmware.com> st/xorg: Remove unnecessary headers.
org/xorg_exa.c
org/xorg_renderer.c
67d5a51021cbd4cecb2f1a3bc24fc14435639d49 26-May-2010 Vinson Lee <vlee@vmware.com> st/dri: Remove dri.c from SCons build.

This was missed in commit f501230db3a94c9328b8e769d9c17b2c3792e19c.
Fixes SCons build.
ri/drm/SConscript
b9706886dbc1fd2eb3c671a8ecd3670f7a680fb9 25-May-2010 Jakob Bornecrantz <jakob@vmware.com> drm_api: Remove type argument from create screen callback

With the removal of DRI1 support there where no use of this argument,
some drivers didn't even properly check it.
ri/drm/dri2.c
gl/x11/native_dri2.c
org/xorg_driver.c
f501230db3a94c9328b8e769d9c17b2c3792e19c 25-May-2010 Jakob Bornecrantz <jakob@vmware.com> st/dri: Remove DRI1 support

Nobody used it and the current code had been trough so many
changes yet never once being tested.
ri/common/dri_screen.c
ri/drm/Makefile
ri/drm/dri1.c
ri/drm/dri1.h
8cbc1517c1ba508dbf4d19f6eee729cdd1df8c37 25-May-2010 Brian Paul <brianp@vmware.com> st/glx: check if deleting head of buffer list
lx/xlib/xm_api.c
0e59cd33e6a38567801c7da541e4caffbd6cccd3 24-May-2010 Younes Manton <younes.m@gmail.com> vl: Get softpipe working again.

Still segfaults on softpipe->destroy() in the draw module when
freeing a vertex buffer.
org/xvmc/surface.c
2c29a93e875dd96fb08c65ec659efc3eb2d5c15e 09-May-2010 Younes Manton <younes.m@gmail.com> vl: Get softpipe building again.
org/xvmc/surface.c
a8ea1dacc63ac567498049e5756c247b9fec6cd9 01-May-2010 Younes Manton <younes.m@gmail.com> Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-video

Conflicts:
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
src/gallium/auxiliary/util/u_format.csv
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_compositor.h
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h
src/gallium/drivers/identity/id_objects.c
src/gallium/drivers/identity/id_objects.h
src/gallium/drivers/identity/id_screen.c
src/gallium/drivers/nv40/Makefile
src/gallium/drivers/nv40/nv40_screen.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/softpipe/sp_texture.h
src/gallium/drivers/softpipe/sp_video_context.c
src/gallium/drivers/softpipe/sp_video_context.h
src/gallium/include/pipe/p_format.h
src/gallium/include/pipe/p_screen.h
src/gallium/include/pipe/p_video_context.h
src/gallium/include/pipe/p_video_state.h
src/gallium/include/state_tracker/dri1_api.h
src/gallium/include/state_tracker/drm_api.h
src/gallium/state_trackers/dri/common/dri_context.c
src/gallium/state_trackers/xorg/xvmc/attributes.c
src/gallium/state_trackers/xorg/xvmc/block.c
src/gallium/state_trackers/xorg/xvmc/context.c
src/gallium/state_trackers/xorg/xvmc/subpicture.c
src/gallium/state_trackers/xorg/xvmc/surface.c
src/gallium/state_trackers/xorg/xvmc/tests/.gitignore
src/gallium/state_trackers/xorg/xvmc/tests/Makefile
src/gallium/state_trackers/xorg/xvmc/xvmc_private.h
src/gallium/winsys/drm/radeon/core/radeon_drm.c
src/gallium/winsys/g3dvl/vl_winsys.h
src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
src/gallium/winsys/sw/Makefile
4db0c760195c67f1bc114fdfb8464791030a526c 22-May-2010 Jakob Borncrantz <jakob@vmware.com> st_api: Give get_egl_image arguments directly to the function
ri/common/dri_screen.c
gl/common/egl_g3d_st.c
83adf8c3a4fd75b7877e1894f6f32a04a4d0bf06 21-May-2010 Brian Paul <brianp@vmware.com> st/glx: fix incorrect parameter type
lx/xlib/xm_api.c
a93f9f343a64ce91587af66761399f9d4c180015 21-May-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Fix invalidate framebuffer with old libGL libraries
ri/common/dri_drawable.c
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri2.c
5f66363f8ed26d6f3fc8fcccde804fe1fea1bbaa 21-May-2010 Jakob Bornecrantz <jakob@vmware.com> st_api: Add get param function to st_manager
ri/common/dri_screen.c
gl/common/egl_g3d_st.c
lx/xlib/xm_api.c
gl/stw_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
519694e0fcbd776787a69b7cef87c14dd7c99dc5 21-May-2010 Keith Whitwell <keithw@vmware.com> gallium: remnants of old ccw state
ython/st_device.c
ef9b4d20d78a748e653a61286d83f33dc6c46184 21-May-2010 Keith Whitwell <keithw@vmware.com> Merge branch 'gallium-front-ccw'
2a15553e431f04d13b757a3a76e4eb7d794f1219 17-May-2010 Roland Scheidegger <sroland@vmware.com> st/egl: adapt to interface changes
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
gl/kms/native_kms.c
gl/x11/native_dri2.c
bf3c8ed481047d0c446d2d3d6d1de82403783fb0 17-May-2010 Roland Scheidegger <sroland@vmware.com> st/dri: adapt to interface changes
ri/common/dri1_helper.c
ri/common/dri_screen.c
ri/drm/dri1.c
685bb6941681f89f71a9169594d87c8e314b94d0 17-May-2010 Roland Scheidegger <sroland@vmware.com> st/glx: adapt to interface changes
lx/xlib/xm_api.c
lx/xlib/xm_st.c
a127e4709dcafa409dde25061481c130064a1c42 17-May-2010 Roland Scheidegger <sroland@vmware.com> st/wgl: adapt to interface changes
gl/stw_pixelformat.c
c36c3d86b62b525291b1c6527de3ac5de93a2faf 17-May-2010 Roland Scheidegger <sroland@vmware.com> st/vega: adapt to interface changes
ega/image.c
ega/renderer.c
ega/vg_context.c
ega/vg_manager.c
48780ec9f99d7af4e98614be597adc3534d6918c 17-May-2010 Roland Scheidegger <sroland@vmware.com> st/xorg: adapt to interface changes
org/xorg_dri2.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_renderer.c
8bd87b662f70070686fdfbea36f3660bd2586e32 17-May-2010 Roland Scheidegger <sroland@vmware.com> st/python: adapt to interface changes

compile tested only.
Should probably change the python surface_copy/fill functions
also into resource_copy/fill_region functions and adapt the code
using them.
ython/p_context.i
ython/p_device.i
9c264642c385557d64b9bc6bbe31d2d15e703aff 14-May-2010 Keith Whitwell <keithw@vmware.com> gallium: more work on ccw flag removal

The linux-debug target builds...
ega/polygon.c
1f6648418dd8194ba7c3333f0b493ebaa0b941ec 11-May-2010 Michel Dänzer <daenzer@vmware.com> st/xorg: Fix SCons build.
org/SConscript
63ab2509bf324812d9632c12528677724bdb8775 05-May-2010 Chia-I Wu <olv@lunarg.com> gallium: Add egl-apis target.

The new target installs client API modules to EGL_DRIVER_INSTALL_DIR.
They are used by st/egl.

The client APIs are built from OpenGL and OpenVG state trackers. For
this to work, st/vega is modified to produce a static library,
libvega.a, instead. st/es is also not needed any more. It is removed
and --with-state-trackers=es is replaced by --enable-gles-overlay.

As st/egl now has its own client API modules, this solves the ABI issue
between st/egl and client APIs, as long as the client API modules are
distributed with st/egl. Plus, this allows st/egl to support OpenGL
with non-Gallium libGL.so.
s/Makefile
s/st_es1.c
s/st_es2.c
ega/Makefile
ega/vg_api.h
ega/vg_manager.c
2773f888dc9cde61dedf1b004e35efcc72ca9240 05-May-2010 Chia-I Wu <olv@lunarg.com> egl_g3d: Check external modules for client APIs first.

dlopen api_<API>.so before dlopening the process itself in case the
client APIs are implemented in external modules.
gl/common/egl_g3d.c
gl/common/egl_g3d_st.c
gl/common/egl_g3d_st.h
80c8c891c9272a9a022335e61fa4c3514bb50df8 07-May-2010 José Fonseca <jfonseca@vmware.com> wgl: Add mapi to includes.
gl/SConscript
75143ef05576ee9f25ee176bc28c3c4d03705bf5 16-Apr-2010 Chia-I Wu <olv@lunarg.com> st/vega: Use vgapi.

Rename vgFooBar to vegaFooBar and use vgapi as the dispatcher. This
makes sure there is always a current context when the internal functions
are called. And eglGetProcAddress is finally supported.
ega/Makefile
ega/api.c
ega/api.h
ega/api_context.c
ega/api_filters.c
ega/api_images.c
ega/api_masks.c
ega/api_misc.c
ega/api_paint.c
ega/api_params.c
ega/api_path.c
ega/api_text.c
ega/api_transform.c
ega/vg_context.c
ega/vg_context.h
ega/vg_manager.c
296adbd545b8efd38c9ed508166b2de2764a444b 25-Apr-2010 Chia-I Wu <olv@lunarg.com> glapi: Move to src/mapi/.

Move glapi to src/mapi/{glapi,es1api,es2api}.
ri/drm/Makefile
ri/drm/SConscript
ri/sw/Makefile
ri/sw/SConscript
gl/Makefile
s/Makefile
lx/xlib/Makefile
lx/xlib/SConscript
8b0c217f2bc123bffd25cc4977d6abb1b3fa8186 04-May-2010 Brian Paul <brianp@vmware.com> gallium: move surface utility functions into u_surface.c

This is a better place than in u_rect.c
ri/drm/dri1.c
ega/renderer.c
org/xorg_exa.c
org/xorg_renderer.c
38e3fb23da9f75632992767fa3a01d335b9bb7ab 02-May-2010 Xavier Chantry <chantry.xavier@gmail.com> Update dri state tracker to use new API aware context create
ri/common/dri_context.c
ri/common/dri_context.h
366798ac6f10daae059d299b92ddf709875cc7ca 29-Apr-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Try hard to not touch hardware after dropping the master
org/xorg_driver.c
org/xorg_exa.c
d8f09ddf1e711f5bc801a8926931ebfba5b0ce7f 23-Apr-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Remove save and restore hw state
org/xorg_driver.c
org/xorg_tracker.h
71d3961a47844baeaf5d0e4a4fd1001dee89d71b 22-Apr-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Get new connection status from kernel
org/xorg_crtc.c
org/xorg_output.c
org/xorg_tracker.h
b0ba8d6f807543d461272833a76059fed8a4d6e9 18-May-2010 Michel Dänzer <daenzer@vmware.com> st/xorg: Don't advertise DRI2 version we don't actually support yet.

Fixes DRI2 initialization with current xserver Git.
org/xorg_dri2.c
7672305da56ca81d272b0588dc7f2931898cf19e 16-May-2010 Vinson Lee <vlee@vmware.com> st/xlib: Remove unnecessary header.
lx/xlib/glx_getproc.c
e9072dcd31b0471584376a616a82603f1c57ddb0 16-May-2010 Vinson Lee <vlee@vmware.com> st/xorg: Remove unnecessary header.
org/xorg_renderer.c
3107b54b011c7ceef2b314632bdcf0b87c5e4d36 25-Apr-2010 Younes Manton <younes.m@gmail.com> st/xvmc: Mark exported funcs with PUBLIC.
org/xvmc/attributes.c
org/xvmc/block.c
org/xvmc/context.c
org/xvmc/subpicture.c
org/xvmc/surface.c
8fbd66d75a7b58a27ceb16bc23dfa5999cbe7483 27-Apr-2010 Jakob Bornecrantz <jakob@vmware.com> st/dri: Don't check for null when user ensures non-null
ri/common/dri_context.c
ae79e778f7fae99812ade79ecf5cf3c783d2a93b 26-Apr-2010 Jakob Bornecrantz <jakob@vmware.com> st/dri: Use flush function of old context not new
ri/common/dri_context.c
2d1b95477fbf91d90c65f8907dce0556b06db6f0 26-Apr-2010 Vinson Lee <vlee@vmware.com> et/egl: Remove dead code.

proc_name cannot be NULL after the switch statement. proc_name is
assigned a value or the function has already returned.
gl/common/egl_g3d_st.c
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.
gl/stw_st.c
1372a8f90dc64350e4ac29dbb8c5feb88bc83cd1 24-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Refactor dri_st_api into other files
ri/common/dri1_helper.c
ri/common/dri_context.c
ri/common/dri_drawable.c
ri/common/dri_drawable.h
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/common/dri_st_api.c
ri/common/dri_st_api.h
ri/drm/Makefile
ri/drm/SConscript
ri/drm/dri1.c
ri/drm/dri2.c
ri/drm/dri_st_api.c
ri/sw/Makefile
ri/sw/SConscript
ri/sw/dri_st_api.c
ri/sw/drisw.c
27779ddad5c61d2fc46367e1556b5e53403c2a97 24-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Make st_framebuffer_iface the base for dri_drawable
ri/common/dri_context.c
ri/common/dri_drawable.c
ri/common/dri_drawable.h
ri/common/dri_st_api.c
ri/common/dri_st_api.h
ri/drm/dri1.c
ri/drm/dri2.c
ri/sw/drisw.c
a66b391edf746a5eb0cb4aad1ff2e546df00a11d 24-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Make st_manager the base for dri_screen
ri/common/dri_context.c
ri/common/dri_context.h
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/common/dri_st_api.c
ri/common/dri_st_api.h
ri/drm/dri1.c
ri/sw/drisw.c
ea6a52a1f8e7fd72b5506218c31e58088131f1f5 24-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Add hooks for framebuffer functions
ri/common/dri_drawable.c
ri/common/dri_drawable.h
ri/common/dri_screen.h
ri/common/dri_st_api.c
ri/drm/dri1.c
ri/drm/dri1.h
ri/drm/dri2.c
ri/drm/dri2.h
ri/sw/drisw.c
ri/sw/drisw.h
ab12d4f647702f0063c41dd090cef762aa95a0f9 24-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Make lookup_egl_image a hook
ri/common/dri_screen.h
ri/common/dri_st_api.c
ri/drm/dri2.c
ri/drm/dri2.h
0c572c6828b6a338b07a6860280b3a314a81662e 24-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st_api: Remove st_module

The struct st_module isn't needed as it is the same thing as the st_api
struct. That is they both represent the API. Instead just use a single
function entry point to the the API.
ri/common/dri_st_api.c
gl/common/egl_g3d_st.c
s/st_es1.c
s/st_es2.c
ega/vg_manager.c
7b7a9e89274d16c7c6c79bf3a0ee2e7c642aaa02 25-Apr-2010 Vinson Lee <vlee@vmware.com> st/dri: Add missing header.

Add GL/internal/dri_interface.h for __DRI_TEXTURE_FORMAT_RGB.
ri/drm/dri2.c
a523b622036117e8bc1be0a1496d4368562e9702 24-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: DRI2 give proper binding to depth buffer
ri/drm/dri2.c
f73feb9cd6095d82b87e7022c351408e6e232797 23-Apr-2010 José Fonseca <jfonseca@vmware.com> st/xlib: Try to propagate failure to create framebuffer.

Doesn't help much, since it is ignored by st_framebuffer_validate.
lx/xlib/xm_st.c
867109f311a9f23a69465e5c65e02fe5a36a1507 21-Apr-2010 Brian Paul <brianp@vmware.com> st/glx: variable 'i' is an enum

Now we can get see 'i' as an enum name instead of a plain integer in gdb.
lx/xlib/xm_st.c
fa2d84d2f78db09d88147276bc0f9b9c2d1586fe 21-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/egl: No need to use drm_api argument struct
gl/kms/native_kms.c
gl/x11/native_dri2.c
71595a5f3f503fdb134bf394239516fed0c1ffa1 21-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/egl: Use correct driver_name field to get kernel driver name
gl/kms/native_kms.c
8a0c99b379db2c7b7d1590553237560023d9f1e2 21-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/egl: Check for null destroy callback on api struct
gl/kms/native_kms.c
a6171a9dd99713266091982215bf1008c9ac8e64 20-Apr-2010 José Fonseca <jfonseca@vmware.com> Merge branch 'gallium-index-bias'
02224ec4e0de8072c9d730821f88e0a00212ff50 20-Apr-2010 Dan Nicholson <dbn.lists@gmail.com> Merge branch '7.8'

Conflicts:
progs/egl/Makefile

progs/egl/Makefile is gone on master with the egl demos split into
subdirectories. Will require an additional commit.
88be2171e7336201e5ee97ade36ba3de4fe939bf 18-Apr-2010 Dan Nicholson <dbn.lists@gmail.com> egl: Pass flags to locate Xlib headers and libraries

eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx
driver and egl programs needs to link to libX11. Make sure we use the
locations the user told us about.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
gl/Makefile
4e7a4bed372a6da4dde8926f3bc30c56e3fbe07b 16-Mar-2010 Dan Nicholson <dbn.lists@gmail.com> Change libX11 variables to not conflict with AC_PATH_XTRA

The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir
parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars
for linking with Xlib to avoid the conflict.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
(cherry picked from commit e725ef171b5a4d5425461f237d9ccab223806913)
lx/xlib/Makefile
4f8bf353bd7e896268e0eb445c61270a8823892a 02-Apr-2010 Dan Nicholson <dbn.lists@gmail.com> gallium: Respect user's CFLAGS for including X headers

This can break on systems that don't have a system X installation.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
(cherry picked from commit de4ee20578a79e024b0de83c40648112f42c994e)

Conflicts:

src/gallium/winsys/xlib/Makefile
lx/xlib/Makefile
5620216c984cdbc8983bc1861ebb09380f3467e4 19-Apr-2010 José Fonseca <jfonseca@vmware.com> st/python: Use index bias.
ython/p_context.i
5eb822cb6a8fb461ee5b1bd881e0ef1b91c432b5 18-Apr-2010 Younes Manton <younes.m@gmail.com> vl: Do some subpicture validation.
org/xvmc/context.c
org/xvmc/subpicture.c
org/xvmc/xvmc_private.h
4b95c9549db721392bf7a1f5ee820af17694fe38 17-Apr-2010 José Fonseca <jfonseca@vmware.com> st/python: Set the bind flag for the default texture.
ython/st_device.c
010f81f32b9e68b768b3436f98953f1d1c0bf1d4 18-Apr-2010 Vinson Lee <vlee@vmware.com> st/dri: Check for NULL before dereference and assignment.
ri/drm/dri1.c
53c57191c5f24d3620e2e4ce95dd12b5c6e9109b 15-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/drisw: Stop pretending to be drm_api

Reviewed-by: George Sapountzis <gsapountzis@gmail.com>
ri/sw/drisw.c
39c81dada01585a6030f03d215842a1a2ae87d86 14-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Refactor init code a bit

Reviewed-by: George Sapountzis <gsapountzis@gmail.com>
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri1.c
ri/drm/dri2.c
ri/sw/drisw.c
e0543599b583ab93c28fff7c91cfc527051b45b1 16-Apr-2010 Vinson Lee <vlee@vmware.com> st/egl: Remove unnecessary header.
gl/x11/native_ximage.c
c0301af88310100475987fe7a6ef3955ce81373e 16-Apr-2010 Vinson Lee <vlee@vmware.com> st/dri: Remove unnecessary header.
ri/drm/dri1.c
a1dbd009d4a725b432a08093dc52486f896915d9 12-Apr-2010 Chia-I Wu <olv@lunarg.com> st/vega: Drop st_public support.

There is no user of st_public now.
ega/Makefile
ega/vg_manager.c
ega/vg_tracker.c
ega/vg_tracker.h
76708c665c393c8316fff8592ee55a5be0d13d14 12-Apr-2010 Chia-I Wu <olv@lunarg.com> st/vega: Do not rely on st_resize_framebuffer.

Add vg_context_update_draw_buffer (and helpers) that duplicates the
logic of st_resize_framebuffer. Use the new function instead of
st_resize_framebuffer in vg_manager.c.
ega/vg_manager.c
c48f21ea7cb9634c1865514f069b8c0993cb5daf 12-Apr-2010 José Fonseca <jfonseca@vmware.com> st/python: Fix regressions.
ython/p_context.i
ython/p_device.i
ython/p_texture.i
0bddb58d2f8dc07500d0b063608d995628dbe363 11-Apr-2010 José Fonseca <jfonseca@vmware.com> stw: Update for pipe_resource interface changes.
gl/stw_st.c
1dc8e08e84c6b014622e00090eb2d7301355faf6 11-Apr-2010 José Fonseca <jfonseca@vmware.com> stw: Fix minor st_api migration glitches.
gl/stw_context.c
gl/stw_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
gl/SConscript
gl/stw_context.c
gl/stw_context.h
gl/stw_device.c
gl/stw_device.h
gl/stw_ext_pixelformat.c
gl/stw_framebuffer.c
gl/stw_framebuffer.h
gl/stw_pixelformat.c
gl/stw_pixelformat.h
gl/stw_st.c
gl/stw_st.h
927e576284e3d8b10a3f5b46bc7680c579a6ff32 12-Apr-2010 Chia-I Wu <olv@lunarg.com> st/egl: Request the front buffer as needed.

The front buffer is added to support old X servers. Check the version
of the server so that it can be added as needed.
gl/x11/native_dri2.c
d93c34cf70e255805a634611e971e9b0e6da1996 12-Apr-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/egl: Fix DRI2 on old X servers
gl/x11/native_dri2.c
870a9d643b1f256e6a379d96a325284dd2f7eeea 11-Apr-2010 Chia-I Wu <olv@lunarg.com> st/egl: Follow the portability guide.

Avoid including standard library headers and use MALLOC/FREE if
possible.
gl/common/egl_g3d.c
gl/common/egl_g3d_api.c
gl/common/egl_g3d_image.c
gl/common/egl_g3d_st.c
gl/common/native.h
gl/kms/native_kms.c
gl/x11/native_dri2.c
gl/x11/native_x11.c
gl/x11/native_ximage.c
gl/x11/x11_screen.c
5ec4b636c4042fecac6aa0b592e35ed32c4ce5c4 11-Apr-2010 Chia-I Wu <olv@lunarg.com> st/egl: Factor driver callbacks to a new file.

Factor all callbacks other than Initialize, Terminate, and GetProcAddress
to egl_g3d_api.c.
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/egl_g3d_api.c
gl/common/egl_g3d_api.h
gl/common/egl_g3d_image.c
47a89e9255846f55efe0992c94b65ae7c911dbb3 10-Apr-2010 José Fonseca <jfonseca@vmware.com> scons: Always build softpipe and llvmpipe (when llvm available).

These are our reference software rasterizers. They can build everywhere
and are a precious debugging tool.

Making them always present immensily simplifies the scons logic.

If people want to avoid building it is still possible to pass
direcotries and target names to scons to narrow the build.
ython/SConscript
ea532f0e725bd68e7784189c9b7f6f7bf7f9d901 10-Apr-2010 José Fonseca <jfonseca@vmware.com> scons: Make LLVM a black-white dependency.

Now that draw depends on llvm it is very difficult to correctly handle
broken llvm installations. Either the user requests LLVM and it needs to
supply a working installation. Or it doesn't, and it gets no LLVM
accelerate pipe drivers.
ython/SConscript
9fc93b80413d63aeb08b5a17602d111ed3899faf 10-Apr-2010 José Fonseca <jfonseca@vmware.com> scons: Use libdrm options only where needed.

Prevents needless recompiles when switching dri=yes to no.
ri/drm/SConscript
f39dcdc70ca7413ba3114c76ea43e52c3ab54612 11-Apr-2010 Vinson Lee <vlee@vmware.com> st/egl: Remove unnecessary header.
gl/common/egl_g3d_image.c
9b3df661bd50b34ca73ae55f98ced64fd970f443 09-Apr-2010 Chia-I Wu <olv@lunarg.com> st/egl: Remove depth/stencil format from the native interface.

A native display has no interest in depth/stencil format. Remove it
from the interface and let the common code derive the supported
depth/stencil formats from the pipe screen.
gl/common/egl_g3d.c
gl/common/native.h
gl/kms/native_kms.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
5fdda9d78d7924fecd711c21910879b7a01dab3f 10-Apr-2010 Chia-I Wu <olv@lunarg.com> st/vega: Require both depth and stencil.

The implementation requires not only a depth buffer, but also a stencil
buffer.
ega/vg_manager.c
f7730c0740cc8a43c3573dcdbf43e76630d957f6 09-Apr-2010 Chia-I Wu <olv@lunarg.com> st/egl: Remove __GLcontextModes from the native interface.

Replace __GLcontextModes by a subset of its attributes that makes sense
to EGL. This also gets rid of GL headers from the common code.
gl/common/egl_g3d.c
gl/common/native.h
gl/common/native_modeset.h
gl/kms/native_kms.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
gl/x11/x11_screen.c
gl/x11/x11_screen.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
ri/common/dri1_helper.c
ri/common/dri1_helper.h
ri/common/dri_drawable.h
ri/common/dri_screen.c
ri/common/dri_st_api.c
ri/common/dri_st_api.h
ri/drm/dri1.c
ri/drm/dri2.c
ri/sw/drisw.c
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/egl_g3d_image.c
gl/common/egl_g3d_st.c
gl/common/native.h
gl/kms/native_kms.c
gl/kms/native_kms.h
gl/x11/native_dri2.c
gl/x11/native_ximage.c
lx/xlib/xm_api.c
lx/xlib/xm_st.c
ython/gallium.i
ython/p_context.i
ython/p_device.i
ython/p_state.i
ython/p_texture.i
ython/st_device.c
ython/st_device.h
ython/st_sample.c
ega/api_filters.c
ega/api_images.c
ega/api_masks.c
ega/image.c
ega/image.h
ega/mask.c
ega/mask.h
ega/paint.c
ega/paint.h
ega/polygon.c
ega/renderer.c
ega/renderer.h
ega/shader.c
ega/st_inlines.h
ega/vg_context.c
ega/vg_context.h
ega/vg_manager.c
ega/vg_tracker.c
ega/vg_tracker.h
gl/stw_pixelformat.c
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_renderer.c
org/xorg_renderer.h
org/xorg_tracker.h
org/xorg_xv.c
org/xvmc/Makefile
org/xvmc/SConscript
org/xvmc/attributes.c
org/xvmc/block.c
org/xvmc/context.c
org/xvmc/subpicture.c
org/xvmc/surface.c
org/xvmc/tests/.gitignore
org/xvmc/tests/Makefile
org/xvmc/tests/test_blocks.c
org/xvmc/tests/test_context.c
org/xvmc/tests/test_rendering.c
org/xvmc/tests/test_surface.c
org/xvmc/tests/testlib.c
org/xvmc/tests/testlib.h
org/xvmc/tests/xvmc_bench.c
org/xvmc/xvmc_private.h
ba81b0743efd978509b1931d7b4b93f37e8aeb5e 09-Apr-2010 Chia-I Wu <olv@lunarg.com> Fix copyright headers.

Update the warranty disclaimer to use the more general "THE AUTHORS OR
COPYRIGHT HOLDERS". This is done manually on files created by me. Hope
that I do not miss anything.
ri/common/dri_st_api.c
ri/common/dri_st_api.h
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/egl_g3d_image.h
gl/common/egl_g3d_st.c
gl/common/egl_g3d_st.h
gl/common/native.h
gl/common/native_modeset.h
gl/common/native_probe.h
gl/kms/native_kms.c
gl/kms/native_kms.h
gl/x11/native_dri2.c
gl/x11/native_x11.c
gl/x11/native_x11.h
gl/x11/native_ximage.c
gl/x11/x11_screen.c
gl/x11/x11_screen.h
lx/xlib/xm_st.c
lx/xlib/xm_st.h
ega/vg_manager.c
ega/vg_manager.h
ad1edb053aa7e4115301c746a408dd2be338713d 09-Apr-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix a typo in determining the render buffer.
gl/common/egl_g3d.c
51c40680518b0d76d2eae373a474392d18be05d7 09-Apr-2010 Corbin Simpson <MostAwesomeDude@gmail.com> st/xorg: Fix thinko.
org/xorg_driver.c
8ddb4e2c81c88c9320ed7fb75464e0b37f4d4536 09-Apr-2010 Corbin Simpson <MostAwesomeDude@gmail.com> st/xorg: Fix bad paramf.

Should be an integer param, according to docs.
org/xorg_driver.c
b80b817195d47984907f46ab74d5146e91bce4cf 09-Apr-2010 Chia-I Wu <olv@lunarg.com> st/egl: Move probe interface to native_probe.h.

native.h is getting a little messy over time.
gl/common/native.h
gl/common/native_probe.h
f69b35fa15f43747dde29addaeec845604d7e127 09-Apr-2010 Chia-I Wu <olv@lunarg.com> st/egl: Remove pbuffer from the native interface.

A pbuffer is an EGL resource. It does not need a native display to
create.
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/egl_g3d_st.c
gl/common/native.h
gl/kms/native_kms.c
gl/kms/native_kms.h
gl/x11/native_dri2.c
gl/x11/native_ximage.c
968bf9634ec03e61441834603f13f0c914bbb0ce 05-Apr-2010 Chia-I Wu <olv@lunarg.com> st/dri: Fix setTexBuffer2 with __DRI_TEXTURE_FORMAT_RGB.

When the format is __DRI_TEXTURE_FORMAT_RGB, the texture should be
treated as if there is no alpha channel.
ri/drm/dri2.c
7915151f2d05e175d00e739e9a3fead922e60096 06-Apr-2010 Chia-I Wu <olv@lunarg.com> st/dri: Implement DRI image extension.
ri/common/dri_st_api.c
ri/common/dri_st_api.h
ri/drm/dri2.c
ri/drm/dri2.h
ffb6a8f55269d99d61eb3dc63dd510141ef817b4 05-Apr-2010 Chia-I Wu <olv@lunarg.com> st/es: Remove unnedded --whole-archive.

All public functions in the archives are either directly referenced or
indirectly referenced by _glapi_get_proc_address. There is no need for
--whole-archive.
s/Makefile
4fb2daf42c8171579cdc18605c5ceeb1963f8b31 05-Apr-2010 Ian Romanick <ian.d.romanick@intel.com> Merge branch '7.8'
776dc53f62c46e235ff8ef2e1eec1a308a036987 12-Mar-2010 Chia-I Wu <olv@lunarg.com> st/egl: Implement get_egl_image hook.

This hook may be used by rendering state trackers to implement EGLImage
extensions.
gl/common/egl_g3d_st.c
1d11ba0ba3d3919bdee62a6513bc0c0d1e68aa66 02-Apr-2010 Yann Droneaud <yann@droneaud.fr> gallium: fix dri_destroy_option_cache() when optionCache.info is NULL

With an Intel 855GM handled by intel_drv, there's a crash with Gallium3D
enabled DRI driver for Intel i915 (--enable-gallium-intel).
The Gallium3D driver doesn't support the 855GM as expected by
intel_drv, it failed to open the screen and give an half
initialized screen structure to dri_destroy_option_cache():
optionCache.info is NULL, so it's crashing while trying
to free array content. This patch at least fix the crash in the function.

Here's some logs of the fixed version:

[ 16274.137] LoaderOpen(/opt/mesa/lib/xorg/modules/drivers/intel_drv.so)
[ 16274.139] (II) Loading /opt/mesa/lib/xorg/modules/drivers/intel_drv.so
[ 16274.183] (II) Module intel: vendor="X.Org Foundation"
[ 16274.183] compiled for 1.8.0, module version = 2.11.0
[ 16274.183] Module class: X.Org Video Driver
[ 16274.183] ABI class: X.Org Video Driver, version 7.0
[ 16274.183] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
[ 16274.382] (II) intel(0): Integrated Graphics Chipset: Intel(R) 855GME
[ 16274.382] (--) intel(0): Chipset: "852GM/855GM"
[ 16276.675] (II) intel(0): [DRI2] Setup complete
[ 16276.675] (II) intel(0): [DRI2] DRI driver: i915
debug_get_option: GALLIUM_TRACE = (null)
debug_get_bool_option: GALLIUM_RBUG = FALSE
debug_get_bool_option: INTEL_DUMP_CMD = FALSE
i915_create_screen: unknown pci id 0x3582, cannot create screen
dri_init_screen_helper: failed to create pipe_screen
[ 16276.794] (EE) AIGLX error: Calling driver entry point failed
[ 16276.794] (EE) AIGLX: reverting to software rendering
[ 16276.794] (II) AIGLX: Screen 0 is not DRI capable
[ 16276.796] (II) AIGLX: Loaded and initialized /opt/mesa/lib/dri/swrast_dri.so
[ 16276.796] (II) GLX: Initialized DRISWRAST GL provider for screen 0

Signed-off-by: Yann Droneaud <yann@droneaud.fr>
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
ri/common/dri_screen.c
154d9242de865c3cca8e597be911d69a53077ab1 02-Apr-2010 Chia-I Wu <olv@lunarg.com> st/vega: Do not depend on libm.

This fixes the "no rule to make target -lm" error on darwin, reported by
Jeremy Huddleston.
ega/Makefile
2ae66e9b97e9864367c26fc5f9cb86896bc83b45 02-Apr-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add a missing break.

The swtich in egl_g3d_st_framebuffer_validate misses a break.
gl/common/egl_g3d_st.c
f14c5adbc78b010d1b07eee9f0f65a99d0df4248 01-Apr-2010 José Fonseca <jfonseca@vmware.com> st/python: Allow to sample only in the [0,1] range.
ython/p_context.i
ython/st_sample.c
ython/st_sample.h
e011272fa357fbb22377220fa1d8655d063e4aa0 01-Apr-2010 José Fonseca <jfonseca@vmware.com> st/python: Always use softpipe as reference driver.
ython/st_device.c
ython/st_hardpipe_winsys.c
ython/st_softpipe_winsys.c
ython/st_winsys.h
d97f6963aee71d8fafa2a94a5fe1f3ca4b4ef16d 31-Mar-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-new-formats'

Conflicts:
src/gallium/auxiliary/util/u_format.csv
src/gallium/auxiliary/util/u_format_access.py
src/gallium/auxiliary/util/u_format_pack.py
52b4691518422f82ee9f34ae94a2c4dfd1a0cfd0 31-Mar-2010 José Fonseca <jfonseca@vmware.com> st/python: Generate binding for u_format utility functions too.
ython/gallium.i
ython/u_format.i
5123e33863ac37242eb5e867cd0a38fecbd06b48 31-Mar-2010 Vinson Lee <vlee@vmware.com> st/dri: Remove unnecessary header.
ri/common/dri_drawable.c
91454fb94d76d2984081bbe56e1de08de8bc100c 31-Mar-2010 Vinson Lee <vlee@vmware.com> st/dri: Remove unnecessary header.
ri/common/dri_st_api.c
aa1a79036003c2aeaae24877da66e9b46a059cad 30-Mar-2010 Chia-I Wu <olv@lunarg.com> st/dri: Fix a memory leak in dri1_init_screen.

Free the returned configs upon errors.
ri/drm/dri1.c
49289007c1fb7609a1c37aeb2daeeb96a47b8438 30-Mar-2010 Vinson Lee <vlee@vmware.com> drisw: Remove unnecessary header.
ri/sw/drisw.c
c1a392ac4c6a7da4026653de556c2c7698f86860 30-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Remove a wrong assertion in choose_pixel_format.

There are X visuals that Gallium or the code does not support. We could
not assert the color format to be supported. Return PIPE_FORMAT_NONE in
such cases and let the caller handle it.
lx/xlib/glx_api.c
lx/xlib/xm_api.c
733df0059f04e3fd7e3265d3c80dd8029f939c60 30-Mar-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'master' into gallium-new-formats

Conflicts:
src/gallium/auxiliary/util/u_format.csv
6fb364a1717858d8201b2caf234076ce5d4832ac 30-Mar-2010 Roland Scheidegger <sroland@vmware.com> gallium: adapt all code to the renamed depth/stencil formats
ri/common/dri_screen.c
gl/kms/native_kms.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
lx/xlib/xm_api.c
ega/vg_tracker.c
gl/stw_pixelformat.c
org/xorg_dri2.c
d0e7aa25a9258aaf0bf9b22c1e75eda1515a69f7 29-Mar-2010 José Fonseca <jfonseca@vmware.com> st/python: Update for util_draw_vertex_buffer changes.
ython/p_context.i
69492c3aca8361b903a7daaa697c0660faa22b04 29-Mar-2010 José Fonseca <jfonseca@vmware.com> st/python: Move surface read/write methods to context.
ython/p_context.i
ython/p_texture.i
ython/st_sample.c
ython/st_sample.h
625e024b186829f199458679921916971a5b00cb 29-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri/sw: add drisw_api similarly to dri1_api

I am pretty sure that this is in gallium spirit, so commit. Thanks to Chia-I
for suggesting this.
ri/common/dri_st_api.c
ri/drm/dri1.c
ri/sw/drisw.c
ri/sw/drisw.h
588dd187c45490368354f340f5175d2c4d7cbd3c 29-Mar-2010 José Fonseca <jfonseca@vmware.com> Revert "python: Temporarily disable python state tracker until transfers are done by contexts"

This reverts commit 50a778661930ec7aa875a9c5235e9910143ec700.
ython/SConscript
42ab3f6fd2a019e63bf66cc59c5afb8cb6a53741 27-Mar-2010 Keith Whitwell <keithw@vmware.com> st/python: updates for recent interface changes

Still problems at runtime with vertex elements, etc.

Building still disabled.
ython/p_texture.i
ython/st_device.c
ython/st_sample.c
ython/st_softpipe_winsys.c
a24fc90703f62d286031cb2ee8f625ef728243fd 28-Mar-2010 George Sapountzis <gsapountzis@gmail.com> drisw: probably better hack for stride and some comments
ri/sw/drisw.c
f4e561ce127cf484d7c76c29b8cd026c9ad5cebc 27-Mar-2010 George Sapountzis <gsapountzis@gmail.com> drisw: make stride issue profound
ri/sw/drisw.c
03832881325348871db1dad613bdcf8f4265a240 27-Mar-2010 Vinson Lee <vlee@vmware.com> st/dri: Fix SCons build.

This was missed in commit 4b722bf9fde668dff1c2b55b34eb3f86c78f43fb.
dri_extensions.c was removed from Makefile but not from SConscript.
ri/drm/SConscript
ri/sw/SConscript
3ae082f00cad3f2323a3747fe3b6f02b8f8c5285 26-Mar-2010 George Sapountzis <gsapountzis@gmail.com> swrastg: allow for any of the software rasterizers.

This function should be put in targets/common or winsys/sw/common and shared
with targers/libgl-xlib and winsys/sw/drm.

For targets/common, you get layering violations in the build system unless
all of drm_api's are moved under targets.
ri/sw/drisw.c
fc35d203c70a89b723e5ebeff1918e7607d67a79 26-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: add comment about the ifdef in dri_screen.c
ri/common/dri_screen.c
5b07257fdbb5a93f432b8eaf3a41f39b26bdb1f3 26-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: factor out common init_screen code
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/drm/dri1.c
ri/drm/dri2.c
ri/sw/drisw.c
1fbfc22d8560c9d900832147f504ff64c64358de 26-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri mv __driDriverExtensions to drisw.c and dri2.c
ri/common/dri_screen.c
ri/drm/dri2.c
ri/sw/drisw.c
4b722bf9fde668dff1c2b55b34eb3f86c78f43fb 26-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: fold dri_extensions.c into dri_context.c
ri/common/dri_context.c
ri/common/dri_context.h
ri/common/dri_extensions.c
ri/drm/Makefile
ri/drm/dri_extensions.c
ri/sw/Makefile
ri/sw/dri_extensions.c
7f91f2efb5b92a9ad8506c54643142f40f286d5c 26-Mar-2010 Jakob Bornecrantz <wallbraker@gmail.com> swrastg: Build with scons
ri/SConscript
ri/sw/SConscript
80672e84cf79ab12b7a4ff56567184d1c39baef3 25-Mar-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Move common files to common directory

27 files changed, 15 insertions(+), 15 deletions(-)
rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_context.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_context.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_extensions.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_screen.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_screen.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_wrapper.h (100%)
ri/common/dri1_helper.c
ri/common/dri1_helper.h
ri/common/dri_context.c
ri/common/dri_context.h
ri/common/dri_drawable.c
ri/common/dri_drawable.h
ri/common/dri_extensions.c
ri/common/dri_screen.c
ri/common/dri_screen.h
ri/common/dri_st_api.c
ri/common/dri_st_api.h
ri/common/dri_wrapper.h
ri/dri1_helper.c
ri/dri1_helper.h
ri/dri_context.c
ri/dri_context.h
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_extensions.c
ri/dri_screen.c
ri/dri_screen.h
ri/dri_st_api.c
ri/dri_st_api.h
ri/dri_wrapper.h
ri/drm/Makefile
ri/drm/SConscript
ri/drm/dri1_helper.c
ri/drm/dri_extensions.c
ri/drm/dri_st_api.c
ri/sw/Makefile
ri/sw/dri1_helper.c
ri/sw/dri_extensions.c
ri/sw/dri_st_api.c
5b1fc14627ae37c5def70e2d5fe28bf7a4becee6 25-Mar-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Reshuffle files and make it obvious which files are shared

In short:
git mv ../drisw/Makefile dri/sw
git mv drisw.[c|h] sw
git mv dri2.[c|h] dri1.[c|h] Makefile drm
git rm ../drisw
ln -s <common files> drm/*
ln -s <common files> sw/*
ri/Makefile
ri/SConscript
ri/common/dri_context.c
ri/common/dri_drawable.c
ri/common/dri_screen.c
ri/dri1.c
ri/dri1.h
ri/dri2.c
ri/dri2.h
ri/drisw.c
ri/drisw.h
ri/drm/Makefile
ri/drm/SConscript
ri/drm/dri1.c
ri/drm/dri1.h
ri/drm/dri1_helper.c
ri/drm/dri2.c
ri/drm/dri2.h
ri/drm/dri_extensions.c
ri/drm/dri_st_api.c
ri/sw/Makefile
ri/sw/dri1_helper.c
ri/sw/dri_extensions.c
ri/sw/dri_st_api.c
ri/sw/drisw.c
ri/sw/drisw.h
risw/Makefile
risw/dri1_helper.c
risw/dri_context.c
risw/dri_drawable.c
risw/dri_extensions.c
risw/dri_screen.c
risw/dri_st_api.c
risw/drisw.c
9eaadfeaa54d15fc3eb90d4137795ace4f920b2f 25-Mar-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Don't include sw vs drm dri headers
ri/dri_screen.c
ri/dri_st_api.c
8f47f5320f1a8d4750152f7783cf72073d0979bd 25-Mar-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Add dri2 prefix for all dri2.c functions
ri/dri2.c
ri/dri2.h
ri/dri_screen.c
ri/dri_st_api.c
1570e30b487018f056af4d0b5ca83a889f9ce721 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: add TODO list for DRISW
ri/drisw.c
992e9572bdbc1f3d5243ca8eecbd6a372721a62b 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> swrastg_dri: add state_tracker
risw/Makefile
risw/dri1_helper.c
risw/dri_context.c
risw/dri_drawable.c
risw/dri_extensions.c
risw/dri_screen.c
risw/dri_st_api.c
risw/drisw.c
5b75e12f9165c890fd14b22983d6289be8f20abc 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: add drisw
ri/dri_screen.c
ri/dri_screen.h
ri/dri_st_api.c
ri/drisw.c
ri/drisw.h
1bed0eb98e00ed9ea7431f19ab3bed8860864264 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: add dri_wrapper.h
ri/dri1.h
ri/dri2.h
ri/dri_context.c
ri/dri_context.h
ri/dri_screen.h
ri/dri_wrapper.h
4ce16e13ce5ca89943b86a8e8cdb5354892a13a6 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: export DRI1 surface / pipe

They will be used by DRISW. Also, add destroy functions.
ri/Makefile
ri/SConscript
ri/dri1.c
ri/dri1.h
ri/dri1_helper.c
ri/dri1_helper.h
ri/dri_drawable.c
ri/dri_screen.c
ri/dri_st_api.c
6a7bd8eb95e7d304725b09272dc9c40a337182e1 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: split out DRI2 code
ri/Makefile
ri/SConscript
ri/dri2.c
ri/dri2.h
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_screen.c
ri/dri_screen.h
ri/dri_st_api.c
96c152b4b066f6e3583821ad44ec8a527ab55e05 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: make get_texture into validate_att

This is a wrapper around dri_st_framebuffer_validate for a single attachment.
Also, call validate through hook to make it more generic.
ri/dri_drawable.c
ri/dri_st_api.c
ri/dri_st_api.h
a21c30308db206467a54394b1ddda444861ee9b6 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: flush_frontbuffer, allocate_textures for dri2

dri_st_framebuffer functions just forward to dri1/dri2 functions.
ri/dri_st_api.c
24056e76637c9d79d996c6bc060576907bd9b2aa 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: flush_frontbuffer, allocate_textures for dri1

* ptex is get by flush_frontbuffer, similar to swap_buffers
* comment for allocate_textures
* texture_mask is managed at the st_fb level
ri/dri1.c
ri/dri1.h
ri/dri_st_api.c
03c4573ecaeedc8439ebbdfe90f7873fcd9706a1 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: minor cosmetic for buffers
ri/dri_st_api.c
c049d58a229125ce7ad61c645902eb2638e87194 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: minor cosmetic for screen

- put extensions above init_screen
- split out destroy_option_cache
ri/dri_screen.c
d7f78065acb09769195a58303ce3e9a401bf7a43 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: add inline for dri2 check done in multiple places
ri/dri_screen.c
ri/dri_screen.h
ri/dri_st_api.c
372011bc892481e61c273a12d9601fd6008751ea 25-Mar-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Fix for X server 1.6.0 (DRI2 version 1)
ri/dri_st_api.c
8ba47561dd45e1cd737992544545d7fa0f61918b 24-Mar-2010 Brian Paul <brianp@vmware.com> st/glx: add support for multiple displays

This is a quick & dirty solution, but it works. See comments in
the code for other ideas.

Fixes regressions/breakage seen in progs/xdemos/glxheads, etc. from commit
6632915e957149c153a3f793c400a532b4995b18.
lx/xlib/xm_api.c
e725ef171b5a4d5425461f237d9ccab223806913 16-Mar-2010 Dan Nicholson <dbn.lists@gmail.com> Change libX11 variables to not conflict with AC_PATH_XTRA

The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir
parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars
for linking with Xlib to avoid the conflict.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
lx/xlib/Makefile
4ceeb1307a018f426784620d3376f9f1ea07e53b 23-Mar-2010 Brian Paul <brianp@vmware.com> st/glx: better format selection in xmesa_choose_z_stencil_format()

This is a back-port of commit ef2664da6c4db1b52ef351641e3ee949b87f9c7b
from master.
lx/xlib/xm_api.c
ef2664da6c4db1b52ef351641e3ee949b87f9c7b 22-Mar-2010 Brian Paul <brianp@vmware.com> st/glx: fix depth/stencil format selection code

This fixes a pretty big performance regression caused by commit
3475e88442c16fb2b50b903fe246b3ebe49da226.

When the user does not request a stencil buffer it's important that we
don't use a depth/stencil format (or at least make it our last choice).
If the user calls glClear(GL_DEPTH_BUFFER_BIT) when we have a combined
depth/stencil buffer, that causes us to hit the clear_with_quad() path
which can be much, much slower than calling pipe_context::clear().

Also, try to use a shallower depth format before a deeper one.
lx/xlib/xm_api.c
12deb9e6ca76d222badf71c8643e84640673e86d 21-Mar-2010 Chia-I Wu <olv@lunarg.com> Merge remote branch 'origin/gallium-st-api-dri'
fe5f070ef94219f12196bff6cb3274756ea03660 19-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: fix bug in make_current
ri/dri_context.c
92827cd4511fabcaeb8abfdd11122e04502d5944 19-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: fix bug in allocate_textures
ri/dri1.c
e5f0384ad06359aa1b9dc1b4bc6f475f7a119af2 19-Mar-2010 Roland Scheidegger <sroland@vmware.com> st/vega: fix up vega state tracker to use cso changes

use cso fragment sampler views instead of sampler textures.
since we don't really change views, try to store sampler views instead
of the textures to avoid having to recreate views most of the time.
ega/api_filters.c
ega/image.c
ega/image.h
ega/mask.c
ega/mask.h
ega/paint.c
ega/paint.h
ega/renderer.c
ega/renderer.h
ega/shader.c
ega/vg_context.c
ega/vg_context.h
ega/vg_tracker.c
8221a0e7f7eeff2c8201afcf4f5b46fc36dc8606 19-Mar-2010 Brian Paul <brianp@vmware.com> es: added -I$(TOP)/include path
s/Makefile
bd1ce874728c06d08a1f9881f51edbdd2f1c9db0 08-Mar-2010 Chia-I Wu <olv@lunarg.com> st/dri: Switch from st_public.h to st_api.h.

This is tested with demos found in progs/demos. However, only the DRI2
path is tested.
ri/dri1.c
ri/dri1.h
ri/dri_context.c
ri/dri_context.h
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_extensions.c
ri/dri_screen.c
ri/dri_screen.h
ri/dri_st_api.c
5ff21634f3074122ed8b8e4019c8092e31be0335 08-Mar-2010 Chia-I Wu <olv@lunarg.com> st/dri: Implement st_api.h callbacks.

This commit adds dri_st_api.c that implements st_api.h callbacks. A
following commit will switch st/dri from st_public.h to st_api.h.
ri/Makefile
ri/SConscript
ri/dri_drawable.h
ri/dri_st_api.c
ri/dri_st_api.h
903b90926c7aebb7f48f3c0fdbe90cd22dd5b662 16-Mar-2010 Chia-I Wu <olv@lunarg.com> st/dri: Headers and public symbols clean up.

Remove unused headers and stop marking driDriverAPI as PUBLIC.
ri/dri1.c
ri/dri1.h
ri/dri_context.c
ri/dri_drawable.c
ri/dri_screen.c
61631a89a3268925c89934c77ed7c2482eaa1fd1 16-Mar-2010 Chia-I Wu <olv@lunarg.com> st/dri: Move DRI1 bits in dri_context.c to dri1.c.
ri/dri1.c
ri/dri_context.c
ri/dri_context.h
a437bc50f2f8ff6e91fdf4dc9758b35cff35645a 16-Mar-2010 Chia-I Wu <olv@lunarg.com> st/dri: Move DRI1 bits in dri_drawable.c to dri1.c.
ri/dri1.c
ri/dri1.h
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_screen.c
ca69249f25e0cb89dbfc3d98b92e7386a3029efa 16-Mar-2010 Chia-I Wu <olv@lunarg.com> st/dri: Move DRI1 bits in dri_screen.c to dri1.c.
ri/Makefile
ri/SConscript
ri/dri1.c
ri/dri1.h
ri/dri_context.c
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_screen.c
ri/dri_screen.h
ac8662c29dbf96b456d23308c1bc459eea63e36c 16-Mar-2010 Roland Scheidegger <sroland@vmware.com> st/xorg: fix up xorg state tracker to use cso changes

use cso_set_fragment_sampler_views instead of cso_set_sampler_textures
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_renderer.c
org/xorg_renderer.h
org/xorg_xv.c
8cdfd1219a2d13d252a8691ee6dddb0d773bdc77 16-Mar-2010 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/master' into gallium-sampler-view

This branch already seems to have the nv50_tex.c fix.

Conflicts:
src/gallium/drivers/nv50/nv50_tex.c
9d3a873f425fde83628b547c4b4638f39d78c1b9 16-Mar-2010 Chia-I Wu <olv@lunarg.com> Merge remote branch 'origin/gallium-st-api'
8e848d682e74f9ae3e105635fe55d19ed8c94547 15-Mar-2010 Dave Airlie <airlied@redhat.com> gallium: fix frontbuffer rendering with r300g

No idea if this is the correct fix, but it makes it work again at least.

Signed-off-by: Dave Airlie <airlied@redhat.com>
ri/dri_context.c
42910ebe7b9748c0ecb6a597bae3e7d43c7e170f 15-Mar-2010 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/master' into gallium-sampler-view

Conflicts:
src/gallium/drivers/nv30/nv30_context.h
src/gallium/drivers/nv30/nv30_state.c
src/gallium/drivers/nv40/nv40_context.h
src/gallium/drivers/nv40/nv40_state.c
src/gallium/drivers/r300/r300_emit.c
23e9a25e1ff01d9f3ef5cc99f59e0fda0ac2d421 14-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Fix glXCopySubBufferMESA.

Honor the (x, y) and (width, height) pairs.
lx/xlib/xm_st.c
d6262bdcfb64e1f88f6a890829f5c30c26bc372b 13-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Sync the back buffer to the front buffer.

Consider this rendering sequence

* render to the back buffer
* swap buffers
* read from the front buffer

The front buffer is expected to have the contents of the back buffer.
lx/xlib/xm_st.c
48bc3cca89f7aecc40d1661e695796113df6e583 14-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Add support for GLX_MESA_copy_sub_buffer.

Create a per-display pipe_context as needed to copy the contents between
framebuffer attachments. This allows us to support
GLX_MESA_copy_sub_buffer.
lx/xlib/xm_api.c
lx/xlib/xm_api.h
lx/xlib/xm_st.c
lx/xlib/xm_st.h
6632915e957149c153a3f793c400a532b4995b18 14-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Add xmesa_display to hold per-display variables.

This basically adds a static xmesa_display to collect per-display static
variables in xm_api.c. Multiple display support is still missing, but
this is a step forward.
lx/xlib/xm_api.c
lx/xlib/xm_api.h
de4ee20578a79e024b0de83c40648112f42c994e 13-Mar-2010 Dan Nicholson <dbn.lists@gmail.com> gallium: Respect user's CFLAGS for including X headers

This can break on systems that don't have a system X installation.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
lx/xlib/Makefile
47bfbd452c93e6a8db013fb90d9f42210cf24889 13-Mar-2010 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/master' into gallium-sampler-view

Conflicts:
src/gallium/auxiliary/util/u_tile.c
src/gallium/auxiliary/util/u_tile.h
src/gallium/drivers/identity/id_context.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_setup.h
src/gallium/drivers/softpipe/sp_tex_tile_cache.c
src/gallium/include/pipe/p_context.h
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
50a778661930ec7aa875a9c5235e9910143ec700 12-Mar-2010 José Fonseca <jfonseca@vmware.com> python: Temporarily disable python state tracker until transfers are done by contexts

It requires changes not ony to the state tracker but to the python
scripts too.
ython/SConscript
66cd38f465499863de106e1ae83b5de85072c29b 13-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Fix framebuffer validation.

When xmesa_st_framebuffer_validate was called twice with different sets
of attachments, the second call was ignored. Add a texture_mask to
remember which textures have been requested to make sure the missing
ones get created.
lx/xlib/xm_st.c
418b9ac2990fc6809de359a862ee809d3b86343c 13-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Correctly set buffer_mask of a visual.

Stupid typos again..
lx/xlib/xm_api.c
813c58d77e21cb59adb914b4b4ee26be758ff0ea 13-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Make xmesa_create_st_api a callback of xm_driver.

Instead of guessing the API in st/glx, let the target decide how to
create st_api.
lx/xlib/xm_api.c
lx/xlib/xm_public.h
lx/xlib/xm_st.c
lx/xlib/xm_st.h
fecb97aab42e1a099f12cc7a47ed7219cd041809 13-Mar-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix eglCopyBuffers.

Use a (real) pipe context to copy between pipe surfaces. Fix a NULL
dereference of the temporary native surface created for copying.
gl/common/egl_g3d.c
gl/common/egl_g3d.h
495bfb0ad2e60638e7b2e94f36f0079e3f450091 12-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Fix leaks in xmesa_st_framebuffer.

The textures and surface of a framebuffer should be unreferenced when
the framebuffer is destroyed.
lx/xlib/xm_st.c
9222c0934910172daf2405b0e581becdfbc80405 12-Mar-2010 Chia-I Wu <olv@lunarg.com> st/egl: Cache the pipe surface used in flush_frontbuffer.

It is very likely that the same surface will be flushed again and again.
Caching the surface should reduce the overhead of surface creation.
gl/x11/native_ximage.c
99218cd2b3377cee1d2ec07ae4af1278660f61ae 13-Mar-2010 Younes Manton <younes.m@gmail.com> vl: Add some query methods to pipe_video_context and use them.
org/xvmc/surface.c
035332cbbbc173387b2c03c5f7120a2fdb608625 12-Mar-2010 Younes Manton <younes.m@gmail.com> vl: Remove pipe_video_surface hooks from pipe_screen as well.
org/xvmc/surface.c
59d6f3eb4a4052ef764a9ba0589e64a5252feceb 12-Mar-2010 Michel Dänzer <daenzer@vmware.com> st/xorg: Remove flushes no longer necessary thanks to context transfers.
org/xorg_composite.c
org/xorg_exa.c
f1bbd41e326ce7a90e9b5956195203eee537cbc7 12-Mar-2010 Younes Manton <younes.m@gmail.com> vl: Don't wrap blocks in pipe_user_buffers.

Mallocing/free eat up a noticeable amount of CPU time for no
practical benefit.
org/xvmc/surface.c
b13e305ee1a2454265fd957a99640a2e49507bea 12-Mar-2010 Michel Dänzer <daenzer@vmware.com> Merge branch '7.8'
51a51899d0e7eab93468f51296c196b2f3978332 12-Mar-2010 Michel Dänzer <daenzer@vmware.com> st/dri: Always try to set up R5G6B5 configs.

Allows compiz to work in depth 16.

The DRI2 getBuffersWithFormat hook is only required for 16/32 bit depth
buffers, for colour buffers the only requirement is that the format matches
the drawable depth, which we can't check here.

(cherry picked from commit c50477c255a34444720fb944c54373462ef39fb9)
ri/dri_screen.c
299407aaa3d3a4ab96097e110df1a7db16eaee9c 12-Mar-2010 Younes Manton <younes.m@gmail.com> vl: Get rid of pipe_video_surface.
org/xvmc/surface.c
org/xvmc/xvmc_private.h
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>
gl/stw_framebuffer.h
475ab3b5aff71edd95776783dd65417006db951f 12-Mar-2010 Keith Whitwell <keithw@vmware.com> st/xorg: context transfers
org/xorg_crtc.c
org/xorg_exa.c
org/xorg_xv.c
915b3529b9794c0d41f37b33365eeeb9b2152e9d 12-Mar-2010 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/gallium-context-transfers-2'
a8238bb08a95e7ea4430450c304a6bee210df1a6 07-Mar-2010 Younes Manton <younes.m@gmail.com> Merge remote branch 'origin/master' into pipe-video

Conflicts:
configure.ac
src/gallium/auxiliary/vl/Makefile
src/gallium/auxiliary/vl/SConscript
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_compositor.h
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h
src/gallium/drivers/nouveau/nouveau_winsys.h
src/gallium/drivers/softpipe/sp_video_context.c
src/gallium/include/pipe/p_video_state.h
src/gallium/include/state_tracker/drm_api.h
src/gallium/state_trackers/xorg/xvmc/surface.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.h
src/gallium/winsys/drm/radeon/core/radeon_drm.c
src/gallium/winsys/g3dvl/nouveau/Makefile
9dae0e0ff88957d16db47130a2646179fb5fc267 12-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Add xm_st.c to SConscript.
lx/xlib/SConscript
3475e88442c16fb2b50b903fe246b3ebe49da226 12-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Return a better format in choose_depth_stencil_format.

Return a better format instead of an exact format in
choose_depth_stencil_format. Also, prefer formats with stencil bits.
lx/xlib/xm_api.c
72ed7eb15a12ad88647dddefde5999ddd308b9e4 12-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Fix an infinite recursion in flush_front.

It was a stupid typo by me when I refactored the code.
lx/xlib/xm_st.c
576d9af505bd19ccaac04a68c8744f36f887bd5c 10-Mar-2010 Chia-I Wu <olv@lunarg.com> st/glx: Use st_api.h instead of st_public.h.
lx/xlib/Makefile
lx/xlib/glx_api.c
lx/xlib/xm_api.c
lx/xlib/xm_api.h
lx/xlib/xm_st.c
lx/xlib/xm_st.h
a924dd18c32bbc0056a799cf621dc2835644c16e 14-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl: Use st_api.h instead of st_public.h.

Switch from st_public.h to st_api.h. The latter has intrinsic multiple
APIs support and allows various EGLImage extensions to be supported.
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/egl_g3d_st.c
gl/common/egl_g3d_st.h
gl/common/egl_st.c
gl/common/egl_st.h
gl/common/st_public_tmp.h
3a3a31bf88c42890fbc2e4211981f97bd43dff4a 07-Feb-2010 Chia-I Wu <olv@lunarg.com> winsys/xlib, st/es: Advertise st_api.h support.

This is done by defining one of st_module_OpenGL_ES1,
st_module_OpenGL_ES2, and st_module_OpenGL.
s/Makefile
s/st_es1.c
s/st_es2.c
de8a879f5c77dbf5c31251e07b2f1b8d2635716c 07-Feb-2010 Chia-I Wu <olv@lunarg.com> st/mesa: Implement st_api.h.

There is currently no user of this new interface. As the inteface can
coexist with st_public.h, everthing should work as before.

ST_TEXTURE_2D is both defined by st_public.h and st_api.h. Reorder the
headers in st/dri to avoid conflicts.
ri/dri_context.c
ri/dri_drawable.c
8bcd616a3ffd040ef28b61b38b22da2dad9e2242 13-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/vega: Implement st_api.h.

There is currently no user of this new interface. As the inteface can
coexist with st_public.h, everthing should work as before.
ega/Makefile
ega/api_context.c
ega/api_masks.c
ega/vg_context.c
ega/vg_context.h
ega/vg_manager.c
ega/vg_manager.h
ed1c69710c5046a80a86a9e8b51a1cb15b1b92eb 11-Mar-2010 Roland Scheidegger <sroland@vmware.com> st/mesa: don't enable extensions which aren't actually supported

don't enable APPLE_client_storage, TDFX_texture_compression_FXT1,
EXT_cull_vertex, NV_vertex_program, NV_vertex_program1_1 -
the latter two might work somewhat with some luck.
Also don't enable ARB_imaging.
ri/dri_extensions.c
d35ecca5ee231c072687578642e0c22c6c0590b1 11-Mar-2010 Keith Whitwell <keithw@vmware.com> gallium: remove pipe_context member from pipe_transfer

There was very little use for this beyond permitting the
pipe_context::tex_transfer_destroy() function to omit the pipe_context
argument.

This change adds the pipe_context argument into tex_transfer_destroy()
so that it looks like other pipe_context functions, and removes the
pipe_context pointer from pipe_transfer.
ega/api_filters.c
ega/api_images.c
ega/image.c
ega/paint.c
b43c182f19c6291c88420fa12714f952c2b461fb 11-Mar-2010 Keith Whitwell <keithw@vmware.com> Squashed commit of gallium-context-transfers:

commit 7a2ee04629681e59ea147b440856c4f9a33ae9f8
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 11 14:19:17 2010 +0000

nv: convert to context transfers

commit 188a3f5331c8e5966729fd59d02975afb7324adc
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 11 14:11:10 2010 +0000

nouveau: remove unused variable

commit 5c8e880ab4dc020358c08728b8adb1637d2dc5bc
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 11 12:31:21 2010 +0000

mesa/st: fix compilation after merge

commit c552595333f860c2a4807e195596acdf5d6a5ef8
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 11 12:31:06 2010 +0000

util: fix compilation after merge

commit e80836878a3617b0e350d2a8f92311832a1476cb
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 11 12:30:47 2010 +0000

r300g: fix compilation after merge

commit 0e4883e9511b9db4e75a4dbc78d7bb970badc15d
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 11 12:18:45 2010 +0000

i965g: fix incorrect merge

commit 17d74133d8168eebf93bf1390de79930fc8da231
Merge: cb81c79 aa311ae
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 11 12:08:32 2010 +0000

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

Conflicts:
src/gallium/drivers/i965/brw_screen_texture.c
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/svga/svga_screen_texture.c
src/gallium/state_trackers/egl/x11/native_ximage.c

commit cb81c79098bc3a92a4d2a3dcc0edc972dfb407be
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 2 16:04:01 2010 +0000

egl/x11: hack for context transfers

There is a better approach to this in the winsys-handle branch, but
for now avoid using transfers at all by always allocating our own
backing store directly.

commit f44a24e1d4ad7563f3eedd6b3a5688f53a36265c
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 2 16:03:16 2010 +0000

llvmpipe: context transfers

commit 4d7475ef8104b3b478c7c6ce77cd3506c57e25d1
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 2 16:02:50 2010 +0000

llvmpipe: disable testprogs build

Not working.

commit a9bf98c4d36bd92a76f81e83747eb9b8f0a0515f
Merge: ee0f97e 0c616da
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 2 15:28:25 2010 +0000

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

Conflicts:
src/mesa/state_tracker/st_cb_accum.c
src/mesa/state_tracker/st_cb_bitmap.c

commit ee0f97e8d9fd5ef57211a8e1268f505c9829e246
Merge: a7f078e 828f545
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Feb 19 13:00:29 2010 +0000

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

Conflicts:
src/gallium/auxiliary/util/u_debug.h
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/llvmpipe/lp_flush.c
src/gallium/drivers/nv30/nv30_screen.h
src/gallium/drivers/nv40/nv40_context.h
src/gallium/drivers/nv40/nv40_screen.h
src/gallium/drivers/nv50/nv50_context.h
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r300/r300_winsys.h
src/gallium/drivers/softpipe/sp_context.c
src/gallium/drivers/trace/tr_context.c
src/gallium/state_trackers/dri/dri_context.c
src/gallium/state_trackers/egl/common/egl_g3d.c
src/gallium/state_trackers/python/st_device.c
src/gallium/winsys/drm/radeon/core/radeon_drm.c

commit a7f078e16d851b53ef316066dcced46eb39ebe24
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Feb 5 14:16:11 2010 +0000

gallium: move texture transfers to pipe_context

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.
ega/api_filters.c
ega/api_images.c
ega/image.c
ega/paint.c
ega/st_inlines.h
a0ae2ca033ec2024da1e01d1c11c0437837c031b 06-Mar-2010 Marek Olšák <maraeo@gmail.com> st/dri: move extension initilization to st/mesa completely

Extensions were enabled in both st/mesa and st/dri, with st/dri completely
overriding the decisions of st/mesa and exposing even the extensions claimed
to be unsupported by a pipe driver.

This commit moves the differences between the two to st/mesa and removes
the responsibilty of advertising extensions from st/dri.
ri/dri_extensions.c
fc1dd5ce1de8b9c0a02b9fb08aaeac0c38372e65 11-Mar-2010 Michel Dänzer <daenzer@vmware.com> Merge remote branch 'origin/7.8'
54af54277a7a469ed2b9821ef6ed7ed464381f91 06-Feb-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Include cursorstr.h
org/xorg_crtc.c
a56da1005d30da60701e33b75d5f4f37096df060 10-Mar-2010 Michel Dänzer <daenzer@vmware.com> Merge branch '7.8'
766d90f1a201d8fd19e49df14d712efbb82223b4 10-Mar-2010 Michel Dänzer <daenzer@vmware.com> st/xorg: Work around cursor reference counting bugs in older X servers.

Could result in use of freed memory and consequently random crashes, e.g. on
screen resize.
(cherry picked from commit 21c91b410a2a2cbf8eb677e59e3322f86320f2b0)

Conflicts:

src/gallium/state_trackers/xorg/xorg_tracker.h
org/xorg_crtc.c
org/xorg_driver.c
org/xorg_tracker.h
3ce4375912c8ea488460e593e07c5bb15b92dca9 10-Mar-2010 Michal Krol <michal@vmware.com> Merge branch 'master' into gallium-sampler-view

Conflicts:
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
src/gallium/auxiliary/tgsi/tgsi_exec.c
src/gallium/auxiliary/util/u_blitter.c
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i965/brw_context.h
src/gallium/drivers/llvmpipe/lp_context.h
src/gallium/drivers/nv50/nv50_context.h
src/gallium/drivers/nv50/nv50_state_validate.c
src/gallium/drivers/nv50/nv50_tex.c
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/softpipe/sp_context.h
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_sampler.c
e4848d21e8f384f4157076d5e7c7c9d38da6598e 10-Mar-2010 Chia-I Wu <olv@lunarg.com> gallium: Do not mix winsys-drawable-handle and context-private.

update_buffer should be called with context-private, not
winsys-drawable-handle.
ega/vg_tracker.c
986ce8f1c118007062cacd4b4bad54657cd09a65 10-Mar-2010 José Fonseca <jfonseca@vmware.com> python: Remove broken link hack.
ython/SConscript
ython/st_hardpipe_winsys.c
7b8641bbba995bc3fc299b1018720caa1e91cb9f 10-Mar-2010 José Fonseca <jfonseca@vmware.com> python: More build fixes.
ython/SConscript
ython/st_device.c
0731d14a43191233e91fbebe5b47b13faa655f9f 10-Mar-2010 Keith Whitwell <keithw@vmware.com> target-helpers: remove swrast_xlib.c helper

This was a good idea, but ended up tying the build systems in knots.
We can revisit this later, in particular if we can put in place dummy
implementations of cell_create_screen(), llvmpipe_create_screen()
which just return NULL if the driver isn't available.

In the meantime, just duplicate this smallish function in the two
places it was being called.
gl/x11/native_ximage.c
6b707667c853c6c0ded3715050a01cfdbd4883c2 10-Mar-2010 José Fonseca <jfonseca@vmware.com> python: Handle the possibility that no driver is selected.
ython/st_softpipe_winsys.c
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.
ython/st_device.c
gl/stw_device.c
gl/stw_device.h
gl/stw_ext_gallium.c
gl/stw_framebuffer.c
601bfb5951ae303b54b4dd8a50bf0558017bf549 10-Mar-2010 José Fonseca <jfonseca@vmware.com> python: Fix up state tracker for sw api.
ython/SConscript
ython/st_device.c
ython/st_device.h
ython/st_hardpipe_winsys.c
ython/st_llvmpipe_winsys.c
ython/st_softpipe_winsys.c
ython/st_winsys.h
80f86d22b2d16e3191dfeedcb9ea94bf30db68a5 10-Mar-2010 Keith Whitwell <keithw@vmware.com> st/wgl: add missing paramter
gl/stw_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.
ri/dri_context.c
gl/common/egl_g3d.c
gl/common/st_public_tmp.h
lx/xlib/xm_api.c
ega/vg_tracker.c
ega/vg_tracker.h
gl/stw_context.c
155fbcb0ed85c6452cbedd2317f201100fe698ab 10-Mar-2010 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/master' into gallium-sw-api-2
1f92cf55e1d19864a51e620a14c6912e94cd14ea 10-Mar-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix build errors in ximage backend after merge.

This fixes assorted merge conflicts when master is merged to
gallium-sw-api-2 in 0c96690a5b6e1c2d114e7ec5f1e9d60a4ff2a330.
gl/x11/native_x11.c
gl/x11/native_x11.h
gl/x11/native_ximage.c
5e72b89b89fe172638afa66abdd6607d11970e5a 09-Mar-2010 Keith Whitwell <keithw@vmware.com> egl/x11: use swrast-xlib helper
gl/x11/native_ximage.c
d0aea650320fec0b8e01110eeee22b1f3700d587 09-Mar-2010 Keith Whitwell <keithw@vmware.com> gallium: create helper for swrast+xlib combination

Several targets may want to reuse this code. It's pretty simple, not
sure if this is really a win.
lx/xlib/xm_api.c
lx/xlib/xm_public.h
lx/xlib/xm_winsys.h
999932bf1feed4cbf834b2c81510aab09dda56dc 09-Mar-2010 Keith Whitwell <keithw@vmware.com> targets/libgl-xlib: add code to inject trace and identity layers

Finally we can inject layers for debug, trace and "other" with
relative ease between state-tracker and driver.
lx/xlib/xm_api.c
685340a53e1dcb2a888e634ee71ba24356befe69 09-Mar-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-vertexelementcso'

Conflicts:
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i965/brw_draw_upload.c
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_state_derived.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_clear.c
d5bf9c0a5e51d160e7037297faf7657a0e2c6360 09-Mar-2010 Keith Whitwell <keithw@vmware.com> ws/xlib: manage the GC internally

No need for the user of this winsys to supply/manage the x11 gc for
us.
gl/x11/native_ximage.c
lx/xlib/xm_api.c
0c96690a5b6e1c2d114e7ec5f1e9d60a4ff2a330 09-Mar-2010 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/master' into gallium-sw-api-2

Conflicts:
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/softpipe/sp_winsys.h
src/gallium/state_trackers/egl/common/egl_g3d.c
src/gallium/state_trackers/egl/x11/native_x11.c
src/gallium/state_trackers/egl/x11/native_x11.h
src/gallium/state_trackers/egl/x11/native_ximage.c
6f4ce4a4fed9f0f0f0ee89a63e406ab86dae7150 09-Mar-2010 Keith Whitwell <keithw@vmware.com> Squashed commit of gallium-no-texture-blanket

commit f90b3f01af82b9522067b1824e21709a6fb2d3af
Author: Keith Whitwell <keithw@vmware.com>
Date: Mon Mar 8 14:39:44 2010 +0000

gallium: remove p_screen::surface_buffer_create

This isn't very useful without texture_blanket(), which has also been
removed.

Note that this function hasn't been removed from the old pipe_winsys
(u_simple_screen) still used internally by some drivers (eg softpipe).

commit 6c462de39a4b9980a5f034a95e580efdfcb8173b
Author: Keith Whitwell <keithw@vmware.com>
Date: Mon Mar 8 14:27:40 2010 +0000

egl/x11: disable texture_blanket usage

commit b42da9160df9f47224e5b3291b972f41767aa6e5
Merge: 4be2436 3ca9336
Author: Keith Whitwell <keithw@vmware.com>
Date: Mon Mar 8 14:27:24 2010 +0000

Merge commit 'origin/master' into gallium-no-texture-blanket

Conflicts:
src/gallium/drivers/svga/svga_screen_texture.c

commit 4be2436316929e3dfc55bc34d810920c06556b66
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 4 14:59:26 2010 +0000

gallium: remove texture blanket call

No longer needed, except for nouveau and egl/xll/native_ximage.c.

Fix for nouveau is to keep the call, but move it to an internal
function within nouveau.

Fix for that egl/x11 relies on gallium-sw-api branch or its successor.

commit 69b6764330367d63c237d0bde9fb96435d0e0257
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 4 13:35:16 2010 +0000

drm_api: wrap comment
gl/x11/native_ximage.c
95c5c69b505f562b61e23fa7dd500dbdd432a70d 08-Mar-2010 Chia-I Wu <olv@lunarg.com> st/egl: Use xlib_sw_winsys in ximage backend.
gl/common/egl_g3d.c
gl/common/native.h
gl/x11/native_x11.c
gl/x11/native_x11.h
gl/x11/native_ximage.c
gl/x11/sw_winsys.c
gl/x11/sw_winsys.h
2b76e04a8ca92c02e705c6286c55975b0045d9af 09-Mar-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix KMS build error after winsys handle change.
gl/kms/native_kms.c
e799163dec1fd23dadc9d3eaf5e71e9e7d23a818 09-Mar-2010 Brian Paul <brianp@vmware.com> vega: remove redundant DEFINES from .c.o rule
ega/Makefile
3ab8211be40e3cd835bd1f6947b2c56f9a0c7a59 08-Mar-2010 Keith Whitwell <keithw@vmware.com> gallium: remove xlib_driver::display_surface

Just use flush_frontbuffer directly. The flush_frontbuffer routine has
been somewhat devalued recently, but it is actually just the right
interface for our needs.

It is in pipe_screen, meaning that any wrapping (eg trace module)
will get properly unwrapped before we try and use the pipe_surface
argument for real.

If a particular co-state-tracker needs to implement this itself, it
should organize a way to allow the winsys to call back up to its
level, rather than hijacking the driver-supplied implementation.
lx/xlib/xm_api.c
99f11d0e18e1ff5a433c84d52ffc13b9684c2650 08-Mar-2010 Keith Whitwell <keithw@vmware.com> gallium: introduce target directory

Currently there are still at least two functions bundled up inside the
winsys concept:

a) that of a backend resource manager, sometimes capable of performing
present() operations,

b) the initialization code/routine for the whole driver stack.

The inclusion of (b) makes it difficult to share implementations of
(a) between different drivers. For instance, a clean xlib winsys
could be of use for software-rasterized VG, GLES, EGL, etc, stacks.
But that is only true as long as there is no dependency from the
winsys to higher level code, as would be the case when we include (b)
in this component.

This change creates a new gallium/targets subtree, specifically for
implementing the glue needed to build individual driver stacks, and
moves that code out of a single example winsys, namely xlib.

Other drivers continue to build unchanged, but hopefully can migrate
to this structure over time.
lx/xlib/SConscript
lx/xlib/xm_winsys.h
e5923a1240d8b32f5af080b0b4191d3b9299a630 08-Mar-2010 Brian Paul <brianp@vmware.com> Merge branch '7.8'
1675d05f911fbd569efb5248674aa71cb755c75b 08-Mar-2010 Keith Whitwell <keithw@vmware.com> winsys/xlib: remove dependency on glx/x11 state tracker

Introduce xlib_drawable struct, pass this down to winsys instead of
having it use the internal data structures from glx/x11
lx/xlib/glx_api.c
lx/xlib/xm_api.c
lx/xlib/xm_api.h
lx/xlib/xm_winsys.h
3ca933623cf0fd3b025ab7d1b37d3fd01c854807 08-Mar-2010 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/gallium-winsys-handle-rebased'
ee6fbf8d2f4718452c36366a08aa798cdda45ace 03-Mar-2010 Chia-I Wu <olv@lunarg.com> st/vega: Fix OpenVG demo segfaults.

When the paint is color, paint_bind_samplers binds a dummy sampler
without a texture. It causes demos requiring a sampler (those use a
mask or an image) to crash.
ega/paint.c
80468464897682b8e10aeab310f20fdd7ddc6cb4 06-Mar-2010 Younes Manton <younes.m@gmail.com> vl: Subpicture/compositing fixes.
org/xvmc/subpicture.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
8580b7a0eeed3fc29320b2c0a184084e4267661a 06-Mar-2010 Younes Manton <younes.m@gmail.com> vl: Add some basic debug output for XvMC.

Set the XVMC_DEBUG env var to:
0 for no extra output
1 for error output
2 for warning output
3 for tracing output
org/xvmc/context.c
org/xvmc/subpicture.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
9373447a614e7b401919328b589b5f2607e456fd 05-Mar-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add support for EGL_KHR_image_base and EGL_KHR_image_pixmap.

These extensions are not quite useful until the client APIs gain support
for the respective EGLImage extensions.
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/egl_g3d_image.c
gl/common/egl_g3d_image.h
fade8a6eb639d633cfdbba4a3ba3aa3cc5c04fa6 05-Mar-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add get_param to native display interface.

get_param can be used to query the parameters of a native display.
There is only NATIVE_PARAM_USE_NATIVE_BUFFER right now. It queries
whether the window/pixmap surfaces use the native buffers instead of
private buffers.
gl/common/native.h
gl/kms/native_kms.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
89a75b763467d83d4d402c91db55548682be14f0 05-Mar-2010 Chia-I Wu <olv@lunarg.com> st/egl: Move modeset interface to native_modeset.h.

native.h is getting more and more complex. Move the independent modeset
interface to native_modeset.h to simplify native.h a little.
gl/common/native.h
gl/common/native_modeset.h
e38f28ddedd6d4902ae18b1bf243e67d4b16decb 21-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add event support to the native display interface.

There is only invalid_surface event right now. When EGL receives the
event, it sets the force_validate flag of the context binding to the
surface. This helps skip an unnecessary check.
gl/common/egl_g3d.c
gl/common/native.h
gl/kms/native_kms.c
gl/kms/native_kms.h
gl/x11/native_dri2.c
gl/x11/native_x11.c
gl/x11/native_x11.h
gl/x11/native_ximage.c
f4113012e0b0defa0ddb8ff3b7f6a518df9ac1e0 04-Mar-2010 Vinson Lee <vlee@vmware.com> wgl: Fix mingw32 build.

This was missed in commit fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8.
gl/stw_pixelformat.c
fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8 25-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove support for creating color-index visuals

Remove the rgbMode and indexBits parameters from _mesa_create_visual
and _mesa_initialize_visual. These values are now hardcoded to
GL_TRUE and 0.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
lx/xlib/xm_api.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
gl/stw_device.c
0b6e45e1ee55a63db5cb43fe863e054e13e87869 01-Mar-2010 José Fonseca <jfonseca@vmware.com> python: Rename pipe formats.
ython/st_device.c
ython/st_sample.c
b306308757c0ce3cf47a50bac12bb39f212ca6b2 01-Mar-2010 José Fonseca <jfonseca@vmware.com> vega: Rename pipe formats.
ega/api_filters.c
ega/image.c
ega/mask.c
ega/paint.c
ega/vg_tracker.c
5706d7fcaf3c3238c652593d5669b9f793c6cdce 01-Mar-2010 José Fonseca <jfonseca@vmware.com> wgl: Rename pipe formats.
gl/stw_pixelformat.c
d34a1a7028d76d783bbe0337c1b5613e37b31179 01-Mar-2010 José Fonseca <jfonseca@vmware.com> xorg: Rename pipe formats.
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_exa.c
org/xvmc/surface.c
41b80461b77abbd595d7597bea2a2585875e8a74 01-Mar-2010 José Fonseca <jfonseca@vmware.com> glx: Rename pipe formats.
lx/xlib/xm_api.c
ae3926011e6bd08ac921209cb4b189df4c255007 01-Mar-2010 José Fonseca <jfonseca@vmware.com> egl: Rename pipe formats.
gl/common/egl_g3d.c
gl/kms/native_kms.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
c456dd5b4be15b1fe842e03dd40da4505e79e3fa 01-Mar-2010 José Fonseca <jfonseca@vmware.com> dri: Rename pipe formats.
ri/dri_drawable.c
ri/dri_screen.c
9abef5ebfa6be3f8d39fbc8b92293c2c0c81ce46 01-Mar-2010 Roland Scheidegger <sroland@vmware.com> vega: adapt to new vertex element cso
ython/p_context.i
1f57069c68f7bf812d4d2e054c5ced3ed72cfa10 01-Mar-2010 Roland Scheidegger <sroland@vmware.com> vega: adapt to new vertex element cso
ega/api_masks.c
ega/polygon.c
ega/renderer.c
ega/vg_context.c
ega/vg_context.h
711476be2904bd16d45b424236d6aefa9a9e6bc9 01-Mar-2010 Roland Scheidegger <sroland@vmware.com> xorg: adapt to new vertex element cso
org/xorg_renderer.c
org/xorg_renderer.h
88e640fc14c3146966b6ba886d7f79874e745b35 01-Mar-2010 José Fonseca <jfonseca@vmware.com> xlib: Use PIPE_FORMAT_R8G8B8A8_UNORM(_REV) as appropriate.
lx/xlib/xm_api.c
3f37f23d17734e8a49809859df58354ed9c00a2d 17-Feb-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Reorg texture usage flags

Introduce a new shared usage and rename primary to scanout.
The display target usage is more of a windows concept and
doesn't mean the same thing as shared. Display target means
that the surface should be presentable, for softpipe this
means that it should be backed by a hardware buffer.
gl/kms/native_kms.c
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_exa.c
org/xvmc/surface.c
b2e94d05c9602e2814a513a51eed67d014b338f3 15-Feb-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Expose a opaque winsys handle and functions on pipe_screen

Instead of having these functions on a side interface like on
drm_api create a opaque winsys_handle that is to be passed down
into the winsys.

Currently the only thing ported to this new interface is drm_api,
and of that only the components that builds by default is ported.
All the drivers and any extra state trackers needs to be ported
before this can go into master.
ri/dri_drawable.c
gl/x11/native_dri2.c
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_driver.c
f54aecc4f2e83babd1883c2bbd0bba6906cdab07 28-Feb-2010 José Fonseca <jfonseca@vmware.com> python: Don't mention deprecated drivers=trace option.

Now trace always built.
ython/README
307071fe1e2bfacba9780e2397785495ae0b0ea1 27-Feb-2010 Vinson Lee <vlee@vmware.com> st/dri: Assert pointer is not null before dereferencing.
ri/dri_drawable.c
bbefd86125f89451d75a96f31e1f4c871a1582c0 25-Feb-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Re-enable crtc on resize
org/xorg_driver.c
122b472814d7694d997a55aac3d32340bf09218d 25-Feb-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fix copy-topy
org/xorg_driver.c
956cd73c23269e4f76cbfee9076ec6eeb1f3262a 22-Feb-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Make resize fail gracefully
org/xorg_driver.c
bad4b29d77817b54ab9b19ff9c8a0e5bf2de00fa 22-Feb-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Obey max {width|height} from kernel and Gallium
org/xorg_driver.c
55e5737bae6b88c2d1bc4c0d94e11548518659b8 15-Feb-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg: Encapsulate all customizable stuff in a separate class.

This avoids exposing the ms driver structure to the winsys,
and nicely encapsulates driver customizable stuff.
In the future more things might be customizable by the winsys, like
throttling, 3D readback etc.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_driver.c
org/xorg_tracker.h
dfe0cc4b021572bd4646630cf9faec2492cbf416 18-Feb-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: A bit more debugging info
org/xorg_driver.c
1eb5b42097fe2cf6e9d87db72dc004379e424101 18-Feb-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Make default of debugging fallbacks smart

Set it to the same as 2d acceleration
org/xorg_driver.c
0a1b760cd274aff96d68757dabf9caa077119f37 15-Feb-2010 Thomas Hellstrom <thellstrom@vmware.com> st/xorg, vmware/xorg: Fix xnfcalloc arguments.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_driver.c
aec4d225b28bfb97aa04845fe038b37e4ffad240 25-Feb-2010 Michal Krol <michal@vmware.com> python: Fix typo.
ython/p_state.i
ython/tests/regress/fragment-shader/frag-abs.png
6e28a4e0bcd98327838855175a5b214c31a4cde0 25-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Reduce validation round-trips in DRI2 backend.

This is similar to the changes to reduce the round-trips in ximage
backend.

When the server supports DRI_InvalidateBuffers, the event is used to
update the server stamp (this path is not tested). Otherwise, the
server stamp is updated when flush_frontbuffer or swap_buffers is
called. This makes sure at least the client APIs get the new buffers
when a new frame is started while skipping all round-trips during the
drawing.
gl/x11/native_dri2.c
33b92471a7b97c4f3ebf722e8551f37e167a445c 25-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Reduce validation round-trips in ximage backend.

ximage_surface_validate is called several times per frame. This commit
adds the client and server stamps to reduce the round-trips to the
server. The idea is to bump the server stamp when flush_frontbuffer or
swap_buffers is called, and to skip the round-trip when the client stamp
is equal to the server stamp. This makes sure the client APIs get the
new buffers when a new frame is started while skipping all round-trips
during the drawing. To make this work, egl_g3d_validate_context is no
longer called after swap_buffers.
gl/common/egl_g3d.c
gl/x11/native_ximage.c
29ec53d8439eab85f39de02bd18539c26410d2bf 24-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Refactor dri2_surface_get_buffers.

Add dri2_surface_process_drawable_buffers to process the buffers
returned by the server.
gl/x11/native_dri2.c
545ac97f9b95e9b5ebd04d2960abb224b5adbe17 17-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add dri2InvalidateBuffers.

src/glx/dri2.c will call dri2InvalidateBuffers when
DRI2_InvalidateBuffers event is received. This fixes a missing symbol
error, and paves the way for event-based validation.
gl/x11/native_dri2.c
gl/x11/native_x11.c
gl/x11/x11_screen.c
gl/x11/x11_screen.h
3e0181f47334534be081caa912a20d278fd07149 25-Feb-2010 Michal Krol <michal@vmware.com> python: Fix typo.
ython/p_state.i
ython/tests/regress/fragment-shader/frag-abs.png
92a8c42baa64fbf8e1a986a0b820fe1744c1b3b3 25-Feb-2010 Michal Krol <michal@vmware.com> python: Fix after sampler view changes.
ython/gallium.i
ython/p_context.i
ython/st_device.c
ython/st_device.h
a84575cdc0c8193b2c7858734e2ec6b1ec4511b2 24-Feb-2010 Brian Paul <brianp@vmware.com> st/glx: improved depth/stencil format selection code

Actually ask the gallium screen what Z/stencil format is supported.
This will let us remove some hacks in the llvmpipe driver.
lx/xlib/glx_api.c
lx/xlib/xm_api.c
lx/xlib/xm_api.h
f7830dc3916b355452f656dba955804fd7535544 24-Feb-2010 Brian Paul <brianp@vmware.com> st/glx: added PIPE_FORMAT_Z24S8_UNORM code
lx/xlib/xm_api.c
58a72cd65e352849a5ce7be473fc5a2a7fc32e79 22-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Unify surface creation.

Add a new function egl_g3d_create_surface and use it to create window,
pixmap, buffer, and screen surfaces.
gl/common/egl_g3d.c
1207482a0340bfe92e2ff764e55d619c8036a47d 21-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Disable SHM in ximage backend.

With pipe_screen::update_buffer being called in st_validate_state, it is
likely that softpipe will flush tile caches to a detached SHM segment.
Disable SHM for now until a better solution is found.
gl/x11/native_x11.c
dbaa84515318c3cf1d4be67fc10ca3bd6bc00e0f 21-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Properly convert vrefresh to refresh rate.

Some kernels have vrefresh = (refresh rate * 1000) while others don't.
Use some heuristics here.
gl/kms/native_kms.c
5d4d54574ffb73ecafd44bc533556608f3ab9ffa 21-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Enable extensions before adding configs.

Configs are validated before added. The validation depends on the
extensions available. If configs are added before enabling extensions,
configs with EGL_SCREEN_SURFACE_MESA bit set will never pass the
validation for example.
gl/common/egl_g3d.c
719c4b0fc2672adcaacd81877db9901ff5cd1d7c 19-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Do not force validate when update_buffer is called.

st/mesa was changed to call pipe_screen::update_buffer in
st_validate_state. In most cases there is no need to validate.
gl/common/egl_g3d.c
9d88006ca62bd1cd95e775852f4d797963b3fa20 19-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Clean up DRI2 surface.

Mainly to move the call to DRI2GetBuffers from dri2_surface_validate to
the new dri2_surface_update_buffers.
gl/x11/native_dri2.c
d6b348ddd182999e4f3514e990e0bfb4f871805b 19-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Clean up ximage surface.

Mainly to move buffer allocation code from ximage_surface_validate to
the new ximage_surface_update_buffers.
gl/x11/native_ximage.c
71e3abc014cf8a1c18dcfd87517546a47ba41b6d 21-Feb-2010 Vinson Lee <vlee@vmware.com> st/xlib: Add assert to check for null pointer dereference.
lx/xlib/xm_api.c
298be2b028263b2c343a707662c6fbfa18293cb2 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace the _mesa_*printf() wrappers with the plain libc versions
lx/xlib/glx_api.c
lx/xlib/xm_api.c
32f2fd1c5d6088692551c80352b7d6fa35b0cd09 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
lx/xlib/glx_api.c
lx/xlib/xm_api.c
2240ba10f30315410bcff77e372ee71664ac4453 19-Feb-2010 Brian Paul <brianp@vmware.com> mesa: replace old MEMSET macro with memset
lx/xlib/glx_usefont.c
e197de56cdb86835f1437688a9161cd909792d80 19-Feb-2010 Brian Paul <brianp@vmware.com> mesa: replace old MEMCPY macro with memcpy
lx/xlib/xm_api.c
c7ac486261ad30ef654f6d0b1608da4e8483cd40 19-Feb-2010 Kenneth Graunke <kenneth@whitecape.org> Remove _mesa_memcpy in favor of plain memcpy.

This may break the SUNOS4 build, but it's no longer relevant.
lx/xlib/glx_api.c
60b0cae412029e53654f38d0de151908f1feb310 19-Feb-2010 Kenneth Graunke <kenneth@whitecape.org> Remove _mesa_atoi in favor of plain atoi.
lx/xlib/glx_api.c
8d73aa6d1ae6e89bb2cd8f52f5586d569a4b6eeb 19-Feb-2010 Kenneth Graunke <kenneth@whitecape.org> Remove _mesa_strcmp in favor of plain strcmp.
lx/xlib/glx_api.c
f69d1d1438361f10fd8db78d2d38f26e33db9747 19-Feb-2010 Kenneth Graunke <kenneth@whitecape.org> Remove _mesa_strncpy in favor of plain strncpy.
lx/xlib/glx_api.c
196214bf2b677a83653d49f79d03752f29df44ec 18-Feb-2010 Francisco Jerez <currojerez@riseup.net> Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)."

We probably don't want to propagate this condition to the pipe driver,
this reverts commit f455ca6490fcb65781b21f81c7117bd923e250d1 and the
dri_update_buffer flush altogether until an agreement is reached.
ri/dri_drawable.c
52e3f0949d47c846e3508a135afd75c439f2c49d 16-Feb-2010 Francisco Jerez <currojerez@riseup.net> st/dri2: Flush FRAME instead of RENDER_CACHE on buffer invalidation.
ri/dri_drawable.c
464a72dd4154f314e08c9d0c4d07417e2bf255f0 17-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: remove redundant nr_components field from pipe_vertex_element

This is a property of the associated src_format pipe format.
Hence use util_format_get_nr_components to query this when necessary instead.
ega/polygon.c
f845e4ff1bf4e7e2f804024157494a12eedec174 08-Feb-2010 Francisco Jerez <currojerez@riseup.net> st/dri2: Use event-driven buffer validation.
ri/dri_context.c
ri/dri_drawable.c
ri/dri_screen.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.
gl/stw_context.c
e918519fe916da727eb051367f57b26dbd9ec870 15-Feb-2010 José Fonseca <jfonseca@vmware.com> python: Reconstruct blend state objects from binary blobs.
ython/p_state.i
c2b0484e58765eadb7afc676ecffd80ebc1cbe5b 15-Feb-2010 José Fonseca <jfonseca@vmware.com> python: Pretty-printing of blend state.
ython/gallium.i
ython/p_state.i
ee65faffc1ae878fc7998ca52f1c5e298ae61176 14-Feb-2010 José Fonseca <jfonseca@vmware.com> xorg: Use util_format_name().
org/xorg_exa.c
f1848977e8f55e6d8cf5169520fb9b0a6c817884 14-Feb-2010 José Fonseca <jfonseca@vmware.com> python: Tell swig how to index per-rendertarget blend state.
ython/p_state.i
04cc5055db9b418abfc6abb97b69c022abfdff2d 14-Feb-2010 José Fonseca <jfonseca@vmware.com> python: Pass p_format.h as-is to swig now that it has no inlines.
ython/gallium.i
ython/p_format.i
50812e633fa433937c7ba885fa334f44ec0bad58 14-Feb-2010 José Fonseca <jfonseca@vmware.com> progs/gallium/python: New home for python statetracker scripts.
ython/README
ython/retrace/README
ython/retrace/format.py
ython/retrace/interpreter.py
ython/retrace/model.py
ython/retrace/parse.py
ython/retrace/parser.py
ython/samples/gs.py
ython/samples/tri.py
ython/tests/.gitignore
ython/tests/base.py
ython/tests/regress/fragment-shader/.gitignore
ython/tests/regress/fragment-shader/frag-abs.sh
ython/tests/regress/fragment-shader/frag-add.sh
ython/tests/regress/fragment-shader/frag-cb-1d.sh
ython/tests/regress/fragment-shader/frag-cb-2d.sh
ython/tests/regress/fragment-shader/frag-dp3.sh
ython/tests/regress/fragment-shader/frag-dp4.sh
ython/tests/regress/fragment-shader/frag-dst.sh
ython/tests/regress/fragment-shader/frag-ex2.sh
ython/tests/regress/fragment-shader/frag-flr.sh
ython/tests/regress/fragment-shader/frag-frc.sh
ython/tests/regress/fragment-shader/frag-lg2.sh
ython/tests/regress/fragment-shader/frag-lit.sh
ython/tests/regress/fragment-shader/frag-lrp.sh
ython/tests/regress/fragment-shader/frag-mad.sh
ython/tests/regress/fragment-shader/frag-max.sh
ython/tests/regress/fragment-shader/frag-min.sh
ython/tests/regress/fragment-shader/frag-mov.sh
ython/tests/regress/fragment-shader/frag-mul.sh
ython/tests/regress/fragment-shader/frag-rcp.sh
ython/tests/regress/fragment-shader/frag-rsq.sh
ython/tests/regress/fragment-shader/frag-sge.sh
ython/tests/regress/fragment-shader/frag-slt.sh
ython/tests/regress/fragment-shader/frag-srcmod-abs.sh
ython/tests/regress/fragment-shader/frag-srcmod-absneg.sh
ython/tests/regress/fragment-shader/frag-srcmod-neg.sh
ython/tests/regress/fragment-shader/frag-srcmod-swz.sh
ython/tests/regress/fragment-shader/frag-sub.sh
ython/tests/regress/fragment-shader/frag-xpd.sh
ython/tests/regress/fragment-shader/fragment-shader.py
ython/tests/regress/vertex-shader/.gitignore
ython/tests/regress/vertex-shader/vert-abs.sh
ython/tests/regress/vertex-shader/vert-add.sh
ython/tests/regress/vertex-shader/vert-arl.sh
ython/tests/regress/vertex-shader/vert-arr.sh
ython/tests/regress/vertex-shader/vert-cb-1d.sh
ython/tests/regress/vertex-shader/vert-cb-2d.sh
ython/tests/regress/vertex-shader/vert-dp3.sh
ython/tests/regress/vertex-shader/vert-dp4.sh
ython/tests/regress/vertex-shader/vert-dst.sh
ython/tests/regress/vertex-shader/vert-ex2.sh
ython/tests/regress/vertex-shader/vert-flr.sh
ython/tests/regress/vertex-shader/vert-frc.sh
ython/tests/regress/vertex-shader/vert-lg2.sh
ython/tests/regress/vertex-shader/vert-lit.sh
ython/tests/regress/vertex-shader/vert-lrp.sh
ython/tests/regress/vertex-shader/vert-mad.sh
ython/tests/regress/vertex-shader/vert-max.sh
ython/tests/regress/vertex-shader/vert-min.sh
ython/tests/regress/vertex-shader/vert-mov.sh
ython/tests/regress/vertex-shader/vert-mul.sh
ython/tests/regress/vertex-shader/vert-rcp.sh
ython/tests/regress/vertex-shader/vert-rsq.sh
ython/tests/regress/vertex-shader/vert-sge.sh
ython/tests/regress/vertex-shader/vert-slt.sh
ython/tests/regress/vertex-shader/vert-srcmod-abs.sh
ython/tests/regress/vertex-shader/vert-srcmod-absneg.sh
ython/tests/regress/vertex-shader/vert-srcmod-neg.sh
ython/tests/regress/vertex-shader/vert-srcmod-swz.sh
ython/tests/regress/vertex-shader/vert-sub.sh
ython/tests/regress/vertex-shader/vert-xpd.sh
ython/tests/regress/vertex-shader/vertex-shader.py
ython/tests/surface_copy.py
ython/tests/texture_render.py
ython/tests/texture_sample.py
ython/tests/texture_transfer.py
ython/tests/tree.py
260ec80f11561f2f9dbb2000d3e72b54b0fe91a5 14-Feb-2010 Marek Olšák <maraeo@gmail.com> st/python: fix build error after gallium-screen-context merge
ython/st_device.c
a583c3ab476078332679f96d2ca7fe8aab4c8d2d 13-Feb-2010 José Fonseca <jfonseca@vmware.com> wgl: Implement wglSwapMultipleBuffers.
gl/opengl32.def
gl/opengl32.mingw.def
gl/stw_wgl.c
gl/stw_wgl.h
4123df20742eae7b37d580f32ab8329a00cc8ca3 13-Feb-2010 Vinson Lee <vlee@vmware.com> st/xlib: Remove unnecessary header.
lx/xlib/glx_usefont.c
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.
gl/stw_device.c
fd40b9ff32ac0ed02928a2b5516c8d678431806f 11-Feb-2010 Zack Rusin <zackr@vmware.com> st/dri: don't expose visuals we'll have trouble supporting

without getBuffersWithFormat some visuals will just cause headaches (crashes),
so if we're running on an older system simply don't advertise them.
ri/dri_screen.c
59b4146a5dbeb108b53fc9c4132095e264ba04be 11-Feb-2010 Zack Rusin <zackr@vmware.com> st/dri, st/xorg: fix buffers that have attachements of different depth

we actually need to specify the formats for different attachements, otherwise
if the color buffer is 24bpp and the app asks for 16bpp depth buffer than
we end up fetching the depth from the drawable which is 24bpp and end up
creating the wrong depth buffer. use the new getBuffersWithFormat extension
to pass the depth correctly.
ri/dri_drawable.c
org/xorg_dri2.c
6602889d82d1402338f5d23e37a9f46db99e86c6 12-Feb-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-dynamicstencilref'
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.
gl/stw_device.c
e6b66210def2c10f703c2a990b9652ea5419ebbe 11-Feb-2010 José Fonseca <jfonseca@vmware.com> wgl: Fail gracefully whenever 3D could not be enabled for some reason.
gl/stw_context.c
gl/stw_framebuffer.c
gl/stw_getprocaddress.c
gl/stw_pixelformat.c
3cce4a1e10361458630511543b7a8a6438544775 08-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> dri: Allow selective generation of accum. buffer configs

Modify the interface to driCreateConfigs allowing drivers to not
expose configs with an accumuation buffer. All of the drivers calling
function have been updated to pass true for the accumulation
selector. This maintains the current behavior.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
ri/dri_screen.c
903bb045b506ed5d64d1de90d8a17bb9d0d56a44 10-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: adapt state trackers to stencil ref change
ython/p_context.i
ython/retrace/interpreter.py
ega/polygon.c
f88b43e8d09bf359e7d5770b133cb433b25f9848 10-Feb-2010 Zack Rusin <zackr@vmware.com> st/xorg: fix a silly offset bug in xv

we were multiplying the difference in the wrong direction.
org/xorg_xv.c
debf00e5fc3828f63e0f99d72c7fa6cd6ce012c5 09-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> dri_interface: Introduce DRI tokens for the texBuffer texture formats

This used to take GLX tokens, but the DRI interface can't depend on GLX
defines. We fix this by introducing DRI tokens that have the same value
as the GLX texture format tokens.
ri/dri_drawable.c
653a83445f94620673f747a4ace6847a2c7fdb4d 09-Feb-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-nopointsizeminmax'

Conflicts:
src/gallium/drivers/nv10/nv10_state.c
src/gallium/drivers/nv20/nv20_state.c
src/gallium/drivers/nv50/nv50_program.c
6e8897ff9f90601ebf6eed500ad942c11b54d1f7 09-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Retire miniglx and move the actual glx code up to src/glx
gl/Makefile
gl/x11/glxinit.c
361d73fcfc7b5129018e3639279d8dfc6f5f7650 08-Feb-2010 Keith Whitwell <keithw@vmware.com> st/dri: fix compile breakage
ri/dri_context.c
0b99303d1c6244094c24844f86f4e7677ee69f18 08-Feb-2010 Keith Whitwell <keithw@vmware.com> egl: re-fix context_create typo
gl/common/egl_g3d.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.
ri/dri_context.c
gl/common/egl_g3d.c
gl/common/native.h
gl/kms/native_kms.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
lx/xlib/xm_api.c
lx/xlib/xm_winsys.h
ython/st_device.c
ython/st_device.h
ython/st_hardpipe_winsys.c
ython/st_llvmpipe_winsys.c
ython/st_softpipe_winsys.c
ython/st_winsys.h
gl/stw_context.c
gl/stw_ext_gallium.c
gl/stw_winsys.h
org/xorg_exa.c
8109b6d31367986a2c4a8ad82dadd9c0db61b6c3 06-Feb-2010 Zack Rusin <zackr@vmware.com> gallium/python: support two more formats in retrace dumps

dump PIPE_FORMAT_R8G8B8A8_UNORM and PIPE_FORMAT_R16G16B16_SNORM formats.
ython/retrace/interpreter.py
5f08eff2a769e27df37fc00e46797e70a54727bb 05-Feb-2010 Chia-I Wu <olvaffe@gmail.com> egl: Remove egl_xdri.

egl_xdri steals code from src/glx/x11/. This makes it broken from time
to time when there is a bigger change to the GLX code. As egl_dri2 has
been merged, which also functions as a DRI2 driver loader, remove
egl_xdri for good.
gl/Makefile
gl/x11/glxinit.c
gl/x11/glxinit.h
gl/x11/x11_screen.c
9a3de505dc5377a47a6ccb29fe60343feb2f5b14 04-Feb-2010 Chia-I Wu <olvaffe@gmail.com> egl: Convert drivers to use typecast macros.

Use macros to define the standard typecasts. This saves lots of
typings.
gl/common/egl_g3d.h
997316838ddf5d83ae1d25953c4e2cf07806e307 04-Feb-2010 Chia-I Wu <olvaffe@gmail.com> st/egl: Add missing headers to kms display.

Add stdio.h and util/u_inlines.h to native_kms.c.
gl/kms/native_kms.c
4d01e8e26f49d1ca8435d93714be341f38fe9b36 04-Feb-2010 Vinson Lee <vlee@vmware.com> st/egl: Add missing headers.
gl/common/egl_g3d.c
gl/x11/native_x11.c
f225042a8615e319a911ee0881cec5fc1d1ce0a7 03-Feb-2010 Igor Oliveira <igor.oliveira@openbossa.org> egl: fix implicit declaration of pipe_texture_reference adding u_inlines.h
gl/common/egl_g3d.c
gl/x11/native_dri2.c
gl/x11/native_ximage.c
3584a44270a7f3a04e187bd79b5373314514d383 04-Feb-2010 Dave Airlie <airlied@redhat.com> gallium: fix more missing includes from various places

nouveau/ dri st / vmware
ri/dri_drawable.c
ri/dri_screen.c
org/xorg_tracker.h
45dac0d82a5a69166e86dce77c2550f7512c541e 03-Feb-2010 José Fonseca <jfonseca@vmware.com> Merge branch 'gallium-embedded'
4a4daa75a85db22cd37ebd533ebbccb427e07077 03-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: clean up point sprite rasterizer state

Don't need sprite coord origin per coord.
Also, don't need separate sprite enable bit - if all coords have it diabled,
then there are no point sprites (technically, there's a distinction in pre-GL3,
but it only differs in having more leniency in clamping to max size, something
the state tracker would need to handle and the hardware won't bother anyway).
Also, use packed field for the per-coord enables.
All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
ython/retrace/interpreter.py
25357696c3f253d44e83798e2a7e7f1f60c5adc5 02-Feb-2010 José Fonseca <jfonseca@vmware.com> gallium: Move deprecated pipe/internal/p_winsys_screen.h inside util/u_simple_screen.h
gl/x11/native_ximage.c
gl/x11/sw_winsys.c
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.
lx/xlib/xm_api.h
gl/stw_device.h
gl/stw_framebuffer.h
28486880ca3ec39419ccee0cb1a3bedc9ef7117c 02-Feb-2010 José Fonseca <jfonseca@vmware.com> gallium: pipe/p_inlines.h -> util/u_inlines.h
gl/x11/sw_winsys.c
ython/gallium.i
ython/st_device.c
ython/st_llvmpipe_winsys.c
ython/st_sample.c
ega/api_filters.c
ega/api_images.c
ega/api_masks.c
ega/api_path.c
ega/image.c
ega/mask.c
ega/paint.c
ega/polygon.c
ega/renderer.c
ega/shader.c
ega/shaders_cache.c
ega/st_inlines.h
ega/vg_context.c
ega/vg_tracker.c
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_renderer.c
301a9437cc5d89686391e5722b952f52df274ab3 02-Feb-2010 Igor Oliveira <igor.oliveira@openbossa.org> vega: implement tgsi_ureg shaders cache
ega/shaders_cache.c
231d5457b275c1d9bbeff14165cf3da33dda176b 02-Feb-2010 Igor Oliveira <igor.oliveira@openbossa.org> vega: change tgsi asm by tgsi_ureg
ega/asm_fill.h
01dcadab8b98f0ffa5bf0a859ca94ff78a8cb90a 02-Feb-2010 Chia-I Wu <olvaffe@gmail.com> st/egl: Wrong context might be used in eglBindTexImage.

If the pbuffer surface is current, gctx is set to the current context.
Make sure it is set to OpenGL ES 1 context again before binding.
gl/common/egl_g3d.c
12f66b6dc900b8435416eda8ef82905afce4a91e 01-Feb-2010 Vinson Lee <vlee@vmware.com> st/dri: Remove duplicate type qualifier.
ri/dri_screen.c
216925ccd122a06505dafae425323e3ac858f80e 31-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Initialize display configs with the display.

This changes _eglInitConfig to take the display as its argument.
gl/common/egl_g3d.c
d69242be55091e53b0ae2cfa6282790ce1862f29 31-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Initialize display resources with their display.

Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an
_EGLDisplay instead of an _EGLDriver. This is a more natural form, and
plus, the display encodes information such as the extensions supported
that might be required for attribute list parsing.
gl/common/egl_g3d.c
66f0517695668ba9a30618015a94bfea4ba08a9b 30-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl: Do not ignore configs without a renderable type.

Configs without a renderable type are still informative for programs
such as eglinfo.
gl/common/egl_g3d.c
6d12c7083e81625e1468351ef5e24e9168f0d549 30-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl: Remove egl_g3d_get_current_context.

There is now _eglGetAPIContext that can return the current context of
the given API.
gl/common/egl_g3d.c
5714e674c75652c195482a8e607a2d624a5e524e 30-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl: eglBindTexImage should bind to an OpenGL ES texture.

The spec says that it only works with OpenGL ES.
gl/common/egl_g3d.c
00e1790f3230de550121591d611b47da299ae15c 30-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Rename Binding to CurrentContext in _EGLSurface.

A context can be bound to a surface just like it can be bound to a
thread. CurrentContext is a more consistent name.
gl/common/egl_g3d.c
c75e238434f64657e96f09e0215f02cefa6ad6d6 28-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Update to new libkms interface but be backwards compatible
org/xorg_crtc.c
org/xorg_driver.c
9b346f83a7b672e913a7bb6a089d5dbd7fbdce06 28-Jan-2010 Roland Scheidegger <sroland@vmware.com> Merge commit 'origin/perrtblend'

Conflicts:
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/include/pipe/p_defines.h
333c035a519a36efd19d2ab227924feb8b0f4c25 25-Jan-2010 Michal Krol <michal@vmware.com> regress: Add vertex shaders tests for constant buffers.
ython/tests/regress/vertex-shader/vert-cb-1d.sh
ython/tests/regress/vertex-shader/vert-cb-2d.sh
ython/tests/regress/vertex-shader/vertex-shader.py
44ac4c4e2c7890236ee7e9cd0cf82b58710d57ef 22-Jan-2010 Michal Krol <michal@vmware.com> regress: Add fragment shader test for one-dimensional constant buffers.
ython/tests/regress/fragment-shader/frag-cb-1d.sh
ython/tests/regress/fragment-shader/fragment-shader.py
4771e536e16699a0488b68e153de3478dfbc55d0 21-Jan-2010 Michal Krol <michal@vmware.com> regress: Add two-dimension constant buffer test.
ython/tests/regress/fragment-shader/frag-cb-2d.sh
ython/tests/regress/fragment-shader/fragment-shader.py
91d58c3520452798bd1542f86936e0f408182fbf 21-Jan-2010 Michal Krol <michal@vmware.com> python: Link to ws2_32 on windows.
ython/SConscript
d96bb01d2db4d07ab7e4b6a50da2f96787180a4d 11-Jan-2010 Michal Krol <michal@vmware.com> regress: Fix shader header.
ython/tests/regress/fragment-shader/frag-slt.sh
6baa2c8d022e5dd1e305e7da2925c1e6f9370f35 28-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Migrate drivers to use _eglBindContext.

_eglMakeCurrent is a big hammer that is not easy to use. Migrate
drivers to use _eglBindContext and un-export _eglMakeCurrent.
gl/common/egl_g3d.c
17330479b39409a63a06ec9e6b0f8e28b585db12 27-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: eglMakeCurrent should accept an uninitialized display.

When no context or surface are given, the display is allowed to be
uninitialized. Most drivers cannot handle an uninitialized display.
But they are updated to at least throw a fatal message.
gl/common/egl_g3d.c
347cd2b0d507dad538859ad2d75a005821bc2461 28-Jan-2010 Vinson Lee <vlee@vmware.com> st/xorg: Remove unnecessary headers.
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_exa.c
org/xorg_renderer.c
org/xorg_xv.c
4030cd5a2d2cea6e0eab602ce6fdd9a558db6275 28-Jan-2010 Vinson Lee <vlee@vmware.com> st/dri: Remove unnecessary headers.
ri/dri_drawable.c
ri/dri_screen.c
a1717970e78d897f527273278bf1346cc86a5741 26-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Remove _eglGetCurrentSurface and _eglGetCurrentDisplay.

They have little use in drivers since drivers need to work for multiple
current contexts.
gl/common/egl_g3d.c
9b22427911ad27efc1f36faee9462c6082d0417c 25-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:

src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_swapbuffers.c
src/mesa/drivers/dri/r300/r300_emit.c
src/mesa/drivers/dri/r300/r300_ioctl.c
src/mesa/drivers/dri/r300/r300_tex.c
src/mesa/drivers/dri/r300/r300_texstate.c
6749310d3f60df70ad8f82db986871ab9496793b 25-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fix crash on resize with libkms
org/xorg_driver.c
5fae36147e1067ac8b1eb5bcade2f9b1dbf29aa4 25-Jan-2010 Roland Scheidegger <sroland@vmware.com> st/mesa: handle EXT_draw_buffers2 per rendertarget blend enables / colormasks

uses the new gallium per-rt blend functionality
ri/dri_extensions.c
0d051af6127d206d165a1034ca0795ce8fdcd389 25-Jan-2010 Igor Oliveira <igor.oliveira@openbossa.org> vega: fix incorrect samplers, textures indexes in blend_bind_samplers()

Fixes fd.o bug 25863.

Signed-off-by: Brian Paul <brianp@vmware.com>
ega/shader.c
0d3a6a505d537b879f31be0ed14fa8577717efaf 25-Jan-2010 Roland Scheidegger <sroland@vmware.com> vega: don't enable blending if not necessary

In some places blending was enabled even though it wasn't necessary.
Also remove a (bogus) reenabling of color writes, which wasn't really used.
ega/api_filters.c
ega/mask.c
ega/vg_context.c
dbc0e24ab866ce8bdd974b52e050dd022620b146 25-Jan-2010 Roland Scheidegger <sroland@vmware.com> xorg: do not enable unnecessary blending for xv
org/xorg_xv.c
3770769f21138ba722a38c1400b501fdcedea17d 25-Jan-2010 Roland Scheidegger <sroland@vmware.com> st/python: adapt to blend changes
ython/samples/gs.py
ython/samples/tri.py
ython/st_device.c
ython/tests/regress/fragment-shader/fragment-shader.py
ython/tests/regress/vertex-shader/vertex-shader.py
ython/tests/texture_render.py
ython/tests/texture_sample.py
feefa7a510058f57a81e5e928cd2fcb63506624f 25-Jan-2010 Roland Scheidegger <sroland@vmware.com> vega: adapt to blend changes
ega/api_filters.c
ega/api_masks.c
ega/mask.c
ega/polygon.c
ega/renderer.c
ega/vg_context.c
92676b9fe6356a8974830c47c0191d1ca57a0741 25-Jan-2010 Roland Scheidegger <sroland@vmware.com> xorg: adapt to blend changes
org/xorg_composite.c
org/xorg_renderer.c
org/xorg_xv.c
0b482c4fbe69a807bb69bf92f37e362f818c664d 22-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Improve options and print them to log

Set 2D acceleration to off by default
Get fallback debugging from the Xorg config
Also print if 3D acceleration is enabled
org/xorg_driver.c
org/xorg_tracker.h
36fd55f9f03b00263ee1ccf22bbb50e5ba048e80 21-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Export helper function for detecting modesetting
org/xorg_driver.c
org/xorg_winsys.h
16cf7e14a6dee85fadc0ab4e7c066288c3362352 21-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fix warning
org/xorg_dri2.c
4aed0944f4b8b8d14d210cf6bc87ccddfa9a77ec 25-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Native types are renamed in EGL 1.3.

Rename Native*Type to EGLNative*Type.
gl/common/egl_g3d.c
daea9270f877e3f32ef93f71ffa2d27dac4162b4 24-Jan-2010 Igor Oliveira <igor.oliveira@openbossa.org> egl: check if driver_name is null
gl/x11/native_x11.c
ecb3b3102a3022e31cf9d75ae099eddbe298517f 24-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Make surfaces and contexts resources.

Turn _EGLSurface and _EGLContext into _EGLResource so that they can be
managed uniformly.
gl/common/egl_g3d.c
6c4431c092b06d31eee5ac7ed656ab6d6423c3ef 23-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/vega: Clean up Makefile.
ega/Makefile
60cd2449f8f2b698f0adacd4a401db13c5fa46f9 23-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/es: Pass -linker and -ldflags to mklib.
s/Makefile
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
3c967a920718c2a74996ac23b8c1964915db88c2 22-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Rename to st/egl.

Simply the name to egl.
gl/Makefile
gl/common/egl_g3d.c
gl/common/egl_g3d.h
gl/common/egl_st.c
gl/common/egl_st.h
gl/common/native.h
gl/common/st_public_tmp.h
gl/kms/native_kms.c
gl/kms/native_kms.h
gl/x11/native_dri2.c
gl/x11/native_x11.c
gl/x11/native_x11.h
gl/x11/native_ximage.c
gl/x11/sw_winsys.c
gl/x11/sw_winsys.h
gl/x11/x11_screen.c
gl/x11/x11_screen.h
gl_g3d/Makefile
gl_g3d/common/egl_g3d.c
gl_g3d/common/egl_g3d.h
gl_g3d/common/egl_st.c
gl_g3d/common/egl_st.h
gl_g3d/common/native.h
gl_g3d/common/st_public_tmp.h
gl_g3d/kms/native_kms.c
gl_g3d/kms/native_kms.h
gl_g3d/x11/native_dri2.c
gl_g3d/x11/native_x11.c
gl_g3d/x11/native_x11.h
gl_g3d/x11/native_ximage.c
gl_g3d/x11/sw_winsys.c
gl_g3d/x11/sw_winsys.h
gl_g3d/x11/x11_screen.c
gl_g3d/x11/x11_screen.h
52d7b2cedee44fbd9a0e6405b974c62898bed169 22-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl: Remove the egl state tracker.

The egl_g3d state tracker has support for KMS, and the support is based
on the egl state tracker. As egl_g3d provides more features, it should
be better to keep only egl_g3d to unify the efforts.
gl/Makefile
gl/egl_context.c
gl/egl_surface.c
gl/egl_tracker.c
gl/egl_tracker.h
gl/egl_visual.c
cfb1ed39771c7f3876a8231ab1c8a8d6f7b5deae 22-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Use glxinit.c from egl_xdri.

It is used to fetch the GLX visuals/fbconfigs. Use egl_xdri's version
to avoid duplication. It might be better to rewrite that part though.
gl_g3d/Makefile
gl_g3d/x11/glxinit.c
gl_g3d/x11/glxinit.h
gl_g3d/x11/x11_screen.c
efc08bddb7622e4acfa795b58e1264b64b78ab4f 22-Jan-2010 Vinson Lee <vlee@vmware.com> st/xorg: Remove unnecessary headers.
org/xorg_composite.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
org/xorg_exa_tgsi.c
org/xorg_output.c
org/xorg_xv.c
9f728ed1c9c7255554109299508a78b9fbb1cdb6 20-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fic bug and close drm_api at proper place
org/xorg_driver.c
c8b694b2c2f451235270a3442254379caea3f57d 20-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Add support for driver probe.

Hook the drv->Probe callback to allow the drivers to probe displays.
The loading of state trackers is delayed to avoid unnecessary loading.
gl_g3d/common/egl_g3d.c
gl_g3d/common/egl_g3d.h
11f4360f2e915f236558da22efe5bdabd81446f3 20-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Add support for probe to native displays.

The functions can be used to check if a display is supported without
creating a struct native_display. It uses a probe object that can be
shared across drivers.
gl_g3d/common/native.h
gl_g3d/kms/native_kms.c
gl_g3d/x11/native_x11.c
gl_g3d/x11/x11_screen.c
gl_g3d/x11/x11_screen.h
f291200a4bbc0b701cfe831bdeeb79f90efd866f 20-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Do not reuse the pipe transfer in ximage.

A pipe transfer is supposed to be temporary. It should be created
before X*PutImage and destroyed afterwards.
gl_g3d/x11/native_ximage.c
5e8240320ac39a3e8984054bc300743725312741 20-Jan-2010 Chia-I Wu <olvaffe@gmail.com> Merge remote branch 'origin/opengl-es-v2'
c78fe6e050c311a3d53ccb091686a65ee6933a90 19-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Don't leak BusID buffer
org/xorg_driver.c
65354a7e3d8fd094837b7a999e8975dcfbd9d9c9 19-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Pass kernel driver name to drmOpen
org/xorg_driver.c
116a02be2264807dafb5fdfd4e3c913bb728c11f 11-Jan-2010 Ben Skeggs <bskeggs@redhat.com> st/dri: update dri2 drawables when viewport is changed

Fixes gnome-shell on nouveau, as well as window resize with various
other applications.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_screen.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.
gl/stw_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.
gl/stw_pixelformat.c
f8db32acbd03079d4ef30daa1db1339aa35b5cfb 19-Jan-2010 Vinson Lee <vlee@vmware.com> st/dri: Add comment for intentional fallthrough in case statement.
ri/dri_drawable.c
e978b24c87be6d7572ed3272e6b186d5c54fb414 18-Jan-2010 Marcin Slusarz <marcin.slusarz@gmail.com> st/dri: fix optionCache memory leaks

Signed-off-by: Brian Paul <brianp@vmware.com>
ri/dri_context.c
ri/dri_screen.c
064eb0a095b1ac56e20459c216c9271bef01cb9f 18-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Clean up for x11_drawable_get_depth.

Fix a wrong comment and remove an unnecessary #include.
gl_g3d/x11/x11_screen.c
gl_g3d/x11/x11_screen.h
a16d353b5ea0e14887a2cd2db222beb357b37d65 18-Jan-2010 Corbin Simpson <MostAwesomeDude@gmail.com> dri: Add an MSAA-enabled factor to DRI configs.

4 samples should be enough for GLUT to be satisfied, and I think most
of the HW that does any MSAA, can do it.

Note that any pipe that doesn't multisample can just ignore the
corresponding flag in pipe_rasterizer_state.
ri/dri_screen.c
c273ab007dc4194b62965c3b1d9c8a90ea573680 18-Jan-2010 Corbin Simpson <MostAwesomeDude@gmail.com> dri: Properly calculate number of modes for MSAA.

Split from the next patch for bisection purposes only.
ri/dri_screen.c
ede755af4c4a22fd0076f1e18a5356879ac9c7e7 18-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Add support for eglCopyBuffers.

It uses a slow path to copy the render buffer of the surface to the
target pixmap. We might be able to create a pipe context for
EGLDisplay's use and use a blitter context for the purpose. It is left
for a future consideration.
gl_g3d/common/egl_g3d.c
f8244e294646c1b5127a2bf3e92811300b0e3b9e 18-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Add is_pixmap_supported to native display interface.

The function may be used to support, for example,
EGL_MATCH_NATIVE_PIXMAP and EGL_KHR_image_pixmap.
gl_g3d/common/native.h
gl_g3d/x11/native_dri2.c
gl_g3d/x11/native_ximage.c
gl_g3d/x11/x11_screen.c
gl_g3d/x11/x11_screen.h
fda897ad71738dd76a218280fd2e635d5dcdcee1 17-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Update validate to use an attachment mask.

A validate call asks for the buffers of a native surface. Using a mask
to represent the interested buffers is more intuitive. It also rules
out corner cases such as a single attachment being listed multiple
times.
gl_g3d/common/egl_g3d.c
gl_g3d/common/egl_g3d.h
gl_g3d/common/native.h
gl_g3d/kms/native_kms.c
gl_g3d/x11/native_dri2.c
gl_g3d/x11/native_ximage.c
1ed63119452396e764a0f5b11db78903a2594df1 17-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/vega: Fix window resizing with egl_g3d.

egl_g3d calls st_set_framebuffer_surface on window resize. It updates
the renderbuffer's geometry and makes st_resize_framebuffer a no-op.
This commit improves the no-op check a little bit. It can do better
after gallium-fb-dimensions is merged.
ega/vg_context.h
ega/vg_tracker.c
ef517c9385521f6e46a1f56ef6817518434ca349 15-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/vega: Call screen->update_buffer instead of winsys->update_buffer.

This removes the last reference to winsys and is per mesa/st.
ega/api_masks.c
a4bbabf494a127dcffc51f9c4734f2ecf75b3961 17-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> softpipe: Move st/python's malloc winsys to softpipe

Users of softpipe can still specify thier own winsys
but now there is a default one also that uses malloc.
This allows the malloc winsys to be shared with other
users of softpipe.
ython/st_softpipe_winsys.c
0e4e2c57d1b5659ba4fce2f9077fb6d4c7fd18d5 17-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> st/xlib: Make glXGetProcAddressARB visible
lx/xlib/glx_getproc.c
dee52d5bd31c7bd70883fd7fe496445bb49aad1f 16-Jan-2010 Chia-I Wu <olvaffe@gmail.com> gallium: Fix uninitialized instance divisor and index.
ega/polygon.c
857b37980ce62a45f5d0b89ea613edeb6a81f9b7 11-Jan-2010 Michal Krol <michal@vmware.com> regress: Add .gitgnore for *.png files.
ython/tests/regress/fragment-shader/.gitignore
ython/tests/regress/vertex-shader/.gitignore
5e5d0ad08167c178fcda005862e3dbead3e8c482 15-Jan-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-noconstbuf'

Conflicts:
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/mesa/state_tracker/st_draw_feedback.c
8cfdbfbcbd2e2c501988e028a59462ad8982fcdc 15-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Avoid validation upon buffer swap or flush frontbuffer.

With screen->update_buffer being hooked, leave the job to the state
trackers.
gl_g3d/common/egl_g3d.c
b2c7b08299fc4701648207bc9d90676e147475b9 15-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Hook to update_buffer of the pipe screen.

It is a notification from the client APIs that the surface size might
have changed.
gl_g3d/common/egl_g3d.c
gl_g3d/common/native.h
51b00574a2ef81629548b079ef70c016bdd4251d 15-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Always override flush_frontbuffer.

Instead of letting the native displays install their own version of
flush_frontbuffer, always override the callback with a version that
calls the flush_frontbuffer of the native surface.
gl_g3d/common/egl_g3d.c
gl_g3d/common/native.h
gl_g3d/kms/native_kms.c
gl_g3d/x11/native_dri2.c
gl_g3d/x11/native_x11.c
gl_g3d/x11/native_x11.h
gl_g3d/x11/native_ximage.c
ccc888c39ee8a7c460dca5b1b659d28dbbc4c689 15-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: If dri2 version is 2 support version 1 as well

Thanks to X server commit 2e2c5b216cc1c7a9bc26bd2c68226aaed5fc52ca
it is possible to be ABI compatible in version 2 with version 1 of
the DRI2 interface.
org/xorg_dri2.c
3e1241d4f872cca96616edcbdcaea5b59d37e78f 15-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Set enforce version to 1 if not defined
org/xorg_dri2.c
5f2d60a7154f896bb418231662663465269ce9b8 18-Jan-2010 Thomas Hellstrom <thellstrom@vmware.com> st/dri: Don't request a fake front if the server adds one automatically.

We use the presence of the getBuffersWithFormat extension function to
detect whether the server automatically adds a front.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
ri/dri_drawable.c
ri/dri_screen.c
ri/dri_screen.h
b01ffb12ed82dcf435b186e2aff35e344a8a6ebe 14-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/util/Makefile
src/gallium/drivers/r300/r300_state_derived.c
81430b95d094f81548b9256bc47a8912d9dfd245 14-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl_g3d: Check if the creation of pipe or st context fails.

It should not return an incomplete EGLContext to the users.
gl_g3d/common/egl_g3d.c
6cb89b23eeac50cfb0c5fb8d77e19f869b524eac 12-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Use a sequence number to decide if validation is required.

It is not safe to assume that the native surface has not changed since
the last validation by checking the geometry alone. Add a sequence
number to "validate" callback for that purpose. This is inspired by
Luca Barbieri's work.
gl_g3d/common/egl_g3d.c
gl_g3d/common/egl_g3d.h
gl_g3d/common/native.h
gl_g3d/kms/native_kms.c
gl_g3d/kms/native_kms.h
gl_g3d/x11/native_dri2.c
gl_g3d/x11/native_ximage.c
a9086f2d17a58bd2597d34a6cc886dc111997e4e 13-Jan-2010 Thomas Hellstrom <thellstrom@vmware.com> st/dri: Make sure we always request a fake front.

This should be the correct, but sub-optimal way to handle things on
pre-1.7 servers. For servers that automatically adds a fake front
we should never request the fake front and handle the reply differently.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
ri/dri_drawable.c
28272bc472067454a788a1def4f650bb6c42d721 12-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Get the stapi from the driver.

egl_g3d_get_st was called because the driver argument was not given
before. It can be fixed now.
gl_g3d/common/egl_g3d.c
3e6139d158a054a0dfe8def28bf60201cdb9f385 12-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Add _EGLDriver as the first argument to GetProcAddress.

The rest of the driver API has it as the first argument. It should be
there so that a driver has access to itself.
gl_g3d/common/egl_g3d.c
1c1015bd53843a840a1fda6d2eb58d45da3e9fd0 12-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Improve comments to the native display interface.

Document the future of __GLcontextModes. Improve the description of
surface validation and native_flush_frontbuffer.
gl_g3d/common/native.h
3f3340ca16a07aff26a3bd27a7f5ae161d77b11d 11-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/es: Clean up install target.

Use DESTDIR and MINSTALL.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/Makefile
182c38281383a3c0798c427b3d1f338dbf1e0533 05-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/es: Fix build issue after merge.

In c847a13d38d4e8c5f4c386d060dcc8ec09e491a3, auxiliaries becomes a
single library; In e388d62b4712bcd75cecad53f5ca20a2bb6f89b1, the
default build is changed to have -fvisibility=hidden.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/Makefile
s/st_es1.c
s/st_es2.c
562c127693200822f04a145db50add1be2425d7b 12-Jan-2010 Chia-I Wu <olvaffe@gmail.com> Merge branch 'master' into opengl-es-v2

Conflicts:
src/mesa/main/dd.h
a68b51deb2ea4f3cb51f2753b1b879e5677db225 03-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Add support for KMS native display.

The KMS native display implements the modeset interface using DRM
modesetting.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl_g3d/kms/native_kms.c
gl_g3d/kms/native_kms.h
2dcdf19ee3a19fb41005d53f0dbc6e8a3970a8b6 03-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Add support for EGL_MESA_screen_surface.

This is implemented through the modeset interface.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl_g3d/common/egl_g3d.c
gl_g3d/common/egl_g3d.h
c67ad0eee8f75e1fd65e8ab2fdd660dc132764ee 03-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Update the native display interface for modesetting.

The new interface can be used to implement EGL_MESA_screen_surface.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl_g3d/common/native.h
49381d63e61c724b156b76068058df1c01a906c2 10-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: New EGL state tracker that uses Gallium.

This new (intermediate) EGL state tracker is the base work for EGL
drivers that uses Gallium. It makes it easier to support new window
systems.

Currently, there is support only for X11. This driver supports multiple
APIs (OpenVG, OpenGL, ...) and supports hardware acceleration through
winsys/drm.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl_g3d/Makefile
gl_g3d/common/egl_g3d.c
gl_g3d/common/egl_g3d.h
gl_g3d/common/egl_st.c
gl_g3d/common/egl_st.h
gl_g3d/common/native.h
gl_g3d/common/st_public_tmp.h
gl_g3d/x11/glxinit.c
gl_g3d/x11/glxinit.h
gl_g3d/x11/native_dri2.c
gl_g3d/x11/native_x11.c
gl_g3d/x11/native_x11.h
gl_g3d/x11/native_ximage.c
gl_g3d/x11/sw_winsys.c
gl_g3d/x11/sw_winsys.h
gl_g3d/x11/x11_screen.c
gl_g3d/x11/x11_screen.h
ea014ed461b5cc87df5f5565bcb792888e408b5b 10-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/vega: Make it compatible with st_public.h.

It missed a stub for st_get_proc_address, and st_make_current should
return a boolean.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ega/vg_tracker.c
ega/vg_tracker.h
940360a2e545ea69a9da547f6e1bf2c919d14205 02-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/vega: Advertise OpenVG support.

Define st_api_OpenVG to advertise OpenVG support.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ega/vg_tracker.c
d880b64423d9eab7e6cbe3ad93dfefd6a9613cce 12-Jan-2010 Zack Rusin <zackr@vmware.com> st/xorg: move exaMoveInPixmap before trying to fetch it

as Michel suggested, this is a cleaner way of fixing crashes caused
by exaGetPixmapDriverPrivate returning null since the data hasn't
been moved yet.
org/xorg_xv.c
3447d545d99c450c6a13d8a37e9cb9f5463a40eb 12-Jan-2010 Zack Rusin <zackr@vmware.com> st/xorg: fix a rare video crash

sometimes dst isn't present if a window is in a middle of a resize, stop
crashing in those cases and just ignore a frame.
org/xorg_xv.c
cca66dbb59673168d57b4e3499ccc31f4ddc86ad 10-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/xlib: Mark GLX functions as public.

Mark all functions start with glX as public.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
lx/xlib/glx_api.c
lx/xlib/glx_getproc.c
lx/xlib/glx_usefont.c
b1356df647086c4a3992d6c4d402b472e73d050b 10-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st: Mark functions in st_public.h and vg_tracker.h as public.

These functions are the API of Gallium state tracker, and are used by
EGL.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ega/vg_tracker.h
015a5a126b9d4a0f0fbfc0e522bb63fa5381985e 11-Jan-2010 José Fonseca <jfonseca@vmware.com> python: Integrate with llvmpipe if possible.

Temporary. We should soon have the ability to integrate with any driver
via glx extensions.
ython/SConscript
ython/st_llvmpipe_winsys.c
f2f16720274bc0c2d2f2858c9ebc24abc97e3f41 11-Jan-2010 José Fonseca <jfonseca@vmware.com> python: Mask out PIPE_TEXTURE_USAGE_DISPLAY_TARGET usage.

As displaying surfaces directly isn't supported by the python state
tracker.
ython/p_device.i
3e8c82037fcbfe87bb7df93259e6ebb9fdfe5cec 11-Jan-2010 José Fonseca <jfonseca@vmware.com> python: Prefer PIPE_FORMAT_Z32_UNORM.
ython/samples/gs.py
ython/samples/tri.py
76185ecad6c220824b9f9fa96a3323ce38b17d52 11-Jan-2010 José Fonseca <jfonseca@vmware.com> python: Set PIPE_TEXTURE_USAGE_RENDER_TARGET instead of DISPLAY_TARGET.

As the python state tracker is not integrated with window system an
cannot present surfaces directly.
ython/samples/gs.py
ython/samples/tri.py
ython/tests/regress/fragment-shader/fragment-shader.py
ython/tests/regress/vertex-shader/vertex-shader.py
32da02f7c19f49802fe9589e73c3945502a197c9 11-Jan-2010 Ben Skeggs <bskeggs@redhat.com> st/dri: update dri2 drawables when viewport is changed

Fixes gnome-shell on nouveau, as well as window resize with various
other applications.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_screen.c
45fe1d7d008375b2e0ba255e42f0731a3dbd6a46 27-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: remove unused xorg_exa_get_pixmap_handle function
org/xorg_exa.c
org/xorg_tracker.h
cb51f0267853dad419d169587aecbecf1800e8c3 11-Jan-2010 Thomas Hellstrom <thellstrom@vmware.com> Revert "st/dri: no need to request fake front buffer, only handle it being returned"

This reverts commit 1336989ec60fff7bd590fefd28945a0e5dc536e3.

The commit breaks frontbuffer rendering and the possibility to do
on-demand frontbuffer requests on all Xservers prior to 1.7.

The commit should be conditioned on a dri2 version check.
I've submitted a patch to Xserver to bump dri2 minor, and it's acked by Ian.

To be able to check the version from within the state tracker, we will
probably need another dri2 extension function that returns the server
version. The protocol has support for it.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
ri/dri_drawable.c
f02347374819a9b145a3e26c625709aea0c6f61b 06-Jan-2010 Luca Barbieri <luca@luca-barbieri.com> gallium: remove PIPE_TEX_FILTER_ANISO

This patch removes PIPE_TEX_FILTER_ANISO.

Anisotropic filtering is enabled if and only if max_anisotropy > 1.0.
Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be
considered equivalent, and meaning to turn off anisotropic filtering.

This approach has the small drawback of eliminating the possibility of
enabling anisotropic filter on either minification or magnification
separately, which Radeon hardware seems to support, is currently
support by Gallium but not exposed to OpenGL. If this is actually
useful it could be handled by splitting max_anisotropy in two values
and adding an appropriate OpenGL extension.

NOTE: some fiddling & reformatting by keithw to get this patch to
apply. Hopefully nothing broken in the process.
ega/image.c
ae44b92f61b78c9991060a8dd7fa7327d428c138 05-Jan-2010 Kristian Høgsberg <krh@bitplanet.net> Merge branch 'remove-intel-dri1'

* remove-intel-dri1:
intel: intelScreenContext() is no longer used
intel: Remove remaining dri2.enabled tests
intel: Drop more cliprect bookkeeping
intel: Remove struct intel_framebuffer
intel: Remove client-side vblank code
intel: Drop intelWindowMoved()
intel: Drop batchbuffer cliprect_mode tracking
intel: Drop DRI1 static regions
intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region()
intel: Drop LOCK/UNLOCK_HARDWARE()
intel: Drop DRI1 SwapBuffer implementation
intel: Drop DRI1 CopySubBuffer implementation
intel: Drop DRI1 support
Push __driDriverExtensions out of dri_util.c and into the drivers
Remove leftover __DRI{screen,drawable,context}Private references
Check for libdrm_$chipset.pc when needed
5ac16495a2772886100789f04e1a7d65068e9a40 05-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
docs/relnotes.html
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
src/gallium/drivers/r300/r300_cs.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/main/enums.c
39a0e4e7de379a182c1544fa24d5cb2a7687ec72 01-Jan-2010 Kristian Høgsberg <krh@bitplanet.net> Push __driDriverExtensions out of dri_util.c and into the drivers

This lets the individual drivers select which extensions to advertise.
Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2
but the shared extension list in dri_util.c does list the DRI2 extension.

Pushing the list into the drivers, lets us avoid listing the DRI2
extension for drivers that don't support it.
ri/dri_screen.c
d61f07318c8678901b948fdaa8ccdf37aa3203e9 01-Jan-2010 Kristian Høgsberg <krh@bitplanet.net> Remove leftover __DRI{screen,drawable,context}Private references

As part of the DRI driver interface rewrite I merged __DRIscreenPrivate
and __DRIscreen, and likewise for __DRIdrawablePrivate and
__DRIcontextPrivate. I left typedefs in place though, to avoid renaming
all the *Private use internal to the driver. That was probably a
mistake, and it turns out a one-line find+sed combo can do the mass
rename. Better late than never.
ri/dri_context.c
ri/dri_context.h
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_screen.c
ri/dri_screen.h
c114f000df269787afb449d73cd8aae202be2550 04-Jan-2010 Michel Dänzer <daenzer@vmware.com> st/xorg: Proper calculation of screen pitch.
org/xorg_driver.c
d2758f3b74838f4d4f1ae691fddca7dc9f4e8c0e 03-Jan-2010 Vinson Lee <vlee@vmware.com> st/xorg: Ensure null-terminated byte string.
org/xorg_crtc.c
ee39dc20e6f055f131f21ca2d63ea0eada5a80a6 01-Jan-2010 José Fonseca <jfonseca@vmware.com> python: Don't generate a import library for python module either.
ython/SConscript
c847a13d38d4e8c5f4c386d060dcc8ec09e491a3 01-Jan-2010 José Fonseca <jfonseca@vmware.com> gallium: Generate a single library for auxiliaries with Make too.
ega/Makefile
f8f4757d46627fb453f08dc63fde3d7f458eafe2 31-Dec-2009 José Fonseca <jfonseca@vmware.com> scons: Aggregate all tiny libraries in a single library.

Makes integration of gallium into out of tree components much easier. No
pratical change for components in this tree,
ython/SConscript
fc8e0b97e53fc94b9bafa038cd4420a9588e62f7 31-Dec-2009 José Fonseca <jfonseca@vmware.com> gallium: Remove the sct module.

Not used, and its functionality is now addressed by
pipe_context::is_texture/buffer_referenced callbacks.
ega/Makefile
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.
gl/SConscript
25024d948298a9f3f3210a0b91486f79a3917b0f 31-Dec-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
configs/darwin
src/gallium/auxiliary/util/u_clear.h
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
src/mesa/drivers/dri/i965/brw_draw_upload.c
31263f41a0aa2ac4514992cb3b5678116153939f 30-Dec-2009 Vinson Lee <vlee@vmware.com> st/xorg: Use C-style comments.
org/xorg_exa_tgsi.c
5169775345fc6b17b1f984e8bc3b5c3708733a7f 30-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fix warning and add a TODO comment
org/xorg_driver.c
d34fdf149d250275e819ca58554a41a8bff82785 30-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: On close wait on fences and then destroy the screen
org/xorg_driver.c
5fdc4f732f6fb50dc324b60b0cff05b6eca46946 30-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Be proper with pipe pointers on close in exa
org/xorg_exa.c
53e314cb8057797ae75187d91836a50f61170dd7 30-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Make sure we don't overrun the fence array in block handler
org/xorg_driver.c
b4658dbf04003418a1aadc7647ce8c7211f58413 29-Dec-2009 Vinson Lee <vlee@vmware.com> st/egl: Move declaration before code.
gl/egl_tracker.c
64893eb5017274a955a4166c50b56601fb7673b8 28-Dec-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Dump only the specified image rectangles.
ython/retrace/interpreter.py
67171ed85f3f9486238a994e8a427ddc1ac31069 28-Dec-2009 José Fonseca <jfonseca@vmware.com> xlib: Integrate the trace driver with all pipe drivers.

And not just softpipe.

It is particularly convenient to use llvmpipe instead, since it is much
faster. It also allows to use rbug with all xlib drivers.
lx/xlib/xm_api.c
c441386b0c5c70fc4ae5b3c1eff3fb7f09812a30 28-Dec-2009 Vinson Lee <vlee@vmware.com> st/xorg: Silence unused variable warnings.
org/xorg_exa.c
org/xorg_exa_tgsi.c
org/xorg_renderer.c
bf63b9d7a942bfbeef0b2b765bfc346c93de6fb7 28-Dec-2009 Vinson Lee <vlee@vmware.com> st/vega: Silence compiler warnings.
ega/api_path.c
ega/arc.c
ega/bezier.c
ega/stroker.c
ega/vg_context.c
ega/vg_tracker.c
9d3092d1344cac0dafaa4b39d09d987812751e40 28-Dec-2009 Vinson Lee <vlee@vmware.com> gallium/xlib: Silence unused variable warning.
lx/xlib/glx_api.c
d0b7ff551ab25153e3023871af3daa65b394a828 27-Dec-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_6_branch' into mesa_7_7_branch

Conflicts:
src/gallium/auxiliary/util/u_network.c
src/gallium/auxiliary/util/u_network.h
src/gallium/drivers/i915/i915_state.c
src/gallium/drivers/trace/tr_rbug.c
src/gallium/state_trackers/vega/bezier.c
src/gallium/state_trackers/vega/vg_context.c
src/gallium/state_trackers/xorg/xorg_crtc.c
src/gallium/state_trackers/xorg/xorg_driver.c
src/gallium/winsys/xlib/xlib_brw_context.c
src/mesa/main/mtypes.h
230a5b5f1c9b6c4279384dc6da006f9b65068d12 26-Dec-2009 José Fonseca <jfonseca@vmware.com> python: Update python state tracker and samples for recent interface changes.
ython/p_context.i
ython/retrace/interpreter.py
ython/samples/tri.py
ython/st_device.c
ython/st_device.h
ython/tests/regress/fragment-shader/fragment-shader.py
ython/tests/regress/vertex-shader/vertex-shader.py
ython/tests/texture_render.py
ython/tests/texture_sample.py
e9c6f01a52fe5f9ba993505c246740dd20fab344 23-Dec-2009 Zack Rusin <zackr@vmware.com> python: fix python state tracker after some latest changes
ython/gallium.i
ython/p_texture.i
8a39f5dfdd7901e59665e2b7513e9466666895b3 23-Dec-2009 Zack Rusin <zackr@vmware.com> python/gs: fix the example
ython/samples/gs.py
89d8577fb3036547ef0b47498cc8dc5c77f886e0 14-Dec-2009 Zack Rusin <zackr@vmware.com> gallium: add geometry shader support to gallium
ython/p_context.i
ython/samples/gs.py
ython/st_device.h
2ea061509ddab9054514ad87f28de950fb30dba1 23-Dec-2009 Vinson Lee <vlee@vmware.com> st/xorg: Use C-style comments.
org/xorg_crtc.c
org/xorg_driver.c
15ecd0337e4e4d9d33449bdff014a634e368c7d6 23-Dec-2009 Vinson Lee <vlee@vmware.com> st/vega: Move declaration outside for loop.
ega/arc.c
ega/bezier.c
ega/vg_context.c
1b0ab3e3c9bd1a57069657bf5126ade2d8d44d30 23-Dec-2009 Vinson Lee <vlee@vmware.com> st/egl: Use C-style comments.
gl/egl_surface.c
f44b0ff84338c2184ef4f2cbb752bf62f4fff1fc 23-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium: adapt state trackers etc. to pipe_constant_buffer removal
ython/gallium.i
ython/p_context.i
ython/retrace/interpreter.py
ega/api_filters.c
ega/mask.c
ega/paint.c
ega/shader.c
ega/vg_context.c
ega/vg_context.h
org/xorg_renderer.c
org/xorg_renderer.h
35e8283c69d80debb44b05ea79dc5f67303a7432 22-Dec-2009 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-edgeflags'

Conflicts:
src/mesa/state_tracker/st_draw.c
9eb7fc6661a1d46c06cec8584b898e3e690af6fa 22-Dec-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/mesa/main/version.h
src/mesa/state_tracker/st_atom_shader.c
8f1d2ab590432dd6254f2e124a874695c8e87aae 21-Dec-2009 Roland Scheidegger <sroland@vmware.com> python: fix some pipe_format_simplify merge damage
ython/p_device.i
3d3480abbc97a7fca67c0c1cd057ea0ff52cad70 21-Dec-2009 Michal Krol <michal@vmware.com> vega: Add missing actual argument.
ega/renderer.c
429f0e3b37e33a33289f8488369474b20bfd5247 19-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium: fix up drivers for edgeflag changes

several drivers which chose to ignore edgeflags might require some more work,
while edgeflags never worked there they might now crash.
ython/retrace/interpreter.py
b1ed72ebe2599ec178f51d86fd42f26486b9a19b 17-Dec-2009 Michal Krol <michal@vmware.com> Move the remaining format pf_get_* functions to u_format.h.

Previously they depended on format blocks, but after removing those
they started depending on format encoding.
ython/st_sample.c
ython/st_softpipe_winsys.c
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
a087eb590d780cb82b49464e05ffc85123adce7e 11-Dec-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/gallium/state_trackers/xorg/xorg_xv.c
src/mesa/drivers/dri/intel/intel_span.c
967e6e20099ebd3a7f68f49233e6cf3c99ce3317 10-Dec-2009 Zack Rusin <zackr@vmware.com> st/xorg: fix yv12 plus some cleanups in the upload code
org/xorg_xv.c
690d888416909f0449e6ebbfa46f18079b68b1bd 18-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: enable yv12 for xv
org/xorg_xv.c
4ebc54795dc93f7eee200312abfa2da1b49506e3 08-Dec-2009 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-strict-aliasing'
ee1720b99dfb5964962f2346406a4e3e88374a68 08-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium: fix more potential strict aliasing issues

In particular, gcc man page warns that
union a_union {
int i;
double d;
};

int f() {
double d = 3.0;
return ((union a_union *) &d)->i;
}

"might" not be ok (why not?), even though it doesn't seem to generate
any warnings. Hence don't use this and do the extra step to actually use
assignment to get the values in/out of the union.
This changes parts of 3456f9149b3009fcfce80054759d05883d3c4ee5.
ega/vg_translate.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
gl/stw_framebuffer.c
gl/stw_pixelformat.c
f44f6473e60fdcde24b0d8b166fce8a2ffe366b7 08-Dec-2009 Thomas Hellstrom <thellstrom@vmware.com> st/xorg Fail early if we don't intend to accelerate.

Saves a number of unneeded computations and log noise.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
org/xorg_exa.c
3456f9149b3009fcfce80054759d05883d3c4ee5 07-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safe

use pointer to union instead of void pointer.
gcc complained a lot, depending what the pointer originally actually was.
Looks like it's in fact maybe legal to cast for instance uint pointers to
union pointers as long as union contains a uint type, hence use this with some
callers, other just use union util_color in the first place.
ega/vg_translate.c
447dddb93d8dc2551ef7a9c43004237c7a8dd2dd 06-Dec-2009 Younes Manton <younes.m@gmail.com> Merge branch 'master' into pipe-video

Conflicts:

src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_compositor.h
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/auxiliary/vl/vl_shader_build.c
7005f7cd1a9947e75bf772897d9055e3fe467c3d 21-Nov-2009 Vinson Lee <vlee@vmware.com> st/egl: Fix memory leak in egl_tracker.c.
(cherry picked from commit 052b127842af3372fd768eae8e29b240a696a12a)
gl/egl_tracker.c
cbb7226a4b457a3ebc94592660f22324c8e7cfcc 05-Dec-2009 Younes Manton <younes.m@gmail.com> st/xvmc: No more pf_get_block().
org/xvmc/surface.c
f2e3fc18141d29ede2b711d7ddbb225145be35e3 04-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Add enter/leave vt hooks for winsys
org/xorg_driver.c
org/xorg_tracker.h
c33520b360780bce496b00516384e25a0908e43c 04-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fix leave enter vt cycle in crtc code
org/xorg_crtc.c
d5b94b49f602386b75630e73db775a68c72fdf46 04-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: New libkms destroy api
org/xorg_crtc.c
org/xorg_driver.c
9dfbd1be446b9c0680a0d55729fb6b3f5938b0c5 04-Dec-2009 Roland Scheidegger <sroland@vmware.com> vega: fix missing include
ega/vg_tracker.c
9c6a9363ef96c00dd0ad63e340b32479e43fea45 04-Dec-2009 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-noblocks'

Conflicts:
src/gallium/state_trackers/xorg/xorg_exa.c
4153ec547cfb7fcb26bbeb09ac9ef19fe88d3e4e 03-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium: fix remaining users of pipe_reference function
ython/st_device.c
f5bd93fae2e4f46665eb1f09ca64cb39ff2b8a79 03-Dec-2009 Michal Krol <michal@vmware.com> Move pf_get_component_bits() to u_format auxiliary module.
ega/vg_tracker.c
gl/stw_framebuffer.c
gl/stw_pixelformat.c
6df42d80234d13676fc3207cf44f0e371e3372b5 03-Dec-2009 Michal Krol <michal@vmware.com> Move pf_get_block() to u_format auxiliary module.
ri/dri_drawable.c
gl/egl_surface.c
ython/p_device.i
ython/st_softpipe_winsys.c
ega/api_filters.c
ega/image.c
ega/mask.c
ega/paint.c
ega/renderer.c
ega/vg_tracker.c
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_exa.c
org/xorg_renderer.c
org/xorg_xv.c
org/xvmc/surface.c
d28740c298968303500a8c43047ded2679e727ac 03-Dec-2009 Michal Krol <michal@vmware.com> Move pf_is_depth_stencil() to u_format auxiliary module.
ython/tests/base.py
org/xorg_dri2.c
cc8a537c57a62a196106b592e510e4c93bd1826e 02-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'mesa_7_7_branch'
bb80a93c9eabb430914011513852b18c943c8cfa 24-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Create winsys hooks that we call into
org/xorg_driver.c
org/xorg_tracker.h
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.
gl/stw_device.c
gl/stw_framebuffer.c
gl/stw_framebuffer.h
b7f94c9002bd8578e89ce02a22172545ace353a3 01-Dec-2009 Keith Whitwell <keithw@vmware.com> st/xorg: fix merge droppings

These were stranded in emacs and not saved before committing.
org/xorg_exa.c
org/xorg_renderer.c
87eec80c1120d2cd9749ee360b77922feabf7f10 01-Dec-2009 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/tgsi-simplify-ext'

Conflicts:
src/gallium/drivers/r300/r300_vs.c
06d3732a9094030fc33120f16f162e0d405f132c 01-Dec-2009 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/mesa_7_7_branch'

Conflicts:
src/gallium/drivers/svga/svga_screen_texture.c
src/gallium/state_trackers/xorg/xorg_composite.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/mesa/main/texgetimage.c
src/mesa/main/version.h
ee86b1b58dce4c8416b5333d0ed43d059ba2a200 01-Dec-2009 Michal Krol <michal@vmware.com> python: Update for renamed sampler/texture state setters.
ython/p_context.i
ython/retrace/interpreter.py
decf6ed810eae473d043a4a399a5a84f1378a725 30-Nov-2009 Roland Scheidegger <sroland@vmware.com> fixups for interface changes (mostly state trackers)
ri/dri_drawable.c
gl/egl_surface.c
ython/gallium.i
ython/p_device.i
ython/p_format.i
ython/p_texture.i
ython/retrace/interpreter.py
ython/st_device.c
ython/st_sample.c
ython/st_sample.h
ython/st_softpipe_winsys.c
ython/tests/surface_copy.py
ython/tests/texture_transfer.py
ega/api_filters.c
ega/image.c
ega/mask.c
ega/paint.c
ega/renderer.c
ega/vg_tracker.c
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_exa.c
org/xorg_renderer.c
org/xorg_xv.c
c95cbd45c657ac47e908a4d99d118737034bde43 27-Nov-2009 Roland Scheidegger <sroland@vmware.com> Merge branch 'width0'

Conflicts:
src/gallium/drivers/r300/r300_texture.c
src/gallium/state_trackers/xorg/xorg_exa.c
src/mesa/state_tracker/st_cb_texture.c
4236493899b9ccfcc8df3dcf81697776621fa1f8 27-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: proper fix for compositing after rounding up

Basically don't round up shared textures. This fixes compiz,
but I'm afraid that rounding up texture sizes here in the driver
is doomed, as it will inevitably break texture wrap modes.
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_renderer.c
org/xorg_renderer.h
org/xorg_xv.c
6810ce005a067f20c04f0b3abd1e422adec71d28 27-Nov-2009 Keith Whitwell <keithw@vmware.com> Revert "st/xorg: fix composite after texture size changes"

This reverts commit 124ae596806f1a77af46f1f0e446d448da6e953a.

Pushed by mistake
org/xorg_exa.c
org/xorg_renderer.c
124ae596806f1a77af46f1f0e446d448da6e953a 27-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: fix composite after texture size changes
org/xorg_exa.c
org/xorg_renderer.c
dc86f4a20b6ffe0340ca178dc303271a8a112bb9 11-Nov-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix copy'n'paste typo in comment.
gl/stw_winsys.h
cf3cdda5cc413093126c7ba42248c3b175a2d126 27-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: speculatively round textures up to nearest POT

I'm not sure if this is a great change, but helps with caching.
Probably we want to turn this on/off on a driver-by-driver basis.
org/xorg_exa.c
e595dd4c179efe06183b8efb430ec6c8845dfd0b 27-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: free last fence
org/xorg_driver.c
5285de7c0fc067dc036a5b421140a696ce2cabbf 27-Nov-2009 Michal Krol <michal@vmware.com> vega: Update shader headers.

Drop the 1.1 version suffix.
ega/asm_filters.h
ega/asm_util.h
ega/shaders_cache.c
9a4e4e035c5e1ff1e84b4a332dfaa35c7fecf139 27-Nov-2009 Michal Krol <michal@vmware.com> python/tests: Update shader headers.

Drop the 1.1 version suffix.
ython/samples/tri.py
ython/tests/regress/fragment-shader/frag-abs.sh
ython/tests/regress/fragment-shader/frag-add.sh
ython/tests/regress/fragment-shader/frag-dp3.sh
ython/tests/regress/fragment-shader/frag-dp4.sh
ython/tests/regress/fragment-shader/frag-dst.sh
ython/tests/regress/fragment-shader/frag-ex2.sh
ython/tests/regress/fragment-shader/frag-flr.sh
ython/tests/regress/fragment-shader/frag-frc.sh
ython/tests/regress/fragment-shader/frag-lg2.sh
ython/tests/regress/fragment-shader/frag-lit.sh
ython/tests/regress/fragment-shader/frag-lrp.sh
ython/tests/regress/fragment-shader/frag-mad.sh
ython/tests/regress/fragment-shader/frag-max.sh
ython/tests/regress/fragment-shader/frag-min.sh
ython/tests/regress/fragment-shader/frag-mov.sh
ython/tests/regress/fragment-shader/frag-mul.sh
ython/tests/regress/fragment-shader/frag-rcp.sh
ython/tests/regress/fragment-shader/frag-rsq.sh
ython/tests/regress/fragment-shader/frag-sge.sh
ython/tests/regress/fragment-shader/frag-srcmod-abs.sh
ython/tests/regress/fragment-shader/frag-srcmod-absneg.sh
ython/tests/regress/fragment-shader/frag-srcmod-neg.sh
ython/tests/regress/fragment-shader/frag-srcmod-swz.sh
ython/tests/regress/fragment-shader/frag-sub.sh
ython/tests/regress/fragment-shader/frag-xpd.sh
ython/tests/regress/fragment-shader/fragment-shader.py
ython/tests/regress/vertex-shader/vert-abs.sh
ython/tests/regress/vertex-shader/vert-add.sh
ython/tests/regress/vertex-shader/vert-arl.sh
ython/tests/regress/vertex-shader/vert-arr.sh
ython/tests/regress/vertex-shader/vert-dp3.sh
ython/tests/regress/vertex-shader/vert-dp4.sh
ython/tests/regress/vertex-shader/vert-dst.sh
ython/tests/regress/vertex-shader/vert-ex2.sh
ython/tests/regress/vertex-shader/vert-flr.sh
ython/tests/regress/vertex-shader/vert-frc.sh
ython/tests/regress/vertex-shader/vert-lg2.sh
ython/tests/regress/vertex-shader/vert-lit.sh
ython/tests/regress/vertex-shader/vert-lrp.sh
ython/tests/regress/vertex-shader/vert-mad.sh
ython/tests/regress/vertex-shader/vert-max.sh
ython/tests/regress/vertex-shader/vert-min.sh
ython/tests/regress/vertex-shader/vert-mov.sh
ython/tests/regress/vertex-shader/vert-mul.sh
ython/tests/regress/vertex-shader/vert-rcp.sh
ython/tests/regress/vertex-shader/vert-rsq.sh
ython/tests/regress/vertex-shader/vert-sge.sh
ython/tests/regress/vertex-shader/vert-slt.sh
ython/tests/regress/vertex-shader/vert-srcmod-abs.sh
ython/tests/regress/vertex-shader/vert-srcmod-absneg.sh
ython/tests/regress/vertex-shader/vert-srcmod-neg.sh
ython/tests/regress/vertex-shader/vert-srcmod-swz.sh
ython/tests/regress/vertex-shader/vert-sub.sh
ython/tests/regress/vertex-shader/vert-xpd.sh
ython/tests/regress/vertex-shader/vertex-shader.py
ython/tests/texture_render.py
ython/tests/texture_sample.py
d509f84543d0979e9bb53c20c195f378dd61e728 26-Nov-2009 Roland Scheidegger <sroland@vmware.com> gallium: fix more statetrackers/drivers for not using texture width/height/depth arrays
ri/dri_drawable.c
gl/egl_surface.c
ython/p_device.i
ython/p_texture.i
ython/retrace/interpreter.py
ython/st_device.c
ython/st_sample.c
ega/api_filters.c
ega/image.c
ega/mask.c
ega/paint.c
ega/renderer.c
ega/vg_tracker.c
org/xorg_composite.c
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_exa.c
org/xorg_renderer.c
org/xorg_xv.c
org/xvmc/surface.c
42db8c8cdb28bd5f83dd57f5d9a70fb5b94dd14e 26-Nov-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Use pipe clear hook for solid fills of whole pixmaps.

Can give a little boost e.g. for anti-aliased text rendering.
org/xorg_exa.c
3eb3bfb7c761ed41a09c4d1c7eff38f2d92ba3ba 26-Nov-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Make sure DRI2 blits use GPU copy contents even for software fallback.

Fixes 3D apps not updating with a non-GL compositing manager and Option
"2DAccel" "off".

Also clean up a little pixmap vs. drawable mess.
org/xorg_dri2.c
ecfe1352ccce802c9299c76d600c4d2f33352701 26-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: fix refcounting bugs introduced in earlier commit
org/xorg_composite.c
org/xorg_xv.c
dfb871d4032f37b872c975269c5d666491f1056b 26-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: formatting

This directory needs indent run over it.
org/xorg_exa.c
41423c01b257395b08a5e7a53093bc87aa85739b 26-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: remove debugging flush

Accidentally committed in 7fbdbad5c02e3d5bfbf0e641e2aec224e39fa974
('st/xorg: consolidate some dest surface state setting')
org/xorg_renderer.c
7b0e4adaf21d4c788657eff41cb51d5c89647309 26-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: render throttling in block handler

Similar to the classic swapbuffer throttling in GL drivers, put an
upper bound on the number of outstanding chunks of rendering the state
tracker can generate -- where calling the block handler denotes a
chunk.

Currently that number is set at around 4 "chunks", but could be
tweaked up or down. If a better measure for the amount of outstanding
rendering is found, that would be fine too.

As it stands, this improves interactivity by preventing the X server
from queueing up arbitary amounts of rendering.
org/xorg_driver.c
org/xorg_renderer.c
org/xorg_tracker.h
8544c309d0a296449d11cf2cf52ca306662dc41d 26-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: split copy operation into prepare/copy/done phases

Any high-overhead one-off tasks are moved into the prepare hook.
org/xorg_exa.c
org/xorg_exa.h
org/xorg_renderer.c
org/xorg_renderer.h
org/xorg_xv.c
91a5131e6b4b9d55c7123d3a8334826a443abcf6 26-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: don't set up constant buffer for non-xv fragment shaders

These currently don't reference any constants. Can add this back
if newer shaders need them, but in the meantime don't create
a new constant buffer every time we do a blit.
org/xorg_composite.c
org/xorg_renderer.c
fa799f81dec1b72e59008b7029d94a00bcf821bb 26-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: split up shared Done call

The two users of composite (Composite and Solid) now call a new
xorg_composite_done() from their Done functions, while CopyDone
is directly implemented on top of xorg_renderer.c.
org/xorg_composite.c
org/xorg_composite.h
org/xorg_exa.c
b4ea1eb871ec0e5fffd70bf4da6cdec5d25b5c50 26-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: set up rasterizer state in init
org/xorg_composite.c
org/xorg_renderer.c
org/xorg_renderer.h
86ba5139a8078f05fa9e1a4b562854d5f3b783f3 25-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: remove redundant clipping code
org/xorg_renderer.c
899d20cfaa003913b38ae9e095ca87b8725a19c1 25-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: don't bother with cso save and restore in copy func
org/xorg_renderer.c
7fbdbad5c02e3d5bfbf0e641e2aec224e39fa974 25-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: consolidate some dest surface state setting
org/xorg_composite.c
org/xorg_exa.c
org/xorg_renderer.c
org/xorg_renderer.h
org/xorg_xv.c
c6d663e6dc8799a178b03bc3059ef5c5c3d7f629 11-Nov-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix copy'n'paste typo in comment.
gl/stw_winsys.h
7fac8ce73bb26147f36acc60870a7e816b2f5b4f 24-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Pass mode types from the kernel to X
org/xorg_output.c
ee40b20e7aff5dc9d11230e991355c338a64da00 24-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Add libkms integration
org/Makefile
org/xorg_crtc.c
org/xorg_driver.c
org/xorg_tracker.h
1a19b9dbc268973a725a43f4764a2189a705bb88 24-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Touch up xorg_crtc.c
org/xorg_crtc.c
def9b0e586e52a0fbdcce15613d96933e9690f38 24-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Rename driver functions
org/xorg_driver.c
431e85f894705ee8747555ff01f317953a11222b 24-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Rename output functions
org/xorg_output.c
6713a83bb8f836f3cb7ba4419a62ec286d5b88fd 24-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Rename dri2 functions
org/xorg_dri2.c
26f9eeddf4cf783d7e5d5ac030a7ac5c1e67e60c 24-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Standardise all function names defined in xorg_tracker.h
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_output.c
org/xorg_tracker.h
org/xorg_xv.c
c712f3374626d96f9c08c3571a5572bcee60a5f2 23-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: accelerate src luminance
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa_tgsi.c
4509f3cbad2972b6fe4a722ed07904666122a759 24-Nov-2009 Keith Whitwell <keithw@vmware.com> st/xorg: use surface_copy for blits if available

Even if its not available, we really want to be coalescing blit
operations better.
org/xorg_exa.c
org/xorg_exa.h
5173d14cb5821637f22247d16be1b970f3762d6a 23-Nov-2009 Maciej Cencora <m.cencora@gmail.com> Merge commit 'origin/mesa_7_7_branch'
5f730690f8166c94ee010605b6437a6fb2a7771d 22-Nov-2009 Younes Manton <younes.m@gmail.com> g3dvl: Basic subpicture support.

RGB subpictures only at the moment.
org/xvmc/subpicture.c
org/xvmc/tests/.gitignore
org/xvmc/tests/Makefile
org/xvmc/tests/test_subpicture.c
org/xvmc/xvmc_private.h
88aab56a26dd33a2d3177a41420f00473d7270af 22-Nov-2009 Vinson Lee <vlee@vmware.com> st/xorg: Prevent potential null pointer deference in xorg_xv.c.
org/xorg_xv.c
46feb7db71b05ec67a7c78f6bc608adec0734dec 22-Nov-2009 Vinson Lee <vlee@vmware.com> st/xorg: Reorder cases in switch statement.

Silences missing break statement warning.
org/xorg_composite.c
052b127842af3372fd768eae8e29b240a696a12a 21-Nov-2009 Vinson Lee <vlee@vmware.com> st/egl: Fix memory leak in egl_tracker.c.
gl/egl_tracker.c
0295edf5963a4abf812c68df3c937f0767d6ad7a 20-Nov-2009 Alan Hourihane <alanh@vmware.com> Fix comment to use /* */ rather than //
org/xorg_exa_tgsi.c
8f648cd3e45f2364e8f3b956f1250364ba56af81 20-Nov-2009 Alan Hourihane <alanh@vmware.com> Fix vega compilation.
ega/arc.c
ega/bezier.c
ega/vg_context.c
3f2c77659ca552c43f544228f3a5a5fe6365513a 20-Nov-2009 Dave Airlie <airlied@itt42.(none)> Merge remote branch 'origin/mesa_7_7_branch'
8b808d50e2f4be57c3a245afea462540dab1484e 19-Nov-2009 Vinson Lee <vlee@vmware.com> st/xorg: Fix infinite loop in copy_packed_data.
org/xorg_xv.c
31ea323b4d432b557d7664187f17ccefc6d3947b 19-Nov-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Replace compile-time acceleration switch with Option "2DAccel".

This option can be used to disable 2D acceleration. DRI2 and XVideo blits will
still be accelerated, at least to some degree even with compositing.
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_tracker.h
10c67f938194a3b99ce2717318c77d86abc54933 19-Nov-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Miscellaneous XVideo fixes.

* Make sure the destination pixmap has a texture to render into.
* Fix damage reporting so the EXA migration code can do the right thing.
* Fix destination coordinates for redirected windows.
org/xorg_xv.c
34145fc3b739d21387e7df483ca902c8373ce319 19-Nov-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Try harder to ensure a shared texture has valid contents right away.
org/xorg_dri2.c
012d0193cc9ad6fdc9829db0a6884a5a590dd4c5 19-Nov-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Don't complain about convolution filter being 'unknown'.

Also add a newline to the complaint so it'll be a little less annoying if we
actually encounter an unknown filter value again.
org/xorg_composite.c
10dbdee05694489edd03b353dfe133a17e65b469 19-Nov-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Remove superfluous flushes from the EXA WaitMarker hook.

Thanks to Thomas Hellström for pointing this out.
org/xorg_exa.c
ea114345a6f19331628910745650cb64750b2bda 19-Nov-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Don't initialize non-existing fields.
org/xorg_dri2.c
fafc016e1f298cfea332124e9d64e8e010ee9c45 18-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: enable yv12 for xv
org/xorg_xv.c
5109484bd9cd79ed88af59280bd0be5a4150f37c 18-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Flush any pending operations on upload
org/xorg_exa.c
8d6da811d4fff50dc42e71c6149759908a458f7f 18-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Unbind any textures in solid

Helps debuging with rbug
org/xorg_composite.c
910b58039a3980d9857380cf367bdbe2395d791f 20-Nov-2009 Alan Hourihane <alanh@vmware.com> Fix vega compilation.
ega/arc.c
ega/bezier.c
ega/vg_context.c
08cb1d0ce4765536f1cb6a9253a2245c31fb8ea9 20-Nov-2009 Vinson Lee <vlee@vmware.com> st/xorg: Fix type of 'unknown'.
org/xorg_composite.c
d449c07b8bfd1789b4f643b0eb0b1fac5314ebbe 18-Nov-2009 Brian Paul <brianp@vmware.com> xorg/st: fixup builds against later dpms headers.

(cherry picked from master, commit e9d6ab72be065becf7a077c33919d37faa8db92e)
org/xorg_crtc.c
org/xorg_output.c
e12c9a6f3af6ec10cbd2e5cd2a6b90056652a2c0 18-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Init all functions and fix spelling
org/xorg_dri2.c
9ab3c70f6568d980c3910d7ea8a3032445eaf49f 18-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Make the #if more easier to read
org/xorg_dri2.c
e73553bff74a41f08cba9d52b5fec19f15ab3d48 18-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Use the correct DRI2BufferPtr struct on 1.6.4 servers
org/xorg_dri2.c
648e8b4c46e9ab0374fdbe655321157125b7efe5 17-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fix copy-pasto

Thanks Alan.
org/xorg_composite.c
cb060f3b987c9fa07ebe06cf2e7e54d1eaded1e1 16-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fix comp alpha code and deal with luminance masks

There are two fixes in here one is a one liner that fixes
component alpha logic. The other deals better with luminance
formats used for masks, sources not yet implemented.

Fixes component alpha text and icons in gnome. There are a one
or two cases that this code misses. Like if src_luminance is set
but no mask image is given.
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa_tgsi.c
org/xorg_exa_tgsi.h
5438ee3ecfe5c25102d196fd6d7258201e27e6ca 12-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Incase of format missmatch swizzle channels and set alpha

This path is only hit for icons in gnome so far
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa_tgsi.c
org/xorg_exa_tgsi.h
d3a37d93aba86ebca697169a31d88c3ef0ce34b9 16-Nov-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Only reference new picture formats when they're defined.

Fixes http://bugs.freedesktop.org/show_bug.cgi/?id=25094 .
org/xorg_exa.c
4581f7057809314c78e17f846890a2d64c22d575 13-Nov-2009 Brian Paul <brianp@vmware.com> st/egl: add some basic comments
gl/egl_surface.c
gl/egl_tracker.c
654122ba7b813683a893d60d10ca201258deface 12-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: try to fix non-uniform transforms
org/xorg_renderer.c
4d72f8f520e02366d695e35aa8ef09fc36f36804 12-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: use an immediate instead of a full blown const
org/xorg_exa_tgsi.c
72b4a7d67f90a20d774dddccbc6eed30d01a7f38 12-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: don't use flow control
org/xorg_exa_tgsi.c
2cfbbc76e445d88bdac7dd4dd22aaf36bbc8e4cc 12-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: implement repeatnone and make some code smell less like ass
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa_tgsi.c
org/xorg_exa_tgsi.h
493d599af4f617d52323e0368e65da29ba4638aa 12-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: fallback until daddy can implement you properly
org/xorg_composite.c
d030ce6a843f3a374356edfbe8e04924277197db 11-Nov-2009 Corbin Simpson <MostAwesomeDude@gmail.com> dri-st: Add some required GL 2.0 extensions.

Two-sided stencil and NPOT textures.
ri/dri_extensions.c
4b9cc50345b5b10bb998ce5ce6f7cb37b72f354f 09-Nov-2009 Chia-I Wu <olvaffe@gmail.com> st/egl: Allow APIs other than OpenGL.

This is done by stopping linking to libmesagallium.a and removing DRI
related stuff. The state tracker an application links to decides the
API supported.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl/egl_tracker.c
e4a19ffb13746ae4f62adca412d086d9461ff432 10-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fallback if picture format doesn't match texture format
org/xorg_exa.c
org/xorg_exa.h
3201c655e4c393d5ae794e6373de8ef705b979a4 10-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Don't segfault when debug printing
org/xorg_exa.c
fca8b2c3ae53695f8ff6e823cc316aab910490e5 11-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: wrap to border color
org/xorg_composite.c
4c54f8e9aa0aae570c21c57427fb51c70517e0a9 10-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> st/egl: Probe hardware for depth stencil format
gl/egl_surface.c
d2c886c8caf52c1e3581af350fd23ecf839a2491 10-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: cleanup the naming
org/xorg_renderer.c
org/xorg_renderer.h
e08512f3d4e318d0776f58296d7f7dae4c5524ad 10-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: print ouf the picture formats when compositing
org/xorg_exa.c
5e17c89eadd1a1a5555caa235cf7696e335d25f5 10-Nov-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Fix SCons build.

Check for new DPMS header and add xorg_renderer.c source file.
org/SConscript
031fbb9681d6ddc3b515768a914496b2b550cfce 10-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: remove deprecated rendering code
org/xorg_composite.c
org/xorg_renderer.c
org/xorg_renderer.h
a6d527d7b82579feae9db20657d47a3f86115bb4 10-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: fix composite batching

quite a large performance optimization (text demo from 1.6fps to 9fps)
org/xorg_composite.c
org/xorg_renderer.c
org/xorg_renderer.h
e521bf7706a5527ad5750baef78feaa961f73ecc 06-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: implement batching for the composite op

something is broken so disabled for now
org/xorg_composite.c
org/xorg_exa.c
org/xorg_renderer.c
org/xorg_renderer.h
4322346f3fd03788a79d056ca7bce2db25bc9d88 06-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: batch solid fill requests

instead of lots of very small transfers, one larger is a lot better
for performance
org/xorg_composite.c
org/xorg_exa.c
org/xorg_renderer.c
org/xorg_renderer.h
e1730632aa5ca1dbb0edd484e2357246ec537abb 06-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: start accumulating vertices in a common buffer
org/xorg_renderer.c
org/xorg_renderer.h
3f7df23ff50fc7cd86db9a27c11cca9c10bd63eb 06-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: use quads instead of triangle fans

easier to split, accumulate and batch those
org/xorg_renderer.c
6c44d399bd23e734f2302897ee74e4869ff33816 06-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: make the buffer size global
org/xorg_renderer.h
1046f70a7d0592aaf10837ff9d2523de53910a31 06-Nov-2009 Chia-I Wu <olvaffe@gmail.com> gallium: Allow state trackers to install files.

State trackers like es or vega need to install their libraries.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
akefile
25728860fcb65b53cf7212d54d39a01a3dc90a49 06-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: unify vertex buffer handling

first step on our way to batching
org/xorg_renderer.c
org/xorg_renderer.h
d14ac1073cda7ea4f623f312eb469554c3041315 03-Sep-2009 Chia-I Wu <olvaffe@gmail.com> st/es: Add OpenGL ES state trackers.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
s/Makefile
s/st_es1.c
s/st_es2.c
4c5a758d064d1a8fca245d4ffeb2f80ba8c781e3 05-Nov-2009 Zack Rusin <zackr@vmware.com> st/xorg: these flushes shouldn't be necessary

performance optimization
org/xorg_composite.c
3e8f665c1eae5c93c1349e04476950dcd7a42073 02-Nov-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Cope with null constant buffers.
ython/retrace/interpreter.py
a2e868b977dfbd170b8016c0386a773f2cdd0b73 02-Nov-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Add missing colon.
ython/retrace/interpreter.py
dcccbfd14e46a4b69d3e89666d57f07589eaef9b 03-Nov-2009 Younes Manton <younes.m@gmail.com> g3dvl: Wrap macroblock block buffer in a pipe user buffer.
org/xvmc/surface.c
e60a8e4fcf2b4073a5fc2d9ec1de5a6ca6c7b9fe 03-Nov-2009 Younes Manton <younes.m@gmail.com> g3dvl: DRM winsys changes.
ri/dri_context.c
org/xvmc/context.c
org/xvmc/surface.c
org/xvmc/xvmc_private.h
a7fa56a64b8963e74e93f3bac8ac80813f4a9778 26-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: fix scaling ov xv data, plus some cleanups
org/xorg_renderer.c
org/xorg_renderer.h
org/xorg_xv.c
24c61c8c2e2747f73b963a7019485eb5105b853c 26-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: fix src coordinates in the video acceleration paths
org/xorg_xv.c
2947d1420270476730711892909c3683bb6c5bff 25-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: fix xv
org/xorg_exa_tgsi.c
org/xorg_renderer.c
org/xorg_xv.c
8a1f239ca9ccb61cd6713d1138e24492c84163c5 27-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Adopt to new dirty clip rect type
org/xorg_driver.c
b5fb60041edfa62c16e918829df22c4a52c09da9 24-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: initialize indexes before reswizzling for yuv
org/xorg_xv.c
0b069d648b787636cc57149f47a06fb16f7629ab 24-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: stop overflowing yuv buffers
org/xorg_exa_tgsi.c
org/xorg_xv.c
a9f8baf00b264a9b370ecb611334af3063674ce5 24-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: add yuv vertex shader

plus some general fixes
org/xorg_exa_tgsi.c
org/xorg_exa_tgsi.h
org/xorg_renderer.c
org/xorg_renderer.h
org/xorg_xv.c
6b8ce4cc4f9acdd9227e26a812dd911f45b623a5 23-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: add yuv shaders
org/xorg_exa_tgsi.c
org/xorg_exa_tgsi.h
org/xorg_xv.c
b17c885a8aa88ef06f384330d59aeb23b73350bb 23-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: fix text with component alpha rendering
org/xorg_composite.c
org/xorg_exa_tgsi.c
org/xorg_exa_tgsi.h
17ef1f6074d6107c167f1956a5c60993904c0b72 08-Oct-2009 Chia-I Wu <olvaffe@gmail.com> mesa: Enable remap table in core.

This enables the remap table in core. driInitExtensions is adapted to
use the remap table. All uses of extension_helper.h are replaced by
remap_helper.h. The chicken-egg problem of the DRI drivers is also
solved.

It is now also possible to pass NULL extensions to driInitExtensions.
It will cause driInitExtensions to map all known functions. This
functionality is used by software drivers and EGL_i915.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ri/dri_extensions.c
ri/dri_screen.c
gl/egl_context.c
gl/egl_tracker.c
bec5230a1ff3998d0f184fc2b7437b51082c329f 23-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: lots of fixes related to compositing

fixes transformations, rendering with multiple bound textures, xrender
matrix conversions plus some cleanups
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa_tgsi.c
org/xorg_renderer.c
0072a26662994653e07b0bb14cb1f12817540566 23-Oct-2009 Cooper Yuan <cooperyuan@gmail.com> g3dvl: pass display and screen to g3dvl when creating video private context
org/xvmc/context.c
fb22e801699ef69e40d8e9dfda758be824d86b96 23-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: fix the makefile when used with new xextproto
org/Makefile
1f5b568fbeda9e48f0ea6473cf8193e9502bb21a 22-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: cleanup the checks for whether the op is accelerated
org/xorg_composite.c
c4af8ce69e1a7105b0178da8a085b73ab984e432 22-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: lots of render fixes

fixes all the blend modes, fixes flushing/finishing semantics, adds
acceleration for the component alpha modes that we can support, fixes
src in mask shader and general cleanups
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa_tgsi.c
org/xorg_exa_tgsi.h
478332b0c1f0198bc7063300d203c21e42796045 20-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Move drm init to own function
org/xorg_driver.c
a9f71b3bba86771be56ff1def716beb370decd22 20-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Cleanly shutdown
org/xorg_driver.c
org/xorg_renderer.c
5f8f14e5ca994461c54ba547f6371c2f71474425 19-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Remove output functions not used
org/xorg_output.c
b7fbcfdb3bf220ceae5c994d49bcd806a51e177a 20-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: makefile garbage
org/Makefile
a39a3cc14e816cc91a81028a27c4dbd4816cdc9d 13-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: implement basic src/mask transformations

plus fix filters
org/Makefile
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_renderer.c
org/xorg_renderer.h
973aab1a528f0a42e8b5e979b4730649ea366363 19-Oct-2009 Corbin Simpson <MostAwesomeDude@gmail.com> dri-st: Add EXT_provoking_vertex.

Hm, I could have sworn I did this before?
ri/dri_extensions.c
e1b39c673d885e3dc990a29445360830b0a603aa 18-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Switch to set_mode_major
org/xorg_crtc.c
org/xorg_driver.c
846da0bfdae971cba84cd2ad9217c74c62e6bce9 18-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Massivly redo root pixmap creation
org/xorg_driver.c
org/xorg_exa.c
org/xorg_tracker.h
e9e6152cb38ca5f1ea6d65cf9bf32150bf9d2b7b 18-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Clean up cursor functions a bit
org/xorg_crtc.c
b8843c60565094be311e3b31c0826a3035627a3e 18-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Support more then one output of a given type
org/xorg_output.c
68b5dc9634a39b5aa84fe963676b4fd0249363cf 18-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Change how disable accel is handled
org/xorg_exa.c
bb567357bc1366df7115e0daa68c2470e3bf6ba6 18-Oct-2009 Corbin Simpson <MostAwesomeDude@gmail.com> gallium: Permit surface_copy and surface_fill to be NULL.

Uf. Lots of files touched. Would people with working vega, xorg, dri1, etc.
please make sure you are not broken, and fix yourself up if you are.

There were only two or three places where the code did not have painful
fallbacks, so I would advise st maintainers to find less painful workarounds,
or consider overhauling util_surface_copy and util_surface_fill.

Per ymanton, darktama, and Dr_Jakob's suggestions, clear has been left as-is.

I will not add PIPE_CAP_BLITTER unless it is deemed necessary.
ri/dri_drawable.c
gl/egl_surface.c
ega/renderer.c
ega/vg_tracker.c
org/xorg_exa.c
org/xorg_renderer.c
108273c5ed43b2c54a58900b7bb4528f912e2b1f 11-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: refix source over
org/xorg_composite.c
074e069910c7082620be4211fe5496365f828886 11-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: fix most of the composition modes
org/xorg_composite.c
ef067b5f01eb7ea7a08a64d897e0e70e139c618d 13-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fix dpms include problems
org/Makefile
org/xorg_crtc.c
59cf40059a7c451b1d1bc0c90f674e8e4baa5ab8 11-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: get transparency on fills working (fixes Qt/KDE apps)
org/xorg_composite.c
org/xorg_renderer.c
1cc1c3a0336d74e518417e2e93e141171a50542b 10-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: solid fills with masks are supported

gradients are supported, but not enabled by default due to little
testing they got
org/xorg_composite.c
89bb33fb20e69d9fa5325da10abf31d61d51d371 10-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: fix and enable by default xrender acceleration

src in mask was broken
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa_tgsi.c
150d4968e31e4600f9479c53f83d810b92b59cf7 12-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: initialize pipe in the renderer
org/xorg_renderer.c
319a588238b4c0c58f8f8807e1143ad79cd8f698 09-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: lots of rendering and xv changes

extract all the rendering code to xorg_rendedrer, make both exa and xv
share that code. in the process cleanup the rendering code and implement
a lot more of the xv infrastructure.
org/SConscript
org/xorg_composite.c
org/xorg_composite.h
org/xorg_exa.c
org/xorg_exa.h
org/xorg_exa_tgsi.c
org/xorg_exa_tgsi.h
org/xorg_renderer.c
org/xorg_renderer.h
org/xorg_tracker.h
org/xorg_xv.c
4969d014e5d55985119874c8db7cb98154185802 01-Oct-2009 Zack Rusin <zackr@vmware.com> st/xorg: implement basics of xv
org/Makefile
org/xorg_crtc.c
org/xorg_driver.c
org/xorg_xv.c
db828ed7589d0a5687386c4b4268b4e7ff78c866 08-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Old X servers don't deal well with failing accesses
org/xorg_exa.c
6d629d4aa211d098fe9541d0b644cf67ee1d7019 08-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: More fallback debugging

Change the fallback debugging around a bit and do the old commit correctly
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa.h
992b143b2551b0fe1871bc90aed984f63d04d7b5 08-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> Revert "st/xorg: Debug fallbacks for composite as well"

This commit included a change that should have been in
its own commit, and turns out that you can do what was
suposed to go in it in much better way as well.

This reverts commit 5080e8bea6ae5cdb116023a5e2d8dbbb762bd69d.
org/xorg_exa.c
5080e8bea6ae5cdb116023a5e2d8dbbb762bd69d 08-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Debug fallbacks for composite as well
org/xorg_exa.c
552efdae06eae578da6d0c6d6bad4b662bce9735 08-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Use A8 textures for depth 8 pixmaps

There is no hardware out there that can render to I8 textures.
org/xorg_exa.c
a31d16cbfa5a74299f6b6acd4814d6393f46d66b 08-Oct-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fix depth stencil buffers on old X servers

Sanity checking is for the weak.
org/xorg_dri2.c
f67bc2e87255298ac22e8ccd98f482cc62d0ec26 08-Oct-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_6_branch'

Conflicts:

src/mesa/drivers/common/meta.c
ee3fbe70672f32ae598a0005e027a6883a130e7b 07-Oct-2009 Brian Paul <brianp@vmware.com> gallium/xlib: call XQueryExtension() in glXQueryExtension()

See bug 24321.
lx/xlib/glx_api.c
5b4c0b864a25fa193e7ba828cf5ce483ca05bd4e 07-Oct-2009 Nicolai Hähnle <nhaehnle@gmail.com> Merge branch 'mesa_7_6_branch'
0526100a5cbd928fa28d38abdafd6beb024b0828 07-Oct-2009 Brian Paul <brianp@vmware.com> gallium/xlib: fix glXQueryDrawable() bugs, see bug 24320
lx/xlib/glx_api.c
lx/xlib/xm_api.c
lx/xlib/xm_api.h
de81b2cf0a465e2c6c43c7f9f864129728b3a080 07-Oct-2009 Michel Dänzer <daenzer@vmware.com> st/dri: Add missing front buffer case in dri_get_buffers().

This seems to help for compiz at least with some drivers.

Also add an assert(0) to catch unhandled cases in the future.
ri/dri_drawable.c
f9904edf53e1f8be22991c80b4f9a5cb510674df 07-Oct-2009 Brian Paul <brianp@vmware.com> gallium/xlib: return 0 for errorBase, eventBase in glXQueryExtension()

A little better than leaving the values undefined, I think.
See bug 24321.
lx/xlib/glx_api.c
55770d09c18c4d33403abb97dfef4f897efbbe2a 05-Oct-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_6_branch'

Conflicts:

src/gallium/auxiliary/util/u_cpu_detect.c
d47de5054091a5d1fa9b19687ac80bcdc39a5f8f 05-Oct-2009 Ben Skeggs <bskeggs@redhat.com> st/dri: avoid segfault if we can't get a pixmap's buffers

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
ri/dri_drawable.c
1336989ec60fff7bd590fefd28945a0e5dc536e3 05-Oct-2009 Ben Skeggs <bskeggs@redhat.com> st/dri: no need to request fake front buffer, only handle it being returned

The previous behaviour was incorrect, and resulted in EXT_tfp being broken
for DDX drivers that implement the correct behaviour (intel/radeon/nouveau).

In the cases where a fake front buffer is required, the X server will
return one when requesting __DRI_BUFFER_FRONT_LEFT.

The Xorg state tracker (aka modesetting_drv) is likely broken now until
it's modified to match the other drivers.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
ri/dri_drawable.c
fce2095a90440d1c129583fb8b6c26a93d4bde13 03-Oct-2009 Nicolai Hähnle <nhaehnle@gmail.com> st/dri: Install APPLE_vertex_array_object functions

Besides from being necessary to use that extension, it also fixes a crash
when deleting the currently bound vertex array object.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
ri/dri_extensions.c
ebbd65eb0658adcb797e0788a3472a7b69b3bfc2 03-Oct-2009 Nicolai Hähnle <nhaehnle@gmail.com> st/dri: Install ARB_vertex_array_object functions

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
ri/dri_extensions.c
316b4ddcf770e453b888ff7fbf96cb0aec1ce106 02-Oct-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Use PIPE_TRANSFER_MAP_DIRECTLY flag in EXA PrepareAccess hook.

Propagate NULL return value.

This also allows removing the DRM_MODE_FEATURE_DIRTYFB specific pixmap
management hacks.
org/xorg_exa.c
47e41b024e325f69ed514e551a6824afa58f1db6 02-Oct-2009 Michel Dänzer <daenzer@vmware.com> gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.

Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and
add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags
corresponding to them.
ython/retrace/interpreter.py
ega/st_inlines.h
85ee0ef9a72e4ffd6ed0a2442b1272a43508d257 02-Oct-2009 Brian Paul <brianp@vmware.com> gallium/xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()

The parameter is a bitmask.
lx/xlib/glx_api.c
abc12d0636a5f7fb938c0305cb1b642d5ec0afce 02-Oct-2009 Brian Paul <brianp@vmware.com> gallium/xlib: return GLX_RGBA_BIT or GLX_COLOR_INDEX_BIT in get_config()

This reverts part of commit a6b84aef4ad3a7bac40704146a98977c62bfb6e8
lx/xlib/glx_api.c
577f12fbba0b30925f43832ffd15214ca2218dca 02-Oct-2009 Younes Manton <younes.m@gmail.com> g3dvl: Delete state_trackers/g3dvl, other unused files.
3dvl/Makefile
3dvl/vl_basic_csc.c
3dvl/vl_basic_csc.h
3dvl/vl_context.c
3dvl/vl_context.h
3dvl/vl_csc.h
3dvl/vl_defs.h
3dvl/vl_display.c
3dvl/vl_display.h
3dvl/vl_r16snorm_mc_buf.c
3dvl/vl_r16snorm_mc_buf.h
3dvl/vl_r16snorm_mc_buf_shaders.inc
3dvl/vl_render.h
3dvl/vl_screen.c
3dvl/vl_screen.h
3dvl/vl_shader_build.c
3dvl/vl_shader_build.h
3dvl/vl_surface.c
3dvl/vl_surface.h
3dvl/vl_types.h
3dvl/vl_util.c
3dvl/vl_util.h
fcb595c04f9ee275eae49b7bb7c61246671f5ce2 02-Oct-2009 Younes Manton <younes.m@gmail.com> g3dvl: Copyright blocks.
org/xvmc/attributes.c
org/xvmc/block.c
org/xvmc/context.c
org/xvmc/subpicture.c
org/xvmc/surface.c
org/xvmc/tests/test_blocks.c
org/xvmc/tests/test_context.c
org/xvmc/tests/test_rendering.c
org/xvmc/tests/test_surface.c
org/xvmc/tests/testlib.c
org/xvmc/tests/testlib.h
org/xvmc/tests/xvmc_bench.c
org/xvmc/xvmc_private.h
62db9b21da6ccad6301feae9b90d53d46224c854 02-Oct-2009 Younes Manton <younes.m@gmail.com> st/xvmc: Set default CSC matrix to BT.601, no ProcAmp, full range RGB.
org/xvmc/context.c
5d2413fca4c252ec5c7880fa7f983b5df3d762ba 01-Oct-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_6_branch'
e32a341be66391e0ea1cc6ce19bbd57997f46b6b 01-Oct-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Check that ms->api->destroy is not NULL before calling it.

Fixes potential crash on X server shutdown.
org/xorg_driver.c
4456006ba626890172289111403e469f49106e18 01-Oct-2009 Keith Whitwell <keithw@vmware.com> gallium: remove depth.occlusion_count flag

This was redundant as drivers can just keep track of whether they are
inside a begin/end query pair. We want to add more query types later
and also support nested queries, none of which map well onto a flag like
this. No driver appeared to be using the flag.
3dvl/vl_context.c
81a62edc088278e97288db7b17f6b485af8976b0 30-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Fix debug option function call typo.
org/xorg_driver.c
4b95481e951424e24c9ab817998ae50b54ab9f84 30-Sep-2009 Chia-I Wu <olvaffe@gmail.com> st/egl: Fix a double free in drm_destroy_context.

st_destroy_context has destroyed the pipe context for us.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl/egl_context.c
dd81cc885c3d0619921a7de7e00618e412c05697 30-Sep-2009 Chia-I Wu <olvaffe@gmail.com> st/egl: Fix a crash when unbinding current context.

This fixes a NULL-pointer dereference when
eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)
is called.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl/egl_context.c
gl/egl_surface.c
gl/egl_tracker.h
a6b84aef4ad3a7bac40704146a98977c62bfb6e8 29-Sep-2009 Brian Paul <brianp@vmware.com> gallium/xlib: fix GLX_RENDER_TYPE query

Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
lx/xlib/glx_api.c
57d0fcba67f637b89b020371b91a3c7cd7b048c2 28-Sep-2009 José Fonseca <jfonseca@vmware.com> python: Update for surface_buffer_create change.
ython/st_softpipe_winsys.c
3a8d525373c50c6cdc9ae5dd00e7298ab58df8c6 28-Sep-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/xorg: Add debug for fallbacks
org/xorg_driver.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_tracker.h
e226bf8a5d1e916b6c99397987eea4f31ee5de3b 27-Sep-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/xorg: Make debug printing optional
org/xorg_composite.c
org/xorg_exa.c
70c44073ad3f333ed40c5c297a934a359c839e94 28-Sep-2009 Younes Manton <younes.m@gmail.com> xvmc: Fail on unsupported formats, operations.
org/xvmc/context.c
d52d51ab8ae1240f77b6c18c3e99be4bf4868037 28-Sep-2009 Younes Manton <younes.m@gmail.com> g3dvl: Formatting and cleanups.
org/xvmc/context.c
org/xvmc/surface.c
97c28bb63a4e1029eaf36d23b780f4d3396118a0 28-Sep-2009 Younes Manton <younes.m@gmail.com> g3dvl: Move XvMC under the Xorg state tracker.
org/xvmc/Makefile
org/xvmc/SConscript
org/xvmc/attributes.c
org/xvmc/block.c
org/xvmc/context.c
org/xvmc/subpicture.c
org/xvmc/surface.c
org/xvmc/tests/.gitignore
org/xvmc/tests/Makefile
org/xvmc/tests/test_blocks.c
org/xvmc/tests/test_context.c
org/xvmc/tests/test_rendering.c
org/xvmc/tests/test_surface.c
org/xvmc/tests/testlib.c
org/xvmc/tests/testlib.h
org/xvmc/tests/xvmc_bench.c
org/xvmc/xvmc_private.h
dd586078bef433d0830df0b60c768c617a8ae8cd 23-Sep-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/egl: Remove buffer from screen

It is no longer needed since the new drm api code,
and it incorrectly checked if the buffer where there
for testing completeness when it should have checked
the texture instead.
gl/egl_surface.c
gl/egl_tracker.h
c19482b16f164ce1b6625d18950a4644e5834373 25-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Re-enable accelerated fills and copies.

These seem to work well enough now with the new code. Composite acceleration
isn't quite there yet and thus remains disabled in xorg_composite_bind_state()
for now.
org/xorg_exa.c
07e2d6edfac618729bc2321fd64e15f34360d5fa 25-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Flush render cache if but only if a source has pending write operations.
org/xorg_composite.c
626553f327394b835cecaf4795692028c2378efa 25-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Reject Composite acceleration for some cases not working yet.
org/xorg_composite.c
9c449502a2a92bc71bc438f366138ae82404c066 25-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Make sure struct is fully initialized.

gcc complained about a missing initializer.
org/xorg_exa_tgsi.c
b0ddfe8a3dc3dfee87dd382a4aa7cbd03a395f37 25-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Use generic semantic for Composite mask coordinates.
org/xorg_exa_tgsi.c
ac2e0ddcd8f33505aee20e94dd64a804812f07fb 25-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Flesh out EXA PrepareComposite hook a little.

Check that the formats are supported, and don't crash with source-only
pictures.
org/xorg_exa.c
b97547027e0f049d1ceef7863815d53e471fb18c 25-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Use I8 format instead of A8 for depth 8 pixmaps.

Seems to work better for Composite acceleration.
org/xorg_exa.c
67fb13ba682951d3aa61efca25614cdde6bb70f2 25-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Bind rasterizer state for copies.
org/xorg_composite.c
7edda9350acbf84b63ad67af8053fb07785637cb 25-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Source-only pictures always have format PICT_a8r8g8b8.

See xserver/render/picture.c:createSourcePicture(). This both simplifies the
code and avoids a crash because pFormat is NULL.
org/xorg_composite.c
07f107467ed1e301b1362298c350ff3758a1f22f 25-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Better checks for unsupported component alpha pictures.
org/xorg_composite.c
228aa45fcbb65205937f74853801643d676db675 25-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: start working on the Xv acceleration code
org/xorg_tracker.h
org/xorg_xv.c
80965fca743c3101af731080cb81dec705cd931b 23-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: fills are supported plussome minor clenups
org/xorg_composite.c
org/xorg_exa.c
53d2fa46e7fa19d0cb7dec74efcd407ab6163c80 23-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: add easier way of disabling/enabling acceleration
org/xorg_composite.c
org/xorg_exa.c
4e5ed05b025b9b6a1a6dabba72fce3d918e77044 24-Sep-2009 José Fonseca <jfonseca@vmware.com> wgl: DWM integration.
gl/opengl32.def
gl/opengl32.mingw.def
gl/stw_device.c
gl/stw_device.h
gl/stw_framebuffer.c
gl/stw_framebuffer.h
gl/stw_icd.h
gl/stw_pixelformat.c
gl/stw_pixelformat.h
gl/stw_winsys.h
1ddb217d8ed976da7049255ad3c346d961b96901 23-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: fix a typo

it'd be too easy, eh
org/xorg_exa.h
5a7f7085303c1337466e231f8fb12b9c4113f4ad 22-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: keep the user buffer contents around

Michel noticed that they were getting out of scope
org/xorg_composite.c
org/xorg_exa.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.
gl/SConscript
gl/stw_context.c
gl/stw_context.h
gl/stw_device.c
gl/stw_device.h
gl/stw_ext_gallium.c
gl/stw_ext_pixelformat.c
gl/stw_framebuffer.c
gl/stw_getprocaddress.c
gl/stw_icd.c
gl/stw_pixelformat.c
gl/stw_pixelformat.h
gl/stw_public.h
gl/stw_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.
gl/SConscript
gl/icd/stw_icd.c
gl/icd/stw_icd.h
gl/shared/stw_arbpixelformat.c
gl/shared/stw_context.c
gl/shared/stw_context.h
gl/shared/stw_device.c
gl/shared/stw_device.h
gl/shared/stw_extensionsstring.c
gl/shared/stw_extgallium.c
gl/shared/stw_extgallium.h
gl/shared/stw_extswapinterval.c
gl/shared/stw_framebuffer.c
gl/shared/stw_framebuffer.h
gl/shared/stw_getprocaddress.c
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
gl/shared/stw_public.h
gl/shared/stw_tls.c
gl/shared/stw_tls.h
gl/shared/stw_winsys.h
gl/stw_context.c
gl/stw_context.h
gl/stw_device.c
gl/stw_device.h
gl/stw_ext_extensionsstring.c
gl/stw_ext_gallium.c
gl/stw_ext_gallium.h
gl/stw_ext_pixelformat.c
gl/stw_ext_swapinterval.c
gl/stw_framebuffer.c
gl/stw_framebuffer.h
gl/stw_getprocaddress.c
gl/stw_icd.c
gl/stw_icd.h
gl/stw_pixelformat.c
gl/stw_pixelformat.h
gl/stw_public.h
gl/stw_tls.c
gl/stw_tls.h
gl/stw_wgl.c
gl/stw_wgl.h
gl/stw_winsys.h
gl/wgl/stw_wgl.c
gl/wgl/stw_wgl.h
8d1af5991d739e33962e8ca52c6a5ce1c9204ce6 22-Sep-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix debug_printf format specifiers.
gl/icd/stw_icd.c
bade906ed131e35ed1782f4687760dcdca233299 22-Sep-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/xorg: Fix two leeks

We where leaking both surfaces in the composit code
and textures from pixmaps.
org/xorg_composite.c
org/xorg_exa.c
e9d6ab72be065becf7a077c33919d37faa8db92e 21-Sep-2009 Dave Airlie <airlied@redhat.com> xorg/st: fixup builds against later dpms headers.
org/xorg_crtc.c
org/xorg_output.c
a016043386045d7cc35d70e42d963704fcae3731 15-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: fixing copies and composite shaders

copies were busted when src == dst. also the composite shaders
were incorrectly using the fragments instead of the texture coordinate.
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa_tgsi.c
8adcad0c703a9d339b6630ceaba5f96981c524d9 15-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: lots of fixes

fixes blending binding and copy coordinates
org/xorg_composite.c
org/xorg_exa.c
f1ce6b09cdb21d9217d6ad6057f7fb97375df8be 15-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: Brian suggested that those could be mad's

optimizes the common paths
org/xorg_exa_tgsi.c
0469465c31371177d85ab7af103359500323c1f8 15-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Only unreference texture on pixmap destruction, don't destroy it.

Fixes memory corruption if e.g. the driver still has references to the texture.
org/xorg_exa.c
45cf2696ca2ad5f2ef77a3c35ee1d0ab1709b1da 15-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Explicitly check whether the driver supports the pixmap formats.

Rather than arbitrarily checking for pixmap depth < 15.
org/xorg_exa.c
be94a1d3bc147320ac7bfd98235783359bfada5c 15-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Use A8 format for depth 8 pixmaps.

The inconsistent bpp caused issues with UploadTo/DownloadFromScreen.
org/xorg_exa.c
287f0072d2bb8b74500076685830c397c580e4a2 15-Sep-2009 Cooper Yuan <cooperyuan@gmail.com> st/g3dvl: pass color values to softpipe clear function
3dvl/vl_basic_csc.c
ef7746217176ba251dc6a5deb90c308c9964ed7b 15-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: add some debugging helpers
org/xorg_composite.c
org/xorg_exa.c
5a87a25a65012122dd91256a8d2f3d1c3ffe5de0 14-Sep-2009 Brian Paul <brianp@vmware.com> st/xorg: fix ureg_DECL_constant() parameters

This fixes the compilation errors reported in bug 23945 but someone more
familiar with the code should review for correctness and close the bug
report.
org/xorg_exa_tgsi.c
aad0deee4b2d347bdfc536fe98938ed825bf0f6b 14-Sep-2009 Cooper Yuan <cooperyuan@gmail.com> g3dvl: update tgsi_opcode in order to build g3dvl library
3dvl/vl_basic_csc.c
3dvl/vl_r16snorm_mc_buf_shaders.inc
ae4704eabc237e13c9b06df9c44f31c9baca6208 12-Sep-2009 Keith Whitwell <keithw@vmware.com> tgsi/ureg: give ureg_DECL_constant an explicit index parameter

Avoid the need to emit all constant declarations in order. Makes
referring to a specific constant in the constant buffer much easier.
org/xorg_exa_tgsi.c
6d8dbd3d1ec888300fb0e9ac3cf61808ba8ecc2b 12-Sep-2009 Keith Whitwell <keithw@vmware.com> tgsi/ureg: VS inputs don't have any semantic tags, just an index

Fix ureg_DECL_vs_input to reflect this and fix up all callers.
org/xorg_exa_tgsi.c
8c37a4c8fd133f3cddc6798a0834038730acc213 09-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: rename ctx to pipe to match every other gallium state tracker

plus it avoids the "ctx->ctx->" syntax
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_exa_tgsi.c
85a716bf627080c5b57653ddfca199e752f6906e 09-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: temporarily disablie copies
org/xorg_exa.c
feb74e7753f56c0fa3ec943a45bbf48f2183e04c 09-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: implement pipelines surface/texture copies
org/xorg_composite.c
org/xorg_exa.c
57d0934bc562c7a0de0c79fb0263ab3569eed002 09-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: unite finalization and stub out pipelined copies
org/xorg_composite.c
org/xorg_composite.h
org/xorg_exa.c
org/xorg_exa.h
974dec2e7b86474af75708dd2cc8236416f25662 09-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: abstract flushing and syncing for the exa code
org/xorg_exa.c
org/xorg_exa.h
16886c8be34fd17ed34c83ed2e83af2c825c989d 09-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: disable solid fills until copies are accelerated as well
org/xorg_composite.c
org/xorg_exa.c
6be1a98ab9d64584c3852b97e2f1d63697f7bf76 09-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: implement exasolids with full pipelining

plus fix some small issues with the shaders
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_exa_tgsi.c
3167c2e8a0a248c290ae8bfff23c88db8f39cd11 09-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: start adding support for surface fills
org/xorg_composite.c
org/xorg_composite.h
org/xorg_exa.c
org/xorg_exa.h
org/xorg_exa_tgsi.c
e34ea368d9fccaf84b7e4aec4ba3f633eeaefec6 08-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Add support for EXA_MIXED_PIXMAPS and EXA_SUPPORTS_PREPARE_AUX.

Also make sure not to leak malloced memory when switching pixmaps to texture
based.
org/xorg_dri2.c
org/xorg_exa.c
40636fe6f2763e6be4141516a9eba5004b371915 04-Sep-2009 Brian Paul <brianp@vmware.com> gallium/xlib: minor clean-ups
lx/xlib/xm_api.c
7ec865202e6b054c3afaba6180d42a29f30f8964 03-Sep-2009 Brian Paul <brianp@vmware.com> gallium/xlib: silence unitialized var warning
lx/xlib/xm_api.c
323440b3e204a6de8faa8009eea9bb05c3b11991 03-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: add linear and radial gradient acceleration
org/xorg_exa_tgsi.c
007a843991cd2c03369590fa15cbb60a9b261c65 03-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: radial gradient shader
org/xorg_exa_tgsi.c
5571c4fe3650d062d9c469b774ff4930f43c4354 03-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: linear gradient shader
org/xorg_exa_tgsi.c
5643942517f05c7a986d208be4402927a111555e 03-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: cleanup and adjust to the changes in the ureg code
org/xorg_exa_tgsi.c
07f9ad5c322ce409fdd4b86e3913f7cc085520b5 03-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: adjust enums in preperation for gradients
org/xorg_composite.c
org/xorg_exa_tgsi.h
206eb504930e5c5f8c947949bcaf20b11627fac7 03-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: fix warnings
org/xorg_exa_tgsi.c
d6b58a97c2f94ca54852414103c4ac2832279f2f 03-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: handle xrender repeat modes
org/xorg_composite.c
dc9de8064f52b12d29d9ecd51b765973ac293fac 02-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: flip the coordinate system
org/xorg_composite.c
d918896a754460bfcc5a9ba1e2844255f21ecab7 02-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: handle solid fills in the fragment shader
org/xorg_exa_tgsi.c
7d8f33590f656e406b35cebc7144e958e829ca3e 02-Sep-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Guard against realy old versions of Xorg
org/xorg_dri2.c
c0cf0fd163397d68acfb2e226a6b9a569ded54cd 02-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Remove code no longer support by xserver Git master.

Shouldn't be necessary with older versions either.
org/xorg_driver.c
org/xorg_winsys.h
ea55f8ed8fc18245d74e04c0ae8e1a4911a37f26 02-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Add support for xserver Git master DRI2 interface.

Reorganize to handle both interfaces with common code.
org/xorg_dri2.c
org/xorg_exa.h
0b26d97f4d48e5f7e5a4230a411e3a1d91928bb4 02-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/dri: Slight consolidation of DRI2 buffer handling.

Always use / assume a combined depth/stencil buffer.

Also update drawable formats from surfaces returned by the driver.
ri/dri_drawable.c
ri/dri_drawable.h
385620e5ebcbd5ee1fb4eaf75083ea540ac53955 02-Sep-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Add EXA UploadToScreen and DownloadFromScreen hooks.
org/xorg_exa.c
7e4487ad5c1dcaa77df980bd6ef598ee880dc1c4 02-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: getting indexes right tends to be helpful
org/xorg_exa_tgsi.c
5c746d9214b72c181aa80f09aa527542e5b2f213 02-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: redo the vertex shader
org/xorg_exa_tgsi.c
a8cbb1563213086f58d3b82b6d0755a59eb43c79 01-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: setup solid fills
org/xorg_composite.c
811aa02c7a0f4804189a8978395f07d27fb726ec 01-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: fold back the helper function into core
org/xorg_composite.c
91c366359ce0bf5f450fd1d774b771c95ed2f651 01-Sep-2009 Zack Rusin <zackr@vmware.com> st/xorg: start rendering and compositing pictures
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa.h
7b32da0b11a769be057cdd3e619d582b433bbb0e 01-Sep-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/xorg: Fix crash in MPH
org/xorg_exa.c
f315c0128b5f6317f910f6c54119fea97256254c 28-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: add code to render textured quads for composite acceleration
org/xorg_composite.c
org/xorg_exa.c
org/xorg_exa.h
9ccbadb22d74c649a634c515cd1123fe96781357 28-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: setup constant buffers for vertex and fragment shaders
org/xorg_composite.c
3c3ad915d831a962b284da42659ad15bcadcffa1 31-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Re-organize the EXA ModifyPixmapHeader hook a bit.

This should also handle the case where the pixmap is backed by a (different)
texture before and afterwards.
org/xorg_exa.c
40e3148a81f93f590c7400b00a6c2d536a2258b0 31-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Simplify EXA ModifyPixmapHeader hook for pPixmap != NULL.

Just let the upper layers handle it.
org/xorg_exa.c
366efd8c4b69e8ec1b6f4ec5ba5df54e6574f8f1 31-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Don't always fall back for solid fills.
org/xorg_exa.c
9f0495aa765ae53b877b1e7fdffba70f4ee1a056 31-Aug-2009 Michel Dänzer <daenzer@vmware.com> Gallium xlib: Add support for BGRA visuals.
lx/xlib/xm_api.c
62c91998efad508fe5323f25a7435aa93e718fdc 09-Aug-2009 José Fonseca <jfonseca@vmware.com> xlib: Ensure one screen instance.
lx/xlib/xm_api.c
b836b2593c0450125bef6b88b02c7d6c20e9eff8 09-Aug-2009 José Fonseca <jfonseca@vmware.com> xlib: Complete llvmpipe integration.
lx/xlib/SConscript
aaedd035ca90d20efdc75a4123c99baaf8d20dc9 28-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: disable composite accelration for now
org/xorg_composite.c
0a2681128622b0c0a22b68c95309cc70a237cc5c 28-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: bind samplers before composition
org/xorg_composite.c
f1c0a4b2f4b0054a3371fcaf5121bf53ef29b756 28-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: normalize coords for the src operands in the vertex shader
org/xorg_composite.c
org/xorg_exa_tgsi.c
1e9eb69f835e35116b8ada0fc2f05561fd8956d1 28-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: If migrating from a sw pixmap to a hw pixmap upload old contents
org/xorg_exa.c
d80242c2546f795e37ce88955c823c054fdfe217 28-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Null devPrivate.ptr when unmapping
org/xorg_exa.c
fdc8ec60eb93de56f20c96376755e76bb41bfd58 28-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Fix scons build.
org/SConscript
1e5014f7dfabcaf1f4b5608eb08e97179446eb09 27-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> drm_api: Operate on textures instead of buffers

Most use cases just got the buffer from the texture
and then called into one of the get_handle functions.

Also with this patch it would be easier to move to a
generic function for getting handles from textures
and textures from handles, that is exposed via the screen.
ri/dri_drawable.c
gl/egl_surface.c
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_exa.c
7d9af52bc59bfeb19d9bdb55258f4a830a1b0d04 27-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Fix some warnings
org/xorg_crtc.c
org/xorg_driver.c
org/xorg_tracker.h
b26aee0ffed3f3baee9d65365812e40598a26138 27-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/dri: Fix some warnings
ri/dri_context.c
ri/dri_drawable.c
ri/dri_drawable.h
6f0a1a842685a2b172187ece08113352c3765ce6 28-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Pass dri driver name as driverName on screen
org/xorg_dri2.c
205d344e2a2f0c9ea982b037ab68feab06cbebb1 28-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> Revert "st/xorg/dri: Pass texture formats via the DRI2 protocol flags."

This reverts commit a33e9ea3b9b7ac98d6e9bc385bbbe7eac2eb73d0.

As this change breaks both radeon and nouveau
ri/dri_drawable.c
org/xorg_dri2.c
8bdce0c3a7b3e3798de736ef4ce72431d777901c 28-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: set vertex and fragment shader for the current op
org/xorg_composite.c
c7e103d2388ea53348c9537adf40c643f80e76dc 28-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: bind rasterizer state
org/xorg_composite.c
2048182e868a759c3198b3cbaf2dd1d366fe0a21 28-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: set blend state for exa
org/xorg_composite.c
f9a3fce09044fbfe9a9b973d33b31cfe826d1386 27-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: bind framebuffer and viewport for exa
org/xorg_composite.c
org/xorg_composite.h
org/xorg_exa.c
org/xorg_exa.h
org/xorg_exa_tgsi.c
3f15ea866fbd82d873943f80b09124a618692a7c 27-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: create and destroy shader cache
org/xorg_exa.c
org/xorg_exa.h
416ee3c53eeb1664784f224a42e293e5fed783bc 27-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Set shared usage of pixmaps for use via DRI2.

Also allow pixmaps to have both the shared and displayed usage flags, as is
the case for the screen pixmap now.
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
bfbfcdd7036add7121eb728daad6131fd77304d0 27-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/dri: Make sure the front left renderbuffer is there for texture-from-pixmap.
ri/dri_drawable.c
d73d4cfcf1ed1fbd6bccfd231953cf4e6b5df3ae 27-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Don't hardcode ExaPrepareCopy to fall back to software.
org/xorg_exa.c
05aa56a8275cc6f78e85b1fdf731500d1a5e5b08 27-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Flush context if necessary in ExaPrepareAccess.
org/xorg_exa.c
f3a540f6d7fce1465c16647b209e14694a5291df 27-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/dri: Only ask for fake front buffer for single buffer visuals by default.
ri/dri_drawable.c
a33e9ea3b9b7ac98d6e9bc385bbbe7eac2eb73d0 27-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/xorg/dri: Pass texture formats via the DRI2 protocol flags.

No need to guess.
ri/dri_drawable.c
org/xorg_dri2.c
49f245ea6bc2f9b7ee0345ff42cb00aa969cd316 26-Aug-2009 Chia-I Wu <olvaffe@gmail.com> EGL_i915: Make struct drm_device per display.

This is to allow a driver to drive multiple displays.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl/egl_context.c
gl/egl_surface.c
gl/egl_tracker.c
gl/egl_tracker.h
a0966c41a913666f0a6b04bde63162a30b1a1879 26-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: create basic vertex shader
org/xorg_exa_tgsi.c
org/xorg_exa_tgsi.h
b324aacf139bc88fa268057158af88f725c50c63 26-Aug-2009 Zack Rusin <zackr@vmware.com> st/xorg: create basic fragment shader
org/xorg_exa_tgsi.c
53b3cdaee2654895dc90a25376ba29b64d166c54 26-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/dri: Add some debug code
ri/dri_drawable.c
57230d96ed3dc231c47ed8765f30e0e34e988d31 26-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Temporary fix for none stencil visuals

Should be replaced with something looking at the proper
glx visual for the buffers.
org/xorg_dri2.c
23fe960be0d0d27fcd676534c692ab164f854acb 26-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Find out correct type for depth stencil buffers
org/xorg_dri2.c
org/xorg_tracker.h
aab0bedb8c791531256b9cf4ef165080ccc75e9b 26-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/dri: Redo config generation
ri/dri_drawable.c
ri/dri_screen.c
b2e1b258812167ce8d33f5978f877439e280a1e4 26-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Add support for dirty framebuffer region reporting.

Add a BlockHandler which flushes the context and reports the dirty region
gathered using the X server damage layer.

In the interim, with dirty region reporting only allocate textures for the
framebuffer and shared pixmaps (e.g. DRI2 buffers) and fall back to software
for other pixmaps. This will be improved in the future.
org/xorg_driver.c
org/xorg_exa.c
org/xorg_tracker.h
1664bc1a37ab85c5d1b14d90c4674201c9154382 26-Aug-2009 Ben Skeggs <bskeggs@redhat.com> st/dri: make the GL_ARB_map_buffer_range entrypoints available
ri/dri_extensions.c
7bc4744026fadd3859097bf076e9b345f4e310f4 25-Aug-2009 Zack Rusin <zackr@vmware.com> xorg: insert shaders into the cache
org/xorg_exa_tgsi.c
23b59d3b4029ea89b5a8e85ea3cc10bea1ab01d0 25-Aug-2009 Zack Rusin <zackr@vmware.com> exa: add basic code to cache vertex and fragment shaders
org/xorg_exa_tgsi.c
org/xorg_exa_tgsi.h
c7653a83330e5ea63ad3a566da15155e216c6cb4 25-Aug-2009 Zack Rusin <zackr@vmware.com> exa: check whether the op is accelerated
org/xorg_composite.c
org/xorg_exa_tgsi.c
65f9d10342881f8a6bc32ebc7976017cb4625a94 25-Aug-2009 Zack Rusin <zackr@vmware.com> xorg: revert bad merge
org/xorg_driver.c
d22bd1421cdfa1900df5b76e6f862596bdd11074 25-Aug-2009 Michel Dänzer <daenzer@vmware.com> Add support for building the Xorg state tracker with scons.

scons ... statetrackers=xorg
org/SConscript
ffe8cc6cef9df796500a30acf88ffeac7588c28a 25-Aug-2009 Zack Rusin <zackr@vmware.com> xorg: fix compilation
org/xorg_exa_tgsi.c
17076d700c94402f82c22b2e1d99a1753e4a0834 25-Aug-2009 Zack Rusin <zackr@vmware.com> xorg: start on code accelerating render
org/xorg_composite.c
org/xorg_driver.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_exa_tgsi.c
org/xorg_exa_tgsi.h
534c13302291c07a44afd528f4c758ced4296db5 24-Aug-2009 Zack Rusin <zackr@vmware.com> openvg: fix vgTransformPath with relative coords
ega/path.c
54fb71b863c6a4d4cda61c69d842f7ee91d062f9 22-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/dri: Remove some debug prints
ri/dri_drawable.c
a3e59b9d06bcad6b1ab741ee659a4db0d119d5ef 22-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/dri: Find out if the drawable is a pixmap

Part of this code is disabled since no performance gains
where detected with it enabled.

This code only detects if it is a pixmap that it is
rendering to on the st/xorg DDX since it sets the fake
front to the same handle as front.
ri/dri_drawable.c
ri/dri_drawable.h
6237ac2412b08a3b6239203be69ce542335ae47e 22-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/dri: Fix frontbuffer rendering with DRI2
ri/dri_drawable.c
29165a2fcc308321c926f125d5b3b45779de6f1e 22-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Handle fake fronts correctly for pixmaps
org/xorg_dri2.c
9b3e5df900db465319ed4b5d4c4721e1986fb5a3 21-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/egl: Add support for drmModeDirtyFB command if found
gl/egl_surface.c
e93d41d24f15491415538c82959f0d511bb40813 20-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/egl: Open the first drm node

At least its better then hardcoded to i915
gl/egl_tracker.c
8604a896a60a5f3f81d6ebecf827aeaddf8c640c 19-Aug-2009 Brian Paul <brianp@vmware.com> gallium: rename copy/fill_rect utility functions
org/xorg_exa.c
dd5ac3cafc024a02900786c1b9e28c319250f3e3 14-Aug-2009 Keith Whitwell <keithw@vmware.com> st/xlib: remove a couple more 'fake' references
lx/xlib/glx_api.c
515a820021c208c87deac20deea41ef5621e74ea 14-Aug-2009 Keith Whitwell <keithw@vmware.com> st/xlib: remove dead ungrab helper
lx/xlib/glx_api.c
73fc09a7bf5c63b595251dc10997891c72ecb119 19-Aug-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'
657109bbc659c77b41d929a1585fc251fb1caba3 18-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> egl: Create the front texture the properly
gl/egl_surface.c
5a2c9372a0d9fa1efd924f9386a4e3df47c17d0e 13-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Some per-driver data should be per-display.

Move some fields of _EGLDriver to _EGLDisplay. It also becomes
unnecessary to pass _EGLDisplay to drivers when _eglMain is called.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl/egl_tracker.c
2f2cf461c57974abd89e4917945cc8ae6a67a72e 11-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Overhaul driver API.

The motivation is so that drivers do not need to look up and check for
bad display, context, and etc. It also becomes unnecessary for drivers
to call the link functions.

This commit makes eglapi.[ch] do the lookup and check. As a result, the
driver API is overhauled, and almost all sources and drivers need
update. The updates are mainly find and replace with human brains.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl/egl_context.c
gl/egl_surface.c
gl/egl_tracker.c
gl/egl_tracker.h
cdf56eb68d2718b5702f3d09928da404d745b8e1 31-May-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Open bz2 files correctly.
ython/retrace/parse.py
51c47383f9ec68d2ac851e0abd447311ebce2d7f 14-Aug-2009 Keith Whitwell <keithw@vmware.com> st/xlib: reduce the proliferation of GLX context types

Now there is just a single, struct __GLXcontextRec, which is the
GLXContext typedef has already been defined as a pointer to. I
believe this is the intended usage, that GLX implementations should
define that struct as they require.

Merge the two previous structs into one and get rid of the
no-longer-necessary type casts and sub-classing.
lx/xlib/glx_api.c
9616e4ad1c055d8ff9ab671914f97e402d0aa4b0 14-Aug-2009 Keith Whitwell <keithw@vmware.com> st/dri: remove unused dummyContext value
ri/dri_context.c
ri/dri_screen.h
67b639c7ab3355cc24d38af165c9775fcc1af3cf 14-Aug-2009 Chia-I Wu <olvaffe@gmail.com> st/vega: Add more symbols defined by mesa/st.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
ega/vg_tracker.c
ega/vg_tracker.h
ace98f09e6e77bba33dd1789506676059bba8e9b 13-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/dri: Add support for GLX_EXT_texture_from_pixmap with direct rendering.
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_screen.c
7ef8c79a8c69d62eecbd4301b0e15d44d0797072 13-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Fix DRI2 CopyRegion hook.

Use GC CopyArea op for proper translation and clipping, and throttle full
buffer swaps / frontbuffer flushes.
org/xorg_dri2.c
5eeb44f3983dfda2f2707783be12806da795cbcd 12-Aug-2009 Michel Dänzer <daenzer@vmware.com> st/xorg: Acquire/drop DRM master in order to work with multiple servers.
org/xorg_driver.c
f21b0e9a048150569ad469ab021a62fdc986e0ae 12-Aug-2009 Brian Paul <brianp@vmware.com> gallium/glx/xlib: main/ prefix on Mesa includes, remove -I$(TOP)/src/mesa/main/
lx/xlib/Makefile
lx/xlib/glx_api.c
lx/xlib/glx_usefont.c
lx/xlib/xm_api.h
10eb2ca9540dc4d96933fa1d7c1a92d3e040a5bd 12-Aug-2009 Brian Paul <brianp@vmware.com> gallium/glx/xlib: updated comments
lx/xlib/glx_api.c
lx/xlib/glx_getproc.c
lx/xlib/glx_usefont.c
80b8fbcaba1a52accfe21d13b0ce43afe5b4a098 12-Aug-2009 Brian Paul <brianp@vmware.com> gallium/glx/xlib: delete fakeglx.h
lx/xlib/fakeglx.h
275d0e7e9282bfc8befe6d1427610a26c27e97d2 12-Aug-2009 Brian Paul <brianp@vmware.com> gallium/glx/xlib: rename fakeglx.c to glx_api.c
lx/xlib/Makefile
lx/xlib/SConscript
lx/xlib/fakeglx.c
lx/xlib/glx_api.c
622d53129639b2c7302d71f9affb1876c7e3df8b 12-Aug-2009 Brian Paul <brianp@vmware.com> gallium/glx/xlib: delete glxapi.h
lx/xlib/glxapi.h
f5dd1cff9405d561192414284e648862bb6d56b2 12-Aug-2009 Brian Paul <brianp@vmware.com> gallium/glx/xlib: rename fakeglx_fonts.c to glx_usefont.c
lx/xlib/Makefile
lx/xlib/SConscript
lx/xlib/fakeglx_fonts.c
lx/xlib/glx_usefont.c
0528d6c70497a85ead1e17a3758f1b86617d9a05 12-Aug-2009 Brian Paul <brianp@vmware.com> gallium/glx/xlib: rename glxapi.c to glx_getproc.c
lx/xlib/Makefile
lx/xlib/SConscript
lx/xlib/glx_getproc.c
lx/xlib/glxapi.c
f546fa00aa95980cdbcc4dbcacd239a49b972a21 12-Aug-2009 Brian Paul <brianp@vmware.com> gallium/glx/xlib: don't include fakeglx.h
lx/xlib/fakeglx.c
4a4039e1996a65ebced473fa03a3a970825746ff 12-Aug-2009 Brian Paul <brianp@vmware.com> gallium/glx/xlib: overhaul and simplification of the Gallium Xlib-based GLX

The old GLX dispatch table stuff isn't needed (same story for the Mesa/Xlib
driver). The intention of that code was being able to switch on the fly
between the real GLX library and the fake/Xlib-based emulation. That hasn't
been used in a long time.

Next up: some file renaming.
lx/xlib/fakeglx.c
lx/xlib/fakeglx_fonts.c
lx/xlib/glxapi.c
lx/xlib/glxapi.h
b6c65516865aa331b066a6516d553c9fca314670 06-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: If we have DRI2 we should also have some sort of hw support
org/xorg_dri2.c
3905119b4743eb5d284236cc237ee2c19ae3c5c8 05-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Make it work again
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
org/xorg_exa.h
org/xorg_tracker.h
8ccec83e63932d78bb67638e013b9645e609da42 05-Aug-2009 Jakob Bornecrantz <jakob@vmware.com> st/egl: Create primary texture not display target
gl/egl_surface.c
07ee01365a8bddf6f50821ecd585784498a25ff0 03-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Replace IsBound by a pointer to the binding.

IsBound tells if a context or surface is current. What it does not tell
is, to which thread a context is current, or to which context a surface
is current. This commit replaces IsBound by a pointer to the binding
thread or context.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl/egl_context.c
gl/egl_surface.c
cb90c43676c258419e4b617c908570891d3674cb 31-Jul-2009 Michal Krol <michal@vmware.com> Rename TGSI LOOP instruction to better match theri usage.

The LOOP/ENDLOOP pair is renamed to BGNFOR/ENDFOR as its behaviour
is similar to a C language for-loop.

The BGNLOOP2/ENDLOOP2 pair is renamed to BGNLOOP/ENDLOOP as now
there is no name collision.
ega/asm_filters.h
48888b918b9c09a14056f925c2af60ea16dcc88d 12-Dec-2009 Jakob Bornecrantz <jakob@vmware.com> vmware/xorg: Fix failure paths and add some debug printing
org/xorg_driver.c
a8921d0b52f04bbd62c66278e7421e6b99bfd7c3 18-Jul-2009 Dave Airlie <airlied@redhat.com> gallium: make g3dvl build again
3dvl/vl_basic_csc.c
3dvl/vl_r16snorm_mc_buf.c
3dvl/vl_surface.c
b96ae1b2c463d6d99ee0418083ef68f4027b7cd7 18-Jul-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
progs/glsl/multitex.c
src/mesa/main/enums.c
src/mesa/main/state.c
src/mesa/main/texenvprogram.c
src/mesa/main/version.h
2a6f58460a645d7bc558b4e3e58e638797aaca7f 18-Jul-2009 Andrew Randrianasulu <randrik_a@yahoo.com> st/egl: Fix broken build after EGL thread changes
gl/egl_context.c
15fdbc8361d0b865aea5e2f374b471081ed4214a 17-Jul-2009 Chia-I Wu <olvaffe@gmail.com> egl: Remove redundant DeletePending flag.

A context or surface that is neither linked to a display nor current to
a thread should be destroyed. Therefore, an unlinked context or surface
implies a pending delete automatically.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl/egl_context.c
gl/egl_surface.c
cca31340b5a9c0b941946753a31236c7201ca87c 17-Jul-2009 Chia-I Wu <olvaffe@gmail.com> egl: Use the link functions to manage resources.

This commit uses the newly introduced link functions to manage EGL
contexts and surfaces. As a result of this, the API for drivers are
changed. All drivers are updated for the change.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
gl/egl_context.c
gl/egl_surface.c
2ba98efdf6653a4cb885d576d2e6f349c69679d4 16-Jul-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Process the call no passed to --to option inclusively.
ython/retrace/interpreter.py
cf7e8fbc2ea2739f1955d83751b631c5444a3c91 16-Jul-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Dump the surface copy contents.
ython/retrace/interpreter.py
5807ccb41b14890a1cdab4cc06806a9cf6c11ecc 16-Jul-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Flush stdout before calling the pipe driver.

So that messages are in sync with stderr.
ython/retrace/interpreter.py
0c4350790ac0639996cbefcf2556ca5748d39454 16-Jul-2009 José Fonseca <jfonseca@vmware.com> python: Hack to prevent segmentation faults when python exits.
ython/st_device.c
4e1e18a772061fe3573f2ee2bf6afe447ee66fd6 16-Jul-2009 José Fonseca <jfonseca@vmware.com> wgl: Expose pipe_screen/pipe_context via an extension.
gl/SConscript
gl/shared/stw_extgallium.c
gl/shared/stw_extgallium.h
gl/shared/stw_getprocaddress.c
3ab3209a1f1af7bfd8e09598fbc3586f35169fb2 16-Jul-2009 José Fonseca <jfonseca@vmware.com> python: Obtain pipe_screen/pipe_context from the system's OpenGL driver.
ython/SConscript
ython/st_hardpipe_winsys.c
0474b5cb2ac4cefa12e7080aba397013325fb9a6 15-Jul-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Interpret surface_copy.
ython/retrace/interpreter.py
c68f659be3850c5e099311be7c58f8930954631d 15-Jul-2009 José Fonseca <jfonseca@vmware.com> python/samples: Use PIPE_FORMAT_Z16_UNORM instead of PIPE_FORMAT_Z32_UNORM.

More common. True fix would be to use whatever the screen supports though.
ython/samples/tri.py
b727150b1473d8cac7a8e6ad0b5112c486d93341 14-Jul-2009 Corbin Simpson <MostAwesomeDude@gmail.com> dri-st: Unbreak GL_EXT_blend_equation_separate.

Since it has a dispatch table entry (for BlendEquationSeparateEXT,)
can't omit it from this list. It'll still get disabled if the cap
(PIPE_CAP_BLEND_EQUATION_SEPARATE) isn't set.

Somebody that doesn't suck at GL (read: not me) should probably add
this into progs/samples/blendeq or similar so we can test it.
ri/dri_extensions.c
54cf63278ff28eb03503f649c46bf24437a1cbf8 14-Jul-2009 Patrice Mandin <patmandin@gmail.com> gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from default extension list
ri/dri_extensions.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.
gl/shared/stw_context.c
gl/shared/stw_device.c
gl/shared/stw_device.h
gl/shared/stw_framebuffer.c
gl/shared/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.
gl/shared/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.
gl/shared/stw_framebuffer.c
28471cfa970702128d822c2ecbb1703eedbca245 04-Jul-2009 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'mesa_7_5_branch'
edb02671704aeb60e3eeaa7f58c73f4845c5b7e2 07-Jul-2009 Zack Rusin <zackr@vmware.com> Merge commit 'origin/openvg-1.0'
21cce6afb03bf9b9adfc6d8a1a446bb3ef22c7a8 08-Jun-2009 Zack Rusin <zack@kde.org> exa: some infrastucture work for accelerating composite
org/xorg_composite.c
org/xorg_composite.h
org/xorg_exa.c
org/xorg_exa.h
org/xorg_tracker.h
862488075c5537b0613753b0d14c267527fc6199 03-Jul-2009 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:
src/mesa/main/dlist.c
src/mesa/vbo/vbo_save_api.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.
gl/shared/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.
gl/shared/stw_framebuffer.c
b750b9fc3d12e4c23ef74181a6252e0e054a3985 30-Jun-2009 Brian Paul <brianp@vmware.com> gallium: remove the pipe_sampler_state::shadow_ambient field

This was only present for the sake of GL_ARB_shadow_ambient which we
never implemented in Gallium. If we someday want GL_ARB_shadow_ambient
we can implement it in the state tracker by adding a MAD after the
relevant TEX instructions.
3dvl/vl_basic_csc.c
3dvl/vl_r16snorm_mc_buf.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.
gl/SConscript
gl/shared/stw_extensionsstring.c
gl/shared/stw_extswapinterval.c
gl/shared/stw_getprocaddress.c
e8c4663c11cfbb80ed23b1581cf1f3ccaef28bce 01-Jul-2009 José Fonseca <jfonseca@vmware.com> wgl: Optimize wglGetProcAddress.

Do linear search only if prefix matches.
gl/shared/stw_getprocaddress.c
303cbb45b558a2b94e6922252cf57d115ba60b82 30-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> drm/st: Return drm_api struct from a function
ri/dri_context.c
ri/dri_drawable.c
ri/dri_screen.c
ri/dri_screen.h
gl/egl_context.c
gl/egl_surface.c
gl/egl_tracker.c
gl/egl_tracker.h
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
org/xorg_tracker.h
c25534f30d326c15dff845775d9bd55ba6064049 24-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Handle flush after a window is destroyed.

Fixes assertion failure with conform.
gl/shared/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.
gl/shared/stw_context.c
gl/shared/stw_device.c
gl/shared/stw_framebuffer.c
gl/shared/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).
gl/shared/stw_device.c
gl/shared/stw_framebuffer.c
gl/shared/stw_framebuffer.h
gl/shared/stw_tls.c
gl/shared/stw_tls.h
3705f48688d7d2c8d4ff5f108ff6b56e289d1967 17-Jun-2009 Brian Paul <brianp@vmware.com> st/glx: added null ptr check in Fake_glXCreatePixmap()

Fixes segfault in progs/xdemos/glxgears_pixmap.c
lx/xlib/fakeglx.c
d22828f716fba0c63522101bd18f9660db17b364 16-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Factor out some repetitive code into inline functions.
gl/shared/stw_context.c
227d233cffea9908e72c700441ad206635305077 15-Jun-2009 José Fonseca <jfonseca@vmware.com> python/tests: Add is_depth_stencil_format utility function.
ython/tests/base.py
7585cbffe0ec8873a1e8d966f870aa1052943899 15-Jun-2009 José Fonseca <jfonseca@vmware.com> python/tests: Cleanup texture_sample.
ython/tests/texture_sample.py
db22b35d213d58d188252f45d94fa353e638acee 11-Jun-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for depth- and stencil renderbuffers.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
ri/dri_drawable.c
1ac72aedb24c56c7158f770f4297516b3bf1899d 27-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> st/dri: Fix last depth bits logic
ri/dri_screen.c
a04af335a42ce3b28e59ff9b85b2bd433a9d7b12 24-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

src/mesa/drivers/dri/i915/i915_tex_layout.c
src/mesa/drivers/dri/i965/brw_wm_glsl.c
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
src/mesa/drivers/dri/intel/intel_pixel_draw.c
src/mesa/main/enums.c
src/mesa/main/texstate.c
src/mesa/vbo/vbo_exec_array.c
23170ab236f2ab95f1b35dc3619096352104a998 22-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> st/xorg: Convert to template makefile
org/Makefile
5d0a1d4241ccfe40fcf593edf1f5bac970db35c0 22-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> st/dri: Fix typo when checking for depth formats
ri/dri_screen.c
0342229289c3bd5ed7bc595db4fc88003430209e 17-Jun-2009 Thomas Hellstrom <thellstrom@vmware.com> gallium dri st: Probe the driver for supported surface formats.

This is done when constructing the fbconfigs, and the result is saved
for window system framebuffer creation.

Note: For dri2 the server needs to have an identical format selection
logic. Otherwise the dri state-tracker and the xorg driver (state-tracker)
will disagree on which format to use for the attachments. Some more work
is needed in this area.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_screen.c
ri/dri_screen.h
8d482227915552c414e13743652e6794c4313ae2 17-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

src/mesa/main/api_validate.c
3fff84a999e7d564c16846340bb2b7dac75fb8b3 12-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'mesa_7_5_branch'
0ddc38309a4ecbe7db4a9e6055d7855d00e6ab7b 11-Jun-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Show the contents of the depth/stencil and surfaces before/after transfers.
ython/retrace/interpreter.py
e1700009b7cfc5f9a136649d7fd6e0f13ae4e7ad 11-Jun-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Interpret is_texture_referenced/is_buffer_referenced.
ython/retrace/interpreter.py
d5ba39ad08f098f377fd258edb904aa7d64ab434 11-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix prototype.
gl/shared/stw_framebuffer.c
bf89ecb6c92aaaeccd7b6f093cb8bae9fd56aaf6 11-Jun-2009 José Fonseca <jfonseca@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_framebuffer.c
cc09724a50a4cabb68b7c5f5b8d3812d38f65391 11-Jun-2009 José Fonseca <jfonseca@vmware.com> python/tests: Test sampling from a depth texture.
ython/tests/texture_sample.py
0d2ac7a10b2904eda70794534a9a73b3f4b654cf 11-Jun-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for depth- and stencil renderbuffers.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
ri/dri_drawable.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??
gl/shared/stw_framebuffer.c
ee98ae5a29ca870149c4a0d2a8f25f55e0fd333a 09-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
src/mesa/main/version.h
src/mesa/shader/slang/slang_preprocess.c
src/mesa/state_tracker/st_cb_bufferobjects.c
4d9d0e62306ce1a046ff724936016a4f080cf21a 08-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> stw: If stfb not set don't call into mesa
gl/shared/stw_framebuffer.c
9d58724c51c387c360d2423e29b80ddc0bfa66b7 04-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

src/mesa/main/context.c
557d2bb42397bb5511c32b4a2b39c7978e69dc8e 02-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Destroy the framebuffer when the window is destroyed.
gl/shared/stw_framebuffer.c
9f6ec50f8c79283583eeebdebd16bf7dcd134816 01-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'
ea3ee4791eb8b9eefdd40b6ce9bbfc2dc86542bf 01-Jun-2009 José Fonseca <jfonseca@vmware.com> wgl: Cleanup framebuffer destruction logic.
gl/shared/stw_framebuffer.c
0ea519f931a14e4dff6ef391803baba8bec84160 31-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Ensure we only create framebuffers for HDC associated with a window.
gl/shared/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.
gl/shared/stw_context.c
gl/shared/stw_context.h
gl/shared/stw_device.c
gl/shared/stw_framebuffer.c
gl/shared/stw_framebuffer.h
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
gl/shared/stw_tls.c
gl/shared/stw_tls.h
be7c56be06183239008b168181aa6f1c78591579 31-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix debugging output.
gl/icd/stw_icd.c
76f2bacb07b1b55a50018a1ccee42943d5e8a477 31-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Rename function.
gl/shared/stw_device.c
1124f786c1a839036cc1b17f9398eead9f16b1c9 30-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Remove unused field.
gl/shared/stw_context.c
gl/shared/stw_context.h
7d11a392d780ef7f0374f8da87e3ba416d880cf2 18-May-2009 Jakob Bornecrantz <jakob@vmware.com> st/dri: Only create new textures if drawable has changed
ri/dri_drawable.c
ri/dri_drawable.h
0036f2ccba6720e06a578333f04086d100d188b1 18-May-2009 Corbin Simpson <MostAwesomeDude@gmail.com> dri-gallium: Add GLSL support.

Oh, look, it's more features. :3
ri/dri_extensions.c
c4538e326a99fde3996f21866497f92ec14086df 15-May-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/egl: Use proper Makefile
gl/Makefile
e7cb125b2d9e9c7b1ad89b988fa3bf53ead9eb0c 12-May-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
src/mesa/main/version.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.
gl/shared/stw_device.h
44a996b185c446eab7038a10153db7e7496bf2c9 07-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Export pixelformats with accumulation bits.
gl/shared/stw_pixelformat.c
ee7982718685cd2398a895caf5e7cd90b6ee12f9 06-May-2009 Keith Whitwell <keithw@vmware.com> stw: fix potential uninitialized use of curctx
gl/shared/stw_context.c
d5eac43a2e06ff30f9e6f74e49493ef5d64cd309 06-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Enforce a minimum 1x1 framebuffer size.
gl/shared/stw_context.c
d78b5952c10d5c65cd7d679b291c217ebd30cc4a 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Add assertion for missing function.
gl/shared/stw_context.c
692263aad695c66669a0001fb3ac6d7a0bd84c94 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Remove unused variable.
gl/shared/stw_context.c
4d28fcfeaa6be438f6739fddcb0661ae97a68919 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Implement ShareLists.
gl/icd/stw_icd.c
gl/shared/stw_context.c
gl/shared/stw_public.h
gl/wgl/stw_wgl.c
1ed90091be0a79977eb6c055ba1da56114d52f53 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Implemente SwapLayerBuffers.
gl/icd/stw_icd.c
gl/shared/stw_framebuffer.c
gl/shared/stw_public.h
gl/wgl/stw_wgl.c
d075cb4fc8c130f2e8f40356e7872fcc7ce3dcd1 30-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Include alpha bits in pixel format's cColorBits field.
gl/shared/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.
gl/shared/stw_context.c
626b6f37eaf81eeb0eb069f18c98c6ffa463647e 07-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Export pixelformats with accumulation bits.
gl/shared/stw_pixelformat.c
48c7aa2648877efab4aac45b50ee2a4c79178536 06-May-2009 Keith Whitwell <keithw@vmware.com> stw: fix potential uninitialized use of curctx
gl/shared/stw_context.c
26ffd445861f405e295644df1cbac29458a6054f 06-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Enforce a minimum 1x1 framebuffer size.
gl/shared/stw_context.c
3a43ea4946bc5965267f9b689378697fcab020c6 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Add assertion for missing function.
gl/shared/stw_context.c
082a086e9dffb78b73269ac3524f899e9f780ef9 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Remove unused variable.
gl/shared/stw_context.c
25a4156a8b0bc59f7d3f077526b7e3e350b072ea 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Implement ShareLists.
gl/icd/stw_icd.c
gl/shared/stw_context.c
gl/shared/stw_public.h
gl/wgl/stw_wgl.c
c6bfb4c55963937f715a5e6a806be23e940b30d3 01-May-2009 José Fonseca <jfonseca@vmware.com> wgl: Implemente SwapLayerBuffers.
gl/icd/stw_icd.c
gl/shared/stw_framebuffer.c
gl/shared/stw_public.h
gl/wgl/stw_wgl.c
6b89c35c9f6557a160c8fc0c97a110d3afe4c82f 30-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Include alpha bits in pixel format's cColorBits field.
gl/shared/stw_pixelformat.c
ccec9f76d5ed032b627f5893f733ea0576311d51 28-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL.
gl/shared/stw_context.c
08bc3d175069988dd41433fdb7362863bcf67573 23-Apr-2009 Brian Paul <brianp@vmware.com> gallium/glx: say we're direct rendering
lx/xlib/fakeglx.c
b57b6c2d2c83aee96f945ce3385a1ab8337335cb 01-May-2009 Brian Paul <brianp@vmware.com> xlib winsys: use new st_swapbuffers() function

The front/back buffer pointers are truly swapped (when there is an actual
front buffer).

This fixes some issues seen with apps/tests that draw to both the front
and back color buffers. The true swap allows us to avoid the (potentially)
slow surface_copy() call in update_framebuffer_state() and is cleaner
overall.
lx/xlib/xm_api.c
544dd4b11f7be76bb00fe29a60eaf2772dcc69ca 01-May-2009 Zack Rusin <zackr@vmware.com> OpenVG 1.0 State Tracker

Import of the OpenVG 1.0 state tracker for Gallium.
ega/Makefile
ega/api_consts.h
ega/api_context.c
ega/api_filters.c
ega/api_images.c
ega/api_masks.c
ega/api_misc.c
ega/api_paint.c
ega/api_params.c
ega/api_path.c
ega/api_text.c
ega/api_transform.c
ega/arc.c
ega/arc.h
ega/asm_fill.h
ega/asm_filters.h
ega/asm_util.h
ega/bezier.c
ega/bezier.h
ega/image.c
ega/image.h
ega/mask.c
ega/mask.h
ega/matrix.h
ega/paint.c
ega/paint.h
ega/path.c
ega/path.h
ega/path_utils.h
ega/polygon.c
ega/polygon.h
ega/renderer.c
ega/renderer.h
ega/shader.c
ega/shader.h
ega/shaders_cache.c
ega/shaders_cache.h
ega/st_inlines.h
ega/stroker.c
ega/stroker.h
ega/util_array.h
ega/vg_context.c
ega/vg_context.h
ega/vg_state.c
ega/vg_state.h
ega/vg_tracker.c
ega/vg_tracker.h
ega/vg_translate.c
ega/vg_translate.h
ega/vgu.c
ba27fe3710af4933a16278a3e97162bef1737b56 30-Apr-2009 Michel Dänzer <daenzer@vmware.com> gallium: Add SCons build support for the DRI state tracker.
ri/SConscript
43e24a5928aaf6a00f7d9e55e92abfb1b3e20166 27-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Store current HDC/HGLRC in stw_context.

Less TLS lookups.
gl/shared/stw_context.c
gl/shared/stw_context.h
gl/shared/stw_tls.h
2c994ad3cb91288966bdc028b0afa9935a51a971 28-Apr-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> gallium dri st: Propagate the drawable info when we bind to new drawables.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
ri/dri_context.c
8cfa6546c9aa25edad3e7bc3cf6f1a9399052b79 28-Apr-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> gallium dri st: Use st_get_current() instead of GET_CURRENT_CONTEXT()

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
ri/dri_context.c
ri/dri_drawable.c
171c7f91cd3dcb41bf7abb333d725b3b3a3e9b1a 28-Apr-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> gallium dri st: Fix up some comments and minor bugs.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
ri/dri_context.c
ri/dri_drawable.c
05af5a7f593ac6451cff9e6923d4a969d5358bcb 28-Apr-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> gallium: Rename the dri state tracker lib to libdridrm.a
ri/Makefile
0929b2bf3cdb54d94da8dee5797878e2ee582b41 28-Apr-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> gallium: indent and cleanfile the dri state-tracker.
ri/dri_context.c
ri/dri_context.h
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_extensions.c
ri/dri_screen.c
ri/dri_screen.h
ca1f5f7e6c05e34cfe8ef10f29aa19f5547311e6 28-Apr-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> gallium: Update the dri2 state tracker to support dri1.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
ri/dri_context.c
ri/dri_context.h
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_screen.c
ri/dri_screen.h
2e5acd24b0421f3824fbe441f4a7062c1f081109 28-Apr-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> gallium: Move the dri2 state tracker since we're about to extend it to dri1.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
ri/Makefile
ri/dri_context.c
ri/dri_context.h
ri/dri_drawable.c
ri/dri_drawable.h
ri/dri_extensions.c
ri/dri_screen.c
ri/dri_screen.h
ri2/Makefile
ri2/dri_context.c
ri2/dri_context.h
ri2/dri_drawable.c
ri2/dri_drawable.h
ri2/dri_extensions.c
ri2/dri_screen.c
ri2/dri_screen.h
638261b3530106b70819c2fe0c3cd613c0d85777 28-Apr-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> gallium: Update the drm_api.

Make it possible to pass state-tracker-specific data to the
init_screen function, and even open the door for device-specific
state-tracker screen initialization.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
ri2/dri_screen.c
ri2/dri_screen.h
gl/egl_tracker.c
org/xorg_driver.c
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.
gl/shared/stw_tls.c
c384ccb0c4f50f72bafdfb693d0aa36b4304a064 27-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Implement WGL_EXT_extensions_string extension.
gl/SConscript
gl/shared/stw_arbextensionsstring.c
gl/shared/stw_extensionsstring.c
gl/shared/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.
gl/icd/stw_icd.c
f3c7d6ff866cdd96cdd55baee94f58698a9656a3 23-Apr-2009 Michel Dänzer <daenzer@vmware.com> gallium: Handle non-NULL data pointer in EXA ModifyPixmapHeader hook.

Need to use the data pointed to for pixmap contents in that case.

Fixes RENDER based text rendering.
org/xorg_exa.c
49ba80dff335226a54dae60477b256384005b393 23-Apr-2009 Michel Dänzer <daenzer@vmware.com> gallium: Always include xorg-server.h before other X server headers.

Various breakage otherwise, e.g. _XSERVER64 not being defined on 64 bit leading
to inconsistent definitions of X server internal structs.
org/xorg_dri2.c
org/xorg_exa.c
17ee25ba6f846d08521f22c5ec2a6e59a5383cf4 23-Apr-2009 Michel Dänzer <daenzer@vmware.com> gallium: Fix up xorg state tracker build.
org/xorg_dri2.c
org/xorg_exa.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.
gl/SConscript
gl/shared/stw_quirks.c
dc1153ce83041a397b1d1815db4133ce8c53eaa1 19-Apr-2009 José Fonseca <jfonseca@vmware.com> softpipe: Simplify softpipe_create's prototype.
ython/st_softpipe_winsys.c
995a168dea015ea6063bdf18ca0b031fd428460a 17-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Put commas in the right places.
gl/shared/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.
gl/shared/stw_pixelformat.c
3a618da6e15a6dc4351eb933583569a1ecefc768 17-Apr-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Rename module as it conflicts with a builtin module.

And there is no way to override a builtin module... sigh
ython/retrace/interpreter.py
ython/retrace/parse.py
ython/retrace/parser.py
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.
gl/shared/stw_context.c
gl/shared/stw_framebuffer.c
gl/shared/stw_framebuffer.h
6fc244c68d3b3a9f89b6f752725e6c768cb08a84 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Note down the gallium pixel formats, instead of re-guessing them.
gl/shared/stw_context.c
gl/shared/stw_context.h
gl/shared/stw_framebuffer.c
gl/shared/stw_framebuffer.h
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
aa405a2a77d51a4f807c5c2f63cbc76eb660e489 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Query the screen for supported formats.
gl/shared/stw_pixelformat.c
0bca413ce9e5aca4ecbf689fd7aa3da44bb73f4d 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Walk through the pixel formats combinations.
gl/shared/stw_device.h
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
e5d700721b05910f935c873ebb23d23f49961ebf 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Keep copies of the PIXELFORMATDESCRIPTOR structures.
gl/shared/stw_arbpixelformat.c
gl/shared/stw_context.c
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
0a2269703c2398d81d8cde439527f883f6fbc502 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Slightly simplify pixelformat creation.
gl/shared/stw_pixelformat.c
87b04ce59b3ed26988b54ca182fab2e9dce03c38 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Move pixel format information into device structure.
gl/shared/stw_device.h
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
3f2420e2e07b7ae0d2feec81178f998a1e46d631 10-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Combine alpha pixelformat info in color.
gl/shared/stw_arbpixelformat.c
gl/shared/stw_context.c
gl/shared/stw_pixelformat.c
gl/shared/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.
gl/shared/stw_pixelformat.c
0dd81ec97b4fd88fa9267f409a115a98344bc2fe 10-Apr-2009 José Fonseca <jfonseca@vmware.com> stw: Don't make assumptions about integer size.
gl/shared/stw_pixelformat.c
f14497a9cd160106bd69ed37a89e24c77050a394 10-Apr-2009 José Fonseca <jfonseca@vmware.com> stw: Free the mesa framebuffer.
gl/shared/stw_framebuffer.c
c09ef3e747fe1e6a7689ae6277365f749f4de19f 09-Apr-2009 José Fonseca <jfonseca@vmware.com> python: Fix bad pointer.
ython/p_texture.i
16c9bb81fd9ab3052f8790e5999d519c0f9bffea 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Remove unused member.
gl/shared/stw_framebuffer.c
gl/shared/stw_framebuffer.h
81660a44dc25648659ac590a37854103c36f9ce4 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Use more stw_* names.
gl/shared/stw_device.c
gl/shared/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.
gl/shared/stw_device.c
gl/shared/stw_framebuffer.c
gl/shared/stw_framebuffer.h
gl/shared/stw_tls.h
564ba2538691bd15df21da9fc378f0070235e286 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Catch the attempt of releasing a context which is not current.
gl/shared/stw_context.c
858d3da441d3548eae23c91b3bc888c3b0233797 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Move the framebuffer list to the device. Avoid recursive locking.
gl/shared/stw_context.c
gl/shared/stw_device.c
gl/shared/stw_device.h
gl/shared/stw_framebuffer.c
8ef412900363aa6338351001574867866ebcae89 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: More symbol naming normalization.
gl/icd/stw_icd.h
gl/shared/stw_arbpixelformat.c
gl/shared/stw_context.c
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
d8ffccc80b5835ff458facbe84d0dd9cda754a30 09-Apr-2009 José Fonseca <jfonseca@vmware.com> stw: Use wglext.h's defines and prototypes.
gl/shared/stw_arbextensionsstring.c
gl/shared/stw_arbextensionsstring.h
gl/shared/stw_arbpixelformat.c
gl/shared/stw_arbpixelformat.h
gl/shared/stw_getprocaddress.c
19068d93c8f0f1d2b8809248266bf6da3dc6abd7 09-Apr-2009 José Fonseca <jfonseca@vmware.com> stw: Normalize symbols prefix.
gl/shared/stw_arbextensionsstring.h
gl/shared/stw_arbpixelformat.c
gl/shared/stw_arbpixelformat.h
gl/shared/stw_context.c
gl/shared/stw_device.c
gl/shared/stw_framebuffer.c
gl/shared/stw_framebuffer.h
gl/shared/stw_getprocaddress.c
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
7e563200b88edd50e0bbd00ada27f3988146ee9c 09-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Add const qualifier to global constant data.
gl/shared/stw_arbpixelformat.c
gl/shared/stw_getprocaddress.c
71504c770086797ef8cf0a57f89565ec3e574ee3 08-Apr-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Try to cope with failures creating textures.
ython/retrace/interpreter.py
c89eba0f31623084bc754de724384c80a3e57c91 08-Apr-2009 José Fonseca <jfonseca@vmware.com> python: Don't try to finish a null fence.
ython/p_context.i
4342d6a91f754c9d3e7087ed91b7acf89abbb293 08-Apr-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Use colors on windows console.
ython/retrace/format.py
84e784665aa5b64c11538e90f0ff1482899a1965 08-Apr-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Allow to specify the range of calls of interest.
ython/retrace/interpreter.py
c14562d3b1e5d93d5704f3195a7f83fc5c17eddb 08-Apr-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Handle recent traces.

Try to keep backwards compatability with old traces as much as possible.
ython/retrace/interpreter.py
aaea658dbe6f0738aaa207d080e1ea73b8023029 08-Apr-2009 José Fonseca <jfonseca@vmware.com> python: Fix method renaming.
ython/p_texture.i
724929db3ca39ac63ca6f020b3f1faa31948f46b 08-Apr-2009 José Fonseca <jfonseca@vmware.com> python: Cope with null surfaces.
ython/p_state.i
923b4413a63530be37cd44eed29910db21b39ac6 08-Apr-2009 José Fonseca <jfonseca@vmware.com> wgl: Integrate the trace driver on debug builds.
gl/shared/stw_context.c
gl/shared/stw_device.c
gl/shared/stw_device.h
gl/shared/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.
gl/shared/stw_framebuffer.c
1bf6af141f0d50f5efb1c4e03819b875fab57905 04-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Clean up driver clear() interface.
ython/tests/regress/fragment-shader/fragment-shader.py
eb168e26aa63f11a47d70c4555cae30691a2cd57 04-Apr-2009 Michel Dänzer <daenzer@vmware.com> gallium: Clean up driver clear() interface.

Only allows clearing currently bound buffers, but colour and depth/stencil in
a single call.
3dvl/vl_basic_csc.c
ython/p_context.i
ython/retrace/interpreter.py
ython/samples/tri.py
ython/tests/regress/vertex-shader/vertex-shader.py
ython/tests/texture_render.py
ython/tests/texture_sample.py
b0ce91518646b62169594da661dd92ac899cbd6f 04-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Remove trailing whitespace.
ython/tests/regress/fragment-shader/fragment-shader.py
ython/tests/regress/vertex-shader/vertex-shader.py
4661817dacec5ef77d013828423c7ebeacf807c5 04-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Initial fragment shader test suite.
ython/tests/regress/fragment-shader/frag-abs.sh
ython/tests/regress/fragment-shader/frag-add.sh
ython/tests/regress/fragment-shader/frag-dp3.sh
ython/tests/regress/fragment-shader/frag-dp4.sh
ython/tests/regress/fragment-shader/frag-dst.sh
ython/tests/regress/fragment-shader/frag-ex2.sh
ython/tests/regress/fragment-shader/frag-flr.sh
ython/tests/regress/fragment-shader/frag-frc.sh
ython/tests/regress/fragment-shader/frag-lg2.sh
ython/tests/regress/fragment-shader/frag-lit.sh
ython/tests/regress/fragment-shader/frag-lrp.sh
ython/tests/regress/fragment-shader/frag-mad.sh
ython/tests/regress/fragment-shader/frag-max.sh
ython/tests/regress/fragment-shader/frag-min.sh
ython/tests/regress/fragment-shader/frag-mov.sh
ython/tests/regress/fragment-shader/frag-mul.sh
ython/tests/regress/fragment-shader/frag-rcp.sh
ython/tests/regress/fragment-shader/frag-rsq.sh
ython/tests/regress/fragment-shader/frag-sge.sh
ython/tests/regress/fragment-shader/frag-slt.sh
ython/tests/regress/fragment-shader/frag-srcmod-abs.sh
ython/tests/regress/fragment-shader/frag-srcmod-absneg.sh
ython/tests/regress/fragment-shader/frag-srcmod-neg.sh
ython/tests/regress/fragment-shader/frag-srcmod-swz.sh
ython/tests/regress/fragment-shader/frag-sub.sh
ython/tests/regress/fragment-shader/frag-xpd.sh
ython/tests/regress/fragment-shader/fragment-shader.py
2d8bf51ffc2dfdd3a1c44f550385250c3398e1d0 04-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Use X8R8G8B8 rendertarget in vertex shader test.
ython/tests/regress/vertex-shader/vertex-shader.py
a7b6a28b0c2bac9cbafb193923e3bc84855369d3 03-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Use A8R8G8B8 rendertarget format.
ython/tests/regress/vertex-shader/vertex-shader.py
be4c2d9a335aa38418000dd55845cea39c84261f 03-Apr-2009 Michal Krol <michal@vmware.com> python/regress: vertex shader srcmod swz test does not use TEMP[0].
ython/tests/regress/vertex-shader/vert-srcmod-swz.sh
3b7c9a9a1633fcd6930d7b8c7ed962add2be3dd8 03-Apr-2009 Michal Krol <michal@vmware.com> python/regress: vertex shader FRC test does not use IN[1].
ython/tests/regress/vertex-shader/vert-frc.sh
37661516ea3862ac4c94d8bcf5064bbb95f31aea 03-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Add relative addressing tests.
ython/tests/regress/vertex-shader/vert-arl.sh
ython/tests/regress/vertex-shader/vert-arr.sh
ython/tests/regress/vertex-shader/vert-flr.sh
ython/tests/regress/vertex-shader/vertex-shader.py
016052c18ff6f7ea7f4cf0e7e93c796688f772ed 03-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Add vertex shader source modifier tests.
ython/tests/regress/vertex-shader/vert-srcmod-abs.sh
ython/tests/regress/vertex-shader/vert-srcmod-absneg.sh
ython/tests/regress/vertex-shader/vert-srcmod-neg.sh
ython/tests/regress/vertex-shader/vert-srcmod-swz.sh
ython/tests/regress/vertex-shader/vertex-shader.py
39c2fae657b35be043a002a87da574928e06fac1 02-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Do not generate HTML summary for vertex shader test.
ython/tests/regress/vertex-shader/vertex-shader.py
fbabeb9b56d2e4691ae39339a805d24e860603bb 02-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Do not create zbuf for vertex shader test.
ython/tests/regress/vertex-shader/vertex-shader.py
336a4f84e87908692a8c9424f6f5d27dca30ea95 02-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Add more vertex shader test cases.
ython/tests/regress/vertex-shader/vert-lg2.sh
ython/tests/regress/vertex-shader/vert-lit.sh
ython/tests/regress/vertex-shader/vert-mad.sh
ython/tests/regress/vertex-shader/vert-max.sh
ython/tests/regress/vertex-shader/vert-min.sh
ython/tests/regress/vertex-shader/vert-rcp.sh
ython/tests/regress/vertex-shader/vert-rsq.sh
ython/tests/regress/vertex-shader/vert-sge.sh
ython/tests/regress/vertex-shader/vert-slt.sh
ython/tests/regress/vertex-shader/vertex-shader.py
4900545bbaff238c75130cf14dd399505a1cde71 01-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Add vertex shader LRP test.
ython/tests/regress/vertex-shader/vert-lrp.sh
ython/tests/regress/vertex-shader/vertex-shader.py
16c281dfb537ccad02ab205298e94353c5bb1a2a 01-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Add vertex shader FRC test.
ython/tests/regress/vertex-shader/vert-frc.sh
ython/tests/regress/vertex-shader/vertex-shader.py
998234ced24e2a4b73b91fbbe25b00d29c6ccc66 01-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Add vertex shader EX2 test.
ython/tests/regress/vertex-shader/vert-ex2.sh
ython/tests/regress/vertex-shader/vertex-shader.py
449bab61b3209d15d71ba7d5cc266f76ee16df2b 01-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Add vertex shader DST test.
ython/tests/regress/vertex-shader/vert-dst.sh
ython/tests/regress/vertex-shader/vertex-shader.py
65cbe7e69c30a4ac91cfbc27a964a19b59d3cedd 01-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Fix vertex shader XPD test.
ython/tests/regress/vertex-shader/vert-xpd.sh
dd6f1771c9e52f1c6126aa223555e363e522c088 01-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Indent.
ython/tests/regress/vertex-shader/vert-abs.sh
ython/tests/regress/vertex-shader/vert-add.sh
ython/tests/regress/vertex-shader/vert-dp3.sh
ython/tests/regress/vertex-shader/vert-dp4.sh
ython/tests/regress/vertex-shader/vert-mov.sh
ython/tests/regress/vertex-shader/vert-mul.sh
ython/tests/regress/vertex-shader/vert-sub.sh
ython/tests/regress/vertex-shader/vert-xpd.sh
5d8677469b369d2b6a89519be7e379abdf4015d3 01-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Add vertex shader test for XPD.
ython/tests/regress/vertex-shader/vert-xpd.sh
ython/tests/regress/vertex-shader/vertex-shader.py
541d74423abf04c6cdcf545f853980b959a70ec8 01-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Rename test files from *.txt to *.sh -- won't be .gitignored.
ython/tests/regress/vertex-shader/vert-abs.sh
ython/tests/regress/vertex-shader/vert-abs.txt
ython/tests/regress/vertex-shader/vert-add.sh
ython/tests/regress/vertex-shader/vert-add.txt
ython/tests/regress/vertex-shader/vert-dp3.sh
ython/tests/regress/vertex-shader/vert-dp3.txt
ython/tests/regress/vertex-shader/vert-dp4.sh
ython/tests/regress/vertex-shader/vert-dp4.txt
ython/tests/regress/vertex-shader/vert-mov.sh
ython/tests/regress/vertex-shader/vert-mov.txt
ython/tests/regress/vertex-shader/vert-mul.sh
ython/tests/regress/vertex-shader/vert-mul.txt
ython/tests/regress/vertex-shader/vert-sub.sh
ython/tests/regress/vertex-shader/vert-sub.txt
ython/tests/regress/vertex-shader/vertex-shader.py
e8b5d170abdab9d3d750081e0371db5c3ce51c56 01-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Add more vertex shader tests.
ython/tests/regress/vertex-shader/vert-dp4.txt
ython/tests/regress/vertex-shader/vert-mul.txt
ython/tests/regress/vertex-shader/vert-sub.txt
ython/tests/regress/vertex-shader/vertex-shader.py
3f3db46911d11189a2487db288420f4a6a3d0069 01-Apr-2009 Michal Krol <michal@vmware.com> python/regress: Initial commit for vertex shader regression tests.
ython/tests/regress/vertex-shader/vert-abs.txt
ython/tests/regress/vertex-shader/vert-add.txt
ython/tests/regress/vertex-shader/vert-dp3.txt
ython/tests/regress/vertex-shader/vert-mov.txt
ython/tests/regress/vertex-shader/vertex-shader.py
10b987ae7f5e145bdea4cf726a1e728254ed32ad 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: New test for surface copies.
ython/tests/surface_copy.py
89ecefb887a9e2fd49489904663873e416ec4a83 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: Ignore test output files.
ython/tests/.gitignore
e2cdc997881bff382eada8c798560c8264219b0b 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: Cleanup.
ython/tests/texture_sample.py
f784906eb96ccda2062b53867a5d4bc52653396d 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: Dump classification tree to text file too.
ython/tests/base.py
ython/tests/tree.py
fee78c0c1fcfc308c84ab8da1efcc98ed8afc889 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: Set executable permission bit.
ython/tests/base.py
ython/tests/texture_sample.py
ython/tests/texture_transfer.py
ython/tests/tree.py
4d9dd3ecef1501de31c82e8a08ce1df894b6c548 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: New test for rendering into textures.
ython/tests/texture_render.py
71384f29f12ab599b4430802ec8e21056a4dd60f 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: Limit tree depth.
ython/tests/base.py
65554af5c3ea172891428382c13dc2318bf4b60d 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: Infer type (continuous/discrete) from object type.
ython/tests/base.py
bdfc411b449b3eafec8fb803fba42fce58a49c32 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: Flush stdout to keep in sync with debug info on stderr.
ython/tests/base.py
10b808156bff157d401b5b999a215d16715a1018 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: Dump a classification tree of the results when finished testing.
ython/tests/base.py
ython/tests/tree.py
6dd0a5f3d69bc84d4a57123dc890365f59b4a3aa 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: New test for texture transfers.
ython/tests/texture_transfer.py
7d5d5a6cb7021b580cbdfd1e4b5f215fa13aa8c5 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: More descriptive test name.
ython/tests/texture.py
ython/tests/texture_sample.py
b4b4986f1f0be2f5d0f70fcca25f29c5637e4d92 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Make get/put_tile_raw more user friendlier.
ython/p_texture.i
e848a86dbacbec0bed16fac29264c77f4c2eeb0c 31-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Add nblocksx/y members to surfaces.
ython/p_texture.i
f24ce499691a342b680e6c3d7aa257480e5d69d9 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Use depth buffer in the triangle example.
ython/samples/tri.py
b4de7c4c5fc1a6b103fea1139c7a01f0d6a401ad 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Read rgba8 with a single transfer.
ython/p_texture.i
ffaff2736f703523a603f758254b682e6e698ae5 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Cleanup.
ython/samples/tri.py
76d43ed4c98c4e5ad23dd342ecf3ed83b35fdcd7 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Don't use deprecated clear_value field.
ython/samples/tri.py
5e815cf26fe4789d92c0fa018e6a20c463e20d32 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: Move the test description logic to the base class.
ython/tests/base.py
ython/tests/texture.py
a8251d041ac323712a00d5fed3e51fa5ad7bc987 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python/test: Move the image comparison logic to the base test class.
ython/tests/base.py
ython/tests/texture.py
af25470a5430c68e157489ff095baa5d548d8783 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Force unsigned comparison.
ython/p_texture.i
844868048f404ab941cc2e75358b77463ee67482 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Set correct transfer mode.
ython/p_texture.i
ython/st_sample.c
28de69d6819eab289a400482d15797b662e4d633 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Set the surface GPU access flags.

Make python surface just a dumb (texture, face, level, zslice) tuple.
ython/gallium.i
ython/p_context.i
ython/p_state.i
ython/p_texture.i
ython/st_device.h
ython/st_sample.c
ython/st_sample.h
68342f9036d3c94ee50c4cbe5c7b36439eeb6825 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Hide away the surface usage flags.

Surfaces are now by definition GPU views. So CPU access flags don't make
any sense when creating a surface.

For now we are forcing surfaces to be GPU read/write, but that will go away
soon.
ython/p_texture.i
ython/retrace/interpreter.py
ython/samples/tri.py
ython/tests/texture.py
1c989c24aea5a4cc8807cbc46e68e62f4d28f018 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Dont touch old pipe_winsys.
ython/gallium.i
ython/p_context.i
29933fc6fec88e0c20e6ba4feebce10934eb48a3 30-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Update instructions for windows.
ython/README
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.
gl/shared/stw_framebuffer.c
c03000b73e49b858d6bf256114d28c8e9d7a2802 27-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Remove unused cruft.
gl/shared/stw_context.c
gl/shared/stw_framebuffer.c
gl/shared/stw_framebuffer.h
a2f52f500cdff2ffd5aec039cafaaa3bc2273595 26-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Don't bypass vs/clip/viewport by default.
ython/st_device.c
7138cd700997a353bfa127495b3f11adeab68940 26-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Fix the texture test.
ython/tests/texture.py
bb84ce71593d79bae9e8a5a8bdd4b2bd6aba2c87 26-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Make swig bindings python independent.
ython/gallium.i
ython/p_texture.i
d18c2ee3d5a1d0352a6f8d48aa067e8983dd5878 26-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Drop st_buffer.

It adds nothing, now that pipe_buffer has a pointer to the screen.
ython/gallium.i
ython/p_context.i
ython/p_device.i
ython/p_texture.i
ython/st_device.c
ython/st_device.h
ca9d2044a2390267477f1e7118b16f21f2557dd3 26-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Use pipe_buffer_read/write.
ython/p_texture.i
f4520277e1a5113146fb99e831d515ba7f74c1f8 26-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Transfer only the requested tile.
ython/p_texture.i
6af3be43091eff32793bb722cd483fe3ca435954 26-Mar-2009 Michal Krol <michal@vmware.com> python: Fix tri sample.
ython/samples/tri.py
d332f8b4efae39f09454593374ff939a08af7619 26-Mar-2009 Michel Dänzer <daenzer@vmware.com> gallium: Remove some little-used fields from struct pipe_surface.
gl/egl_surface.c
6ce06f3fbcc04b6cde52d625368266b1e69e061e 25-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Pass transfers to the tile functions.
ython/p_texture.i
8866ff4cacea1005cc137d4fa88386824316a336 25-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Catchup buffer_destroy interface change.
ython/st_softpipe_winsys.c
e21d31e8ab047966a3d6c6ee489e5cfe93819781 25-Mar-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/egl: Set dpms to on when showing screens

There is a wonderful bug in 2.6.29 that causes a hard lock on my
computer when this code is active for lvds that are turned off.
gl/egl_surface.c
gl/egl_tracker.c
gl/egl_tracker.h
78abcb88fedd7177a5da93a987793d3a86a0ec57 25-Mar-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/egl: Fix warning
gl/egl_tracker.c
de89c022d5a2e63b52a9ae27ec70b9f5e203d3ed 25-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Show call no in image window.
ython/retrace/interpreter.py
710bcc8050848766a85420d0425e51008943fc78 25-Mar-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Use the call no when dumping images.

To make it easy associate images with the calls.
ython/retrace/interpreter.py
ecfa99ece1743769bbdb4371cf57229481993e91 25-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Use a sequential number to identify each call.

TODO: Modify the trace driver to generate these on the XML file itself.
ython/retrace/model.py
ython/retrace/parser.py
9d97c3d0be9e57226b6a438a90b71f36e0c99269 25-Mar-2009 José Fonseca <jfonseca@vmware.com> python/trace: Control the interpreter from command line options.
ython/retrace/interpreter.py
ython/retrace/parser.py
5743483778ffe5b389d10b1651ae1e8951b397ee 25-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Use Ansi escape codes regardless of output is a tty or not.
ython/retrace/format.py
b52b78a2269e6f773fc02c9740e7f2e18cdf1699 24-Mar-2009 José Fonseca <jfonseca@vmware.com> python: List packages needed on debian systems.
ython/README
a6ad0c86cab0f3044781ece33d3ac0388e238a36 24-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Allow to dump all images to disk.
ython/retrace/interpreter.py
8ca95d812148209f78c1e2501c3183623dcae0b2 24-Mar-2009 José Fonseca <jfonseca@vmware.com> python: Tweak instructions.
ython/README
ad5f9752ce7dc7b588a98e0c1ac820a3f918b4d5 24-Mar-2009 José Fonseca <jfonseca@vmware.com> python: s/pitch/stride/
ython/p_context.i
ython/retrace/interpreter.py
5381331f97e55db12cce30859a0156c69894f1d2 24-Mar-2009 José Fonseca <jfonseca@vmware.com> python: s/num_cbufs/nr_cbufs/
ython/retrace/interpreter.py
ython/samples/tri.py
ython/tests/texture.py
ce518f4b0f361189957f20ce642afe919da680ba 25-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Use right integer type.
gl/shared/stw_device.c
601a6a5839220605e353ea8cb82759b39542f9e5 25-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Use SetWindowLongPtr.
gl/shared/stw_framebuffer.c
1bb60d25e09d71861bdb4485378880140b65b062 21-Mar-2009 Keith Whitwell <keith@tungstengraphics.com> gallium: remove remaining references to origin_lower_left
3dvl/vl_context.c
d6e877d0d716805907cbbaca3bcfcee84f98add6 20-Mar-2009 Michal Krol <michal@vmware.com> stw: Do not err on nil context handle in MakeCurrent().
gl/shared/stw_context.c
5465f3adf93bd58b528bd6703b2367eb00c78c31 20-Mar-2009 Michal Krol <michal@vmware.com> stw: Use u_handle_table to maintain context list.
gl/shared/stw_context.c
gl/shared/stw_device.c
gl/shared/stw_device.h
4489f9efee58f2cba374298f2d43c96e5cd2ff41 20-Mar-2009 Michal Krol <michal@vmware.com> stw: Keep per-thread storage for current context and pixel format.
gl/SConscript
gl/shared/stw_context.c
gl/shared/stw_device.c
gl/shared/stw_pixelformat.c
gl/shared/stw_tls.c
gl/shared/stw_tls.h
gl/shared/stw_winsys.h
08d44512e973f1388f8b1d4436cc2aa888c6060e 18-Mar-2009 Keith Whitwell <keithw@vmware.com> st: call _glapi_check_multithread from st_make_current

This function is called from many OS-dependent versions of MakeCurrent.

Move the check for multithreading to this central location to avoid
having to make this check from all the callers.
lx/xlib/xm_api.c
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>
gl/shared/stw_context.c
d405ba3151de9585a310b7e2ebcae09302c0dbe4 18-Mar-2009 Thomas Hellstrom <thellstrom-at-vmware-dot-com> xlib st: Fix makeCurrent.

Flush if we change context.
Also reinstate the old optimization of doing nothing if
nothing changes.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
lx/xlib/xm_api.c
lx/xlib/xm_api.h
b46fcf25be4d1d5a5d072fbce03c2490bf41203f 17-Mar-2009 Ben Skeggs <bskeggs@redhat.com> st/dri2: use pipe_screen.is_format_supported to choose depth/stencil format
ri2/dri_drawable.c
7f1062584ec1932ff8bdf661da3965fc068e0462 17-Mar-2009 Michal Krol <michal@vmware.com> python: Return on unknown pixel format.
ython/st_sample.c
709b3128f3c3e9a0a52d79cc82a0cb9feb195dc1 17-Mar-2009 Michal Krol <michal@vmware.com> python: Fix build after refcount rework.
ython/p_texture.i
7b0c459bb495a89520be499a8ecc5bdd4e4c39a5 17-Mar-2009 Michal Krol <michal@vmware.com> python: Include `p_winsys_screen.h'.
ython/gallium.i
4e1c925ef58a126f16c1d456e58329e0e2a095e3 17-Mar-2009 Michal Krol <michal@vmware.com> python: Do not pass screen object to pipe_buffer_reference.
ython/p_context.i
d8445e8fe1cea08e4b3e6f510a82360b76977937 16-Mar-2009 Michal Krol <michal@vmware.com> python: Use transfer object to read from a surface.
ython/st_sample.c
fcf93aa06d9894d2343c5d64c2c5342f8e2c6e60 16-Mar-2009 Michal Krol <michal@vmware.com> python: pipe_vertex_buffer's pitch member has been renamed to stride.
ython/p_context.i
56282d79f631e871cafe0fa7780d103ea31829ed 16-Mar-2009 Michal Krol <michal@vmware.com> python: size is not a member of pipe_constant_buffer any more.
ython/p_context.i
97e4caa33a00392ed81965f44568fd9722117868 16-Mar-2009 michal <michal@wmvare.com> python: Include missing `p_compiler.h' header.
ython/p_state.i
54942518905edfdf41233dd4d34b77637e7d9b25 16-Mar-2009 michal <michal@wmvare.com> python: Do not pass shader_state to util shader functions.
ython/st_device.c
38b074495a9f03057c40b814b65d0ca5af6118a4 16-Mar-2009 michal <michal@wmvare.com> python: Use transfer objects to initialise texture data.
ython/st_device.c
f6c3edb308316483b64d93b912bee670eac9f5ad 16-Mar-2009 michal <michal@wmvare.com> python: Use new bypass_vs_clip_and_viewport rasteriser flag.
ython/st_device.c
1e56bb890bff5a9750dbd439e91ce03c87a750b8 12-Mar-2009 Corbin Simpson <MostAwesomeDude@gmail.com> dri2-gallium: Add occlusion query support at the state tracker level.
ri2/dri_extensions.c
8b45de9aa1f92630b3c92847e20fc68d7b202edd 15-Mar-2009 Younes Manton <younes.m@gmail.com> nouveau: bypass_vs_clip_and_viewport
3dvl/vl_basic_csc.c
3dvl/vl_context.c
f500f3a72c6be61ff9b8e1166f734e408d00aded 13-Mar-2009 Jakob Bornecrantz <jakob@vmware.com> gallium: Remove do_flip argument from surface_copy

I should have gotten most uses and implementation
correctly fixed, but things might break.

Feel free to blame me.
gl/egl_surface.c
lx/xlib/xm_api.c
ython/p_context.i
org/xorg_dri2.c
org/xorg_exa.c
41a6a2b831bcb633fca0a539249bda8ece5e10d9 12-Mar-2009 Brian Paul <brianp@vmware.com> wgl: add new dispatch stubs
gl/shared/stw_quirks.c
10812b079166e6d8dd414b8a0bf35b01e12bbdf0 12-Mar-2009 Keith Whitwell <keithw@vmware.com> stw: fix uninitialized variable issue
gl/shared/stw_context.c
a6f768f029f9bc18a8dd34cf13a8a3d764773703 09-Mar-2009 Michel Dänzer <daenzer@vmware.com> scons: Also define USE_XSHM for the glx/xlib state tracker build.

Fixes an inconsisten definition of struct xmesa_buffer between there and
winsys/xlib, resulting in a crash in XPutImage.
lx/xlib/SConscript
317687cd94d510ed72e32b0aee2782fbc123576b 09-Mar-2009 Michel Dänzer <daenzer@vmware.com> Fix up another instance of _mesa_unreference_framebuffer().
lx/xlib/xm_api.c
0bbcb47901c16661e39a1c586c19b58e5eb73d45 06-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Check support for all other depth/stencil formats.
gl/shared/stw_framebuffer.c
78071fe7676adfcab44983505b0f64a31aa823b5 06-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Choose a supported S8Z24/Z24S8/X8Z24/Z24X8.
gl/shared/stw_framebuffer.c
b417c978a95ba7ce7040473fd29ec5009ca66d6d 04-Mar-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/xorg: Clean up xorg_exa.c a bit
org/xorg_exa.c
b611f81477b196fed9d249b1e0f37ef186dd1426 04-Mar-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/xorg: Change format function a bit
org/xorg_exa.c
dca226fefb9a0e469ca34b3c1e364b60fae341fa 04-Mar-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/xorg: Fix transfer double free
org/xorg_exa.c
5e27cd46c04a9e7b5904cc014bffd0f4daae31fe 04-Mar-2009 Michel Dänzer <daenzer@vmware.com> gallium: Unify reference counting.

The core reference counting code is centralized in p_refcnt.h.

This has some consequences related to struct pipe_buffer:

* The screen member of struct pipe_buffer must be initialized, or
pipe_buffer_reference() will crash trying to destroy a buffer with reference
count 0. u_simple_screen takes care of this, but I may have missed some of
the drivers not using it.
* Except for rare exceptions deep in winsys code, buffers must always be
allocated via pipe_buffer_create() or via screen->*buffer_create() rather
than via winsys->*buffer_create().
ri2/dri_drawable.c
gl/egl_surface.c
3dvl/vl_basic_csc.c
3dvl/vl_r16snorm_mc_buf.c
ython/st_device.c
ython/st_device.h
ython/st_softpipe_winsys.c
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_exa.c
145aa57e45d5492278ae4fe182a77b0d02ecc6f5 04-Mar-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/dri2: Fake frontbuffer changes

Front buffer rendering works as it stands but it completely
wrong. But as it stands fake front buffer rendering is
completely broken. So we keep it as it is. But lets atleast
handle it in the get buffers code.
ri2/dri_drawable.c
28c325f8d3925d703a0cc5a3d3d3fa57b7f11fe4 04-Mar-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/dri2: Hook up flush_frontbuffer

Doesn't do anything because we can't tell the X server about
any changes to the fake front buffer.
ri2/dri_context.c
ri2/dri_drawable.c
ri2/dri_drawable.h
ri2/dri_screen.c
b7b046150bc61604777baa8a57f81d770837bd10 04-Mar-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/dri2: We are strictly a dri2 driver
ri2/dri_drawable.c
ri2/dri_screen.c
16526b70998b8c6e0ba298db86f1f738c1a3df3f 03-Mar-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/drm: s/hocks/hooks/
ri2/dri_context.c
ri2/dri_drawable.c
ri2/dri_screen.c
gl/egl_context.c
gl/egl_surface.c
gl/egl_tracker.c
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
317a7da2c452f35ef627aec6fc4d31406758725d 03-Mar-2009 José Fonseca <jfonseca@vmware.com> wgl: Support the same combinations of single buffer pixel formats.
gl/shared/stw_pixelformat.c
84711c6582d08b8ea0bbdd0acd27d927a9bcbf4f 03-Mar-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/xorg: Add Xorg state tracker
org/Makefile
org/xorg_crtc.c
org/xorg_dri2.c
org/xorg_driver.c
org/xorg_exa.c
org/xorg_output.c
org/xorg_tracker.h
org/xorg_winsys.h
1d060e36f248b2c1d2575d1e2cbd362b8345ae55 03-Mar-2009 Jakob Bornecrantz <wallbraker@gmail.com> st/dri2: Add DRI2 a state tracker

This was based of the unfinnished code that Keith
Whitwell started on but never finnished. I moved
the code from the glx directory because dri drivers
can be used for more things then just glx.
ri2/Makefile
ri2/dri_context.c
ri2/dri_context.h
ri2/dri_drawable.c
ri2/dri_drawable.h
ri2/dri_extensions.c
ri2/dri_screen.c
ri2/dri_screen.h
lx/dri/dri_context.c
lx/dri/dri_context.h
lx/dri/dri_drawable.c
lx/dri/dri_drawable.h
lx/dri/dri_extensions.c
lx/dri/dri_lock.c
lx/dri/dri_screen.c
lx/dri/dri_screen.h
6a72a2d3f4ea50996593bfa55ae671eee9836d76 27-Feb-2009 Jakob Bornecrantz <wallbraker@gmail.com> egl: Fix for minor api change
gl/egl_surface.c
f2a5c6b42ce0272db10aff3fd476b1371912b0f4 25-Feb-2009 Brian Paul <brianp@vmware.com> egl: remove compiler flags from CFLAGS

The incoming CFLAGS already has -fPIC and -Wall. Don't want -g here either.
gl/Makefile
501d6d49dd37597ef65dd8b62a8c7982e735143c 25-Feb-2009 Brian Paul <brianp@vmware.com> egl: add comment/reminder to fix the CFLAGS in this Makefile
gl/Makefile
afe139f629251f38afd5b477d5b00f47d17da60f 25-Feb-2009 Benjamin Close <Benjamin.Close@clearchain.com> gallium: Fix build when exiting CFLAGS contains a path with different gl.h

If a path is in CFLAGS when building and that path contains gl.h
then the wrong gl.h is used when building. This can lead to very
confusing errors. The solution is rather than postpend the CFLAGS
we prepend the paths as expected allowing compilation to occur
as intended

Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
gl/Makefile
b1ac00dc8d283f82a7f74bc435b5131311b2df86 24-Feb-2009 Keith Whitwell <keithw@vmware.com> st/wgl: silence some debug
gl/icd/stw_icd.c
37f21fce3bd323c361291215edeb7d8cf5f4335b 23-Feb-2009 José Fonseca <jfonseca@vmware.com> Merge commit 'origin/gallium-0.1'

Conflicts:
src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c
src/gallium/auxiliary/util/u_tile.c
c7bbc9ad126b2b120407146c5aa9894f4487752e 23-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Enable the use of Win32 threads.
gl/SConscript
gl/shared/stw_device.c
022e446c78d294d70129c9e4293b5c7e444a3cbd 22-Feb-2009 Brian Paul <brianp@vmware.com> gallium: remove dependency on main/glheader.h in glxapi.c

Only needed it for the PUBLIC macro.
lx/xlib/glxapi.c
60e35ebf1476c31eb5d7c207ab8e9db77fcad896 20-Feb-2009 José Fonseca <jfonseca@vmware.com> python: More efficient blits from surfaces.

C code instead of interpreted python code.
ython/gallium.i
ython/p_texture.i
ython/retrace/interpreter.py
ython/samples/tri.py
059d7f3103395917217d376365def36641a51602 20-Feb-2009 José Fonseca <jfonseca@vmware.com> python/interpreter: Don't do unnecessary updates.
ython/retrace/interpreter.py
e92f3310fa552b06a17d4f52177fc71e9ad54257 20-Feb-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Verbosity level.
ython/retrace/interpreter.py
204526a6d277265b9872d4681e70c58d57038926 20-Feb-2009 José Fonseca <jfonseca@vmware.com> python/retrace: Cope with python 2.4.x
ython/retrace/interpreter.py
7887a3e42b8cd9f3376dbf090e11c56198275c44 31-Dec-2008 José Fonseca <jfonseca@vmware.com> python: Pass a zero offset to util_draw_vertex_buffer.
ython/p_context.i
a5c2570dc5a94dae8e50e0f8cd714b928aed695c 20-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Prevent null pointer reference.
gl/shared/stw_context.c
d9602e5144bc76b9791fa3382ca38c880df96198 20-Feb-2009 Jakob Bornecrantz <jakob@vmware.com> gallium: Improve makefiles for libraries

The template makefile that most libraries in
gallium included was based on dri and had a bunch
unrelevant junk in it.

Update it and improve the depending makefiles.
lx/xlib/Makefile
5246c389e56f059096a896c9b17ad0b31f8514b4 19-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: debug_printf in the main entry/exit points
gl/shared/stw_device.c
b9c5e41688de0e2978cf2cc50fd6ba096302884d 19-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Call pipe_screen::destroy on exit.
gl/shared/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.
gl/opengl32.mingw.def
d32ae764e930abb70ca2cc79ad18fdb32141ca0d 19-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Share more code between icd and standalone driver.
gl/SConscript
gl/icd/stw_icd.c
gl/shared/stw_context.c
gl/shared/stw_context.h
gl/shared/stw_device.c
gl/shared/stw_device.h
gl/shared/stw_public.h
gl/stw.c
gl/stw.h
gl/wgl/stw_wgl.c
gl/wgl/stw_wgl.h
3bd7c5ceffc88a052c5e8e114df2f2c7549ddb4a 18-Feb-2009 Michel Dänzer <daenzer@vmware.com> Merge branch 'gallium-texture-transfer'

Conflicts:
src/gallium/drivers/softpipe/sp_tile_cache.c
59d54334c96f44ed1d8bf660dc96221362a77d04 16-Feb-2009 Keith Whitwell <keithw@vmware.com> Merge branch 'master' into gallium-texture-transfer

Conflicts:

src/mesa/state_tracker/st_cb_accum.c
src/mesa/state_tracker/st_cb_drawpixels.c
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.
gl/icd/stw_icd.c
gl/shared/stw_device.c
gl/shared/stw_pixelformat.c
gl/wgl/stw_wgl.c
673d01eda9662f6cc984f2a1b608a875271d2a29 17-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Report memory leaks.
gl/shared/stw_device.c
gl/shared/stw_device.h
afe24b94b3dee11ccda238ed82ed58ae46fb918b 12-Feb-2009 Jakob Bornecrantz <wallbraker@gmail.com> egl: Doesn't depend on xorg or pixman
gl/Makefile
25ac2801d758b299dcbc6d4fb3fd62370cdb8d0a 13-Feb-2009 Benjamin Close <Benjamin.Close@clearchain.com> galium: Makefile fixes: -Werror=implicit-function-declaration -> -Werror-implicit-function-declaration

Found-By: Tinderbox
gl/Makefile
3dvl/Makefile
9b912aab43fc57fb7d5c7b291b90634992a8842e 11-Feb-2009 Michel Dänzer <daenzer@vmware.com> g3dvl: Fixups for introduction of pipe_transfer.
3dvl/vl_r16snorm_mc_buf.c
2c8c09edda645f04c8bd34f8b53031cbb951cdfe 11-Feb-2009 Jakob Bornecrantz <jakob@vmware.com> egl: Use only libdrm structs for kms
gl/egl_surface.c
gl/egl_tracker.c
gl/egl_tracker.h
b93d3057257c5ecbcd3861726d8d9bb5040529aa 12-Feb-2009 José Fonseca <jfonseca@vmware.com> scons: Build xlib state tracker regardless of DRI settings.
lx/xlib/SConscript
277bf235f169c5ab885028360a5dfdf6a970616a 11-Feb-2009 Dan Nicholson <dbn.lists@gmail.com> Add external pixman CFLAGS after all internal include paths

With the pixman CFLAGS at the beginning of the command line, my build
was picking up the glcore.h from glproto, which doesn't have any of the
TFP fields in __GLcontextmodes.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
gl/Makefile
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.
gl/shared/stw_quirks.c
ee4c921b65fb76998711f3c40330505cbc49a0e0 11-Feb-2009 Brian Paul <brianp@vmware.com> Merge commit 'origin/gallium-0.2' into gallium-master-merge
f54149a3a3dde8056a8db9b9ac7cef32885946d7 10-Feb-2009 Keith Whitwell <keith@tungstengraphics.com> wgl: return before locking if stw_icd is NULL
gl/icd/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
gl/icd/stw_icd.c
43e6272ae5c03f663cfdd98f35b0b0028bc5d252 10-Feb-2009 Jakob Bornecrantz <jakob@vmware.com> gallium: Introduce new subdirs build variables

(based on gallium-xorg-driver/commit 270ce504052d415870a25ab59818b2309eb8ac13)
akefile
a88e2544eeb0a93b23ab2383905fef44c056040c 10-Feb-2009 Keith Whitwell <keith@tungstengraphics.com> vmw/icd: remove bogus current_context value
gl/icd/stw_icd.c
67e988a06c8ff5896da9df7ce1c7fc118352c8a3 10-Feb-2009 José Fonseca <jfonseca@vmware.com> wgl: Fix null pointer reference.
gl/icd/stw_icd.c
9fb9ee9d241c99a76e15af2db328332dfecf586d 10-Feb-2009 José Fonseca <jfonseca@vmware.com> stw: Hack for applications which use wglSetPixelFormat instead of SetPixelFormat.
gl/shared/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.
gl/icd/stw_icd.c
776d86606cd8b250802730410d5e55a41944cf0a 06-Feb-2009 Younes Manton <younes.m@gmail.com> g3dvl: Catch up to gallium changes, fix build.
3dvl/vl_basic_csc.c
3dvl/vl_context.c
3dvl/vl_r16snorm_mc_buf.c
3dvl/vl_surface.c
859db22527d796d186d3cdf83d503669472863cc 02-Feb-2009 Michel Dänzer <daenzer@vmware.com> scons: Fixups for the introduction of the xlib state_tracker.

Not quite working yet; glxinfo complains about glXChooseVisual being undefined.
lx/xlib/SConscript
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
adfbba476db1fc55006efb748656ebb1a481d143 30-Jan-2009 Zack Rusin <zackr@vmware.com> gallium: make p_winsys internal

move it to pipe/internal/p_winsys_screen.h and start converting
the state trackers to the screen usage
gl/egl_context.c
gl/egl_tracker.c
3dvl/vl_basic_csc.c
3dvl/vl_r16snorm_mc_buf.c
ython/st_device.c
ython/st_softpipe_winsys.c
1f9fff28a441360077f2098965bb358c366debdc 30-Jan-2009 Jakob Bornecrantz <wallbraker@gmail.com> gallium: Don't build egl state_tracker
akefile
0ac83a0ebb009eb8e293eafd0be2377856fab1da 30-Jan-2009 Jakob Bornecrantz <wallbraker@gmail.com> egl: Don't fill shown screen
gl/egl_surface.c
86e86e6cb6efbd06289fb0cc263ab168d4f77112 29-Jan-2009 Jakob Bornecrantz <wallbraker@gmail.com> egl: Blit to the bound frontbuffer with pipe
gl/egl_surface.c
2cb6b17bc87e0c0c672104a5bf4806ab3c7e79aa 28-Jan-2009 Jakob Bornecrantz <wallbraker@gmail.com> gallium: Build EGL st when build glx st
akefile
585c10b46daada282730dc65a6515cab4ca9ff7f 28-Jan-2009 Jakob Bornecrantz <wallbraker@gmail.com> egl: Adopt to st_framebuffer changes
gl/egl_surface.c
a38b8213ff1b99b73aae884e7b90be3d1999e3bf 28-Jan-2009 Keith Whitwell <keithw@vmware.com> wgl: add missing header
gl/shared/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.
gl/icd/stw_icd.c
gl/shared/stw_context.c
gl/shared/stw_context.h
gl/wgl/stw_wgl.c
866587942c7053cdcb7443ed00ce6d902c010631 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: clean up error paths
gl/shared/stw_context.c
9a58a9d6ca19a2933b9fddfa3c870786f35183b0 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: don't call out to wglGetPixelFormat()
gl/shared/stw_context.c
7dbd95618f3e50fe2818d4152527092a96e70474 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: remove duplicate function declarations
gl/shared/stw_context.c
gl/shared/stw_context.h
ef3fe78478d1ce8f70a36eefb6739103358ecb54 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: fix comment
gl/shared/stw_framebuffer.c
c7e38bc7fe00e9042897639fcd524beeeca29555 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: remove header
gl/shared/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.
gl/SConscript
gl/icd/stw_icd.c
gl/shared/stw_arbpixelformat.c
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
gl/wgl/stw_wgl.c
gl/wgl/stw_wgl_pixelformat.c
66059cd3c95bf5eba7922a4a09c2596514e5e956 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: move get_proc_address and extension functions to shared
gl/SConscript
gl/icd/stw_icd.c
gl/shared/stw_arbextensionsstring.c
gl/shared/stw_arbextensionsstring.h
gl/shared/stw_arbpixelformat.c
gl/shared/stw_arbpixelformat.h
gl/shared/stw_context.c
gl/shared/stw_getprocaddress.c
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
gl/wgl/stw_wgl.c
gl/wgl/stw_wgl_arbextensionsstring.c
gl/wgl/stw_wgl_arbextensionsstring.h
gl/wgl/stw_wgl_arbmultisample.c
gl/wgl/stw_wgl_arbmultisample.h
gl/wgl/stw_wgl_arbpixelformat.c
gl/wgl/stw_wgl_arbpixelformat.h
gl/wgl/stw_wgl_getprocaddress.c
54688ebdb259c5e8878817a411e24bd98efb8012 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: use shared version of make current in icd code
gl/icd/stw_icd.c
cfb3fdfcb1aeb22c62a850795a7351ec9594e74d 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: more swapbuffers refactoring
gl/SConscript
gl/icd/stw_icd.c
gl/wgl/stw_wgl.c
gl/wgl/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.
gl/SConscript
gl/icd/stw_icd.c
gl/shared/stw_device.c
gl/shared/stw_device.h
gl/shared/stw_framebuffer.c
gl/shared/stw_pixelformat.h
gl/stw.c
gl/stw.h
gl/wgl/stw_wgl.c
gl/wgl/stw_wgl_arbpixelformat.c
gl/wgl/stw_wgl_pixelformat.c
gl/wgl/stw_wgl_swapbuffers.c
507498af1077390c684ca24e6ce6e0ee6ddcc479 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: rename stw_wgl_ --> stw_
gl/icd/stw_icd.c
gl/shared/stw_context.c
gl/shared/stw_context.h
gl/wgl/stw_wgl.c
c3d744f5bbdc24792183a9ee162ebc6cb5f8d1f6 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: move pixelformat_get/set to shared
gl/icd/stw_icd.c
gl/shared/stw_context.c
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
gl/wgl/stw_wgl_pixelformat.c
cb70d27dd1b04ae7dc146d06a21fb32004265539 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> stw: move pixelformat_describe to shared
gl/icd/stw_icd.c
gl/shared/stw_context.c
gl/shared/stw_pixelformat.h
gl/wgl/stw_wgl_pixelformat.c
f17eb0b13c6a2e70746edd1d882bf71adec129fb 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> wgl: move context functions to shared
gl/SConscript
gl/icd/stw_icd.c
gl/shared/stw_context.c
gl/shared/stw_context.h
gl/wgl/stw_wgl.c
gl/wgl/stw_wgl_context.c
gl/wgl/stw_wgl_context.h
19d06f4e1692070afc7b3cab0ea1d78044820b0a 28-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> wgl: split into shared, (fake)wgl and icd directories
gl/SConscript
gl/icd/stw_icd.c
gl/icd/stw_icd.h
gl/shared/stw_device.c
gl/shared/stw_device.h
gl/shared/stw_framebuffer.c
gl/shared/stw_framebuffer.h
gl/shared/stw_pixelformat.c
gl/shared/stw_pixelformat.h
gl/shared/stw_quirks.c
gl/shared/stw_winsys.h
gl/stw_device.c
gl/stw_device.h
gl/stw_framebuffer.c
gl/stw_framebuffer.h
gl/stw_icd.c
gl/stw_icd.h
gl/stw_pixelformat.c
gl/stw_pixelformat.h
gl/stw_quirks.c
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
gl/stw_winsys.h
gl/wgl/stw_wgl.c
gl/wgl/stw_wgl.h
gl/wgl/stw_wgl_arbextensionsstring.c
gl/wgl/stw_wgl_arbextensionsstring.h
gl/wgl/stw_wgl_arbmultisample.c
gl/wgl/stw_wgl_arbmultisample.h
gl/wgl/stw_wgl_arbpixelformat.c
gl/wgl/stw_wgl_arbpixelformat.h
gl/wgl/stw_wgl_context.c
gl/wgl/stw_wgl_context.h
gl/wgl/stw_wgl_getprocaddress.c
gl/wgl/stw_wgl_pixelformat.c
gl/wgl/stw_wgl_swapbuffers.c
2299f21f8da816fc4588492965e7dac422da1a96 26-Jan-2009 Zack Rusin <zackr@vmware.com> gallium: standardize api on the prefix "nr"
3dvl/vl_basic_csc.c
3dvl/vl_r16snorm_mc_buf.c
a7e72231e3c76a9410d192441da309002ea6422d 26-Jan-2009 Zack Rusin <zackr@vmware.com> gallium: standardize naming of masks
3dvl/vl_context.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.
gl/SConscript
gl/opengl32.def
gl/stw_device.c
gl/stw_device.h
gl/stw_framebuffer.c
gl/stw_framebuffer.h
gl/stw_icd.c
gl/stw_icd.h
gl/stw_pixelformat.c
gl/stw_pixelformat.h
gl/stw_quirks.c
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
gl/stw_winsys.h
b0d0e53a54ce79f57334942bf0b3762db8a3a7b8 23-Jan-2009 Alan Hourihane <alanh@vmware.com> gallium: change the st_get_framebuffer_surface/texture functions
to return TRUE/FALSE if the st_framebuffer is valid, and if it is
return the surface/texture in the passed pointer.
lx/xlib/xm_api.c
5897383344da3320d158c26adae05de35480471f 20-Jan-2009 José Fonseca <jfonseca@vmware.com> gallium: Remove the standalone surfaces.

This commit is mostly just a cosmetic change that cleans-up the interfaces,
replacing pipe_winsys::surface_* calls by

/**
* Allocate storage for a display target surface.
*
* Often surfaces which are meant to be blitted to the front screen (i.e.,
* display targets) must be allocated with special characteristics, memory
* pools, or obtained directly from the windowing system.
*
* This callback is invoked by the pipe_screenwhen creating a texture marked
* with the PIPE_TEXTURE_USAGE_DISPLAY_TARGET flag to get the underlying
* buffer storage.
*/
struct pipe_buffer *(*surface_buffer_create)(struct pipe_winsys *ws,
unsigned width, unsigned height,
enum pipe_format format,
unsigned usage,
unsigned *stride);

Most drivers were updated but not all were tested. Use the softpipe pipe
driver and the xlib winsys changes as a reference when fixing other drivers.
ython/st_softpipe_winsys.c
b5db6b039c34117be4e441a2b95abbf97df928c3 19-Jan-2009 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/gallium-0.2' into gallium-xlib-rework
76753e30781e88912c0465642616ab16bbc1b4f3 19-Jan-2009 Younes Manton <younes.m@gmail.com> g3dvl: Some cleanups.
3dvl/vl_r16snorm_mc_buf.c
9ddca0b41d16a68beebddc7765fc2e354b6bc6fe 19-Jan-2009 Younes Manton <younes.m@gmail.com> g3dvl: Ref count everywhere.
3dvl/vl_basic_csc.c
3dvl/vl_r16snorm_mc_buf.c
3dvl/vl_surface.c
3933d338f7fd1a7709d7971036671920f65fcd86 14-Jan-2009 Younes Manton <younes.m@gmail.com> g3dvl: Mark all buffers for incoming frame data as discardable.
3dvl/vl_basic_csc.c
3dvl/vl_r16snorm_mc_buf.c
11f91936f21c1ab0b38f0f84bb2cbf82f9cadece 14-Jan-2009 Younes Manton <younes.m@gmail.com> g3dvl: Return BadAlloc if we can't create an XvMC surface.
3dvl/vl_surface.c
e082923af66a2b4c3fa7b3f104930addd8d6ac5b 19-Jan-2009 Jakob Bornecrantz <wallbraker@gmail.com> egl: Fix swap and creation of front buffer
gl/egl_surface.c
gl/egl_tracker.h
7047f1755f88d6b1f424904e692edbd03a9d190b 18-Jan-2009 Jakob Bornecrantz <wallbraker@gmail.com> egl: Add a egl state_tracker that use Gallium

This works on top Gallium and KMS. The only thing that
does not work currently is swap buffers for shown mesa
screens. So the only fun thing this will produce is a
white screen.

The driver wishing to us the state_tracker needs to
implement the intrace as define in drm_api.h located
in gallium/include/state_tracker. And also have a
working KMS implementation.
gl/Makefile
gl/egl_context.c
gl/egl_surface.c
gl/egl_tracker.c
gl/egl_tracker.h
gl/egl_visual.c
4f134f91a427b053d1bc069cb6cac48a0982abc3 17-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: don't explicitly create the pipe_winsys struct
lx/xlib/xm_api.c
lx/xlib/xm_winsys.h
2f19fecd583a4406385708de6362b3bdef23811e 13-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: allow winsys's to register themselves with glx/xlib state tracker
lx/dri/dri_drawable.c
lx/xlib/xm_api.c
lx/xlib/xm_winsys.h
a2d5031b1e133523591f1683527c2c96f58aa606 12-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> dri: make dri_display_surface static
lx/dri/dri_drawable.c
lx/dri/dri_drawable.h
3e492acc579ba0a98d0388aa73605aba5bf9840c 12-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> dri: pull dri_swapbuffers.c into dri_drawable.c
lx/dri/dri_context.h
lx/dri/dri_drawable.c
lx/dri/dri_drawable.h
lx/dri/dri_lock.c
lx/dri/dri_screen.h
lx/dri/dri_swapbuffers.c
lx/dri/dri_swapbuffers.h
3425257e14e3f4b1f663649856f73b520726db9b 12-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> dri: rename dri1 directory
lx/dri/dri_context.c
lx/dri/dri_context.h
lx/dri/dri_drawable.c
lx/dri/dri_extensions.c
lx/dri/dri_lock.c
lx/dri/dri_screen.c
lx/dri/dri_screen.h
lx/dri/dri_swapbuffers.c
lx/dri/dri_swapbuffers.h
lx/dri1/dri_context.c
lx/dri1/dri_context.h
lx/dri1/dri_drawable.c
lx/dri1/dri_extensions.c
lx/dri1/dri_lock.c
lx/dri1/dri_screen.c
lx/dri1/dri_screen.h
lx/dri1/dri_swapbuffers.c
lx/dri1/dri_swapbuffers.h
782eae916d1f02121785448d4ab4759767a46afd 12-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> dri: sketch of new device-independent glx/dri state tracker
lx/dri1/dri_context.c
lx/dri1/dri_context.h
lx/dri1/dri_drawable.c
lx/dri1/dri_extensions.c
lx/dri1/dri_lock.c
lx/dri1/dri_screen.c
lx/dri1/dri_screen.h
lx/dri1/dri_swapbuffers.c
lx/dri1/dri_swapbuffers.h
e37a3aed95ea91a7ddbabc4bed1fac7c451fe695 11-Jan-2009 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/gallium-0.2' into gallium-xlib-rework
8ee238be7587a232beeb56b1dc3b75e1b8fb903e 10-Jan-2009 Younes Manton <younes.m@gmail.com> nouveau: Factor out common winsys bits into libnouveaudrm.a
3dvl/vl_r16snorm_mc_buf.c
1e9c3efcc783cee46268cc227234ed118f0cc08b 20-Dec-2008 Younes Manton <younes.m@gmail.com> g3dvl: Use Gallium MALLOC wrappers.
3dvl/Makefile
3dvl/vl_basic_csc.c
3dvl/vl_context.c
3dvl/vl_display.c
3dvl/vl_r16snorm_mc_buf.c
3dvl/vl_screen.c
3dvl/vl_surface.c
db1021a37c29a60c70ce294077680ca3e98a6460 20-Dec-2008 Younes Manton <younes.m@gmail.com> g3dvl: Get rid of old unbuffered motion compensation code.
3dvl/Makefile
3dvl/vl_context.c
3dvl/vl_r16snorm_mc.c
3dvl/vl_r16snorm_mc.h
3c1b790c313b46e16640d25a93d165646454d3d6 20-Dec-2008 Younes Manton <younes.m@gmail.com> g3dvl: Map vertex bufs once per frame/flush.
3dvl/vl_r16snorm_mc_buf.c
9beb004885ab5be652bcb733a5fd9ee729f89921 20-Dec-2008 Younes Manton <younes.m@gmail.com> nouveau: Catch some more leaks.
3dvl/vl_r16snorm_mc_buf.c
87e39466dc49e033c4075f99343856637611b438 12-Dec-2008 Younes Manton <younes.m@gmail.com> g3dvl: Allocate one set of bufs, let winsys rename them as necessary.
3dvl/vl_r16snorm_mc_buf.c
0e1301ec8f7bc865b8a81214928e5267393cb8e7 05-Dec-2008 Younes Manton <younes.m@gmail.com> g3dvl: Expand YCbCr to full RGB range by default.
3dvl/vl_basic_csc.c
ebd38dd0d63151d6ee89f98af3450b3b9c4fa1f4 05-Dec-2008 Younes Manton <younes.m@gmail.com> g3dvl: Flag textures holding incoming data as dynamic.
3dvl/vl_r16snorm_mc_buf.c
61e843ff4bf9b9e8c4a7a8a485cee852a4f1dd86 09-Jan-2009 Keith Whitwell <keithw@vmware.com> xlib: move state tracker to glx/xlib

Also, remove makefile hacks.
akefile
lx/Makefile
lx/xlib/Makefile
lx/xlib/fakeglx.c
lx/xlib/fakeglx.h
lx/xlib/fakeglx_fonts.c
lx/xlib/glxapi.c
lx/xlib/glxapi.h
lx/xlib/xm_api.c
lx/xlib/xm_api.h
lx/xlib/xm_winsys.h
lib/Makefile
lib/fakeglx.c
lib/fakeglx.h
lib/fakeglx_fonts.c
lib/glxapi.c
lib/glxapi.h
lib/xm_api.c
lib/xm_api.h
lib/xm_winsys.h
93bad7ffa1bde2e56b72ff7f2010e51712b39956 09-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: strip out some CI and overlay support
lib/fakeglx.c
b7ab4a6e99011841ac54cdd32eb41fe8799252b8 09-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: strip out some overlay support
lib/fakeglx.c
6322d638ce80e51539c92e176d060d4be4eb22b0 09-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: strip out glXAllocateMemoryNV & friends
lib/fakeglx.c
lib/glxapi.c
lib/glxapi.h
05f8e41b9567695e9b96276d3ac5734ed2b268a8 09-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: combine and eliminate some header files
lib/fakeglx.c
lib/fakeglx_fonts.c
lib/glxheader.h
lib/xm_api.c
lib/xm_api.h
lib/xmesaP.h
e3734593aea202e99e77febea7b86c904080939f 09-Jan-2009 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/gallium-0.2' into gallium-xlib-rework

Conflicts:

progs/glsl/Makefile
221352bbd79a0ea92ce31cffb65537f62ee5668e 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: strip out glXAllocateMemoryMESA & friends
lib/glxapi.c
44a9f505d79fe843068ecc89e37aec02682fb8a0 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: remove VMS tweaks, these should be moved to p_compiler.h if needed
lib/fakeglx.c
lib/fakeglx.h
lib/fakeglx_fonts.c
lib/glxheader.h
3afe1e42d79a13be203dcd8719c965111ce8bba2 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: remove unsued _glxapi_get_extensions func
lib/glxapi.c
lib/glxapi.h
ee2876316a541c7513cc902f106a00890c625f9f 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: strip out some unused XMesa api functions
lib/fakeglx.c
lib/xm_api.c
lib/xm_api.h
92e23ef81f4411f60baec107a45c92c51133134a 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: rename xfonts.c to fakeglx_fonts.c
lib/Makefile
lib/fakeglx.c
lib/fakeglx.h
lib/fakeglx_fonts.c
lib/glxapi.c
lib/xfonts.c
lib/xfonts.h
25deb852f84ad0e4519a2a3fb7abc1d098ad3f8e 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: rename old_xmesa.h to xm_api.h
lib/fakeglx.c
lib/old_xmesa.h
lib/xm_api.c
lib/xm_api.h
lib/xmesaP.h
e83e2c47928b58dc678d008d499ae92666807c5b 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: remove XMesaMakeCurrent, use XMesaMakeCurrent2 always
lib/fakeglx.c
lib/old_xmesa.h
lib/xm_api.c
2b960128e8c87098ed3cfa29380b6ff524df3647 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: remove old xmesa_x.h file and all its defines
lib/old_xmesa.h
lib/old_xmesa_x.h
lib/xm_api.c
153b4d5cdd934812d8c24ef10bb8bbbe852eaf62 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: remove some XMesa types, just use the native Xlib ones
lib/fakeglx.c
lib/old_xmesa.h
lib/old_xmesa_x.h
lib/xm_api.c
lib/xmesaP.h
94222d58e7b4bd452711057828922dbf2cf1c9d7 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: strip out more 3dfx stuff
lib/fakeglx.c
lib/glxapi.c
lib/glxapi.h
9ed74c61d4c587ef7bc202d876d4a7e02c35fab7 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: pull in private copies of the GL/xmesa*.h headers
lib/fakeglx.c
lib/old_xmesa.h
lib/old_xmesa_x.h
lib/xm_api.c
lib/xmesaP.h
cae13a8e4f231b8c967a9ba01eba037cfad0670a 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: strip out FX stuff
lib/fakeglx.c
lib/xm_api.c
18ad0e3a284da13ebd6bac7a5cc5a9d17ab6efc7 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: remove XFree86Server stuff
lib/glxheader.h
lib/xm_api.c
lib/xm_image.c
lib/xm_image.h
lib/xmesaP.h
2c8ffd70b71befc4a8a9decd1a7d932f1d4ef520 08-Jan-2009 Keith Whitwell <keith@tungstengraphics.com> xlib: remove realglx.[ch]
lib/fakeglx.c
lib/glxapi.c
lib/realglx.c
lib/realglx.h
002dfb12fce045d0e124301e5df805df772149d8 08-Jan-2009 Keith Whitwell <keithw@vmware.com> gallium: split driver-independent code out of xlib winsys

Place in new xlib state-tracker. This is a statetracker for the GLX API.
akefile
lib/Makefile
lib/fakeglx.c
lib/glxapi.c
lib/glxapi.h
lib/glxheader.h
lib/realglx.c
lib/realglx.h
lib/xfonts.c
lib/xfonts.h
lib/xm_api.c
lib/xm_image.c
lib/xm_image.h
lib/xm_winsys.h
lib/xmesaP.h
1d778356680e08cac63057b9275b7d96bfe975b6 31-Dec-2008 José Fonseca <jfonseca@vmware.com> python: Pass a zero offset to util_draw_vertex_buffer.
ython/p_context.i
fd2492d24447e461f36982da268caf0317885967 12-Dec-2008 Roland Scheidegger <sroland@tungstengraphics.com> gallium: fixes for srgb, new srgb formats

add some more srgb texture formats, including compressed ones
various fixes relating to srgb formats

issues: the util code for generating mipmaps will not handle srgb formats
correctly (would need to use a linear->srgb conversion shader)
ython/p_format.i
ee0735fa2d4b2d2a9eae1f55e8f93f1f57feaf6d 09-Dec-2008 Alan Hourihane <alanh@tungstengraphics.com> Merge commit 'origin/gallium-0.1' into gallium-0.2
51d9642f74c3f418b2f8a56b4b17c94eb91b39d1 09-Dec-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Dump indices too.
ython/retrace/interpreter.py
d26a43f6c6ba0e1958e3fafc99b5f110b6e3149a 08-Dec-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Dump vertex buffer contents.
ython/retrace/interpreter.py
d585fdf318e92a1a25bb244db3e8dc374203f43e 24-Nov-2008 Younes Manton <younes.m@gmail.com> g3dvl: Map/unmap incoming block texture once per frame.

(Technically once per flush, but we flush once per frame.)
3dvl/vl_r16snorm_mc_buf.c
c064d5a1baef7d227e83ecd902575dce16ca20bd 23-Nov-2008 Younes Manton <younes.m@gmail.com> g3dvl: Use texture instead of surface for backbuffer.
3dvl/vl_basic_csc.c
bacacd5adacc883757f615589fa4062ba2920f07 23-Nov-2008 Younes Manton <younes.m@gmail.com> g3dvl: Move MC shaders to a seperate file, #included in the original.
3dvl/vl_r16snorm_mc_buf.c
3dvl/vl_r16snorm_mc_buf_shaders.inc
205e0e3e38b99c2fb0298755d99a38f111f0b96f 19-Nov-2008 Keith Whitwell <keith@tungstengraphics.com> Merge commit 'origin/gallium-0.1' into gallium-0.2
59ae12b5b14a2bf18c4b566abcdf3211aa5eb4d6 19-Nov-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Dump constants.
ython/retrace/interpreter.py
2f153b5487459f04941bbbf35fd531adbf7535a2 19-Nov-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Allow to read from buffers.
ython/gallium.i
ython/p_texture.i
8a9e06257f3a145cddc5e44f841e2f2e81a2cafb 19-Nov-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Fix formatting of shaders.
ython/retrace/model.py
03f19bc33d0c2e94bf0ad4ec6e42b708be0c0967 19-Nov-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Ignore irrelevant calls.
ython/retrace/interpreter.py
56ce90c8bee057cf69ba653adf57aa401d51c240 19-Nov-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Highlight the trace dump to help to visualize.
ython/retrace/format.py
ython/retrace/interpreter.py
ython/retrace/model.py
ython/retrace/parser.py
9efa6cafea8176eb867bf820ea82a46ad45bfc15 19-Nov-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Use the usual BSD-style license.
ython/retrace/interpreter.py
ython/retrace/model.py
ython/retrace/parser.py
3354e668f0d4eb7ad1d92607031c1fc2e785e8d1 17-Oct-2008 Younes Manton <younes.m@gmail.com> g3dvl: Get rid of state tracker unit tests, stale and not useful atm.
3dvl/tests/.gitignore
3dvl/tests/Makefile
3dvl/tests/test_b_rendering.c
3dvl/tests/test_context.c
3dvl/tests/test_i_rendering.c
3dvl/tests/test_p_rendering.c
3dvl/tests/test_pf_rendering.c
3dvl/tests/test_surface.c
d008fb178631aecacc07aeec66299748470fd8c7 22-Sep-2008 Younes Manton <younes.m@gmail.com> g3dvl: Ignore client flush requests unless entire frame is buffered.
3dvl/vl_r16snorm_mc_buf.c
3dvl/vl_surface.c
111b8f6dd9c97cd30979c8d5f56244e1e6ed60a2 22-Sep-2008 Younes Manton <younes.m@gmail.com> g3dvl: Bad semantic index in shader decl.
3dvl/vl_r16snorm_mc_buf.c
3122f2bebe8d76568916b8cddff542f52466055e 13-Sep-2008 Younes Manton <younes.m@gmail.com> g3dvl: Fix field coded block copy.
3dvl/vl_r16snorm_mc_buf.c
f3f449a49136ae2fd2dc3cf62d2c24dd42505e7d 11-Sep-2008 Younes Manton <younes.m@gmail.com> g3dvl: Implement surface sync functions.
3dvl/vl_r16snorm_mc_buf.c
3dvl/vl_surface.c
3dvl/vl_surface.h
3dvl/vl_types.h
42a42dec3dbb5e150584b3d0b2e14e9b555a4ac1 09-Sep-2008 Younes Manton <younes.m@gmail.com> g3dvl: Fullscreen fixes. Respect src & dst coords during scaling, clear FB.
3dvl/vl_basic_csc.c
3dvl/vl_surface.c
3dvl/vl_surface.h
59f23e92e24b93eb48f4e0552dd8e397aefd1714 12-Sep-2008 Younes Manton <younes.m@gmail.com> g3dvl: Update softlinks to nouveau winsys files, related fixes.
3dvl/vl_r16snorm_mc_buf.c
7158203b081ad34c03382f07e0df748eae235e9b 10-Sep-2008 Ben Skeggs <skeggsb@gmail.com> Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1

Conflicts:
configs/default
2f41095e04036654259bc2efc3324a92f32c8ca1 04-Sep-2008 Younes Manton <younes.m@gmail.com> g3dvl: Zero-block optimization.

For blocks whose contents are derived completely from ref surfaces, don't
bother zero-ing the corresponding block in the luma/chroma textures, except
for the first such luma, chroma Cb, and chroma Cr each frame. All later
zero blocks are textured from that first zero block.
3dvl/vl_r16snorm_mc_buf.c
0bfbe834d35946fe75eb991d03ed777e115f418d 04-Sep-2008 Younes Manton <younes.m@gmail.com> g3dvl: Define texcoords seperately for luma, Cb, Cr textures.

Need to be able to address each texture separately to do zero-block.
3dvl/vl_r16snorm_mc_buf.c
7891efdac125185d216a8da8b044db0f06f34f0e 03-Sep-2008 Younes Manton <younes.m@gmail.com> g3dvl: Define block texcoords for each vertex instead of reusing pos.

This is needed for zero-block optimization.
3dvl/vl_r16snorm_mc_buf.c
46efe73daf4784da95ff5b38e5ec13474addcd93 04-Sep-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Cleanup tri example.
ython/samples/tri.py
78435d9142b4762cdf7193729bcd3148d990de3d 04-Sep-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Use pipe_buffer_* inlines as much as possible.
ython/gallium.i
ython/p_context.i
ython/p_texture.i
ython/st_device.c
f637a96e85a51a66f2c53b91118a6815bb61d6e6 03-Sep-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.

We want to use the pipe_buffer_* inlines everywhere, but a pipe context
is not always available nor is it needed.
ython/p_context.i
ython/st_device.c
ython/st_softpipe_winsys.c
2ab5e69f16ed9e9b399ddd526f1370032d3d10a4 02-Sep-2008 Younes Manton <younes.m@gmail.com> g3dvl: Use consistent variable names.
3dvl/vl_r16snorm_mc_buf.c
3dvl/vl_r16snorm_mc_buf.h
ff1a5066513fc75fb0fbbe7fe8a3f1ff27fbf6d3 02-Sep-2008 Younes Manton <younes.m@gmail.com> g3dvl: Use one VB for all MBs, sort MBs at flush to determine placement.
3dvl/vl_r16snorm_mc_buf.c
72bcb69459d336fe0c2cf9da57a9b98a933299ca 31-Aug-2008 Younes Manton <younes.m@gmail.com> g3dvl: Some clean ups.
3dvl/vl_r16snorm_mc_buf.c
3dvl/vl_types.h
29f876cc90605ad7de1141443d3b242395eed5ee 30-Aug-2008 Younes Manton <younes.m@gmail.com> g3dvl: Inline hint for relatively small, frequently called functions.
3dvl/vl_r16snorm_mc_buf.c
e959c23a31c11f0bcc5775e6e0eb48c5c3d70cf3 29-Aug-2008 Younes Manton <younes.m@gmail.com> g3dvl: Re-enable buffer rotation, disable high quality 420->444 conversion.

Using linear interpolation when upscaling the chroma blocks causes some
discoloration around the edges.
3dvl/vl_r16snorm_mc_buf.c
4d9d192672508eaa9b2a70f84e933f11108bf09f 29-Aug-2008 Younes Manton <younes.m@gmail.com> g3dvl: Buffer the entire frame before rendering.
3dvl/Makefile
3dvl/vl_context.c
3dvl/vl_r16snorm_mc.c
3dvl/vl_r16snorm_mc.h
3dvl/vl_r16snorm_mc_buf.c
3dvl/vl_r16snorm_mc_buf.h
3dvl/vl_render.h
3dvl/vl_surface.c
4f25420bdd834e81a3e22733304efc5261c2998a 25-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h

Also, rename p_tile.[ch] to u_tile.[ch]
ython/gallium.i
ython/st_device.c
ython/st_sample.c
ython/st_softpipe_winsys.c
d32f51d4717686d626b0f7ec9a92c3c9af50009f 22-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Interpret texture/surfaces destructions.
ython/retrace/interpreter.py
7f3c3683ce50bad42411547d4b78e03d7f20e498 22-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Process the trace call-by-call (instead of reading everything into memory).
ython/retrace/interpreter.py
ython/retrace/parser.py
10624065b0dc631164d786b2c39f35655e55eadf 21-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Support gziped traces.
ython/retrace/interpreter.py
ython/retrace/parser.py
34cffce33413fe7701975d0d4bd54207bc44cacc 20-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Retrace draw_elements and draw_range_elements.
ython/retrace/interpreter.py
1d881b8e8472ff49482b2b0404ac29160f096771 20-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: bindings for draw_range_elements.
ython/p_context.i
d7f8b95e097121a8c33332f920115795853d6ad7 19-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Add several missing functions.
ython/retrace/interpreter.py
9adfc57a4c4deeb86d8f62491b94d6a44586eb1e 19-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Handle null state.
ython/p_context.i
5f1ef11ad2e3016ac4029489d9429d7f93737fe5 19-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Trim null chars.

They are often left in memory mapped files, and are not part of the XML
accept chars anyway.
ython/retrace/parser.py
7f100d04ddacf9f6517c9aff1e2de5257eb77fb0 18-Aug-2008 Younes Manton <younes.m@gmail.com> g3dvl: Use rotating buffers to avoid waiting for map().
3dvl/Makefile
3dvl/vl_data.c
3dvl/vl_data.h
3dvl/vl_r16snorm_mc.c
6858dd50c9b696c1c6044f5a403000f9d20b286b 16-Aug-2008 Younes Manton <younes.m@gmail.com> g3dvl: Modularized rendering, refactored to accommodate VAAPI, other APIs.
3dvl/Makefile
3dvl/vl_basic_csc.c
3dvl/vl_basic_csc.h
3dvl/vl_context.c
3dvl/vl_context.h
3dvl/vl_csc.h
3dvl/vl_data.c
3dvl/vl_data.h
3dvl/vl_defs.h
3dvl/vl_display.c
3dvl/vl_display.h
3dvl/vl_r16snorm_mc.c
3dvl/vl_r16snorm_mc.h
3dvl/vl_render.h
3dvl/vl_screen.c
3dvl/vl_screen.h
3dvl/vl_shader_build.c
3dvl/vl_shader_build.h
3dvl/vl_surface.c
3dvl/vl_surface.h
3dvl/vl_types.h
3dvl/vl_util.c
3dvl/vl_util.h
fb2732ff056a83418a379b81c1e5da50675c41ac 10-Aug-2008 Younes Manton <younes.m@gmail.com> g3dvl: Merged tgsi/util and tgsi/exec moved some headers around.
3dvl/vl_context.c
3dvl/vl_shader_build.c
52ecb8f56368180b5dec303d1d77a8d0596aaef7 15-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Update frame when PIPE_FLUSH_FRAME spotted.
ython/retrace/interpreter.py
c9751522b0ee1908c79f3f9d37b508ac0680bd16 14-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> pyhon/retrace: Retrace surface contents.

Now capable of replaying trivial/quad-tex-2d
ython/retrace/interpreter.py
14fe0d62ee8cf1dd48ec8d373ee3dcb3fe06fd77 14-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Keep addresses as strings.

To simplify looking up these in the trace.
ython/retrace/model.py
ython/retrace/parser.py
37336b7d9e7f8bed8765e9d8e4f61f804e4d8107 14-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Fix put/get_tile_raw bindings.
ython/p_texture.i
df3d694851fd99b6ea88c339b5153944824d3d3a 14-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Commit unsaved changes to the doc.
ython/retrace/README
31bb6c0d17eb3265c9596bd25d5e6fabfefe4d61 14-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Update status.
ython/README
468c9775cbc863b024f41fccad3d6bb967e10ea8 14-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/retrace: Application capable of replaying gallium traces.

At the moment it is capable of replaying trivial/tri kind of apps.

See README for status.
ython/retrace/README
ython/retrace/interpreter.py
ython/retrace/model.py
ython/retrace/parser.py
ffaa4e816fb1d7360e6c14cbbfd4df8e027b9573 14-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Allow to use trace pipe driver with python.
ython/SConscript
ython/st_device.c
ython/st_device.h
92675f6e22a1caa11146c2e9f3b2fb2285fdccea 14-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Fix typo in buffer::write.
ython/p_texture.i
90ed1742d55a246ffa63e57f291b18a1a43e41ba 14-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Remove unused var.
ython/p_context.i
50c6092355edf9e978a3c34cb816d4833bcf92fd 13-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Simplify st_winsys.
ython/st_device.c
ython/st_hardpipe_winsys.c
ython/st_softpipe_winsys.c
ython/st_winsys.h
0ecaa37e49ff3a745b821ba7027eebeed938547a 13-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Bindings fixes.
ython/gallium.i
ython/p_context.i
ython/p_state.i
ython/st_device.h
56f5c0c001c476b813c94d071ac880fbe8d9768b 13-Aug-2008 Ben Skeggs <skeggsb@gmail.com> Merge remote branch 'origin/gallium-0.1' into nouveau-gallium-0.1
506b8ebdba73f85c169599ce861b339e97370eb2 12-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Use st_buffers instead of pipe_buffers.
ython/p_context.i
e08072c5db137e3fc19964ea8705c62cb00b6343 11-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Bindings for p_compiler.h types.
ython/gallium.i
ython/p_compiler.i
e69e94d3010b33cf690a2e4e54b61437a1836617 11-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Bindings for pipe_{depth,stencil,alpha}_state.
ython/gallium.i
ae0c9b56d4bec52f9accabbcaf8d42ef41a0153c 11-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Simplify setting the constant buffers.
ython/p_context.i
e7f1ac39be5ab8c627f66a4a8488697c274079e6 11-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Split the interface definition file in smaller ones.
ython/gallium.i
ython/p_context.i
ython/p_device.i
ython/p_state.i
ython/p_texture.i
b5f7dd0c08dbe3f140630345c331aeccaf2a7a94 11-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Add unsigned arrays.
ython/gallium.i
a304d271185af935974850055da74ec8263b00e2 10-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Allow writing to buffers.
ython/gallium.i
ython/st_device.c
ython/st_device.h
23e8c92543d95c216f3459a5618611c079e86174 09-Aug-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Update the documentation.
ython/README
4b1c508f49a070f113929393423d6704f1ff18b6 07-Aug-2008 Ben Skeggs <skeggsb@localhost.localdomain> Merge remote branch 'origin/gallium-0.1' into nouveau-gallium-0.1
7fde9febd6f212494730ebef916fe25c95d30be9 04-Aug-2008 Younes Manton <younes.m@gmail.com> g3dvl: Temporarily disable IDCT.
3dvl/vl_context.c
3dvl/vl_surface.c
1d27b4bc0f291ec955e59b1ead943100d8a15505 30-Jul-2008 Younes Manton <younes.m@gmail.com> g3dvl: Use R16_SNORM instead of A8L8_UNORM for block rendering.
3dvl/vl_context.c
3dvl/vl_data.c
3dvl/vl_surface.c
c208a2c791fa24c7c5887fc496738cbddbfafc72 27-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> Merge tgsi/exec and tgsi/util directories.
ython/gallium.i
a8da04cb861b8f9caf3acd33f52f64621f0c15e2 24-Jul-2008 Younes Manton <younes.m@gmail.com> nv all: Copy shader tokens on create, free on delete.

Must copy token stream on shader create, client is allowed to free
their copy after creating the state object.
3dvl/vl_context.c
704dca40c4e0e983c07d84c3a32f8f9dc78a5543 23-Jul-2008 Ben Skeggs <skeggsb@gmail.com> Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
0c25ac52425e6d6eb037b99ab90f41b47e3f4491 23-Jul-2008 Younes Manton <younes.m@gmail.com> g3dvl: Add Nouveau winsys, libdriclient.

Nouveau winsys is based on Mesa's Nouveau winsys and soft-links to most of
it. The 'nouveau_context' and 'nouveau_screen' code contains most of the
changes, 'nouveau_winsys_pipe', 'nouveau_swapbuffers' and 'nouveau_lock'
contain some minor changes. The driclient library contains the DRI
userland stuff, most of which was based on Mesa's DRI code.
3dvl/Makefile
3dvl/vl_context.c
3dvl/vl_shader_build.c
3dvl/vl_shader_build.h
3dvl/vl_surface.c
c243573fafe8e83d4964535b201c499164d7c172 19-Jul-2008 Younes Manton <younes.m@gmail.com> g3dvl: Fix some memory leaks in the winsys.
3dvl/vl_context.c
5853b6c2fe10223738a15d294e2a1605ec076953 20-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/tests: Check support for non-pot/non-square textures.
ython/tests/texture.py
b1d6ff1afd3ec8460f746c76764dc89f9cd70556 18-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/tests: Specify the right texture target when querying formats.
ython/tests/texture.py
8aafc03b260ab8923f1b373f7effa75bcdb40a72 18-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: Finer grained is_format_supported.
ython/gallium.i
ython/samples/tri.py
ython/tests/texture.py
3ca935d9efaef4dd9746d3b2207e329b77bb1018 18-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/tests: Extend the texture tests to cover volumes.
ython/tests/texture.py
bfee84df8665a474fa025150f57d896bf1aa6bae 18-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Add methods to get texture width, height, etc.

SWIG does a poor job with arrays inside structures.
ython/gallium.i
e74f94b39ac47a319ee21c526315fb6fbc1513de 17-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Reimplement the generation of random texture samples in C.
ython/SConscript
ython/gallium.i
ython/st_sample.c
ython/st_sample.h
ython/tests/data.py
ython/tests/texture.py
d398e1360d5c1c0f44a4ba9cd167c39a29ce8254 17-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Reimplement tile comparison in C to speed up tests.
ython/gallium.i
ython/tests/texture.py
f610deed37dc09922eaef1c55e3d4afe8aaa7327 17-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/tests: Cover all last_level combinations.
ython/tests/texture.py
7f32834df3c428fa283e966982926c94630b1b8e 16-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python/tests: Extend the texture tests to cover cube maps.
ython/tests/base.py
ython/tests/texture.py
1049e65240539228f64a91cc7b55af37bbd0417b 16-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Set PIPE_TEX_MIPFILTER_NONE by default.
ython/st_device.c
32fe752d31a07293ad68cccb2fffbbfef32ab449 16-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Test all miplevels.
ython/tests/base.py
ython/tests/texture.py
70b1ff9ff39ca29bdbd25b31ebb183eea683d625 16-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Expand the texture test suit to cover one YUV and one DXT format.
ython/tests/base.py
ython/tests/data.py
ython/tests/texture.py
61c4de53c360fd2893b0490075d760f2ca3bac33 16-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Silent debug output.
ython/gallium.i
3392bcaaa823bd791e8d7e4c5a7ce013831899bb 15-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Cleanup.
ython/samples/tri.py
ython/tests/base.py
ython/tests/texture.py
ee470020e17bc4999f3540fbad49fe645a4b914e 15-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Request/respect the texture & buffer usage flags in the examples.
ython/samples/tri.py
ython/tests/base.py
ython/tests/texture.py
d5ed158dc87669f62bb7d3fb65c23fb2a465442b 15-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Get object ownership done correctly.
ython/gallium.i
ython/st_device.c
ython/st_hardpipe_winsys.c
1d03102b319f7bca2bf76c5d6e3996dc87f03634 15-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Allow hardware support.
ython/SConscript
ython/gallium.i
ython/samples/tri.py
ython/st_device.c
ython/st_hardpipe_winsys.c
ython/st_softpipe_winsys.c
ython/st_winsys.h
ython/tests/texture.py
2c4349aa3ac9a6d5ee1f7b1aeb5eb0ee1cb54690 15-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Move the python scons code to a separate tool module.
ython/SConscript
ead8fcd92a737c7184020768203496a08eb3b7dd 14-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Get it to build on windows too.
ython/SConscript
64979d618a24e8378d95944d5f1d1b5847880a48 14-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Basic test case for 2d texture.
ython/tests/base.py
ython/tests/data.py
ython/tests/texture.py
3aea28b9b1e9100be6836d4f88444e3cdfe5c4be 14-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Raw tile access to surface.
ython/gallium.i
00cd96b68f21cb281aa30199f520aae8b2f93083 13-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Get the sample app to draw triangle like trivial/tri exanple.
ython/samples/simple.py
ython/samples/tri.py
f07ad529af96b903e7b19fa26c3372d16b507bf1 14-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Surface clears.
ython/gallium.i
ython/samples/simple.py
3679f690230b9691157d44cfa5baf947d84e1487 14-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Set default state.
ython/gallium.i
ython/st_device.c
ython/st_device.h
05a23e6c6f08d4d901dc9fc9995b3444fa6355dd 14-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: Allow to create/specify shaders.
ython/gallium.i
ython/samples/simple.py
ython/st_device.c
d68a3ebf0e7e853cf9680ddbb095fffe7c0fb1f9 13-Jul-2008 Ben Skeggs <skeggsb@gmail.com> Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
6410e94b966148dde81b5121e53a250d7b530d91 13-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> python: New state tracker which exposes the pipe driver to python scripts.

Still under development. Just barely works.
ython/README
ython/SConscript
ython/gallium.i
ython/p_format.i
ython/samples/simple.py
ython/st_device.c
ython/st_device.h
ython/st_softpipe_winsys.c
ython/st_winsys.h
6235141fd2c7af21c2b41ca66f06abc3cb0bbc24 07-Jul-2008 Younes Manton <younes.m@gmail.com> g3dvl: IDCT part 1.

Very basic IDCT support is in, performed CPU-side for now.
3dvl/vl_context.c
3dvl/vl_context.h
3dvl/vl_surface.c
49937b99855984dd01a431c026f9308b6c0dac4f 04-Jul-2008 Younes Manton <younes.m@gmail.com> g3dvl: Round surfaces up to POT, use src rect when outputting surfaces.
3dvl/Makefile
3dvl/vl_context.c
3dvl/vl_context.h
3dvl/vl_surface.c
3dvl/vl_types.h
3dvl/vl_util.c
3dvl/vl_util.h
9833aec6cbd113d24277aa5da8625c1427d831ca 01-Jul-2008 Younes Manton <younes.m@gmail.com> g3dvl: Use block and stride instead of cpp and pitch.
3dvl/vl_context.c
3dvl/vl_shader_build.c
3dvl/vl_surface.c
1c893fd513f5335a81dd72db70d64763634ea856 30-Jun-2008 Younes Manton <younes.m@gmail.com> g3dvl: Simplify shader code.
3dvl/Makefile
3dvl/vl_context.c
3dvl/vl_shader_build.c
3dvl/vl_shader_build.h
3933fec6bd62285506fecdc3a254306648cfefb2 29-Jun-2008 Younes Manton <younes.m@gmail.com> g3dvl: Support for field and frame based MC for progressive pictures.

MC support for frame and field based motion prediction. Also various bug
fixes, clean up.
3dvl/tests/.gitignore
3dvl/tests/Makefile
3dvl/tests/test_pf_rendering.c
3dvl/vl_context.c
3dvl/vl_context.h
3dvl/vl_data.c
3dvl/vl_surface.c
3dvl/vl_types.h
0a6aec8c0f2173cfb95ce95d12b66f090ea0ba1f 19-Jun-2008 Younes Manton <younes.m@gmail.com> g3dvl: Work around SP tex cache bug, specify resource usage flags.
3dvl/vl_context.c
3dvl/vl_surface.c
14d4f9e44e55e2b427579ed6788e579d70b289e7 17-Jun-2008 Younes Manton <younes.m@gmail.com> g3dvl: Get rid of some Valgrind errors.

Get rid of some Valgrind memory leak and uninitialized var errors.
3dvl/vl_context.c
3dvl/vl_surface.c
f5a3768c4e7733a11ad0421e3e4b84e6994af0e0 08-Jun-2008 Younes Manton <younes.m@gmail.com> g3dvl: Reduce number of input vert streams by copying, reusing in shaders.

Reduce number of input vertex streams by using same texcoord stream for
chroma textures, reusing pos stream when calculating texcoords for P, B
macroblocks.
3dvl/vl_context.c
3dvl/vl_context.h
3dvl/vl_data.c
3dvl/vl_data.h
3dvl/vl_surface.c
c11a7ec821d41b91a3825c5abfb4687c98b5bf98 08-Jun-2008 Younes Manton <younes.m@gmail.com> Initial commit for g3dvl.

Initial commit for g3dvl, contains support for basic XvMC features.

- Context, surface, block, macroblock creation and deletion
- Surface rendering
- Frame pictures
- Frame based motion compensation
- Intra-coded macroblocks
- Predicted macroblocks
- Bi-directionally predicted macroblocks
- Surface display
- Color conversion
- Scaling
3dvl/Makefile
3dvl/tests/.gitignore
3dvl/tests/Makefile
3dvl/tests/test_b_rendering.c
3dvl/tests/test_context.c
3dvl/tests/test_i_rendering.c
3dvl/tests/test_p_rendering.c
3dvl/tests/test_surface.c
3dvl/vl_context.c
3dvl/vl_context.h
3dvl/vl_data.c
3dvl/vl_data.h
3dvl/vl_defs.h
3dvl/vl_surface.c
3dvl/vl_surface.h
3dvl/vl_types.h
6d3831b11d9f5aaba61cc2fb8ade61437ad7c335 15-Feb-2008 José Fonseca <jrfonseca@tungstengraphics.com> Code reorganization: placeholder for state-trackers.

This is meant for temporarily holding state-trackers,
until they eventually find their way out of gallium tree.
EADME