• 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.