History log of /external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4a2f00889ba481c117057da5fac7585327458cc3 14-Oct-2011 Eric Anholt <eric@anholt.net> r200: Drop the non-kernel-memory-manager and DRI1 code.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
d3d3fea7200947893eafa1da21db3b78c15356d9 24-Jun-2011 Stéphane Marchesin <marcheu@chromium.org> dri/r200: properly spell current_atom.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
5f691ba36fc52da3f0565c238c1f892422f7d439 24-Jun-2011 Stéphane Marchesin <marcheu@chromium.org> dri/r200: rename __atom to current_atom.

__atom is defined by gcc when the atom compile optimizations are used.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
4ea694a26b99835d0b5bc814cf024850874a9a83 21-Mar-2010 Pauli Nieminen <suokkos@gmail.com> r200: Fix emit size prediction to account elt splitting.

Emit sizes prediction didn't account for render splitting in
hwtnl path.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
0900544fb54cbc2127b8729393c9c1308cd218f9 21-Mar-2010 Pauli Nieminen <suokkos@gmail.com> r200: Don't flush when closing elts in KMS.

Flush in middle of rendering in KMS is not allowed because
buffers are discarded in flush.

Fixes crash when emiting split indices with RADEON_DEBUG=all.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
0f763c5b000ad87c43da12bec014d5e367ae64fe 04-Feb-2010 Pauli Nieminen <suokkos@gmail.com> r200: Add the polygon stipple state to the state list.

This fixes glean paths test case.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
391892b0d8d46c4f0e43799fac61dd8246e4e023 31-Jan-2010 Vinson Lee <vlee@vmware.com> r200: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
e3a17904ddf5af6425efaa926a17813e59e7ce83 01-Sep-2009 Dave Airlie <airlied@redhat.com> r200: emit max vtx info for index buffer.

We need this for the CS bounds checking.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
239105c6c87da0b0c5c15ae54b19fe39492b0f29 30-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r200: Convert r200 to use new style debug code.

Only very few places where realy converted so there isa lot of to do.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
dbf59de6d2f8be526e97af6c768622e6ca3cf6b1 26-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r200: Add scissor to state atom list.

Scissors are jsut one of states that we have to emit so it should be in state list
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
c3374bf97ecd82b915fb29c7c04951e2b75d4dbc 25-Aug-2009 Pauli Nieminen <suokkos@gmail.com> radeon: Fix all compiler warnings.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
1279cdcb1f3e37a91bb5252826386205dc3e579d 26-Jun-2009 Dave Airlie <airlied@redhat.com> r200: make use of DMA buffers for Elts a lot better.

This allows us to return the unused portion of the dma buffer
to the allocator instead of wasting nearly 16k a pop.

Cherry picked and ported to new code by Pauli.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
c3380ded10200f2df0cfba4abbe9a9eb892f7cbb 17-Aug-2009 Alex Deucher <alexdeucher@gmail.com> radeon: remove RADEON_DEBUG_BO stuff

This stuff was a vestige of the r600 bring up and
now mostly serves to periodically break the build.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
eaf87e84c3e29f8473cc04f681e965fbef38916b 07-Aug-2009 Dave Airlie <airlied@redhat.com> r200: fix scissor emission for r200 under kms
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
5008269cfeb91bd5e763e48c26f02b78568c4cff 18-Jul-2009 Alex Deucher <alexdeucher@gmail.com> R200: fix build when RADEON_DEBUG_BO is set
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
c27f21f92d2cf9d23a9edb15d144eceb9ff383bc 06-Jul-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: port to new space checking code in libdrm

This moves a big chunk of the space checking code into libdrm so
it can be shared by the DDX.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
6791576f6cc90018bd65c263fa6c16ad2b19cdae 29-Jun-2009 Dave Airlie <airlied@redhat.com> Revert "r200: make use of DMA buffers for Elts a lot better."

This reverts commit 0952645fe04a27968565ea4d913500c23b1b11e3.

Need to revisit where this is going wrong
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
0952645fe04a27968565ea4d913500c23b1b11e3 26-Jun-2009 Dave Airlie <airlied@redhat.com> r200: make use of DMA buffers for Elts a lot better.

This allows us to return the unused portion of the dma buffer
to the allocator instead of wasting nearly 16k a pop.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
714f5e689fb1a69142995260e3c8908c12407b47 25-May-2009 Jerome Glisse <glisse@freedesktop.org> r200: emit scissor when dri2 is enabled

In DRI1 kernel emit scissor but in dri2 cs path we have to
explicitly program them.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
80f1ac87f2cb42ae8370174a75d1271950e59657 25-May-2009 Jerome Glisse <glisse@freedesktop.org> r200: emit cliprect with indexed primitive
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
a13e96359baaa0331561f86ef6487feba6540464 20-May-2009 Jerome Glisse <glisse@freedesktop.org> r200: fix vbo array rendering
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
8308bf9ee155b405ad42e6621daf33a108330418 20-May-2009 Jerome Glisse <glisse@freedesktop.org> r200: fix indexed draw color order and cs missmatch
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
02b130fd4b1c4c35ed256fc345eead010db09205 12-Apr-2009 Jerome Glisse <glisse@freedesktop.org> r200: validate vertex buffer
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
e00ef43d796f0ae0247b1072bf0aa8cdd8e3034d 02-Apr-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: collapse context destruction down to a common path.

Context destruction was nearly the same over all the drivers,
so collapse it down.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
f577c8e462fc924ea436d129ad64c8a1226b5f9c 24-Mar-2009 Dave Airlie <airlied@linux.ie> radeon/r200/r300: fix warnings
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
fd81835dc7ac71eac2a5fcc58080b9b4c6944c83 14-Feb-2009 Dave Airlie <airlied@redhat.com> r200: fix another cmdbuf sizing issue
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
ade3660942452985afa1bb67bbeab8fed734089d 12-Feb-2009 Dave Airlie <airlied@redhat.com> r200: fixup some CS emission sizes
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
393c699e219b6cccf0d235749ec7bfaade75f88c 12-Feb-2009 Dave Airlie <airlied@redhat.com> r200: use correct finish interface
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
8cb16e6daff40bbfd7b63a43da72862226a4a164 12-Feb-2009 Dave Airlie <airlied@redhat.com> r200/r300: get up to speed on renamed files
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
1090d206de011a67d236d8c4ae32d2d42b2f6337 12-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: another big merge upheavel.

This merges lots of the hw state atom emission and firevertices code.

it also removes a lot of the extra radeon crap from r300

and merge scissor
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
c9bb5cd20e5468168d54fe461c853926072fa813 29-Jan-2009 Dave Airlie <airlied@redhat.com> r200: bring back single dma flush
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
f69e2f42d53337702ce52173a58a49e53bfdee56 22-Jan-2009 Dave Airlie <airlied@linux.ie> r200: fix up swtcl/tcl flushes
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
7d01cb37d94b8966fa089106b902325dbef33a58 22-Jan-2009 Dave Airlie <airlied@redhat.com> r200: emit elts into a separate ELT bo
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
d9c4a01bad3a7d4a965fc09d8605afc6ca48f6f9 20-Jan-2009 Dave Airlie <airlied@redhat.com> r200: make tri render on my r200.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
ed3a1cce73fcd0d6f4b6e9b5f69a98ad179ddc4b 20-Jan-2009 Dave Airlie <airlied@redhat.com> r200: clear is working at least - not much else
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
0c0a55a21158e1f97cf140c0a1c0531c06751873 15-Jan-2009 Dave Airlie <airlied@linux.ie> r100/r200: move to new atom style emission
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
4637235183b80963536f2364e4d50fcb894886dd 14-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: initial attempt to convert to common context code
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
b6e486906968d82c7b8a869d7ab51697a7cce80c 13-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200: move state atom to common header
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
692ca82116485a9c6191e5265c5b369d5b4f82f3 13-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200: start splitting out commonalities into separate headers
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
ecadb51bbcb972a79f3ed79e65a7986b9396e757 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: added "main/" prefix to includes, remove some -I paths from Makefile.template
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
0985e786cdd08bf900db889b69783be4bc467e5b 18-May-2007 Christoff Brill <egore@gmx.de> remove CVS/XFree86 keywords
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
cb977ae5f4c9fab5753c04bfdd8736978ad4feee 14-Oct-2006 Roland Scheidegger <rscheidegger@gmx.ch> implement ARB_point_parameters and ARB_point_sprite on r200. The code is nearly the same as outlined in bug #4707, except it disables perspective correction for point sprites to make them actually work. And, separate the state atom into two as the tcl parameters would overwrite vertex program parameters when active. Also implement the GL_VERTEX_PROGRAM_POINT_SIZE_ARB option to make vertex programs outputting a point size work correctly (untested). Smooth points will still always be size 1. While here, enable gouraud shading for fog when using fog coord.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
98c791b543c4ba86b8bb54488bd872b33b10b1aa 03-Jun-2006 Roland Scheidegger <rscheidegger@gmx.ch> implement arb_vertex_program in hw for r200. Code contains still some hacks, generic attribs cause a fallback, but otherwise it seems to work quite well. Passes all glean vertProg1 tests with the exception of the degnerated LIT case (which is a hw limitation), as well as runs the r200 render path of doom3/quake4 (1.1 patch needed for quake4). The code is heavily borrowed from the r300 driver as vertex programs encoding is almost identical. arb_vertex_program is not yet announced by default and still needs to be enabled via driconf.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
b302419abe96cdb81878913c164d7ae2209ddcda 02-Jun-2006 Roland Scheidegger <rscheidegger@gmx.ch> remove code dealing with drmMinor version < 6 since all radeon drivers request at least drmMinor 6 anyway.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
44dace86eaf9eded8e6465adfadf6345658686dd 05-Oct-2005 Roland Scheidegger <rscheidegger@gmx.ch> enable point sizes larger than 1 (for aliased points only) by using the hw point sprite primitive.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
f20917de5bd2b1fc152e74304d3649a1f6042422 12-Sep-2005 Roland Scheidegger <rscheidegger@gmx.ch> add complete support for ATI_fragment_shader for the r200. Most of the new code is in the new file r200_fragshader.c. Reverse engeneered by Dave Airlie and me
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
fbe5296d1463e1052590b744f3d62ebb9e5d5dd4 15-Mar-2005 Roland Scheidegger <rscheidegger@gmx.ch> add support for user-configurable brilinear filtering on r200
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
0846e52d46b36c411f79908df010072e03bb6437 17-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> s/0/NULL/ (Jeff Muizelaar)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
6e2fd966274af5818ce2ac16b2b35ea84f1ac034 17-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> remove extern (Jeff Muizelaar)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
599ea624a3b95f397d7837a0254c39c9bd0ab0ed 02-Oct-2004 Eric Anholt <anholt@FreeBSD.org> If an application cleared before any state had been emitted, that clear would
happen before any state had been set, causing a hang later on. Fix this by
calling r200Flush instead of FIREVERTICES (which checks if any state has been
emitted but not flushed, before calling Flush) in r200Clear. While here, add
some more debugging info which was useful, and remove an unnecessary
save/restore in BackUpAndEmit.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
7a086dc05e665a78f7e9d069aa4fc70e844b8988 30-Sep-2004 Eric Anholt <anholt@FreeBSD.org> OK, one more time. Simplify the state-backup system by just storing the full
state in a ready-to-emit cmdbuf, which avoids the issue Nicolai Haehnle reported
where the check() could return differently during backup-and-emit than it should
have if it were called at the right time. Move the lit emission before most of
the TCL state emission on r200, which fixes neverball issues.

Tested with: r100/r200 with neverball, tuxracer, chromium, quake3, ipers
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
303c342d5353e7fb1b480da97ce505357eafe0c0 24-Sep-2004 Eric Anholt <anholt@FreeBSD.org> -O -Wall warnings cleanups in r200.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
106ab07acd3de9450ddbd675bf512707d96ba6a9 24-Sep-2004 Eric Anholt <anholt@FreeBSD.org> Remove an unnecessary calculation of the dest pointer.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
a1f8ecf9627271110b11e04e3ff2dba37b4932be 23-Sep-2004 Dave Airlie <airliedfreedesktop.org> fix for Erics new emit state code, rework out the dest pointer
after we check the buffer
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
0c8f8d3dc9d60ed34eeca7f3606651420a81753c 22-Sep-2004 Eric Anholt <anholt@FreeBSD.org> The previous code would emit a full set of state during the first EmitState on
a new cmdbuf, to ensure that state wasn't lost across UNLOCK/LOCK pairs (in the
case of context switching). This was rather inefficient. Instead, after
flushing a cmdbuf, mark the state as needing to be saved on UNLOCK. Then, at
the beginning of flushing a cmdbuf, if we actually have lost the context, go
back and emit a new cmdbuf with the full set of state, before continuing with
the cmdbuf flush. Also, remove the dirty/clean atom lists, since atoms are
emitted in a fixed order these days, and go with a simpler single list.

Provides a 14% improvement in ipers performance in my tests, along with other
apps.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
6f3cc6a5226fd4b5d44cca91e2f76216ecaff831 17-Aug-2004 Eric Anholt <anholt@FreeBSD.org> Close some races with locking on R100 and R200 which could manifest as rendering
errors on r100 and rendering errors and hangs on r200 (same for R100 without
OLD_PACKETS).

If a command buffer filled after some state (EmitState or a VBPNTR write) was
emitted, the lock was grabbed, the buffer flushed, a new buffer prepared, and
the lock dropped. Another client could come in, set its own state as part of
rendering, and when the first client flushed the rendering commands depending
on the previous state, it got the 2nd client's state. This is fixed by checking
for enough space before beginning a set of state emits and rendering, and
flushing the buffer first if so. This guarantees that the buffer won't wrap.

Also, move the "lost_context = 1" from the end of cmdbuf flushing to
UNLOCK_HARDWARE for clarity (at a minimum) that any time the lock is dropped,
state may get overwritten. We don't have enough information at the point of the
LOCK_HARDWARE to reset our state to the last UNLOCK_HARDWARE point in the case
that we did lose our context, but saving the information to rebuild that state
may be a useful optimization (ipers data suggests up to 5%).
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
aaaf38d37215aa1536ff34ec370ecfc04111af22 27-May-2004 Roland Scheidegger <rscheidegger@gmx.ch> change some explicit references to texture units 0/1 to unit < MaxTextureUnits (Andreas Stenglein, Ronny Vindenes)
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
ae4a1cc0666860bf5cc37a5cb549afc9aa5448b0 11-Mar-2004 Jon Smirl <jonsmirl@gmail.com> Adjustments to make everything use IOCTL/sarea defines in DRM instead
of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
a05b1549f7b6da7d9313b9addf2d01b9c61f34d7 09-Jan-2004 Keith Whitwell <keith@tungstengraphics.com> Roland Scheidegger's r200_changeemitorder.diff.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
bcc6eddd335e97d49ed2ef3a1440f94d58dce12d 21-Oct-2003 Jon Smirl <jonsmirl@gmail.com> Update DRI drivers to current DRI CVS and make them work.
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c
adbec39bbf671ad80f6c557801e274cac0d305fa 06-Aug-2003 Keith Whitwell <keith@tungstengraphics.com> r200 driver, brought over by Jon Smirl
/external/mesa3d/src/mesa/drivers/dri/r200/r200_cmdbuf.c