History log of /external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3703e9920c2a4d1a022871624bd0d7bd16073867 19-Jan-2013 Christoph Bumiller <christoph.bumiller@speed.at> nouveau: fix undefined behaviour when testing sample_count

NOTE: This is a candidate for the 9.0 branch.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
51ba1c1ae1ea6eff0e0c727aeec48d3433ec5bce 08-Oct-2012 Ben Skeggs <bskeggs@redhat.com> nv50: point vertex runout at a valid address

Reviewed-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
(cherry picked from commit 63c3a799aecff5348ecec3c4c13355996e4bf820)
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
9ed65301e044711de0db51b4986085fca170d764 12-Jul-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nouveau: implement missing timer query functionality
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
bcc735aaca3b305d05c28e4076996d91b19d80fd 05-Jul-2012 Marek Olšák <maraeo@gmail.com> gallium: add QUERY_TIMESTAMP cap and get_timestamp screen function
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
1906d2b46b21a8e7496409e0639d8463ad86dcfe 27-Jun-2012 Marcin Slusarz <marcin.slusarz@gmail.com> nv50: dynamically allocate space for shader local storage

Fixes 21 piglit tests:
spec/glsl-1.10/execution/variable-indexing/
fs-temp-array-mat4-index-col-row-wr
vs-temp-array-mat4-index-col-row-wr
vs-temp-array-mat4-index-row-wr

spec/glsl-1.20/execution/variable-indexing/
fs-temp-array-mat3-index-col-row-rd
fs-temp-array-mat3-index-row-rd
fs-temp-array-mat4-col-row-wr
fs-temp-array-mat4-index-col-row-rd
fs-temp-array-mat4-index-col-row-wr
fs-temp-array-mat4-index-row-rd
fs-temp-array-mat4-index-row-wr
vs-temp-array-mat3-index-col-row-rd
vs-temp-array-mat3-index-col-row-wr
vs-temp-array-mat3-index-row-rd
vs-temp-array-mat3-index-row-wr
vs-temp-array-mat4-col-row-wr
vs-temp-array-mat4-index-col-row-rd
vs-temp-array-mat4-index-col-row-wr
vs-temp-array-mat4-index-col-wr
vs-temp-array-mat4-index-row-rd
vs-temp-array-mat4-index-row-wr
vs-temp-array-mat4-index-wr

... and prevents a lot of GPU lockups
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
0fceaee4fd8f745e71cbc4e1d24520ac7e11c2cd 26-Jun-2012 Marcin Slusarz <marcin.slusarz@gmail.com> nv50: streamline screen_create error handling

Remove macro which changes control flow (it's evil).
Make all fail paths print (correct) error message.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
af372129e5c1722a3d53dd1fc2f3409207c12f7e 18-Jun-2012 Fredrik Höglund <fredrik@kde.org> gallium: Add PIPE_CAP_START_INSTANCE

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
1befacc7647f51344f5cfbfa86b62e53625a436f 17-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nouveau: place static buffers in VRAM if preferred by the driver
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
e6caafd9d7fbfcb5906d22be9d6a3c1714e078ac 16-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: handle user vertex buffers

And restructure VBO validation a little in the process.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
ef7bb281292c17b762b57779306e874704c87328 16-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: handle user index buffers
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
fcb28682101dfa127486373411043d5d97a0ff8f 16-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: handle user constbufs without wrapping them in a resource
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
bb4c5d72d7c7cb1d9e7016e2c07c36875f30011a 11-May-2012 Marek Olšák <maraeo@gmail.com> Merge branch 'gallium-userbuf'

Conflicts:
src/gallium/docs/source/screen.rst
src/gallium/drivers/nv50/nv50_state.c
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_draw.c
02fac2930581b9bea9f6d221eb6d6b471fc3b9c6 03-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement stream output
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
8a44ecdae8bde4767a6eea9b641d4fbe378a9269 24-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: enable array textures
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
bf469f4edc60bd1c5fd770cb231b8d5ab801427f 24-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: add void *user_buffer in pipe_index_buffer

Adapted drivers: i915, llvmpipe, r300, r600, radeonsi, softpipe.

User index buffers have been disabled in nv30, nv50, nvc0 and svga to keep
things working.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
4552fd50d959ab99546cfa994f8ba5bdf5d66bc7 24-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: add void *user_buffer in pipe_vertex_buffer

This reduces CPU overhead in st_draw_vbo and removes a lot of unnecessary code
in that function which was required only to comply with the gallium interface,
but wasn't any useful really.

Adapted drivers: i915, llvmpipe, r300, softpipe.
No changes required in: r600, radeonsi.

User vertex buffers have been disabled in nv30, nv50, nvc0 and svga to keep
things working.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
1b749dc34f8d83cf3dfa863279b1fe2b356d34b2 24-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: add PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT

This is required for any serious constant buffer support.
Constant buffer offsets on ATI and NVIDIA DX10 and DX11 GPUs must be
a multiple of 256.

In OpenGL, this can be queried via GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
437ab1d6df7282770ee869180446db36c2dbdfa8 24-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: add PIPE_CAP_USER_INDEX_BUFFERS and PIPE_CAP_USER_CONSTANT_BUFFERS
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
587c221a29fe01e24c69952a7a9b0034f7652e4e 24-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: handle new vertex fetch caps
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
2170fed8f4c01e719b8fc9d6ff42f3214dadc267 23-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: enable shader watchdog timer
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
978c1aa1d0f6fd9a188762a8534de33fc63eeea0 11-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium drivers: report that user vertex buffers are supported
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
e44089b2f79aa2dcaacf348911433d1e21235c0c 14-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: add initial support for nve4+ (Kepler) chipsets

Most things that work on Fermi should work on Kepler too.

There are a few performance optimizations left to do, like better
placement of texture barriers and adding scheduling data to the
shader instructions (without them, a thread group will be masked
for 32 cycles after each single instruction issue).
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
0bbf1659df3adf51784bcb376e681c05f49b6070 14-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: hook up to new shader code generator
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
802d02c453486936053c75323ce5128ae2f158d6 14-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: handle PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
6d1cdec3ba151168bfc3aef222fba6265dfb41fb 06-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nouveau: switch to libdrm_nouveau-2.0
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
04e324008759282728a95a1394bac2c4c2a1a3f9 23-Feb-2012 Marek Olšák <maraeo@gmail.com> gallium: remove PIPE_SHADER_CAP_OUTPUT_READ

r600g is the only driver which has made use of it. The reason the CAP was
added was to fix some piglit tests when the GLSL pass lower_output_reads
didn't exist.

However, not removing output reads breaks the fallback for glClampColorARB,
which assumes outputs are not readable. The fix would be non-trivial
and my personal preference is to remove the CAP, considering that reading
outputs is uncommon and that we can now use lower_output_reads to fix
the issue that the CAP was supposed to workaround in the first place.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
8b4f7b0672d663273310fffa9490ad996f5b914a 06-Feb-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> gallium: add PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION

Just let the hardware do it if it can and avoid drivers having to
check for the special case on each draw call.

v2: update the draw module
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
672ad90f54539ed38a5d03b47b58ec17f250b63d 29-Jan-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvfx,nv50,nvc0: handle PIPE_CAP_GLSL_FEATURE_LEVEL
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
bc1c8369384b5e16547c5bf9728aa78f8dfd66cc 23-Jan-2012 Marek Olšák <maraeo@gmail.com> st/mesa: do vertex and fragment color clamping in shaders

For ARB_color_buffer_float. Most hardware can't do it and st/mesa is
the perfect place for a fallback.
The exceptions are:
- r500 (vertex clamp only)
- nv50 (both)
- nvc0 (both)
- softpipe (both)

We also have to take into account that r300 can do CLAMPED vertex colors only,
while r600 can do UNCLAMPED vertex colors only. The difference can be expressed
with the two new CAPs.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f37c3a3335821c0d0e13238846b2726b3fdaba71 07-Jan-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: handle new PIPE_CAPs
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
dc4c821f0817a3db716f965692fb701079f66340 10-Jan-2012 Marek Olšák <maraeo@gmail.com> Squash-merge branch 'gallium-clip-state'

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

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

d3d1x: adapt to new clip state

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

gallium/docs: update for clip state changes

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

tgsi: add TGSI_PROPERTY_PROHIBIT_UCPS

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

tgsi: consolidate TGSI string arrays in new tgsi_strings.h

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

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

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

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

gallium: extend user_clip_plane_enable to apply to clip distances

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

nvfx: adapt to new clip state

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

st/mesa: fix DrawPixels with GL_DEPTH_CLAMP

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

nv50: adapt to new clip state

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

nvc0: adapt to new clip state

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

draw: initalize pt.user.planes in draw_init

This fixes a crash in glean/fpexceptions.

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

svga: adapt to new clip state

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

r600g: adapt to new clip state

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

r300g: adapt to new clip state

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

draw: adapt to new clip state

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

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

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

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

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

The enable bits are in the rasterizer state.

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

gallium: default depth_clip to 1

depth_clip = !depth_clamp

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

trace,util: update state logging to new clip state

Also dump the other missing flags.

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

st/mesa: adapt to new clip state

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

gallium: move state enable bits from clip_state to rasterizer_state
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
861a029ddb31e91bb4d8e18ab708d0d172f63aad 15-Dec-2011 Marek Olšák <maraeo@gmail.com> gallium: interface changes necessary to implement transform feedback (v5)

Namely:
- EXT_transform_feedback
- ARB_transform_feedback2
- ARB_transform_feedback_instanced

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

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

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

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

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

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

v2: * removed the reset_stream_output_targets function
* added a parameter append_bitmask to set_stream_output_targets,
each bit specifies whether new data should be appended to each
buffer or not.
v3: * added PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME for ARB_tfb2,
note that the draw-auto subset is always required (for d3d10),
only the pause/resume functionality is limited if the CAP is not
advertised
v4: * update gallium/docs
v5: * compactified struct pipe_stream_output_info, updated dump/trace
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
10e931219f0619c01456dd13fea65b8c21f3b87b 02-Dec-2011 Marcin Slusarz <marcin.slusarz@gmail.com> nouveau: get rid of winsys object

Its only purpose was to destroy itself.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
27e77cb902b4f7f5e127dcd78951e3167f13d59c 11-Nov-2011 Marcin Slusarz <marcin.slusarz@gmail.com> nv50/nvc0: fix crash when channel allocation fails
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
bb71f9249a66b9a4921a878766c0a2d87624c369 19-Nov-2011 Marek Olšák <maraeo@gmail.com> gallium: separate out floating-point CAPs into its own enum

The motivation behind this is to add some self-documentation in the code
about how each CAP can be used.

The idea is:
- enum pipe_cap is only valid in get_param
- enum pipe_capf is only valid in get_paramf

Which CAPs are floating-point have been determined based on how everybody
except svga implemented the functions. svga have been modified to match all
the other drivers.

Besides that, the floating-point CAPs are now prefixed with PIPE_CAPF_.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
2a0126932b320806e030c1c085791e257516e0cd 18-Nov-2011 Marek Olšák <maraeo@gmail.com> gallium: remove PIPE_CAP_GLSL and enable GLSL unconditionally

Only i965g does not enable GLSL, but that driver has been unmaintained and
bitrotting for quite a while anyway.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
fc8196f7a6a77e1a1c753393ca43c4c133449608 24-Oct-2011 Adel Gadllah <adel.gadllah@gmail.com> nv50: fix max texture levels

MAX_TEXTURE_2D_LEVELS and MAX_TEXTURE_CUBE_LEVELS are supposed to be
14 not 13, while MAX_TEXTURE_3D_LEVELS should be 12 not 10.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
90dcd6c89ab4afa55ca19d572a1a695cf55cb1b2 08-Oct-2011 Marcin Slusarz <marcin.slusarz@gmail.com> nouveau: hide some debugging messages behind environment variable

They spam console, but are not very useful - hide them behind
NOUVEAU_MESA_DEBUG environment variable.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f03810fbdd41012422f6920c2026c49927bcb820 09-Oct-2011 Marcin Slusarz <marcin.slusarz@gmail.com> nv50,nvc0: avoid unnecessary flushes

Relocations don't consume pushbuffer space, so there is no need to
ensure there is any space in pushbuffer.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
9849f366cbfd781ebeca725058029b70c96836f9 08-Oct-2011 Marcin Slusarz <marcin.slusarz@gmail.com> nouveau: fix fence hang

If there is not enough space in pushbuffer for fence emission
(nouveau_fence_emit -> nv50_screen_fence_emit -> MARK_RING),
the pushbuffer is flushed, which through flush_notify ->
nv50_default_flush_notify -> nouveau_fence_update marks currently
emitting fence as flushed. But actual emission is done after this mark.
So later when there is a need to wait on this fence and pushbuffer
was not flushed in between, fence wait will never finish causing
application to hang.

To fix this, introduce new fence state between AVAILABLE and EMITTED,
set it before emission and handle it everywhere.

Additionally obtain fence sequence numbers after possible flush in
MARK_RING, because we want to emit fences in correct order.

Reviewed-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>

Note: This is a candidate for the 7.11 branch.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
ba89086e79b22bd9578ea642846108de624c91e9 27-Sep-2011 Marek Olšák <maraeo@gmail.com> gallium: add PIPE_CAP_TEXTURE_BARRIER

Same issue as with conditional_render.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
3d13b081c72626acba6b9a25baec740c60dfafe1 27-Sep-2011 Marek Olšák <maraeo@gmail.com> gallium: add PIPE_CAP_CONDITIONAL_RENDER

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

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f5bfe54a34d9c8cd5de2b096d0e8486fe0d990a7 27-Sep-2011 Marek Olšák <maraeo@gmail.com> gallium: add and use PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS

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

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
557c3febdfd88ba1a41d3e8e0221e447d491c343 26-Sep-2011 Marek Olšák <maraeo@gmail.com> gallium: remove PIPE_CAP_TEXTURE_MIRROR_REPEAT

All drivers support it (well, except Cell). The boolean option is going away
from core Mesa too.

This is a follow-up to Ian Romanick's patch
"mesa: Remove ARB_texture_mirrored_repeat extension enable flag".

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
d53c49bcd4f1cb179ba83656224272574f89801b 05-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: handle PIPE_CAP_MIN/MAX_TEXEL_OFFSET
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
379429137238e79296b8222c0e13d7d961910633 05-Sep-2011 Marek Olšák <maraeo@gmail.com> gallium: add PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS

v2: remove PIPE_CAP_ARRAY_TEXTURES in favor of the new CAP.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
d8035fe173d87b319d85fcd64192a6d4fb5555e5 28-Aug-2011 Marcin Slusarz <marcin.slusarz@gmail.com> nv50: fix screen->blitctx memory leak
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
66e8d223b61dc034fb941e7d704a85ee44d7bbcc 30-Aug-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: fix multisample format hack

Advertising different format support based on sample count was a
bad idea, it made resolve to window work, but resolve to anything
else would fail.

See 9f4998639c3c47f0b7ee3e2a29b7f3609d3f7796.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
d49525d0c52601f8c4abec82590ca4ffb896a614 30-Aug-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nouveau: use PRIu64 for printing uint64_t
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
9f4998639c3c47f0b7ee3e2a29b7f3609d3f7796 27-Aug-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: reject R8G8B8A8/X8_UNORM for multisample surfaces

The window system buffer will be BGRA and applications will try to
directly resolve to it, which would trigger an INVALID_OPERATION in
BlitFramebuffer if the multisample renderbuffer is RGBA.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
4683529048ee133481b2d8f1cae1685aa1736f9a 04-Aug-2011 Bryan Cain <bryancain3@gmail.com> Merge branch 'glsl-to-tgsi'

Conflicts:
src/mesa/state_tracker/st_atom_pixeltransfer.c
src/mesa/state_tracker/st_program.c
e9d84dab8817a0a7e463229b9a2820b00a9ce667 28-Jul-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement resource_resolve with custom blit
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
17b695e6e7dd730497fb60a8e161935b23fa0e9c 06-May-2011 Bryan Cain <bryancain3@gmail.com> gallium: add PIPE_SHADER_CAP_INTEGERS
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
ea316c5e060cbd92b34e0d794c0707d4ca79e6e8 21-Jul-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nouveau: hook up video decoding with nouveau_context

This doesn't include nvfx since its context struct is not derived
from common nouveau_context (yet).
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
b2dcf880e8bcd61be59602f5a2d18c77a5fc60c1 11-Jul-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: add support for multi-sample resources
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
3069a7eaa5d83e7f41616347ba244c0dc0d944ae 07-Jul-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: use screen instead of context for flush notifier

Context may become NULL and we still have to be able to flush
pending fences.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
c5ac8a8aa2a9fe751453c1fcc8539b7dae5d473c 09-May-2011 Matt Turner <mattst88@gmail.com> Remove redundant util_unsigned_logbase2

util_logbase2 is exactly the same function.

Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
d6b248652a7b2c9c3e83a5f2188ce0ac77176bf0 10-May-2011 Maxim Levitsky <maximlevitsky@gmail.com> nv50: fix mistake in pipe caps for pre-NVA0 cards

Introduced by 531b12af35a832bcd8928a4919d76f8e9405cde0.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
531b12af35a832bcd8928a4919d76f8e9405cde0 06-May-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: activate seamless cube map filtering
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
7e5953fca219ae472f3a933fc93c9e6bb61f7a49 27-Apr-2011 Marek Olšák <maraeo@gmail.com> gallium/nouveau: fix printf warnings
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
b5dfc38eea8a4b497574ca791452c11fa4163c8a 16-Apr-2011 Marcin Slusarz <marcin.slusarz@gmail.com> gallium: include u_format.h for util_format_is_supported

Without it gcc complains:
nv50_screen.c: In function ‘nv50_screen_is_format_supported’:
nv50_screen.c:48: warning: implicit declaration of function ‘util_format_is_supported’

and handles it wrongly - util_format_is_supported returns boolean, which is typedef'ed
to uchar, but function without prototype is assumed to return int.

For me nv50_screen_is_format_supported was returning true for float formats without
--enable-texture-float...
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
75fa5c99a86c1ae0f8a4fecc016a5f82da9ae80a 11-Apr-2011 Marek Olšák <maraeo@gmail.com> gallium: add and use generic function for querying patented format support (v2)

v2: Unsigned floats are allowed regardless of the configure switch.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
7b4e478496cf45f527f72c39d72efe2e94fe2386 09-Apr-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50-nvc0: make use of COLOR_MASK,BLEND_ENABLE_COMMON
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
843d5391c3b7b80ff2087ce7e6440417aab623cc 31-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: identify some line rasterization state

Fixes width of non-smooth (aliased) lines on nvc0.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
4a7f013f9db793dab8dbc9f71646dab49f12ed2f 29-Mar-2011 Marek Olšák <maraeo@gmail.com> gallium: set PIPE_CAP_MIXED_COLORBUFFER_FORMATS in some drivers
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
8f060df60d1f5ad63a341e39f2ec5a0c3c452cf5 29-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: implement colour clamping controls
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
e968975cb57eb854769292f7c6ff773c64a386c3 08-Mar-2011 Marek Olšák <maraeo@gmail.com> gallium: remove the geom_flags param from is_format_supported
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
95c7881ac8240fa369e33db411bbd165d0f61948 05-Mar-2011 Marek Olšák <maraeo@gmail.com> gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR

ARB_instanced_arrays is a subset of D3D9.
ARB_draw_instanced is a subset of D3D10.

The point of this change is to allow D3D9-level drivers to enable
ARB_instanced_arrays without ARB_draw_instanced.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
3bf92a281bdc6ebf2ec5975729d02bd9062e11f5 03-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: check grclass instead of chipset for 3D caps
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
7048ad62f89289c9e642203c009dca38ce8753f8 03-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: increase size of shader code bo

512 KiB should be quite enough, but dynamic resize might be nicer.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
6b4e3e8941f41b6d15ac557e3d47bf4f1aa8b185 03-Mar-2011 Ben Skeggs <bskeggs@redhat.com> nouveau: allow pipe driver to define which buffers should start in sysmem

PIPE_BIND_CONSTANT_BUFFER alone was OK for nv50/nvc0, but nv30 will need
to be able to set others on certain chipsets.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
ddcb90248fb491a3a9e2ada8c595f94b0bd95515 02-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement independent blend functions for nva3+ and fix cap
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
1ba8e9510812f155359d380bda6876cdee5ba21e 01-Mar-2011 Ben Skeggs <bskeggs@redhat.com> nouveau: ensure vbo_dirty is set when buffer write transfer complete

This introduces a shared nouveau_context struct to track such things.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
79079141fa7cbf395d1ffc77364ac301d9824211 28-Feb-2011 Ben Skeggs <bskeggs@redhat.com> nv50: move onto common linear buffer manager

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
cd24fcedecfc41d77047fb827a88db528ed292ca 01-Mar-2011 Ben Skeggs <bskeggs@redhat.com> nouveau: create linear gart/vram mman in common screen init

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
2f30a5bdaad480118e23ac4243de3b4a11ba62a8 01-Mar-2011 Ben Skeggs <bskeggs@redhat.com> nv50: make mm available as common code

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
7a8ee058a83f1eda2c783d83fc5967fd9ef75660 01-Mar-2011 Ben Skeggs <bskeggs@redhat.com> nv50: move onto shared fence code

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f80c03e1875fe96ff2f4c022e3cb76357828140d 28-Feb-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: replace most of it with nvc0 driver ported to nv50

We'll have to do some unification now to reduce code duplication.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
a25cea19f25c4a01ccf7fe7bb7b75ac5f133c7a1 02-Dec-2010 Ben Skeggs <bskeggs@redhat.com> nv50: silence some unknown get_param warnings

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
9aa089eac05ebefafb6610b4a7e209b2fd1e93f6 14-Nov-2010 Marek Olšák <maraeo@gmail.com> gallium: add PIPE_SHADER_CAP_SUBROUTINES

This fixes piglit/glsl-vs-main-return and glsl-fs-main-return for the drivers
which don't support RET (i915g, r300g, r600g, svga).

ir_to_mesa does not currently generate subroutines, but it's a matter of time
till it's added. It would then break all the drivers which don't implement
them, so this CAP makes sense.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
3c6309e2f792af0c353e2a04317a83f624dfa263 12-Nov-2010 Marek Olšák <maraeo@gmail.com> nv50: fill out CAPs for indirect addressing
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
86cddfb1104a3b59a91c480b5fc14e169f4885dc 25-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix/handle a few more PIPE_CAPs
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
2ef1d759b34fb6e9795d70a7c7b6c6c274c64bf8 24-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use CLEAR_BUFFERS for surface fills

The 2D engine's fill doesn't seem suited for RGBA32F or ZS buffers.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
4c1e7d931dd6e5676297bee23932cc6d66c93cac 18-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: emit constbuf relocs before uploading constants
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
275a81af13624be70566e190d4dd1f457ea1ff33 18-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add relocs for stack and local mem buffers
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
26fe16a99b762d27e8f499c2e02116e9c4b7a6bb 15-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> Merge remote branch 'origin/nv50-compiler'

Conflicts:
src/gallium/drivers/nouveau/nouveau_class.h
src/gallium/drivers/nv50/nv50_screen.c
a508d2dddcc67d0f92cc36b9ed6f36a9bbfc579d 05-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> gallium: introduce get_shader_param (ALL DRIVERS CHANGED) (v3)

Changes in v3:
- Also change trace, which I forgot about

Changes in v2:
- No longer adds tessellation shaders

Currently each shader cap has FS and VS versions.

However, we want a version of them for geometry, tessellation control,
and tessellation evaluation shaders, and want to be able to easily
query a given cap type for a given shader stage.

Since having 5 duplicates of each shader cap is unmanageable, add
a new get_shader_param function that takes both a shader cap from a
new enum and a shader stage.

Drivers with non-unified shaders will first switch on the shader
and, within each case, switch on the cap.

Drivers with unified shaders instead first check whether the shader
is supported, and then switch on the cap.

MAX_CONST_BUFFERS is now per-stage.
The geometry shader cap is removed in favor of checking whether the
limit of geometry shader instructions is greater than 0, which is also
used for tessellation shaders.

WARNING: all drivers changed and compiled but only nvfx tested
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f30810cb68a53c4fef360778a230126ed0ee0ee3 09-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use actual loads/stores if TEMPs are accessed indirectly
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
d91b8865ec2bb41f9b58ad5ce2df7f6f48f98281 07-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: prepare for having multiple functions

At some point we'll want to support real subroutines instead of
just inlining them into the main shader.

Since recursive calls are forbidden, we can just save all used
registers to a fixed local memory region and restore them on a
return, no need for a stack pointer.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
db1874272c325e3e19fb7f386ec82f36e7a24496 24-Aug-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle TEXTURE_SWIZZLE and GEOMETRY_SHADER4 caps

GP support will probably be re-added soon.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
4de293bb9acd1ecda683f735af32f7485a0f213e 15-Aug-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: loops part 2

At least the mesa demo glsl/mandelbrot should work now.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
d7aac107e64e1c4c1af30806817a2888e7a4a96c 24-Jul-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: introduce the big formats table
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
0811b096690090dbd86b1433c0214cca619e0519 23-Jul-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement depth clamp
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
e5b82c8222ef29c162d51a7ca9f553d85a63be22 29-May-2010 Roland Scheidegger <sroland@vmware.com> nv50: adapt to clear interface changes

should support separate depth/stencil clears just fine.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
3293bcdc80cdfa20a2381aae2b94505bdf95d857 21-May-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-msaa'

Conflicts:
src/mesa/state_tracker/st_gen_mipmap.c
src/mesa/state_tracker/st_texture.c
9886293eb8a54a9541b5f43c5ddd2615b7c60a6a 20-May-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fill in shader limits
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
b59b23a51dc17da59ccff0b3f8a73009056746e5 17-May-2010 Roland Scheidegger <sroland@vmware.com> nouveau: adapt to interface changes

this probably needs further cleanup (just getting a surface for the resource
seems quite nonoptimal and potentially cause unnecessary copies I think)
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f5a4d70189bdd8e25bc1f30b9f4fe8f31999cf0e 30-Apr-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: raise constant buffers size to maximum

Removed the param heaps, haven't been using them for a long
time now.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
cdbd5f4203391ee7eb12911bc86fea34dc61c957 17-May-2010 Mathias Fröhlich <Mathias.Froehlich@web.de> gallium: EXT_timer_query support.

Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
e1238b5cad3845c029f60d92c08e810274517d33 11-May-2010 José Fonseca <jfonseca@vmware.com> gallium: Make PIPE_CAP_xxx enums.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
6ddd6403652231bacfe66f84d0ec7be38953b785 05-May-2010 Xavier Chantry <chantry.xavier@gmail.com> nouveau: only advertise PIPE_FORMAT_DXT* if s3tc available
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
b054d7912d68f2b053f5c6a80fa5bf7600d2fdd6 18-Apr-2010 Vinson Lee <vlee@vmware.com> nv50: Remove unused variable.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
42d9f2bb7bc21ff8c1a3fc4b4ceb4d294bccaabe 15-Apr-2010 Luca Barbieri <luca@luca-barbieri.com> nouveau: replace vtxbuf/idxbuf caps with BO_ flags in nouveau_screen and fix uncached reads on nv3x

Faster, simpler and more flexible.

Also, we set those flags properly on nv3x so that we don't allocate buffers in GART.

Since on AGP GART is uncached, OpenGL doesn't distinguish between vertex and index buffers, and we don't support hardware index buffers for now, this caused uncached reads.

Also check bind and not usage for PIPE_BIND_* flags, got broken in the gallium-resources transition.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
e0af5c9b5457d560ab075118881de01e0277ed14 23-Feb-2010 Luca Barbieri <luca@luca-barbieri.com> nouveau: bind the 3D engine to subchannel 7 and add RING_3D

RING_3D creates a method start for subchannel 7.

Bind the 3D engine to a fixed subchannel to make it work

This is much faster than the old BEGIN_RING, since we don't need
to waste cycles trying to "autobind" stuff, when a fast static binding
is perfectly good.

Subchannel 7 is chosen because the kernel takes up the lowest ones.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.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/nv50/nv50_screen.c
54526154c5b02be0fbae6b0dad766c6be1bee21c 09-Apr-2010 Ben Skeggs <bskeggs@redhat.com> nouveau: Import latest nouveau_class.h from renouveau

And fix nv50_screen.c to compile against the updated header.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
6fb364a1717858d8201b2caf234076ce5d4832ac 30-Mar-2010 Roland Scheidegger <sroland@vmware.com> gallium: adapt all code to the renamed depth/stencil formats
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f7273f2a2741b34ee4d31b0c734bcb3de92098c1 21-Mar-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: report driver as GLSL capable

There's still no hint of optimization in the shaders, but
we support conditionals, loops and even integer opcodes so
it isn't that big a lie.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
272bbbffb0138024564cbf8410a30ea9e25eb179 21-Mar-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: get rid of the static_init stateobj

Relocations of per-screen buffers are now emitted directly,
and include the necessary method to get changes in constbuf
addresses committed to the hw.

It should also be a bit cheaper than the way stateobjs emit
relocation markers, use a little less pushbuf space.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
47bfbd452c93e6a8db013fb90d9f42210cf24889 13-Mar-2010 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/master' into gallium-sampler-view

Conflicts:
src/gallium/auxiliary/util/u_tile.c
src/gallium/auxiliary/util/u_tile.h
src/gallium/drivers/identity/id_context.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_setup.h
src/gallium/drivers/softpipe/sp_tex_tile_cache.c
src/gallium/include/pipe/p_context.h
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
83fe7149eaea7ca607a5aa74e092b9cf86f12b73 13-Mar-2010 Xavier Chantry <chantry.xavier@gmail.com> nv50: fixup after gallium-context-transfers merge
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
3ce4375912c8ea488460e593e07c5bb15b92dca9 10-Mar-2010 Michal Krol <michal@vmware.com> Merge branch 'master' into gallium-sampler-view

Conflicts:
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
src/gallium/auxiliary/tgsi/tgsi_exec.c
src/gallium/auxiliary/util/u_blitter.c
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i965/brw_context.h
src/gallium/drivers/llvmpipe/lp_context.h
src/gallium/drivers/nv50/nv50_context.h
src/gallium/drivers/nv50/nv50_state_validate.c
src/gallium/drivers/nv50/nv50_tex.c
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/softpipe/sp_context.h
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_sampler.c
4796986c9874134e47b00ae2280c3d7fc65111df 09-Mar-2010 Ben Skeggs <bskeggs@redhat.com> nv50: add option to force immediate-mode submission, disable by default
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
2b8c0cf16959c07341309484da41b2e9a17e5266 04-Mar-2010 Ben Skeggs <bskeggs@redhat.com> nv50: make use of scissor enable/disable method
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
2a84db24b33993844ba5e5c036edca78718d2425 03-Mar-2010 Ben Skeggs <bskeggs@redhat.com> nv50: remove pre_pipebuffer_map hack....
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
62ab89785b55e60b978dc2b32995676859299c80 03-Mar-2010 Ben Skeggs <bskeggs@redhat.com> nv50: rework state emission
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
c9f1db0a03b6d89f8b1113785aa961e6c9a398ef 01-Mar-2010 José Fonseca <jfonseca@vmware.com> nouveau: Rename pipe formats.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
44570063bf8a4f45807bc1598c8de291cdc64506 25-Feb-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: update to handle new sampler view state
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
828f545274a6da9b5d05aa23ae31959b121c38a2 16-Feb-2010 Ben Skeggs <bskeggs@redhat.com> nv50: use hw idx buffers where we can
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
7f41f5447c8f9113c8956901e1c5fff6081ecd94 08-Feb-2010 Keith Whitwell <keithw@vmware.com> gallium: squash-merge of gallium screen context

Squashed commit of the following:

commit 009598122adf5cad42bf9af067eccaf8e89e1233
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Mon Feb 8 11:03:26 2010 +0000

nouveau: fix gallium-screen-context branch fallout

commit 7b2ffc2019d72e833afea7eebf3e80121187375d
Merge: 51e190e c036d13
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Feb 5 09:55:02 2010 +0000

Merge commit 'origin/master' into gallium-screen-context

Conflicts:
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c

This branch has got a pretty tortured history now, I expect
a squash merge will be appropriate when it is done.

commit 51e190e95acf120f72768fafb29e9721e358df1b
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 17:58:02 2010 +0000

gallium: fix some build issues

commit f524bdaa723fb181637ad30c6ad708aeedabe25b
Merge: f906212 3aba0a2
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 17:51:32 2010 +0000

Merge commit 'origin/master' into gallium-screen-context

commit f9062126883199eabf045714c717cd35f4b7b313
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 17:17:12 2010 +0000

gallium/docs: small description of screen::create_context

commit efcb37bd3d5ed37f06c6105bd2d750b374ec0927
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:42:42 2010 +0000

drm/radeon: more dead create_context wrapper removal

commit 6badc0dd9e06cf2ec936940bcf12b9ef5324b301
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:42:30 2010 +0000

drm/i965: more dead create_context wrapper removal

commit cf04ebd5a54b18b2d894cfdab2b0f2fd55626ffc
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:42:05 2010 +0000

st/python: more dead create_context wrapper removal

commit 444f114c3516abf71c430e6e9d0d2ae3b80679d3
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:37:58 2010 +0000

idenity: wrapped context creation

commit 5a6d09cb9e468d1ee6c8d54b887618819d8d94f2
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:28:47 2010 +0000

ws/gdi: remove dead context_create wrapper

commit 132b55f4bec39386ac625f09aaa11f609664024c
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:27:52 2010 +0000

ws/gdi: remove dead context_create wrapper

commit 56d2d21a0cdcb197a364049d354c2f15a4fc026a
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:25:38 2010 +0000

st/xorg: use screen::context_create

commit 838c5cfe56b2af6c644909bed3c5e7cdd64c336a
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:23:20 2010 +0000

glx/xlib: simplify creation of trace-wrapped contexts

Trace screen knows how to properly wrap context creation in the
wrapped screen, so nothing special to do here.

commit c99404c03ebaec4175f08a2f363e43c9085f2635
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:18:24 2010 +0000

st/python: no need to special case context creation for trace

commit 193a527a682b6877bb1faecd8092df4dfd055a18
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:15:30 2010 +0000

drm/radeon: remove dead create_context declaration

commit bb984eecc25cf23bc77e1c818b81165ba1a07c9a
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:14:58 2010 +0000

nv/drm: remove dead create_context ref

commit e809313a44287dc4e16c28e9e74ef3b2b5271aa1
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:12:51 2010 +0000

st/egl: remove a layer of wrappers around screen::create_context

commit 39caa6672a04122f185c22e17aab86d1c40938bf
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:05:28 2010 +0000

r300g: fill in screen::context_create

commit 407f12556d16ba0656774d8a1d9ebda22f82f473
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 16:04:04 2010 +0000

cell: adapt for screen::create_context, untested

commit d02b0c6ce321a04c76fdabb09e0e4380ce1c1376
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:50:24 2010 +0000

drm/nv: adapt for screen::create_context

All contexts now created directly through the screen, so remove
equivalent code here.

Remove apparently un-needed array of contexts in the winsys.

commit 53eec5b1349aa1b6892a75a7bff7e7530957aeae
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:50:08 2010 +0000

stw: adapt for screen::create_context, untested

commit c6a64de3eb381bc9a88e9fbdecbf87d77925aaf5
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:49:20 2010 +0000

trace: expose the wrapped context's priv data

If we are going to keep this priv idea, really want an accessor
function for it so that trace and other drivers can wrap that.

commit 75d6104e11d86ec2b0749627ed58e35f856ee6eb
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:47:55 2010 +0000

nv30: adapt to screen::context_create

commit 12f5deb6ed9723e9b5d34577052b8365813ca14e
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:44:47 2010 +0000

nv40: adapt to screen::context_create

commit 14baccaa3b6bbb3b91056126f6521828e786dc62
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:35:27 2010 +0000

nv50: adapt to screen::create_context

Not build tested. Need to figure out how to build nouveau.

commit a0e94505ccd2d7f3e604465a2ac302f1286b73b6
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:22:27 2010 +0000

llvmpipe: update for screen::create_context, untested

commit 0eae17107c950346030e4f7e0ec232f868d3893d
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 15:16:57 2010 +0000

xlib/llvmpipe: remove dead winsys context creation path

commit 2f69f9ffaa7e2a01d2483277246ed13051ae4ca3
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 14:58:27 2010 +0000

gallium: convert most code to use screen::create_context

I wish I could build all of gallium at once to find breakages.

commit d7b57f4061b82322cbcae176125913d9f0dea6c1
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 12:46:21 2010 +0000

glx: permit building with older protocol headers

I'd like to be able to build mesa on current distro releases without
having to upgrade from the standard dri2proto and glproto headers. With
this change I'm able to build on ancient releases such as Ubuntu 9-10...

In general, it would be nice to be able to build-test mesa to check for
unintended breakages without having to follow the external dependencies
of every group working on the codebase.

commit 57adedd6fb06c98572ed8d4aef19203df4c4eea2
Merge: da71847 e1906ae
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Feb 4 11:38:15 2010 +0000

Merge commit 'origin/master' into gallium-screen-context

Conflicts:
src/gallium/drivers/softpipe/sp_video_context.h
src/gallium/drivers/trace/tr_context.c
src/gallium/state_trackers/wgl/shared/stw_context.c
src/gallium/winsys/gdi/gdi_softpipe_winsys.c

commit da71847ea6414d7e352c6094f8963bb4eda344dc
Author: José Fonseca <jfonseca@vmware.com>
Date: Sat May 2 08:57:39 2009 +0100

wgl: Use pipe_screen::context_create.

commit 2595a188f93fd903600ef5d8517737ee0592035d
Author: José Fonseca <jfonseca@vmware.com>
Date: Sat May 2 08:56:47 2009 +0100

trace: Implement pipe_screen::context_create.

commit f3640e4ae37a5260cbfba999d079f827de0a313a
Author: José Fonseca <jfonseca@vmware.com>
Date: Sat May 2 08:56:17 2009 +0100

softpipe: Implement pipe_screen::context_create.

commit 347266bddc8bd39c711bacb2193793759d0f3696
Author: José Fonseca <jfonseca@vmware.com>
Date: Sat May 2 08:55:31 2009 +0100

gallium: New pipe_screen::context_create callback.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
112def3c17a45f73def02c17509d68b46ff25966 12-Jan-2010 Marcin Slusarz <marcin.slusarz@gmail.com> nv50/nv40/nv30: fix small memory leak of nouveau_resources on screen_destroy

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
6c403750d6515f8b2f333d995c87676016e1883d 21-Jan-2010 Luca Barbieri <luca@luca-barbieri.com> tgsi: add caps for fragment coord conventions (v3)

Changes in v3:
- Renumber caps to accomodate caps to add to master in the meantime
- Document caps
- Add unsupported caps to *_screen.c too

Changes in v2:
- Split for properties patch
- Use positive caps instead of negative caps

This adds 4 caps to indicate support of each of the fragment coord
conventions.

All drivers are also modifed to add the appropriate caps.

Some drivers were incorrectly using non-Gallium-default conventions,
and caps for them have them set so that they will behave correctly
after the later state tracker patches.

This drivers are softpipe/llvmpipe (uses integer rather than half
integer) and pre-nv50 Nouveau (uses lower left rather than upper left).

Other drivers might be broken. With this patchset, fixing them is
only a matter of exposing the appropriate caps that match the behavior
of the existing code.

Drivers are encouraged to support all conventions themselves for better
performance, and this feature is added to softpipe in a later patch.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
a5d67dc0119035c518d9778854948d13f0ce2d69 26-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: supports independent blend enables
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
1a9d01dcde26aee4db662deb7069fa14069062de 26-Jan-2010 Roland Scheidegger <sroland@vmware.com> gallium: add the new PIPE_CAP blend bits to more drivers

some drivers will complain if they don't know the cap bit
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
1448d2f252efc1ab8d3175c7fd9701dfe3079577 17-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement instanced drawing

Too bad we don't have hw array divisors or a method for
setting startInstance.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
4c223aaa3b1209006454d600cabc7547fa259a13 16-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: hook up geometry programs
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
c77ade8fed2be933af3f493932cedee7ca868b04 29-Dec-2009 Maarten Maathuis <madman2003@gmail.com> nouveau: rewrite nouveau_stateobj to use BEGIN_RING properly

- The previous solution was hacky and didn't do subchannel autobinding.
- The beheaviour should match what libdrm_nouveau does closely.
- The solution remains statically sized, but when debugging is on it will check
for abuse.

Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
c306ef5e81da5456d39a6e98cfc1f5f00b9c77a7 20-Dec-2009 Maarten Maathuis <madman2003@gmail.com> nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped

- This avoids problematic "reloc'ed while mapped" messages and
some associated corruption as well.

Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
85dcc070719ef6a6bcf65dc4996b1733f63912d8 28-Dec-2009 Younes Manton <younes.m@gmail.com> nouveau: Unreference state/buffer objects on context/screen destruction.

- unreference state objects so that buffer objects are unreferenced and
eventually destroyed
- free channel at screen's destruction

Based on Krzysztof Smiechowicz's patch.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
c84cc09d41a83caa96eca84c73284024d8d63024 28-Dec-2009 Marcin Kościelnicki <koriakin@0x04.net> nv50: Dehexify and bring up to date with new method defines.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
b7b2226a75f1955da9bd4a28754b7eaebb01fed5 24-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: support TGSI_OPCODE_CONT
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
d29f55546dec74ca77dce3a3bf581c251be1d397 24-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: make edgeflags work

It doesn't seem to be possible to set the egdeflag in the
vertex shader, so we need to fallback to pushing vertices
through the FIFO and use method 0x15e4 if they are used.

This only works if VP does MOV OUT[X] IN[Y] where X is the
edgeflag output, and Y is saved so we can tell the correct
input later.

The VP still writes the useless values to wasted outputs
as punishment.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
d80778218d512f51e1b52e2fe652021ecefd724a 10-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: support TXB and TXL

... and don't set the 'live' flag for TEX anymore, we'd
have to know if results affect the inputs for another TEX,
and I'm not going to do that kind of analysis now.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
b0036f391a1862c15c4e33d221314926dba3213b 09-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add S8Z24 depth texture format too
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
6a15ec9141b070b088d03d87673d0d2741b7db6b 10-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: support vertex program textures
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
44cb5b5c663da4d218448cfd2386b431de35c8d2 07-Nov-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: enable all 32 threads of a warp

This should be the default setting.
See also 7d967b9b7c08aea2a471c5bf6aced8bfafdae874.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
7d967b9b7c08aea2a471c5bf6aced8bfafdae874 28-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: activate more lanes in a warp

Some cards have crippling defaults set and use only 4
of 32 lanes. This should activate 16 on these.
Those that allow 32 by default should still do so.

Found out by Marcin Kościelnicki.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
255a90a7bd829904554889dd19a16d86fc7f9274 23-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add depth texture formats, and a few others, too
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
eebf4b5299a880f4cdf8a916b4e1ca0bd79a6f07 22-Oct-2009 Ben Skeggs <bskeggs@redhat.com> nv50: support 3D class 0x8597, remove redundant unknown chipset detection
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
ec5c23551cdb4c369d8f8f392208f4d4bf29911b 19-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add support for address regs

Allow indirect uniform access and increase the
limit on parameters from 128 to 512.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
fba2eabe13b8a3f8c1396c5949db3daab0192156 10-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use SIFC for TIC, TSC upload

Add proper flushes for TIC and TSC and remove
the costly 2D.0110 flush in nv50_flush.

Correct TIC and TSC bo sizes.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
7bfc3172e88cc7ad8be9ab81de56f7e263c15824 05-Oct-2009 Ben Skeggs <bskeggs@redhat.com> nv50: support PIPE_FORMAT_X8R8G8B8_UNORM

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
c29905aa318cf9ed782935552fa983b048646984 16-Sep-2009 José Fonseca <jfonseca@vmware.com> gallium: Deprecate PIPE_CAP_S3TC.

No longer used. S3TC support is queried via
pipe_screen::is_format_supported.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
01670ca8073b57029625873b5c8374fb8716e1eb 14-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add preliminary support for point sprites
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
93ce4c99d4c4515b8f8c4e999af53c8196b5f9eb 16-Aug-2009 Maarten Maathuis <madman2003@gmail.com> nv50: whitespace fixes and deobfuscation
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
74e8b1a30b82c89c70048cfcc1f12e1ceebfd628 14-Aug-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: make use of the y-origin switch

Now that we know how to make the hardware have y-coordinate origin
top, we can get rid of all the inversion introduced earlier.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
84166a021fe7b4a05f03d0119d2954998f7f12c6 29-Jul-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: correct zeta formats

What was Z24S8 before is actually S8Z24, and what we had for Z16
is actually X8Z24. Now, we also have the REAL Z24S8 and I added
Z32_FLOAT as well; most of the formats need different tile_flags.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
b0341f994feb3ea724bdbbfde5d79ec2c88c34a1 29-Jul-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use correct scissor reg
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
54cf63278ff28eb03503f649c46bf24437a1cbf8 14-Jul-2009 Patrice Mandin <patmandin@gmail.com> gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from default extension list
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
18a1c36c2d32f8c571f98d7e6857a44bb2dc8942 01-Jul-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: return some supported zeta formats
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
55e5ac17c15d9243c34633f3f4d4850394a8163d 01-Jul-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: deal with PIPE_CAP_TGSI_CONT_SUPPORTED
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f1edfa09ea50e8833ddbf241da4d36fd38685e9d 06-Jun-2009 Ben Skeggs <bskeggs@redhat.com> nv50: fix multi-texturing
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
80e9e1ee8172d1e5a81d702681897dddd9d815f1 05-Jun-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: move channel creation into pipe drivers
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
1b207d9bb81ae3385e5658a81c71fbf2fe15c18f 05-Jun-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: call notifier/grobj etc funcs directly

libdrm_nouveau is linked with the winsys, there's no good reason to do all
this through yet another layer.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
bc466be695913cd504cefddd857ac1cefda87a04 04-Jun-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: add pipe_buffer/fence code to pipe drivers, move nv50 over
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
072fdc1fd325256d87b182d4f55c8a5838119cf0 04-Jun-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: pass nouveau_bo instead of pipe_buffer to so_ calls
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
04cef8a03799aa88ebfa1c391e29f8d2ea020d95 04-Jun-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: call nouveau_pushbuf directly rather than going through nvws
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
94ba165dffa4d364a1335d3cd7c15558bf35fe3e 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use multiple constant buffers

Use different buffers for immds, FP params, and VP params.
One has to map constant buffer indices in shader code to buffers
defined via CB_DEF. In principle, we could use more buffers so
we'd have to change the shader code less frequently.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
22125f63b9b25bd648513f5b680f73e3f80cc1dc 07-Mar-2009 Ben Skeggs <bskeggs@redhat.com> nv50: simplify tesla object selection

GeForce 8/9 are a bit more consistent than nv40 so far, so this was
overkill before.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
ca95d71a4bc63e2ea45abf9096a3da802819ef92 07-Mar-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: make stateobjs start off with refcount of 1
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f2ec26cf52fcbf98139cb9e31520183189d09861 06-Mar-2009 Victor Stinner <victor.stinner@haypocalc.com> Fix nv50_screen_create()

Setup screen->pipe before using it (screen->constbuf =
screen->pipe.buffer_create(...))
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.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/nv50/nv50_screen.c
63a3a3762c8e1a67666d36b35fdb0ada8e4b7d08 20-Feb-2009 Ben Skeggs <bskeggs@redhat.com> nv50: rework for texture_transfer changes
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
13393736dbab1087589f8dd788bc412d16b431d1 05-Feb-2009 Ben Skeggs <skeggsb@gmail.com> nv50: move 2d blit/fill code into pipe driver
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
969c728095e9a18036989f85610390c55ae61d5e 31-Jan-2009 Zack Rusin <zackr@vmware.com> gallium: initialize simple screen in drivers
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
adfbba476db1fc55006efb748656ebb1a481d143 30-Jan-2009 Zack Rusin <zackr@vmware.com> gallium: make p_winsys internal

move it to pipe/internal/p_winsys_screen.h and start converting
the state trackers to the screen usage
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
b3028acd98e2b7fd09344f9005c5b20bba91262c 30-Jan-2009 Zack Rusin <zackr@vmware.com> gallium: give the screen priority when it comes to buffer allocations

allows the driver to overwrite buffer allocation, first step on the way
to making winsys interface internal to the drivers. state trackers and
the code above it will go through the screen
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
e8b00886925cdb1f02759ce603ea7d54397d2264 13-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: add DXTn formats
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
68bb26b62d87ae6737ba51a4bffda49eeb7647cb 13-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: shadow mapping
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f7c2010525a3fb37079c2cff51d4c593ef8e807b 13-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: aniso
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
918fc55e5f5cbedd3ab8fb3e02b225106c059fa6 13-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: occlusion queries

Not quite working, but the general idea is right I think.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
ed8f0b753b42cc9c9519b8cdc6c40729efb7243a 12-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: enable npot textures
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
300e42d6f067b2b98b56a82674bf48564b0578a0 16-Dec-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f302fca5eb63e4bca8af5b35c585451486143e6a 10-Sep-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: gallium directory structure changed again..
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
ce8e846ffea8e1a11b8ae4ba05a7386e7c34cc9f 07-Aug-2008 Ben Skeggs <skeggsb@localhost.localdomain> nv40/nv50: enable mirror wrap modes
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
39793a262f055adf49e6bbd7b74728f744074e8e 23-Jul-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: is_format_supported() interface changes
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
a3616067fee97f06fb52131ac13c39aeca6dc06a 21-Jul-2008 Ben Skeggs <skeggsb@nisroch.keine.ath.cx> nv50: add NV86 and NV94 to list of "supported" chips
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
7c745de74997e859d7e2640092bda9ad900e28a9 11-Jul-2008 Ben Skeggs <skeggsb@gmail.com> nv50: add some texture formats
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
857a3294a959015bf893241199f7fd7f7882a6ab 11-Jul-2008 Ben Skeggs <skeggsb@gmail.com> nv50: add license headers to .c files
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
17e95de85250540c8e2448f138d81b7b055be511 10-Jul-2008 Ben Skeggs <skeggsb@gmail.com> nv50: enable GART usage for vertex buffers

AKA "I can haz fast b0rk3d glxgears!!!"
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
add89c78455f04654c3706d46e3d3e6b92b73b71 10-Jul-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: update to latest object header
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
714cb4a86c1f503334b37ca6c24272fa1bdf7899 17-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: make sure static buffers (constbuf, tex control etc) get on reloc list
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
65ad8176ca91b5ed2a01b1b3ee145cfdce369419 17-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: move surface_map/unmap into nv50_surface.c
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
431504b99cd55948522e86a249e656e78598ddbd 16-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: hack of a TEX opcode
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
c0ed6a871cd3513e17a1fab960f5626485ffed13 12-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: do tsc/tic upload + stub out shader TEX stuff
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
101305f37f7268354a50b825bcb66894e4a0b777 13-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: flag to indicate to winsys we want a surface for use as a zeta buffer

NVIDIA love to make life difficult.. we need different flags in PTEs for
zeta.. yay.. not.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
ab3d55e2e3578db8deba84dcf47a024071486bd8 12-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: more efficient const upload + fixes (fp/* works now!)
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
585ae74d87f3d04a4b5b7c068b865292afd1a16b 11-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: move magics take 2
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
bce558b37cde4be5c70117f49a2570f2988e5849 11-Jun-2008 Ben Skeggs <skeggsb@gmail.com> Revert "nv50: move some magics"

This reverts commit 0a38de30429d3075fc6dfc9ff3729c5ca11f0c2f.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
7e9f6e290da23d7963857241b541e00c1fcf20dc 11-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: move some magics
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
716c1cd2ecbc1e86c0fd747c9fa9e095ded5fd5d 01-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: use "real" constbufs for shaders + tcb uploads
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
f722fd937db2f3cacf1947d538c66528fd16eb89 01-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: import current "state of the art" nv50 code
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
fa4b2439d4f240a5e573d4ea198b829791d614f4 26-May-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: very quick port to tex-surface changes.

probably the last match-gallium-upstream merge for a bit, some cleanup+nv50
work coming RSN...
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
1ef08564d2a201a422db772a6bb23d1129888304 12-May-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: remove chipset fields in all nv pipe driver context/screen structs.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
32ed02bcfbe7a2132929658b1a73708ab16af006 05-May-2008 Ben Skeggs <skeggsb@gmail.com> nv50: report some supported formats to keep the state tracker from asserting.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
612f44266cba78c4e5677a2f992581fdaa17f4e4 05-May-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: bitmap texcoord bias has been removed
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
fbb6cc7842ec8a59b60018233275babc4deb6765 03-Apr-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: in some cases don't create the buffer in local mem initially.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
bbefb541ad94382debb0f7a8daa636729799a31a 30-Mar-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: adapt to recent gallium changes
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
9575e35807c89c0b8a745671bc2dcd54d96379ff 18-Mar-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: pass nvws to nvws->push_* functions, rather than nouveau_channel*
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
1cec61e441ad5b4b1ac8d1abcaa7535bc1827eb3 13-Mar-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: NV9X is basically a G80, fix issue with NV6X being detected as G80.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
3250bacd2411d3f1af50135599380b2140238535 11-Mar-2008 Ben Skeggs <skeggsb@gmail.com> nv50: create blend stateobj
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
b2e48f848496d5e315e536688c8c33dfb1fab7eb 11-Mar-2008 Ben Skeggs <skeggsb@gmail.com> nv50: convert to hwctx-in-screen as nv40 is
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
1fb3c94f03e07a80bb7a93777d4fef5173da71ca 11-Mar-2008 Ben Skeggs <skeggsb@gmail.com> nv50: some forgotten changes
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
baaae562f02563c5966b857c61b3eae7341950e3 29-Feb-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: hand nouveau_winsys in with pipe_screen init
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c
84cc07dc89c0ebce4ad55b4b3684d4420a202683 29-Feb-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: implement pipe_screen

Untested on NV3x/NV5x. Quite possibly broken.
/external/mesa3d/src/gallium/drivers/nv50/nv50_screen.c