Commit Graph

43399 Commits

Author SHA1 Message Date
Christian König 4a0b80f00d [g3dvl] rework supicture handling
This gets ia44 and ai44 at least partial working
2011-03-25 23:38:50 +01:00
Christian König a17788ac49 [g3dvl] start implementing AI44 and IA44 subpicture 2011-03-25 21:10:56 +01:00
Christian König ce6f8331fa [g3dvl] make ref_surface handling more sane 2011-03-25 19:32:22 +01:00
Christian König da3c6dd099 [g3dvl] move sampler views for reference frames into context 2011-03-24 21:24:58 +01:00
Christian König 884cb79edf [g3dvl] make mapping and flushing of buffers a public interface 2011-03-24 20:33:32 +01:00
Christian König f65cdb9ea5 [g3dvl] fix configure.ac for r600 video targets 2011-03-22 21:58:28 +01:00
Christian König f08d3bb59b [g3dvl] buffers must be aligned to macroblock size 2011-03-22 21:52:06 +01:00
Christian König ba0bff8530 [g3dvl] make video buffer a public available interface 2011-03-22 19:58:21 +01:00
Christian König 52766c2c37 [g3dvl] handle different mc types more similary 2011-03-20 22:50:09 +01:00
Christian König f2c6affa36 [g3dvl] simplify motion vector calculation 2011-03-20 22:14:49 +01:00
Christian König bac8760f7f [g3dvl] rename motion vector fields 2011-03-20 21:34:38 +01:00
Christian König dd6cd206a6 [g3dvl] correctly implement non power of two buffers 2011-03-20 19:45:06 +01:00
Christian König 713a52d856 [g3dvl] cleanup idct init 2011-03-20 19:29:47 +01:00
Christian König 1a238efe42 [g3dvl] fix power_of_two buffer with/height handling 2011-03-20 19:00:50 +01:00
Christian König e9b305c100 [g3dvl] merge fixes 2011-03-19 12:26:17 +01:00
Christian König 74e1d64c6d r600g: revert some asm optimisations
They didn't have the desired effect and are still quite buggy
2011-03-19 11:40:22 +01:00
Christian König 2bf95c519e Merge remote branch 'origin/master' into pipe-video
Conflicts:
	src/gallium/drivers/r600/r600_asm.c
	src/gallium/tests/unit/SConscript
2011-03-19 01:02:40 +01:00
Christian König f36846c77e vdpau: add vdpau-r600 target 2011-03-19 00:06:47 +01:00
Christian König cbb3ad3d5a vdpau: fix formating and idention of surface.c 2011-03-19 00:06:46 +01:00
Christian König d1655b60b0 get softpipe winsys to compile again 2011-03-19 00:06:46 +01:00
Christian König 49f4aff75c vdpau: make indention and formating more sane 2011-03-19 00:06:46 +01:00
Christian König b90f569a0f vdpau: merge fixes for vdpau state tracker 2011-03-19 00:06:46 +01:00
Christian König 0719fdee2e fix chroma swizzle 2011-03-19 00:06:46 +01:00
Christian König 1d72cf6986 move empty block mask into mpeg12 context 2011-03-19 00:06:46 +01:00
Johannes Obermayr 8042d751de nouveau: Fix serious compiler warnings
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35025

Signed-off-by: Brian Paul <brianp@vmware.com>
2011-03-18 12:10:11 -06:00
Brian Paul 5b902a08c1 mesa: minor improvements in glTexEnvfv() 2011-03-17 20:31:58 -06:00
Brian Paul 582570a04c mesa: only report up to 50 _mesa_problem() calls
http://bugs.freedesktop.org/show_bug.cgi?id=35200 reports a disk
partition getting filled because of warning messages.  Stop emitting
after 50.
2011-03-17 20:31:58 -06:00
Brian Paul 147148fd50 swrast: report data type in error message 2011-03-17 20:31:58 -06:00
Kenneth Graunke 5e9aa9926b mesa: Remove the CompileShader driver hook; it's just a no-op. 2011-03-17 14:48:54 -07:00
Brian Paul cbadedb511 mesa: use _mesa_get_current_tex_unit() helper in BindTexture() 2011-03-16 21:13:31 -06:00
Brian Paul 552f54bf04 mesa: remove unneeded local var in BindTexture() 2011-03-16 21:13:31 -06:00
Brian Paul dfda559b98 mesa: clean up the glBindTexture early out code a bit 2011-03-16 21:13:31 -06:00
Christian König a1fecd09c2 [g3dvl] move mpeg12 context out of softpipe 2011-03-17 00:08:20 +01:00
Christian König e87bd8c957 [g3dvl] cleanup and documentation 2011-03-16 23:09:52 +01:00
Kenneth Graunke 2279156fe7 i965: Rename brw_(IF|CONT)_gen6 functions to gen6_(IF|CONT). 2011-03-16 14:18:03 -07:00
Tobias Droste f3a828c21f autoconf: don't use CFLAGS for cpp files
Signed-off-by: Tobias Droste <tdroste@gmx.de>
2011-03-16 13:54:50 -07:00
Kenneth Graunke 2baac48f39 i965: Rename BRW_DATAPORT_..._GEN6 messages to GEN6_... for consistency. 2011-03-16 13:51:44 -07:00
Kenneth Graunke cc48d663f7 i965: Rename BRW_SAMPLER_MESSAGE_..._GEN5 to GEN5_SAMPLER_MESSAGE.
We already have lots of GEN6_* defines; this seems more consistent.
2011-03-16 13:51:44 -07:00
José Fonseca b47d508412 svga: Leave any_user_vertex_buffers flag alone.
It is pointless to change, now that we don't replace user vertex buffer
with uploaded copy, per commit 52e598d200.
2011-03-16 15:46:21 +00:00
José Fonseca 74651f5738 svga: Hardcode SVGA_COMBINE_USERBUFFERS to 1.
The code no longer supports otherwise -- it relies on buffers being
uploaded via u_upload_mgr -- so make this clear.

Also, there's no need to flush after draws from user buffers, given all
user content should have been copied by then.
2011-03-16 15:43:00 +00:00
José Fonseca 8767fe2437 mesa: Sort extensions in extension string by year.
The years were obtained automatically by scraping the first year from
the spec text file.  They are approximate.
2011-03-16 11:38:53 +00:00
José Fonseca e08a3d674a svga: Use transfer information on buffer transfers.
Should prevent the assert failure

  svga_buffer_flush_mapped_range: Assertion `sbuf->map.writing' failed.

on nested transfers.
2011-03-16 11:21:12 +00:00
José Fonseca 6b3713f8b8 glsl2: Silence unused added variable gcc warning. 2011-03-16 09:16:01 +00:00
José Fonseca 5fc5820cbc mesa: Use typecast in BITFIELD64_BIT macro.
Unsigned long is 32bit on several platforms (e.g., Windows), yielding
1UL << 32 to be zero.

Note that BITFIELD64_BIT result is often assigned to variables of type
GLbitfield, instead of GLbitfield64. That's probably wrong and should be
addressed in a later change.
2011-03-16 09:15:30 +00:00
Brian Paul 11150e4667 mesa: use BITFIELD64_BIT() macro 2011-03-15 18:21:36 -06:00
Brian Paul aa878f94ab st/mesa: use BITFIELD64_BIT() macro in a few more places 2011-03-15 18:21:35 -06:00
Brian Paul d350ef1682 glsl: add cast to silence signed/unsigned comparison warning 2011-03-15 18:21:35 -06:00
Brian Paul d029ba9ec0 mesa: use 1UL for 64-bit unsigned constant for C++
This fixes C++ warnings where BITFIELD64_BIT() is used.
2011-03-15 18:21:35 -06:00
Ian Romanick 85caea29c1 glsl: Only allow unsized array assignment in an initializer
It should have been a tip when the spec says "However, implicitly
sized arrays cannot be assigned to. Note, this is a rare case that
*initializers and assignments appear to have different semantics*."
(empahsis mine)

Fixes bugzilla #34367.

NOTE: This is a candidate for stable release branches.
2011-03-15 16:41:23 -07:00
Daniel Vetter d04348aaf6 i915g: fix braino in the static state rework
For mip-map level rendering, both draw offset and size tend to change ...

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-15 21:49:25 +01:00