History log of /external/mesa3d/src/gallium/drivers/r300/r300_texture.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e81717e9e7c46eed05f9a29adaaf4c86306a8920 14-Sep-2012 Marek Olšák <maraeo@gmail.com> r300g: fix colormask with non-BGRA formats

NOTE: This is a candidate for the stable branches.
(cherry picked from commit 1e51d368eb5360378218217ff35731896f48512f)
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
7446a0407d4e61a826385c11ed6c401837baf095 16-May-2012 Michel Dänzer <michel.daenzer@amd.com> gallium/radeon: Fix r300g tiling breakage.

Commit 11f056a3f0b87e86267efa8b5ac9d36a343c9dc1 broke the r300g build. Fix it
up, and reinstate some code which isn't needed by r600g and radeonsi but is
by r300g.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
a784d86508a4b609d12ca07986d43005ff2686ae 26-Apr-2012 Marek Olšák <maraeo@gmail.com> r300g: use u_default_transfer_inline_write
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
a52b3338c6e51421e3836ae210cd98d9c1ec337b 10-Apr-2012 Marek Olšák <maraeo@gmail.com> u_vbuf: remove u_vbuf_resource
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
e05bc52b9ccbbf0ca7fa25196c5137b35d2c5c2e 17-Feb-2012 Marek Olšák <maraeo@gmail.com> r300g: don't use pipe_screen::winsys
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
6cd9159cea628c542d2233b54f6babb74e45f83c 12-Feb-2012 Marek Olšák <maraeo@gmail.com> r300g: always fail to create a multisample resource

Just to be safe.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
c0c979eebc076b95cc8d18a013ce2968fe6311ad 30-Jan-2012 Jerome Glisse <jglisse@redhat.com> r600g: add support for common surface allocator for tiling v13

Tiled surface have all kind of alignment constraint that needs to
be met. Instead of having all this code duplicated btw ddx and
mesa use common code in libdrm_radeon this also ensure that both
ddx and mesa compute those alignment in the same way.

v2 fix evergreen
v3 fix compressed texture and workaround cube texture issue by
disabling 2D array mode for cubemap (need to check if r7xx and
newer are also affected by the issue)
v4 fix texture array
v5 fix evergreen and newer, split surface values computation from
mipmap tree generation so that we can get them directly from the
ddx
v6 final fix to evergreen tile split value
v7 fix mipmap offset to avoid to use random value, use color view
depth view to address different layer as hardware is doing some
magic rotation depending on the layer
v8 fix COLOR_VIEW on r6xx for linear array mode, use COLOR_VIEW on
evergreen, align bytes per pixel to a multiple of a dword
v9 fix handling of stencil on evergreen, half fix for compressed
texture
v10 fix evergreen compressed texture proper support for stencil
tile split. Fix stencil issue when array mode was clear by
the kernel, always program stencil bo. On evergreen depth
buffer bo need to be big enough to hold depth buffer + stencil
buffer as even with stencil disabled things get written there.
v11 rebase on top of mesa, fix pitch issue with 1d surface on evergreen,
old ddx overestimate those. Fix linear case when pitch*height < 64.
Fix r300g.
v12 Fix linear case when pitch*height < 64 for old path, adapt to
libdrm API change
v13 add libdrm check

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
2cd7e5b737e1384bb6d27f3cc2c8524b07230d56 31-Dec-2011 Marek Olšák <maraeo@gmail.com> r300g: inline r300_resource_set_properties
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
ce9d61fec64138ebf8d0bec2511e66593297b7d5 29-Dec-2011 Marek Olšák <maraeo@gmail.com> r300g: rework resource_copy_region, not changing pipe_resource

Changing pipe_resource was wrong, because it can be used by other contexts
at the same time. This fixes the last possible race condition in r300g
that I know of.

This also fixes blitting NPOT compressed textures. Random pixels sometimes
appeared at the right-hand edge of the texture.

Finally, this removes r300_texture_desc::stride_in_pixels. It makes little
sense with sampler views and surfaces being able to override width0, height0,
and the format entirely.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
93f4e3cb6c1ca303ee1f5c2a2491a8eff33f2633 24-Dec-2011 Marek Olšák <maraeo@gmail.com> winsys/radeon: move managing GEM domains back to drivers

This partially reverts commit 363ff844753c46ac9c13866627e096b091ea81f8.

It caused severe performance drops in Nexuiz. Reported by Phoronix.

Tested by me on r300g and by IRC people on r600g.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
4298c88f656c191f3daca0c341850dd8c23f5f92 11-Dec-2011 Marek Olšák <maraeo@gmail.com> r300g: integer and fixed-point 16.16 textures are not supported
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
a04f8c361211dda6a27c5577070492e17a2f4743 20-Oct-2011 Marek Olšák <maraeo@gmail.com> r300g: don't return NULL in resource_from_handle if the resource is too small

The DDX may allocate a buffer with a too small size.
Instead of failing, let's pretend everything's alright.

Such bugs should be fixed in the DDX, of course.

NOTE: This is a candidate for the stable branches.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
866f9b18c68ede63c00917ec9c3dae3524ca8826 11-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: rename ZS stencil type to UINT (v2)

these are never USCALED, always UINT in reality.

taken from some work by Christoph Bumiller

v2: fixup formatting of table + tabs

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
20788a908b23362ca2804010f6ac8504894ed32c 08-Oct-2011 Marek Olšák <maraeo@gmail.com> r300g: remove unused r300_resource::tex_offset
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
363ff844753c46ac9c13866627e096b091ea81f8 27-Sep-2011 Marek Olšák <maraeo@gmail.com> winsys/radeon: move GEM domains out of the drivers into winsys

The drivers don't need to care about the domains. All they need to set
are the bind and usage flags. This simplifies the winsys too.

This also fixes on r600g:
- fbo-depth-GL_DEPTH_COMPONENT32F-copypixels
- fbo-depth-GL_DEPTH_COMPONENT16-copypixels
- fbo-depth-GL_DEPTH_COMPONENT24-copypixels
- fbo-depth-GL_DEPTH_COMPONENT32-copypixels
- fbo-depth-GL_DEPTH24_STENCIL8-copypixels
I can't explain it.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
af8eb5c851a9d566059ae9e37745614cd96b9a13 27-Sep-2011 Marek Olšák <maraeo@gmail.com> winsys/radeon: remove a redundant parameter 'size' from buffer_from_handle

It's part of pb_buffer already.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
7b42ed6eb508e2f0b89f66f3f985ef1d76a0ef91 27-Sep-2011 Marek Olšák <maraeo@gmail.com> r300g: remove useless variables in some structures
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
be7407b75b12c70e1925c10117937ae2b9e6711f 02-Aug-2011 Marek Olšák <maraeo@gmail.com> gallium/util: add functions for manipulating swizzles

Some of those have been in drivers already.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
7db148d3a5a350f80df8dc588e0079fda7aa378a 23-Jul-2011 Marek Olšák <maraeo@gmail.com> winsys/radeon: remove usage parameter from buffer_create
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
bc517d64dad41bc66ab5cc1c82d8d8111145d8a1 25-Jun-2011 Marek Olšák <maraeo@gmail.com> r300g: drop support for ARGB, ABGR, XRGB, XBGR render targets

Blending and maybe even alpha-test don't work with those formats.

Only supporting RGBA, BGRA, RGBX, BGRX.

NOTE: This is a candidate for the 7.10 and 7.11 branches.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
d35aeff4bb0b03450b2c3c08bd7f84db5bf43283 18-Apr-2011 Marek Olšák <maraeo@gmail.com> r300g/winsys: rename r300->radeon and do a little cleanup

Renaming a few files, types, and functions.
Also make the winsys independent of r300g.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
faba01d171a85399332e2ece8f66ba40495eda90 29-Mar-2011 Marek Olšák <maraeo@gmail.com> r300g: enable A/L/LA/I float render targets
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
10ea8567f49f4daaa654b6e4c365a816f855073b 08-Apr-2011 Marek Olšák <maraeo@gmail.com> r300g: fix texturing with sizes > 2048 on r500
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b3011ea60cc36a888da031ebac932d67473f4521 05-Apr-2011 Marek Olšák <maraeo@gmail.com> r300g: fix RG/LATC1_SNORM by doing UNORM->SNORM conversion in the shader
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
0420ae3d9069ff5cbe067bdd5c6075d9292dbe66 29-Mar-2011 Marek Olšák <maraeo@gmail.com> r300g: add support for all render targets with one and two channels

The hardware should be set according to this table:

FORMAT -> R300 COLORFORMAT
-------------------------
X16 -> UV88
X16Y16 -> ARGB8888
X32 -> ARGB8888
X32Y32 -> ARGB16161616

US_OUT_FMT must contain the real format.

I wasn't able to make B3G3R2 and L4A4 work, but those aren't important.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
2e6a69939c26ab8cc27bcab29ed64cec5e9428ee 14-Mar-2011 Marek Olšák <maraeo@gmail.com> r300g: finish up signed normalized textures and render targets
/external/mesa3d/src/gallium/drivers/r300/r300_texture.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.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
5ef807c0361ed73d598619918b1e16aab0de3044 07-Mar-2011 Marek Olšák <maraeo@gmail.com> r300g: add LATC support
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
a6314eb47f0c916c51362dfbd0f1db21e72745ee 02-Mar-2011 Marek Olšák <maraeo@gmail.com> r300g: require DRM 2.3.0 (kernel 2.6.34)

Running any older kernel is not recommended anyway.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
ea4a19c3920a81644138ba84be904b89397dd169 01-Mar-2011 Marek Olšák <maraeo@gmail.com> r300g: fix RGTC2_SNORM

ATI engineers have probably chosen those sign bits by a dice roll.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
66d5de74c44b92e481a9f6792e10bf4e3f688dfc 01-Mar-2011 Marek Olšák <maraeo@gmail.com> r300g: reorder parts of translate_texformat
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
7a61957424a457f416d20c2b366232fb4bbc7761 01-Mar-2011 Marek Olšák <maraeo@gmail.com> r300g: fix RGTC1_UNORM and RGTC2_UNORM

Signs don't work the way I'd like...
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
d99ec708afbb785ce05031661222b38c9447059f 28-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: fix HiZ memory size computation and deciding when to use HiZ

I removed the HiZ memory management, because the HiZ RAM is too small
and I also did it in hope that HiZ will be enabled more often.

This also sets aligned strides to HIZ_PITCH and ZMASK_PITCH.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
0495425dc3d9f1c12e30df3f8f7f450687d13d6b 27-Feb-2011 Dave Airlie <airlied@redhat.com> r300g: force swizzles for RGTC

still can't get signed to work
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
79ad6f5375253faff89bbc7eb6dc5949ba63e0ef 25-Feb-2011 Dave Airlie <airlied@redhat.com> r300g: explicit sign bits on RGTC textures
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
fa3f1348e49feeac511dbe5b22bbddc47f56ba81 16-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: fix a race between CS and SET_TILING ioctls
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
6ccab620a0e7364ab6c0d902b3ddf58ee988f7fa 23-Dec-2010 Marek Olšák <maraeo@gmail.com> r300g: import the last bits of libdrm and cleanup the whole thing

Based on Dave's branch.

The majority of this commit is a cleanup, mainly renaming things.
There wasn't much code to import, just ioctl calls.

Also done:
- implemented unsynchronized bo_map (important optimization!)
- radeon_bo_is_referenced_by_cs is no longer a refcount hack
- dropped the libdrm_radeon dependency

I'm surprised that this has resulted in less code in the end.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
7c24a4c6a86402be1f68d23f4d52d4d071957801 10-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: add a way to change texture properties arbitrarily

So that we can implement resource_copy on arbitrary data.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
56ba7e913fef0ea2b1bead582108f9ab3ab8263d 10-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: consolidate buffers and textures to r300_resource

Transfers and create/destroy are still handled separately.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
ce9c0d280104c8001a3ee360b07218ad3d260e46 10-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: simplify WRITE_RELOC API and cleanup
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
fc9170d0cf1c7a7dcd580e9da17742a6ab68bd1b 10-Feb-2011 Marek Olšák <maraeo@gmail.com> r300g: use format from pipe_surface instead of pipe_resource
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
2314a2f45ff29823413d12e93a325f361b46fdd7 10-Feb-2011 Marek Olšák <maraeo@gmail.com> Revert "r300g: support sRGB colorbuffers"

This partially reverts commit 91eba2567eab9409d94efc3c1f07a4a3731d0047.

Conflicts:

src/gallium/drivers/r300/r300_blit.c
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
d17d03a8dccb4bad25211693320459420409d997 03-Feb-2011 Henri Verbeet <hverbeet@gmail.com> r300g: Make the buffer and texture vbtls static const.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
2e3ccada076fe275d04d37dc60142230445d1007 27-Jan-2011 Marek Olšák <maraeo@gmail.com> r300g: rename flag squaretiling -> drm_2_1_0
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
db299a9f8244d53d9041fcdbd396a77ebe1f9e3e 25-Jan-2011 Marek Olšák <maraeo@gmail.com> r300g: fix some bugs with zbuffer compression (v4)

This drops the memblock manager for ZMASK. Instead, only one zbuffer can be
compressed at a time. Note that this does not necessarily have to be slower.
When there is a large number of zbuffers, compression might be used more often
than it was before. It's also easier to debug.

How it works:
1) 'clear' turns the compression on.
2) If some other zbuffer is set or the currently-bound zbuffer is used
for texturing, the driver decompresses it and then turns the compression off.

Notes:
- The ZMASK clear has been refactored, so that only one packet3 is used to clear
ZMASK.
- The 8x8 compression mode is disabled. I couldn't make it work without issues.
- Also removed driver-specific stuff from u_blitter.

Driver status:
- RV530 and R580 appear to just work (finally).
- RV570 should work, but there may be an issue that we don't correctly
calculate the number of dwords to clear, resulting in a partially
uninitialized zbuffer.
- RS690 misrenders as if no ZMASK clear happened. No idea what's going on.
- RV350 may even hardlock. This issue was already present and this patch doesn't
fix it.

I think we are still missing some hardware info we need to make the zbuffer
compression work fully.

Note that there is also an issue with HiZ, resulting in a sort of blocky
zigzagged corruption around some objects.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
91eba2567eab9409d94efc3c1f07a4a3731d0047 23-Jan-2011 Marek Olšák <maraeo@gmail.com> r300g: support sRGB colorbuffers

We are not required to do the linear->sRGB conversion if ARB_framebuffer_sRGB
is unsupported. However I think the conversion should work in hw except
for blending, which matches the D3D9 behavior.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
c420c0e7d6c4b8fac90fd6a64a49652ac58535fd 22-Dec-2010 Marek Olšák <maraeo@gmail.com> r300g: add support for B2G3R3 texturing
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
cb4f367b268b6fbedc6673b2c6e51d107e929370 22-Dec-2010 Marek Olšák <maraeo@gmail.com> r300g: fix precision issues with B10G10R10A2
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
d19b5cbd317620f3977e68fffb7a74793436b7e2 10-Dec-2010 Dave Airlie <airlied@redhat.com> r300g: fixup rs690 tiling stride alignment calculations.

The RS690 memory controller prefers things to be on a different
boundary than the discrete GPUs, we had an attempt to fix this,
but it still failed, this consolidates the stride calculation
into one place and removes the really special case check.

This fixes gnome-shell and 16 piglit tests on my rs690 system.

NOTE: This is a candidate for both the 7.9 and 7.10 branches.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
3ba8843307a909f35f2a04e6be6dcadd760ad82b 03-Dec-2010 Marek Olšák <maraeo@gmail.com> r300g: use internal BO handle for add_buffer and write_reloc

Small perf improvement in ipers.

radeon_drm_get_cs_handle is exactly what this commit tries to avoid
in every write_reloc.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.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).
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
6478a4de14d368bf85ba3477d73fd1bd91067e86 30-Nov-2010 Marek Olšák <maraeo@gmail.com> r300g: fix texture swizzling with compressed textures on r400-r500

This fixes all S3TC piglit/texwrap tests.

NOTE: This is a candidate for the 7.9 branch.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
8f7177e0de06877ae717250ccaa3ac292340b7be 02-Oct-2010 Marek Olšák <maraeo@gmail.com> r300g: add support for L8A8 colorbuffers

Blending with DST_ALPHA is undefined. SRC_ALPHA works, though.
I bet some other formats have similar limitations too.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
e75bce026c33ba670fd3146076fc2a2cf00f4371 02-Oct-2010 Marek Olšák <maraeo@gmail.com> r300g: add support for R8G8 colorbuffers

The hw swizzles have been obtained by a brute force approach,
and only C0 and C2 are stored in UV88, the other channels are
ignored.

R16G16 is going to be a lot trickier.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
94e9ab975cb4187a63eeb4cd03694ebd3cb27bd8 29-Sep-2010 Marek Olšák <maraeo@gmail.com> r300g: add support for formats beginning with X, like X8R8G8B8

This is actually a format translator fix.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
13359e6a4b732335cdd8da48276960d0b176ffe3 29-Aug-2010 Marek Olšák <maraeo@gmail.com> r300g: add support for 3D NPOT textures without mipmapping

The driver actually creates a 3D texture aligned to POT and does all
the magic with texture coordinates in the fragment shader. It first
emulates REPEAT and MIRRORED wrap modes in the fragment shader to get
the coordinates into the range [0, 1]. (already done for 2D NPOT)
Then it scales them to get the coordinates of the NPOT subtexture.

NPOT textures are now less of a lie and we can at least display
something meaningful even for the 3D ones.

Supported wrap modes:
- REPEAT
- MIRRORED_REPEAT
- CLAMP_TO_EDGE (NEAREST filtering only)
- MIRROR_CLAMP_TO_EDGE (NEAREST filtering only)
- The behavior of other CLAMP modes is undefined on borders, but they usually
give results very close to CLAMP_TO_EDGE with mirroring working perfectly.

This fixes:
- piglit/fbo-3d
- piglit/tex3d-npot
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
ab7cc445801b99a4482ea50429ceea1d0601a221 10-Sep-2010 Marek Olšák <maraeo@gmail.com> r300g: add new debug options for dumping scissor regs and disabling CBZB clear
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
cbf7e827869baeddab19c249bcea7afe49bc0f74 04-Sep-2010 Marek Olšák <maraeo@gmail.com> Revert "r300g: refuse to create a texture with size 0"

This reverts commit 5cdedaaf295acae13ac10feeb3143d83bc53d314.

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

Conflicts:

src/gallium/drivers/r300/r300_texture.c
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
c5b8ba9368fe935af9f350874f3c03f5a230d4b5 28-Aug-2010 Marek Olšák <maraeo@gmail.com> r300g: fix blitting between 2D NPOT mipmaps

Even though MIP filtering is not supported, we can bind an arbitrary mipmap
as the zero mipmap level.

NPOT textures now follow GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MIN_LOD.

This fixes piglit/fbo-copyteximage.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
ae0ef6f69f351cacdc7eaa9b21097a7c1b414e44 18-Aug-2010 Luca Barbieri <luca@luca-barbieri.com> gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT too

Searched for them with:
git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D'

Behavior hasn't been changed.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
6eb2a7fbafd49e75b6cbbee57f23dda63eff73ef 07-Jul-2010 Dave Airlie <airlied@redhat.com> r300g: implement hyper-z support. (v4)

This implements fast Z clear, Z compression, and HiZ support for r300->r500
GPUs.

It also allows cbzb clears when fast Z clears are being used for the ZB.

It requires a kernel with hyper-z support.

Thanks to Marek Olšák <maraeo@gmail.com>, who started this off, and Alex Deucher at AMD for providing lots of hints.

v2:
squashed zmask ram size fix]
squashed r300g/blitter: fix Z readback when compressed]

v3:
rebase around texture changes in master - .1 fix more bits

v4:
migrated to using u_mm in r300_texture to manage hiz/zmask rams consistently
disabled HiZ when using OQ
flush z-cache before turning hyper-z off
update hyper-z state on dsa state change
store depthclearvalue across cbzb clears and replace it afterwards.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
6f2936c654c68388b9c43a189a1b8c06f3a9d241 25-Jul-2010 Marek Olšák <maraeo@gmail.com> r300g: implement D24X8 texture sampling for r3xx-r4xx

Because the hw can't sample it, I reinterpret the format as G16R16 and
sample the G component. This gives 16 bits of precision, which should be
enough for depth texturing (surprisingly, the sampled values are exactly
the same as in D16 textures).

This also enables EXT_packed_depth_stencil on those old chipsets, finally.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
49330fc5ac13e25cb201e62995329cffaf5046f0 24-Jul-2010 Marek Olšák <maraeo@gmail.com> r300g: do not use TXPITCH_EN if the width is POT and the height is NPOT
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
d779a5d16ae6a17b3fc0c097f4eb477a80e54566 24-Jul-2010 Marek Olšák <maraeo@gmail.com> r300g: cleanup texture creation code

This decouples initializing a texture layout/miptree description
from an actual texture creation, it also partially unifies texture_create
and texture_from_handle.

r300_texture inherits r300_texture_desc, which inherits u_resource.

The CBZB clear criteria are moved to r300_texture_desc::cbzb_allowed[level].

And other minor cleanups.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
065e3f7ff2a9b6170e51b0104036088e8d163ea0 24-Jul-2010 Marek Olšák <maraeo@gmail.com> r300g: reject resources from handles which are not large enough

The driver gets a buffer and its size in resource_from_handle.
It computes the required minimum buffer size from given texture
properties, and compares the two sizes.

This is to early detect DDX bugs.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
4ce26210842176c4b280b7db85639ced40d4083d 24-Jul-2010 Marek Olšák <maraeo@gmail.com> r300g: cleanup texture debug logging
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
3adb5c7d45f4a38b0fbb66633c808f69082918cc 24-Jul-2010 Marek Olšák <maraeo@gmail.com> r300g: do not align texture height to 2^n for 1D and 2D non-mipmapped textures

I don't remember why the alignment was there, but it seems to be
no longer needed. I guess it was a dirty fix for some other bug.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
fe3caa91d3f637bf9cf9f9e7adb992aa8c7ef8e4 14-Jul-2010 Marek Olšák <maraeo@gmail.com> r300g: rebuild winsys and command submission to support multiple contexts
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
8c836f7f740c6f74511c727c7bed0680ddba9974 12-Jul-2010 Marek Olšák <maraeo@gmail.com> r300g: implement fast color clear

An initial implementation made by Dave Airlie.

For it to be used, a color-only clear must be invoked and exactly one
point-sampled render target must be set. The render target must be
macrotiled (for us to overcome alignment issues) and bpp must be either
16 or 32.

I can't see a difference in performance. :(

Conflicts:

src/gallium/drivers/r300/r300_blit.c
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
347c00c46e9ecf858a8c21abf58a706b658b5b37 09-Jul-2010 Marek Olšák <maraeo@gmail.com> r300g: allow the GTT domain for samplers

This fixes sluggishness in vdrift.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
61a26cdfdc9c75a83c0d362c973d5436fe077be4 08-Jul-2010 Marek Olšák <maraeo@gmail.com> r300g: store/return the stride for winsys_handle in winsys
/external/mesa3d/src/gallium/drivers/r300/r300_texture.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
e4fe18a6206560a3a562147d1033389ec977d607 20-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: cleanup buffer_{from, get}_handle
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
6e96cfa39a1d6705be6b3fc3bae651ba0450a336 20-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: cleanup includes
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
a916669468f059987eb7662840ac0ddb68534007 20-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: texture alignment code cleanup + use special alignment for AA textures
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
a91fea65dc574cc0ba2ccec936d60366b034489a 26-May-2010 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Moar MSAA setup.

Need to just add the resolve, then go switch to new DRM and test.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
3784b0fa69491aa14bdf6f7a61c4d5de2589d234 26-May-2010 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Fix indentation.

I could *not* let this slide since I'm on a 78-char-wide terminal.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
8874c9d7a3e59789843fa1b857e5318af17d146f 14-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: subclass pipe_surface
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
f571a569a03edc66ecd76d67f10db0a4bb600a40 09-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: debug output texture size
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
950be3fa3c22d67f3b80e7ed5d274d957f0bff93 09-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: return NULL texture early if buffer_create fails
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b4483823d9c1205fb9ab8cf5b4c36ee610347a36 07-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: fix 24-bit depth texturing

This is a secret texture format, do not tell anybody.
And it looks like we can read stencil in the shader too.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
e0d72814be13fbe8fec6a96978e92b1ec662c69c 03-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: set the minimum texture stride to 64 bytes on RS600, RS690, and RS740

I hope I've done it right. No way to test it here...
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b6b76cbb20b3d9467011231069e23972b98afa49 02-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: store the GEM domain in buffer and texture structs
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
19498be935328e284c7f0e456fc04cca8d465d4c 02-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: blit directly to/from GTT when transfering textures
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
37f3454eb3afa1297126a8d77a563d734c292a37 02-Jun-2010 Marek Olšák <maraeo@gmail.com> r300g: let the driver determine the GEM domain for buffer_create
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
21dfcde3ff54e0d01ddd2c79b14db82b57541433 31-May-2010 Marek Olšák <maraeo@gmail.com> r300g: set correct pitch in libdrm

to match what DDX sets. This prevents some flushes from occuring.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
60a053510155c119a6927bf7114e597066f8c50a 13-May-2010 Marek Olšák <maraeo@gmail.com> r300g: fix texture transfers

The regression has first shown up after this state tracker change:
b0427bedde80e3189524651a327235bdfddbc613.

FDO bug #28082.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
71584d0cc75dda3c579a2a0cb6c1ac9591f7d5c9 08-May-2010 Marek Olšák <maraeo@gmail.com> r300g: pass depth texture swizzle to the compiler if compare mode is enabled
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
3234066be221832f660f4e61fc6b0a92c5304780 05-May-2010 Vinson Lee <vlee@vmware.com> r300g: Fix memory leak on error path.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
88512e837e45b72c33a7d28ccf02f00580a4cf10 04-May-2010 Marek Olšák <maraeo@gmail.com> r300g: advertise S3TC only when it's available in Gallium
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
ac6a26b429d70395cf6def04d2d9c8cf1bd2c964 03-May-2010 Marek Olšák <maraeo@gmail.com> r300g: use util_format_short_name and util_format_is_plain
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
5cdedaaf295acae13ac10feeb3143d83bc53d314 03-May-2010 Marek Olšák <maraeo@gmail.com> r300g: refuse to create a texture with size 0
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
0bcb4f10016fb611b2946307d880f4dc1dd05eae 03-May-2010 Marek Olšák <maraeo@gmail.com> r300g: improve texture debug output, split into TEX and TEXALLOC flags
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
9dd06b8da45aa8100d61a09fc93c1bdfc16e9df8 29-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: fix tests/yuvrect and possibly even rendering to YUV textures
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
2ba0c64c26d3ec9b2806f577020d4fde826a858d 29-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: enable the RGBA16F renderbuffer too
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
195160f8e9524c89919ed39dccf7c6b226c6ca08 29-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: enable float textures

We still need to wait for state tracker support.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
3b667700a5d88b71e6e7a41d1521754b393c022e 29-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: compose swizzles from texture formats and sampler views
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b7fa7e8da6239333bd9327eac1a3015c668d215b 27-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: fix mipmapped texture3D size calculation

I accidentally inverted the condition. :(
Broken since the commit 2579fe4044012a552c8be222ffae76b48de13592.
FDO bug #27851.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
2579fe4044012a552c8be222ffae76b48de13592 26-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: emit MSPOS regs
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
f189caeed046e05bfeec8adf2ebeaae01d1bf2f6 20-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: add is_rv350 flag
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
7a1b5c937fa32968a04a11649e456a1ef8c5b442 18-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: do not tell st that a buffer is referenced by hw

It saves a few libdrm calls and unnecessary flushes.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
0b4df63609e9fb25319debd56142a90b11d75671 18-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: various other cleanups

It seems to me that the resource management code is the most blurry.

Also some of my notes about fastfill are wrong, removing them too.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
5b609badf7682da2377c5e67ab827b2dc3a06b9b 18-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: add debugging options "notiling" and "noimmd" (for testing)

notiling = Disable texture tiling
noimmd = Disable immediate mode (this optimization was really worth it!)
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
c383defdaacab0fe7f35e7a4ae5b57228cf5310c 17-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: always create microtiled zbuffer regardless of texture dimensions
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
2e7785be22181d6c6a10d2fd665bc41f8912b027 11-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: fix mipmapped 3D textures

This is a bug in the CS checker causing CS being rejected.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
e1208bbeaeefd12a445cef84cbd12b7dc346531f 11-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: support some exotic sampler formats
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
1c356ac95b6df0962dbd15311ff7e0ea172e1aea 11-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: cleanup handling of sampler views

The evolution of TX_FORMAT bits is as follows:
* When a texture is created, set bits independent of pipe_format.
* When a sampler view is created, add format-specific bits.
* When sampler states and views are getting merged, add min/max LOD.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
26a54ed6fddd42d8dba3d0c18d9d23ea63c62807 10-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: pick up some new colorbuffer formats
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
287c94ea4987033f9c99a2f91c5750c9083504ca 10-Apr-2010 Keith Whitwell <keithw@vmware.com> Squashed commit of the following:

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

gallium: don't use generic get_transfer func for textures

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

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

i915g: Initialize screen surface function.

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

Merge commit 'origin/master' into gallium-resources

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

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

Merge commit 'origin/master' into gallium-resources

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

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

scons: Add missing sources.

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

gallium: fix another compile warning after merge. Hmpf.

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

gallium: fix comment

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

util: Fix type cast.

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

libgl-gdi: Use proper unwrap functions for resources.

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

gallium: more comments fixup

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

gallium: another fix after merge

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

gallium: more pipe_texture/resource fixes after merge

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

gallium: fix comments for changed USAGE flags

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

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

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

llvmpipe: fix merge glitches

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

r300g: update after merge for pipe_resources

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

st/mesa: fix old pipe_texture usages

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

r300g: remove unused variable

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

nv50: fix compiler warning

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

Merge commit 'origin/master' into gallium-resources

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

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

util: fix assertion failures in pipe_buffer_flush_mapped_range

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

docs: fix transfer_map description

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

util: fix up several uses of pipe_map_buffer_range

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

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

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

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

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

mesa/st: fix up several uses of pipe_map_buffer_range

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

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

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

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

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

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

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

nv50: fix compiler warning

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

nvfx: fix compiler warning

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

mesa/es: Fixes for gallium-resources.

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

r300g: fix transfers for textures created from winsys handles

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

nouveau: don't use the staging usage

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

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

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

i965: add brw_resource.c to Makefile

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

nouveau: fix for gallium-resources

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

gallium: fix missing includes

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

gallium: remove video interface and related stuff

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

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

python: fixes for resource changes

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

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

gallium: s/u_box_orgin_2d/u_box_origin_2d

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

r300g: fix segfault when the transfers functions are used

Still broken.

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

r300g: compile fixes

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

nvfx: more compile fixes

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

gallium: more mostly merge fallout fixes...

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

Merge commit 'origin/master' into gallium-resources

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

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

gallium: more fixes for bind changes

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

gallium/docs: some updates for bind changes

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

gallium: more bind change compile fixes

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

compile fixes

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

fix some merge issues

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

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

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

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

docs: some updates for pipe_resource

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

nvfx: fix for gallium-resources

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

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

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

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

nv50: fix build in gallium-resources

Not actually tested.

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

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

st/egl: fix up for binding flags

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

r300: restore 4k alignment for oqbo buffers

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

gallium: bind flags

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

i965g: scons compile fixes

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

nouveau: drm compile fix

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

r300g: pipe_resource compile fixes

bring back mistakenly deleted radeon_buffer.h
plus some more

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

softpipe: Map GS constants, too.

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

failover: update for pipe_resources

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

identity: remove double is_resource_reference assignment

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

trace: compile fix

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

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

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

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

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

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

scons: Update file lists after gallium-resources changes.

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

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

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

ws/nouveau: remove pipe_texture reference

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

ws/xlib: remove pipe_buffer reference in comment

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

st/vega: clean up reference to pipe_texture

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

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

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

st/xorg: update for pipe_resources

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

st/dri: update for pipe_resources

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

st/egl: update for pipe_resources

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

r300: drop use of R300 DONT SYNC flag

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

pipebuffer: use transfer flag

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

Merge commit 'origin/master' into gallium-resources

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

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

cell: attempt to convert to pipe_resources

Can't even compile test this driver.

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

nvfx: restore usage of pipe_winsys

The interface that cannot be killed...

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

nv50: fix warning

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

util: restore u_simple_screen, nouveau still relies on it

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

nouveau: convert nvfx and nv50 to pipe_resources

Compile tested only.

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

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

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

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

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

r300: fix compilation after merge

Also build r300 by default.

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

st/vega: fix up after merge

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

aux: remove unused piperesource helpers

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

Merge commit 'origin/master' into gallium-resources

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

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

drm/r300: update for r300g pipe_resources conversion

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

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

r300: convert to pipe_resources

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

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

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

gallium: update new merges to pipe_resource

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

drm/sw: update new merges to pipe_resource

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

vg: update new merges to pipe_resource

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

llvmpipe: update new merges to pipe_resource

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

brw: pipe_resource fixes

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

util: update new merges to pipe_resource

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

Merge commit 'origin/master' into gallium-resources

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

Merge commit 'origin/master' into gallium-resources

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

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

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

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

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

util: missing file

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

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

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

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

gallium: start a cleanup of buffer_usage

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

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

llvmpipe: don't FREE userbuffer data

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

Merge commit 'origin/master' into gallium-resources

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

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

svga: build fixes

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

gallivm: build fix

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

llvmpipe: convert to pipe_resources

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

gallivm: convert to pipe_resources

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

configs: build svga

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

gallium: restore PIPE_BUFFER_USAGE_CUSTOM

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

util: more transfer helpers

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

svga: convert to use pipe_resrource

As with others so far, a fairly shallow conversion.

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

brw: fix function name

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

gallium: enable brw compile

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

brw: compiles with pipe_resource

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

i915: hook up userbuffer create

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

i915: use helpers for is_resource_referenced

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

util: helpers for is_resource_referenced

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

i915: remove buffer.c again

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

i915: add new files to scons

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

i915: compiling with pipe_resources

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

gallium: remove inline_read transfer

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

trace: get running

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

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

gallium: remove the inline_read transfer

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

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

identity: hook up inline transfer operations

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

gallium: build trace and identity

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

gallium: add more of the transfer state to pipe_transfer

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

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

identity: compiles with pipe_resources

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

trace: compiles with pipe_resources

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

softpipe: give userbuffers a format other than NONE

Most mesa demos working

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

util: correct argument order in pipe_buffer_map

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

softpipe: transfer flush

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

util: noop implementation of transfer_flush_region

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

gallium: softpipe runs gears with pipe_resources

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

util: get clip_tile working again

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

softpipe: use u_transfer helpers

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

util: helpers for inline transfers

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

util: fix typo calculating transfer box

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

st/vega: convert to pipe_resource

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

gallium: begin converting drivers to pipe_resource

Work in progress...

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

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

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

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

heaps of wip

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

wip2

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

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

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

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

wip
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
e7f1e5ca648d6c96d056d3ae8eab65e98f47f311 10-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: align the height of NPOT textures to POT

Needed by the CS checker.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
f43c679c0be8c999a3d9c25a442c22faca5247cf 10-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: do not use tiling for scanout buffers
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b05ada76a5473d901ac9c352af3a05a24ed21363 05-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: enforce microtiled zbuffer from X server

This should be relatively safe, I think.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
a1f85cf689b6f9ccf6b7310485460f84c8d78cad 05-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: typecast using the r300_texture function
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b71bfc4400e1d7c15a2bebbbd3b26a8770fbf546 05-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: simplify accessing screen from context
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
4e949271c25ccc5a06fbbbe912b0b43b75d1d169 04-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: is_npot -> uses_pitch
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
d605b0db4d4318d2616fffc158e57732c416c5c3 04-Apr-2010 Dave Airlie <airlied@redhat.com> r300g: fix TFP stride override.

We should use pitch for the overriden state, fixes one half of the tfp test.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
6eb892cc12047af36f4eb42050f1d2e57b0f3a3c 04-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: do not use the c++ template keyword

It makes life for some code browsing utilites easier.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
e0848bd90378ba633cfa57013c650e892d931f74 03-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: properly setup textures from X server

The setup needs be done after querying tiling flags.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
4c26cdbe01619abad413b09317f2842dcf1a4d57 03-Apr-2010 Dave Airlie <airlied@redhat.com> r300g: fix color tiling for buffer from X server.

The tiling setup needs a bit of work, but this should be good enough for now,
when we get buffers from the kernel we need to store their tiling properties.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
e6be593fbf7ab7683c0b8233939623438a23ec41 01-Apr-2010 Vinson Lee <vlee@vmware.com> r300g: Remove unnecessary header.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
2ab737557258148d52d9b9e983e4b18560b7a460 01-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: add RGBA16F colorbuffer support

Disabled by default due to unresolved IP issues.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
3252651fb291d7e6e4af5fed8ab461f603574cd6 01-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: add RGTC texture support

The CS checker already knows about this.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
39e116e3a0dce1a13dbb4395585cd3873e5ed073 01-Apr-2010 Marek Olšák <maraeo@gmail.com> r300g: format handling cleanup
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
733df0059f04e3fd7e3265d3c80dd8029f939c60 30-Mar-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'master' into gallium-new-formats

Conflicts:
src/gallium/auxiliary/util/u_format.csv
6fb364a1717858d8201b2caf234076ce5d4832ac 30-Mar-2010 Roland Scheidegger <sroland@vmware.com> gallium: adapt all code to the renamed depth/stencil formats
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
28cf5e1191077e063fe2a81d9d35934b71d001e2 29-Mar-2010 José Fonseca <jfonseca@vmware.com> r300: UTIL_FORMAT_LAYOUT_COMPRESSED -> UTIL_FORMAT_LAYOUT_S3TC.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
a43618fdc4e046f946d5f0de6dd8a421b66e9498 27-Mar-2010 Mathias Fröhlich <Mathias.Froehlich@web.de> r300g: fix macrotiling for non-square textures

FDO bug #27338.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
9fc6c8b831e5b43ae86ece6a531fc892f6f66356 21-Mar-2010 Marek Olšák <maraeo@gmail.com> r300g: disable tiling for YUV formats
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
8bf9842fac00369b5cd3a82fb4d87db0e31848b8 21-Mar-2010 Marek Olšák <maraeo@gmail.com> r300g: fix scons build
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
12dc4971735a8703c298d35eb21e3d1a2e053217 14-Feb-2010 Marek Olšák <maraeo@gmail.com> r300g: add and enable square microtiling

It requires DRM 2.1.0 (e.g. kernel 2.6.34) and is disabled on older ones.

Finally, the texture tiling implementation is now complete. Uff.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
33d2349119ada410dbfbaa667fc7aef8b60d1a6f 21-Mar-2010 Marek Olšák <maraeo@gmail.com> r300g: cleanup tiling flags propagation
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
f6e987ce7839d66edb88403d2c9ac1b28db2832b 18-Mar-2010 Marek Olšák <maraeo@gmail.com> r300g: add PIPE_FORMAT_B5G5R5X1_UNORM colorbuffer support, cleanups
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
0c81739528fd8f240176bb120c90c712f9606718 18-Mar-2010 Marek Olšák <maraeo@gmail.com> r300g: mark SRGB colorbuffers as unsupported

I can't find the register bits for SRGB-aware blending and it's not even
exposed by fglrx so it's most probably not supported by hw.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
68e58a96e80865878e6881dc4d34fcc3ec24eb19 12-Feb-2010 Dave Airlie <airlied@redhat.com> r300g: rebuild screen/winsys interface

This creates a cleaner winsys and drop the simple screen stuff.

It makes r300g use pb_bufmgr structs.

It also tries to avoid overheads from mapping too often.

v5: clean warnings

v6: break out of cache check on first buffer - since most likely
the first busy one implies all after it are busy.

v7: cleanup a bit

v8-merged: drop cman for now to just get all the interface changes in first.
rework to changes that happened upstream

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
6f4ce4a4fed9f0f0f0ee89a63e406ab86dae7150 09-Mar-2010 Keith Whitwell <keithw@vmware.com> Squashed commit of gallium-no-texture-blanket

commit f90b3f01af82b9522067b1824e21709a6fb2d3af
Author: Keith Whitwell <keithw@vmware.com>
Date: Mon Mar 8 14:39:44 2010 +0000

gallium: remove p_screen::surface_buffer_create

This isn't very useful without texture_blanket(), which has also been
removed.

Note that this function hasn't been removed from the old pipe_winsys
(u_simple_screen) still used internally by some drivers (eg softpipe).

commit 6c462de39a4b9980a5f034a95e580efdfcb8173b
Author: Keith Whitwell <keithw@vmware.com>
Date: Mon Mar 8 14:27:40 2010 +0000

egl/x11: disable texture_blanket usage

commit b42da9160df9f47224e5b3291b972f41767aa6e5
Merge: 4be2436 3ca9336
Author: Keith Whitwell <keithw@vmware.com>
Date: Mon Mar 8 14:27:24 2010 +0000

Merge commit 'origin/master' into gallium-no-texture-blanket

Conflicts:
src/gallium/drivers/svga/svga_screen_texture.c

commit 4be2436316929e3dfc55bc34d810920c06556b66
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 4 14:59:26 2010 +0000

gallium: remove texture blanket call

No longer needed, except for nouveau and egl/xll/native_ximage.c.

Fix for nouveau is to keep the call, but move it to an internal
function within nouveau.

Fix for that egl/x11 relies on gallium-sw-api branch or its successor.

commit 69b6764330367d63c237d0bde9fb96435d0e0257
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 4 13:35:16 2010 +0000

drm_api: wrap comment
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
3ca933623cf0fd3b025ab7d1b37d3fd01c854807 08-Mar-2010 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/gallium-winsys-handle-rebased'
57a1395ec3f8eb01af6cfea3fd6b5903dcc61720 19-Feb-2010 Marek Olšák <maraeo@gmail.com> r300g: disable macrotiling when the texture height is smaller than a macrotile

Otherwise incorrect rendering occurs (no idea why).
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b37d63337596aabc543ea7ecfa82f0f9fdbade69 14-Feb-2010 Marek Olšák <maraeo@gmail.com> r300g: enable micro- and macrotiling for all textures and renderbuffers
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
6c7fac846ef99cde5305cf1011b4570bd1901625 14-Feb-2010 Marek Olšák <maraeo@gmail.com> r300g: add ability to tile/detile textures using blit during transfers
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
4b61fd22a87342bafc3da2264b68537c6eb80375 04-Mar-2010 Keith Whitwell <keithw@vmware.com> r300g: remove dead r300_get_texture_buffer function
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
c51f7a48cde970c06a42a9ca195a2d1cf808fd2c 03-Mar-2010 José Fonseca <jfonseca@vmware.com> r300: Remove PIPE_FORMAT_R8G8B8X8_SNORM support.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b5cfa6f1966557106a7033b2c80769d64c72ce4c 01-Mar-2010 José Fonseca <jfonseca@vmware.com> r300: Rename pipe formats.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
568a3c73652f02e8b0fee7693578c8fd2013d97f 01-Mar-2010 José Fonseca <jfonseca@vmware.com> r300: Remove PIPE_FORMAT_A8B8G8R8_SNORM.

PIPE_FORMAT_R8G8B8A8_SNORM already listed.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
a2bcdb7e509fde231846f3af09bef38ed1df4068 01-Mar-2010 José Fonseca <jfonseca@vmware.com> r300: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
d160eed005e75d8933562f4880dfc84033011ac5 01-Mar-2010 Jakob Bornecrantz <jakob@vmware.com> r300g: Conversion to to winsys handle
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
3a26193fd58e3cde277f63dcb9ea049a82860398 01-Mar-2010 José Fonseca <jfonseca@vmware.com> r300: Don't implement PIPE_FORMAT_R8G8B8X8_SNORM.

This format is not actually used by any state tracker. Probably the
reverse notation was mean, which would make it identical to
PIPE_FORMAT_X8B8G8R8_SNORM.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
d2ac3d5e79bdf5a32a2dca135403d963ac6c83e4 28-Feb-2010 Marek Olšák <maraeo@gmail.com> r300g: atomize texture and sampler states
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
f9f4f3df422334aee31f9041c374c72d0f97ba39 24-Feb-2010 José Fonseca <jfonseca@vmware.com> r300: Update for UTIL_FORMAT_LAYOUT_xxx changes.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
232f6e176192d112fbdf9bd7de2d0f36ee16a246 23-Feb-2010 Marek Olšák <maraeo@gmail.com> r300g: fix texture swizzling for the SRGB formats
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b14548ea32000459f4f0c4b49f3fa11d1ee9c003 22-Feb-2010 Dave Airlie <airlied@redhat.com> Revert "r300g: rebuild winsys/pipe buffer handling and add buffer map"

This reverts commit fff5be8e7b4557c221f2425dcafc2e7cbbba76ba.

Probably went too soon with this, dileX reported OA not working for him
it works here fine, but the optimisations I wanted aren't working properly
yet so I'll fix that now.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
fff5be8e7b4557c221f2425dcafc2e7cbbba76ba 12-Feb-2010 Dave Airlie <airlied@redhat.com> r300g: rebuild winsys/pipe buffer handling and add buffer map

This creates a cleaner winsys and drop the simple screen stuff.

It makes r300g use pb_bufmgr structs and adds usage of the cached
bufmgr for vertex/index buffers.

It also avoids mapping too often.

I'm not 100% sure this is perfect but it won't find its own bugs.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
3c244dac47195cce3fdcb05176e38d33b2cad8ed 20-Feb-2010 Marek Olšák <maraeo@gmail.com> r300g: precompute framebuffer register values
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
5c14fd1743701776d128c2c1d25244f4de371ebe 20-Feb-2010 Marek Olšák <maraeo@gmail.com> r300g: make r300_translate_texformat private

Unlikely to increase performance from inlining.

And partially expose it through r300_is_sampler_format_supported.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
c608e19328758842d77dc4da3c8109fe0feb8e86 08-Feb-2010 Marek Olšák <maraeo@gmail.com> r300g: add macrotiling support to texture setup
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
f22ddd8e4743dbbfea2fac6c54837b30cbb1eb0e 14-Feb-2010 Marek Olšák <maraeo@gmail.com> r300g: accelerate blitting for all formats by faking the texture format
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
06f76e4a6b8a3949918e55643f39525de1276815 14-Feb-2010 José Fonseca <jfonseca@vmware.com> r300g: Use util_format_name().
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
67b60b99348f50ead92e617a5085422da9d8c022 09-Feb-2010 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Correct colorbuffer measurements.

Also clarify changes from pointminmax.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b7a002df1e06504ff1ed0dc005c9b10aa4be54f7 17-Jan-2010 Marek Olšák <maraeo@gmail.com> r300g,radeong: set tiling flags in libdrm
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
cd553ec8be14eea7db2d21b9f26ea6e72474a471 16-Jan-2010 Marek Olšák <maraeo@gmail.com> r300g: do not align compressed textures to a tile size
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
8959608051ef8e4a97214323009d09c5e9e633fb 09-Jan-2010 Marek Olšák <maraeo@gmail.com> r300g: output texture debug messages if only RADEON_DEBUG=tex is set
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
46992664d18ce28ce9dbbf43ccc94443e1fdd00c 10-Jan-2010 Marek Olšák <maraeo@gmail.com> r300g: update the texture initialization so that it respects tiling

This is still work-in-progress and tiling is not enabled by default.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
ce1c493ff8fad4b62e2b66f06636ac6560a6e0ad 12-Jan-2010 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Always emit scissors.

Save some code, improve FPS, and fix piglit tests. Everybody wins.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b1ed72ebe2599ec178f51d86fd42f26486b9a19b 17-Dec-2009 Michal Krol <michal@vmware.com> Move the remaining format pf_get_* functions to u_format.h.

Previously they depended on format blocks, but after removing those
they started depending on format encoding.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
16c6dce013f089d072256652f012b3b604781bfd 17-Dec-2009 Michal Krol <michal@vmware.com> Merge branch 'master' into pipe-format-simplify

Conflicts:
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_pstipple.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/auxiliary/util/u_surface.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/drivers/cell/ppu/cell_texture.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/softpipe/sp_tile_cache.c
src/gallium/drivers/svga/svga_state_vs.c
src/gallium/include/pipe/p_format.h
src/gallium/state_trackers/dri/dri_drawable.c
src/gallium/state_trackers/egl/egl_surface.c
src/gallium/state_trackers/python/p_device.i
src/gallium/state_trackers/python/st_softpipe_winsys.c
src/gallium/state_trackers/vega/api_filters.c
src/gallium/state_trackers/vega/image.c
src/gallium/state_trackers/vega/mask.c
src/gallium/state_trackers/vega/paint.c
src/gallium/state_trackers/vega/renderer.c
src/gallium/state_trackers/vega/vg_tracker.c
src/gallium/state_trackers/xorg/xorg_crtc.c
src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/state_trackers/xorg/xorg_exa.c
src/gallium/state_trackers/xorg/xorg_renderer.c
src/gallium/state_trackers/xorg/xorg_xv.c
src/gallium/state_trackers/xorg/xvmc/surface.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
src/gallium/winsys/drm/radeon/core/radeon_buffer.c
src/gallium/winsys/egl_xlib/sw_winsys.c
src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c
src/gallium/winsys/gdi/gdi_softpipe_winsys.c
src/gallium/winsys/xlib/xlib_cell.c
src/gallium/winsys/xlib/xlib_llvmpipe.c
src/gallium/winsys/xlib/xlib_softpipe.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_texture.c
6df42d80234d13676fc3207cf44f0e371e3372b5 03-Dec-2009 Michal Krol <michal@vmware.com> Move pf_get_block() to u_format auxiliary module.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
c78748a5274e58bcbb122923edf81065be9bbe16 02-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium: adapt drivers to interface cleanups
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
c95cbd45c657ac47e908a4d99d118737034bde43 27-Nov-2009 Roland Scheidegger <sroland@vmware.com> Merge branch 'width0'

Conflicts:
src/gallium/drivers/r300/r300_texture.c
src/gallium/state_trackers/xorg/xorg_exa.c
src/mesa/state_tracker/st_cb_texture.c
d509f84543d0979e9bb53c20c195f378dd61e728 26-Nov-2009 Roland Scheidegger <sroland@vmware.com> gallium: fix more statetrackers/drivers for not using texture width/height/depth arrays
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
b7078a88119e248b0196f7446abe029c22f1ee28 14-Nov-2009 Marek Olšák <maraeo@gmail.com> r300g: add texture lod clamping

These now work:
piglit/lodclamp
piglit/levelclamp
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
c9928ac3ee5dc0d10127388f9312779a6c59da7c 31-Oct-2009 Marek Olšák <maraeo@gmail.com> r300g: correct the pitch calculation for smaller mipmaps
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
63c9450ae776ff4207422442dd8c3d9d13a05e7a 30-Oct-2009 Marek Olšák <maraeo@gmail.com> r300g: add precalculating of pixel pitch, add a new NPOT flag
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
81c51bb67f97c60e21a5e7cf87e154bb46ee481b 28-Oct-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Fix XXX.

Nothing strange here.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
827002f5ff990f8676385583275d6b8090abfb7a 26-Oct-2009 Marek Olšák <maraeo@gmail.com> r300g: add cubemap support

Also, set a pitch for rectangles only.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
c2df759cd73e281c4698c717e0ab89757a7affd5 25-Oct-2009 Marek Olšák <maraeo@gmail.com> r300g: fix redefining mipmaps and fetching from them
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
118dfe16887d1ec4d3b96d49b76fffa0d2924132 25-Oct-2009 Marek Olšák <maraeo@gmail.com> r300g: added support for 3D textures

Mipmaps not tested. Also, I am not sure why piglit/texturing/tex3d needs
to have color tolerance +-1 to pass. The classic Mesa driver doesn't
need that.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
034db65f08b943ee9940947db69e4e190f751061 22-Oct-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Update comments, asserts, indents in r300_texture.

I wish I knew enough about textures to really really REALLY fix that file.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
6a448a525baf81173f92ee8c3074b98baa54397b 21-Oct-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Cleanup header includes.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
a74e53ddba246b1f6604c6120b63a923fd9c60d5 10-Oct-2009 Cooper Yuan <cooperyuan@gmail.com> r300g: add video surface create and destroy functions
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
eb5dd947fbed35478784e777fe2e59564fee051b 26-Sep-2009 Dave Airlie <airlied@redhat.com> r300g: add tx depth support in register.

also enable cube/3d bits in txformat reg
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
9bf85f6b95cb684d16b6035381b1f8a9c44f473f 26-Sep-2009 Dave Airlie <airlied@redhat.com> r300g: only pass complete texture state to hw setup function

No point passing things twice here, also allows more state
to be setup properly.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
07183b73ebafe2d1083f1c572978317768725b99 26-Sep-2009 Dave Airlie <airlied@redhat.com> r300g: fix texture pitch to correct value.

pitch is pixels - 1, not bytes.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
9ca94f91a3b48350b02a8fec5ecf60a819a24de5 21-Sep-2009 Nicolai Hähnle <nhaehnle@gmail.com> r300g: Fix bad formatting parameters in calls to debug_printf

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
3cb30e55e48d86aa5f660e670e055d6b258ea54a 12-Sep-2009 Nicolai Hähnle <nhaehnle@gmail.com> r300g: There is no such thing as "texture stride"

Individual texture images have a stride, but textures as a whole do not.

There are still pieces of code which are confused about this, but the core of
the confusion is hopefully gone.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
847fcb645c1d0c69617f0cafe8e6410e13f08fa6 08-Aug-2009 Corbin Simpson <MostAwesomeDude@gmail.com> gallium: Move minify() to u_math.

minify() is usually used in mipmap size calculation. Strangely enough,
we all defined it as MAX2(1, d >> 1); imagine that. :3
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
048f988aeb06fa360c6c41eaa50cb96b4b86e34e 04-Aug-2009 Michel Dänzer <daenzer@vmware.com> r300g: Slightly saner initialization of some texture / transfer fields.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
7a10472f095ef0f9f6109ca17d8be16836e56509 27-Jul-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Fix two trivial texture size issues.

Next thing to fix: progs/tests/mipgen.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
2cbd5ecfb666a757c4abef85dbe40fb53d647ec9 24-Jul-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Add some debugging, correct little bits of math in texture setup.

Simple stuff still works, but not sure about some of the more complex things.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
ca28e591f2cf62b2c20558bf4f310093067b6209 13-Jul-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Use align() instead of inline maths.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
1aa38b2c2d80b67fe2eefe468f90aeb44bc20259 08-Jul-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium: Mipmap setup.
(cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316)
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
aac6648cd8b27cb6653ac4a9722a49868b221447 27-Jun-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300g: Use real texture formats.

What bugs me is that the YUV444 format somehow worked properly. :3
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
ce758a21b9984cce14db4234fbe353d06a3a2d32 09-May-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium: Fix bad cast. Space accounting completely works now.

Boy, is my face red. :C
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
cd59933d9f70c6acea63013f1b773b545026bf81 09-May-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium, radeon: A couple cleanups.

Trying to track down goddamn bugs. :C
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
d332f8b4efae39f09454593374ff939a08af7619 26-Mar-2009 Michel Dänzer <daenzer@vmware.com> gallium: Remove some little-used fields from struct pipe_surface.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
7c204c975381b0ef4a7693827ffc4ff904de991c 12-Mar-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium: Actually set stride when creating textures.

Duh.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
9d9e0815be41fa72ff5df6752b02551b648b33b6 10-Mar-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium: First stab at texture support.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
5e27cd46c04a9e7b5904cc014bffd0f4daae31fe 04-Mar-2009 Michel Dänzer <daenzer@vmware.com> gallium: Unify reference counting.

The core reference counting code is centralized in p_refcnt.h.

This has some consequences related to struct pipe_buffer:

* The screen member of struct pipe_buffer must be initialized, or
pipe_buffer_reference() will crash trying to destroy a buffer with reference
count 0. u_simple_screen takes care of this, but I may have missed some of
the drivers not using it.
* Except for rare exceptions deep in winsys code, buffers must always be
allocated via pipe_buffer_create() or via screen->*buffer_create() rather
than via winsys->*buffer_create().
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
60041203d5847de8ab71842a6ce5d33d96cc4930 04-Mar-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium, radeon-gallium: Continue migration to DRI2 state_tracker, part 2.

Almost there. glxinfo still works, and AFAICT so does trivial/clear.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
2b5770e652f0e6620b52971755bd7eb31c16ad7d 28-Feb-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium: Fix C99 error.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
310ea0354c75be693874bd63b5508eb7b3107f27 18-Feb-2009 Joakim Sindholt <opensource@zhasha.com> r300-gallium: implement simple pipe_transfer Basically make the driver compile and behave like it did before the gallium-texture-transfer merge
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
08e324fff3b295bfd5b176ed1242ad838c6d5f25 13-Feb-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300-gallium: Fix typo in texture buffer size request.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
5425c4aa28721072085f128e902f5679ba31a963 08-Feb-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Accidentally removed a pipe_buffer_reference that should be there.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
ea3398cf3395fd36ac6edc717f2680361ac5e239 08-Feb-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Update to match pipe_surface changes.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
402d45d99b4533140aa706300da3154af2f376f0 05-Feb-2009 Joakim Sindholt <bacn@zhasha.com> r300: working trivial/clear for r5xx
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
a2416e3d7ecb2fcf18d93a08bc3cc3639ed97b39 02-Feb-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300, amd: Oops, a couple more API changes.

Somehow I forgot to commit these.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
ce6710e369d3b5c512ba8b315efc863fd41de734 02-Feb-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Clean up after rebase.

Fix a couple struct members, clear up a few texture lines.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
f40e6988bdbdc89a7753d5a28323757e58f3e01f 24-Jan-2009 Corbin Simpson <MostAwesomeDude@gmail.com> Rebased to gallium-0.2, Jan 24 2009.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
1a5eea0c1e9ce6162ed6b07c337bffe62cb3c221 24-Jan-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Finish basic state setup.

I have successfully fooled glxinfo into believing that I am a competent
writer of code. Next step is to trick trivial/clear.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
471129c7a14fb585ede198970e59270c4afa5310 23-Jan-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Add more pipe_texture stuff.

This is enough to sate glxinfo, for now.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
8e11e0121466efa34cfc14d299b43455a30b198c 23-Jan-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Add initial pipe_texture handling.

Still primitive and needing to be fleshed out, but it's a start.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c
0648bc9f65f1c6700b442e57ac0e82404fb60c2d 23-Jan-2009 Corbin Simpson <MostAwesomeDude@gmail.com> r300: Add texture stubs.
/external/mesa3d/src/gallium/drivers/r300/r300_texture.c