Christian König
213b9004a6
Merge remote-tracking branch 'origin/master' into pipe-video
...
Conflicts:
src/gallium/drivers/r600/r600_state.c
2011-05-07 14:11:40 +02:00
Marek Olšák
03615c02d8
r300/compiler: implement TXD and TXL opcodes
2011-05-07 02:51:38 +02:00
Marek Olšák
d8e222d887
r300g: handle seamless_cube_map caps
2011-05-07 02:51:38 +02:00
Benjamin Franzke
6bb230970c
egl/wayland: Follow wl_resource_destroy changes
2011-05-06 16:50:45 -04:00
Christoph Bumiller
531b12af35
nv50,nvc0: activate seamless cube map filtering
2011-05-06 21:11:03 +02:00
Marek Olšák
27d3e0b25c
docs: update relnotes-7.11
2011-05-06 20:14:28 +02:00
Marek Olšák
483d2ea5e3
docs: update GL3 status
2011-05-06 20:14:28 +02:00
Marek Olšák
d931b0d8b3
r600g: implement seamless_cube_map for evergreen
...
The r600/r700 support will follow soon.
2011-05-06 20:13:05 +02:00
Marek Olšák
a5f0a11477
gallium: implement seamless cubemap extensions
...
Reviewed-by: Brian Paul <brianp@vmware.com>
2011-05-06 20:06:30 +02:00
Marek Olšák
bf65c9ea41
mesa: handle TEXTURE_CUBE_MAP_SEAMLESS in SamplerParameter
...
Reviewed-by: Brian Paul <brianp@vmware.com>
2011-05-06 20:06:30 +02:00
Marek Olšák
a19c42ffc6
mesa: implement AMD_seamless_cubemap_per_texture
2011-05-06 20:06:30 +02:00
Alex Deucher
3b20a89941
r600g: avoid recursion in rv670 flush workaround
...
Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=36914
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-06 13:19:21 -04:00
Marcin Slusarz
3b2bc4ac5b
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.
2011-05-06 19:09:23 +02:00
Kostas Georgiou
8c3226be90
Add pci id for FirePro 2270
...
Signed-off-by: Kostas Georgiou <georgiou@opengamma.com>
2011-05-06 13:03:40 -04:00
Alex Deucher
2c3232da7a
egl_dri2: add new radeon pci ids
...
There seriously needs to be a better way to do
this.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-06 13:02:24 -04:00
Kristian Høgsberg
e5169e9615
egl: Add a cursor use bit to MESA_drm_image
2011-05-06 10:33:50 -04:00
Benjamin Franzke
834b84149d
egl/wayland-drm: Generalize interface
...
Do not depend on _EGLDisplay and _EGLImage.
2011-05-06 10:33:50 -04:00
nobled
a3e2c8f31f
glx: Check flush DRI extension version at runtime
...
The DRI driver itself might not have version 3 of the
DRI2 flush extension, in which case this would've
pointed to out of bounds memory...
2011-05-06 09:39:24 +02:00
Alex Deucher
31d27259b6
r600g: add back SOURCE_FORMAT setting that get accidently dropped
...
Spotted by Henri Verbeet
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-05 19:30:30 -04:00
Alex Deucher
5939bc03bc
r600g: fix up the rules for enabling SOURCE_FORMAT(EXPORT_NORM)
...
Setting SOURCE_FORMAT to EXPORT_NORM is an optimization.
Leaving SOURCE_FORMAT at 0 will work in all cases, but is less
efficient. The conditions for the setting the EXPORT_NORM
optimization are as follows:
R600/RV6xx:
BLEND_CLAMP is enabled
BLEND_FLOAT32 is disabled
11-bit or smaller UNORM/SNORM/SRGB
R7xx/evergreen:
11-bit or smaller UNORM/SNORM/SRGB
16-bit or smaller FLOAT
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-05 18:54:03 -04:00
Alex Deucher
bf7a3ddca6
r600g: further r6xx cache flush fixes
...
Don't emit sync packets for additional CBs or DB.
Spotted by Fredrik Höglund.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-05 18:45:55 -04:00
Dave Airlie
5066f7cd0e
r600g: add rv670 flushing workaround.
...
Hopefully we can find out the proper fix for this, but for now
this makes the fbo mipmap tests pass on my rv670 (x2 card).
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-05-06 08:41:13 +10:00
Alex Deucher
d116fe51c1
r600g: fix cache flushes on r6xx
...
r6xx asics have some problems with the surface
sync logic for the CB and DB. It's recommended
to use the event write interface for flushing
the DB/CB caches rather than the sync packets.
A single event write flush flushes all dst
caches, so we only need one for all CBs and DB.
Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=35312
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-05-06 08:07:12 +10:00
Marcin Slusarz
a041525ed9
mesa: don't call git if it's not git repository
...
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-05-05 13:49:21 -07:00
Marcin Slusarz
02a6c9428d
mesa: don't touch git_sha1.h if sha1 didn't change
...
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-05-05 13:49:15 -07:00
Henri Verbeet
f60235e73a
r600g: Match alpha ref precision to color format precision.
...
This fixes piglit fbo-alphatest-formats on Evergreen.
Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
2011-05-05 21:00:38 +02:00
Christian König
6ad846ee78
[g3dvl] move zscan into shaders
2011-05-05 20:09:34 +02:00
Dave Airlie
dc4a3edcf9
Revert "DRI2/GLX: make swap event handling match spec"
...
This reverts commit 70227e21bb .
revert this until we sort things out, with a new glproto release
with compatible struct names.
2011-05-05 16:25:33 +10:00
Dave Airlie
ae7abf080b
r600g: do RV6xx base updates inline with state updates.
...
This seems more in line with what the documentation suggests we should be
doing. It doesn't fix the rv635 regression, though I thought it might,
so it means I've no idea whats actually going wrong there.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-05 09:07:49 +10:00
Jesse Barnes
70227e21bb
DRI2/GLX: make swap event handling match spec
...
We only handle a 32 bit swap count, so use the new structure definitions.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2011-05-04 14:08:48 -07:00
Jesse Barnes
6ae9e8cbab
GLX: don't crash when indirect clients try to set an event mask
...
After sending the GLXChangeDrawableAttributes request, we also set a
local set of attributes on the DRI drawable. But in the indirect case
this array won't be present, so skip the setting in that case to avoid a
crash.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2011-05-04 14:08:48 -07:00
Christian König
352bfb525a
[g3dvl] remove quantizer_scale from picture structure
2011-05-04 22:30:16 +02:00
Christian König
a9b1c4fe2e
[g3dvl] remove dc_dct_pred from picture structure
2011-05-04 22:16:03 +02:00
Christian König
e3789105fe
[g3dvl] divide mpg12 width height by 16
2011-05-04 22:05:03 +02:00
Christian König
0f24c19eea
[g3dvl] remove the dubble zscan from the mpg12 decoder
2011-05-04 20:39:54 +02:00
Christian König
08f3a7cf7e
vdpau: make state tracker far less noisy
2011-05-04 19:58:33 +02:00
Christian König
7709e6ebc3
vdpau: remove empty color.c file
2011-05-04 19:44:20 +02:00
Christian König
ff20be919a
[g3dvl] remove the unused bitstream parser components
2011-05-04 19:38:40 +02:00
Christian König
ee92f0fdad
vdpau: remove the unused and incomplete mpeg2 parser
2011-05-04 19:37:46 +02:00
Christian König
c888fe027c
[g3dvl] Implement MPEG2 VLD
...
Based uppon xine's slice_xvmc.c.
This gets VDPAU up and running.
2011-05-04 18:58:55 +02:00
José Fonseca
37058c3497
scons: Add a few more human friendly messages.
2011-05-04 14:10:24 +01:00
José Fonseca
da87370032
mesa/gdi: Silence gcc warning about unused result.
2011-05-04 14:10:15 +01:00
José Fonseca
9fbd708932
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.
2011-05-04 13:09:14 +01:00
José Fonseca
c636daa145
st/wgl: Cope with zero width/height windows.
...
While ensuring the framebuffer area is never zero.
2011-05-04 13:09:13 +01:00
Brian Paul
fc30910c65
i915g: add const qualifier to silence warning
2011-05-03 18:56:20 -06:00
Brian Paul
f85cd39fc4
mesa: remove unused restart.[ch] files
...
_mesa_PrimitiveRestartIndex() is in varray.c and glPrimitiveRestart()
is handled in the vbo module.
2011-05-03 18:22:04 -06:00
Ian Romanick
0f0179b8c2
glsl: Remove extra newline from error message
2011-05-03 14:51:02 -07:00
Alex Deucher
27477248d3
r600c: add some new pci ids
...
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-03 16:12:04 -04:00
Alex Deucher
c120d9d1cc
r600g: add some new pci ids
...
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-03 15:26:07 -04:00
Marcin Slusarz
a8bbce8d6d
st/xorg: flush after loading the cursor
...
We need cursor data to land in destination buffer before drmModeSetCursor.
It fixes "cursor lag" on nv50.
2011-05-03 16:36:54 +02:00