History log of /external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
de694b6b10b7ce23a00cd7296a955f162704ee62 27-Jul-2012 Roland Scheidegger <sroland@vmware.com> radeon/r200: fix bogus clears

There were several problems with these functions (which are a remnant
of dri1 hyperz mostly - should bring it back somehow someday).
First, it would always do a swrast clear if the buffer to clear was a fbo.
Second, for buffers we wouldn't handle the clear (I guess aux/accum?) we
would actually still have tried to clear that later even when we already
cleared it with swrast.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
5bb2059be714c09bd0fbc9aebd7dabf1ba3e63b6 12-Mar-2012 Brian Paul <brianp@vmware.com> radeon/r200: remove hyperz/fast clear testing code

The flags which were computed were never actually used.

Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
1837fb8e7c3cef8b9292b68da152d185e7103646 28-Oct-2011 Kristian Høgsberg <krh@bitplanet.net> dri: Remove remaining DRI1 vblank code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
53b382637ca5462b15a430abbfc070e799d70b97 14-Oct-2011 Eric Anholt <eric@anholt.net> radeon: Drop dri2 checks now that it's always true.

This makes LOCK_HARDWARE empty, so it goes away.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
0973a1ec78fdedc5401cb1c0f6d027425c492509 14-Oct-2011 Eric Anholt <eric@anholt.net> radeon: Drop the non-kernel-memory-manager support, and thus DRI1.

It's past time, and it was going to get in the way of the renderbuffer
mapping refactor. We dropped all the other DRI1 drivers for this
release, and I can't imagine anybody supporting DRI1 radeon classic in
a new release of Mesa.

Diff produced by treating kernel_mm as true, deleting the DRI1 paths
that produce kernel_mm false, and deleting code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
7cf799d47269ce01d3e5981709744a16b7c2756c 02-Aug-2011 Eric Anholt <eric@anholt.net> radeon: Remove set-but-unused color_mask variable.

This has been around since the initial import in 2003 and never used.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.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/radeon/radeon_ioctl.c
1663e6da2f15ff8db9f08ca6a7337f8bd28add17 30-Sep-2010 Nicolas Kaiser <nikai@nikai.net> dri/radeon: remove duplicated includes

Remove duplicated includes.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
3f5bac8960a5c6d1f08f0dc849676139b9d6ce5c 24-Feb-2010 Dave Airlie <airlied@redhat.com> radeon/r200: fix the state emission before kernel clear

this moves the emission outside the lock and adds r200 support.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
b75d40736997911e00cab339a7f15ec9bc86e535 24-Feb-2010 Dave Airlie <airlied@redhat.com> radeon: fix bad state emission causes kernel to do bad depth clear

The kernel lets you clear depth without getting a depth offset
from userspace, mesa used to emit state before clear, but that got
lost in the refactoring, which made the kernel bug show up. Fix
mesa driver to emit the state properly now.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
eaf8fe657f4cd30c0c1da20c4acf43e077783fcd 08-Feb-2010 Dave Airlie <airlied@redhat.com> radeon: fix UMS since stp addition.

UMS doesn't need the STP atom.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
69f20294cd8bed52e4a9b648158423c5f0754941 04-Feb-2010 Pauli Nieminen <suokkos@gmail.com> r100: Add the polygon stipple state to the state list.

This fixes glean paths test case.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
8a2cf4549a4e88d8981d75b003ac0a43e71f5e41 31-Jan-2010 Vinson Lee <vlee@vmware.com> radeon: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
4736e1cbbd4e2cf7fa4c67a728d520edc67e920f 21-Jan-2010 Chia-I Wu <olvaffe@gmail.com> dri: Remove unnecessary glapi headers.

They are not used at all.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
d61f07318c8678901b948fdaa8ccdf37aa3203e9 01-Jan-2010 Kristian Høgsberg <krh@bitplanet.net> Remove leftover __DRI{screen,drawable,context}Private references

As part of the DRI driver interface rewrite I merged __DRIscreenPrivate
and __DRIscreen, and likewise for __DRIdrawablePrivate and
__DRIcontextPrivate. I left typedefs in place though, to avoid renaming
all the *Private use internal to the driver. That was probably a
mistake, and it turns out a one-line find+sed combo can do the mass
rename. Better late than never.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
112908c279b0a768eca95a505856a087e479674b 18-Dec-2009 Dave Airlie <airlied@redhat.com> radeon: fix frontbuffer read/drawpixels

Bug 25699

The main problem was the optimising flush wasn't doing the front
rendering checks properly.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
4e0d99a63588c67a955f797733da32d04e6f4ee6 30-Aug-2009 Pauli Nieminen <suokkos@gmail.com> r100: Use shared debug code.

Converted r100 to use shared debug code with sed and fast compile check. New
code has compability layer so old debugging code doesn't have to be changed
all immidiatly.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
d0cb1036aa98d35ae5233d326fbb0ba592a26e26 28-Aug-2009 Dave Airlie <airlied@redhat.com> radeon: fix scissors harder.

this makes gnome-shell work on r300 for me
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
20d9204fbd71aebf870834b612579419d2c278b5 24-Jul-2009 Dave Airlie <airlied@itt42.(none)> radeon: fix max indx/vertex emission due to state checker
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
c3374bf97ecd82b915fb29c7c04951e2b75d4dbc 25-Aug-2009 Pauli Nieminen <suokkos@gmail.com> radeon: Fix all compiler warnings.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
f6f0e117a45a64464e49290ebc9f75b9a976070a 15-Jul-2009 Dave Airlie <airlied@redhat.com> intel/radeon: add common metaops code.

Move all the metaops to a dri_metaops file and port radeon/intel
to use the new common meta ops code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
3a6dd3ebb33a35779b0d5be2c8cab581a56f245a 27-May-2009 Jerome Glisse <glisse@freedesktop.org> radeon: emit scissor before emiting vertices
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
6141c9ba71df68c44fb4f8c9409f23b557009ca0 27-May-2009 Jerome Glisse <glisse@freedesktop.org> radeon: emit scissor when using cs submission style.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
7dd184dc4da37233471875df6f40cce0560cb7bc 24-May-2009 Nicolai Hähnle <nhaehnle@gmail.com> radeon: Remove drawable & readable from radeon_dri_mirror

The duplication of state data caused a crash due to double-free on destruction
of context, because a variable wasn't correctly null'ed out.

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.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/radeon/radeon_ioctl.c
8c7e30fb950c83f5e9e29e60735e999ac608145a 23-Mar-2009 Dave Airlie <airlied@redhat.com> raedon/r200/r300: mega-FBO commits.

Re work depth issues.
Do a lot more FBO abstactions
fixup depth/stencil buffer interactions
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
c6ac53bc40508ab2f0b9e023eee7ec3793fdf917 06-Mar-2009 Dave Airlie <airlied@redhat.com> radeon: implement userspace clears

This is pretty much Eric Anholts implementation of clear using the GL state machine
from the Intel drivers.

It works quite well for now for us, probably could do with trying to use Z engine for
clears.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
940d47de08eedaf5d8471628ba4860663d79a98e 04-Mar-2009 Dave Airlie <airlied@redhat.com> radeon: use swrast clear - fail on depth

need to write real hw user clear
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
2972d065265d38c7902ffeaa1e71706895649bec 26-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: fixup old packets emission for CS case
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
dc8a707c672918b88dd4135930bef60ed148d8ce 12-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: make build with out libdrm_radeon installed for now
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
23d3559bd4ece1fcab5513ebdaa38600d6654374 12-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: renaming and headers cleanup
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.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/radeon/radeon_ioctl.c
639b5fca0c5cea26a9dc393b538508aece16ce6b 10-Feb-2009 Dave Airlie <airlied@redhat.com> r100: fix 3D texture fallback
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
ccf7814a315f0be05cdc36ca358e2917a3d4ac19 09-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: major cleanups removing old dead codepaths.

This should be working gears on radeon state
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
9df844b109a9d2cc1d3b16315c34ef84f147c5b6 09-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: fix alignment issues in ELT code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
3fafaf8959681cc41c988607bb6e387bab4fe1b5 08-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: make more r100 work
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
36d3f3e74a809ad346e981805a2f61710d3a380b 06-Feb-2009 Dave Airlie <airlied@redhat.com> r100: fixup radeon so gears seems to work
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
8fe61fc5ba70be29b9d7dbdfab45c5434be587fc 04-Feb-2009 Dave Airlie <airlied@redhat.com> radeon/r200 remove more unused code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
b584b0728d3a001a142f76dde22f9e8ed7d2dd16 04-Feb-2009 Dave Airlie <airlied@redhat.com> radeon: make compile again.

Not tested but ripped out lots of stuff unneeded anymore time to test later
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
59b183ce0fc8fd8ab73b9321e609fdb3c29bb078 29-Jan-2009 Dave Airlie <airlied@redhat.com> radeon: remove even more common code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
5ba92a5b0543b4ff2c7db6101029ba36cb9843fa 29-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: bring back old style DMA buffer on top of BOs.

this gets back a lot of the lots speed in gears on r500 at least

I also fixed the legacy bufmgr to deal when the dma space fills up
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
0c0a55a21158e1f97cf140c0a1c0531c06751873 15-Jan-2009 Dave Airlie <airlied@linux.ie> r100/r200: move to new atom style emission
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
7e5e327cea83d9f6d1485f9be440277540ace5c7 14-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: consolidate the buffer copy/flip code into one place
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
d29e96bf33e91d071770b86d87ffc4ef4dfc2f70 13-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200/r300: attempt to move lock to common code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.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/radeon/radeon_ioctl.c
b6e486906968d82c7b8a869d7ab51697a7cce80c 13-Jan-2009 Dave Airlie <airlied@redhat.com> radeon/r200: move state atom to common header
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
45efcc44c758a94928648bc20df32b98b3462bcc 21-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Remove CVS keywords.

Cherry-picked from gallium-0.1

Conflicts:

src/glu/sgi/libnurbs/interface/bezierEval.h
src/glu/sgi/libnurbs/interface/bezierPatch.h
src/glu/sgi/libnurbs/interface/bezierPatchMesh.h
src/glu/sgi/libnurbs/internals/dataTransform.h
src/glu/sgi/libnurbs/internals/displaymode.h
src/glu/sgi/libnurbs/internals/sorter.h
src/glu/sgi/libnurbs/nurbtess/definitions.h
src/glu/sgi/libnurbs/nurbtess/directedLine.h
src/glu/sgi/libnurbs/nurbtess/gridWrap.h
src/glu/sgi/libnurbs/nurbtess/monoChain.h
src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h
src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h
src/glu/sgi/libnurbs/nurbtess/partitionX.h
src/glu/sgi/libnurbs/nurbtess/partitionY.h
src/glu/sgi/libnurbs/nurbtess/polyDBG.h
src/glu/sgi/libnurbs/nurbtess/polyUtil.h
src/glu/sgi/libnurbs/nurbtess/primitiveStream.h
src/glu/sgi/libnurbs/nurbtess/quicksort.h
src/glu/sgi/libnurbs/nurbtess/rectBlock.h
src/glu/sgi/libnurbs/nurbtess/sampleComp.h
src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h
src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h
src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h
src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h
src/glu/sgi/libnurbs/nurbtess/sampledLine.h
src/glu/sgi/libnurbs/nurbtess/searchTree.h
src/glu/sgi/libnurbs/nurbtess/zlassert.h
src/glu/sgi/libutil/error.c
src/glu/sgi/libutil/glue.c
src/glu/sgi/libutil/gluint.h
src/glu/sgi/libutil/project.c
src/glu/sgi/libutil/registry.c
src/glx/x11/glxclient.h
src/glx/x11/glxext.c
src/mesa/drivers/dri/ffb/ffb_dd.h
src/mesa/drivers/dri/ffb/ffb_points.h
src/mesa/drivers/dri/gamma/gamma_context.h
src/mesa/drivers/dri/gamma/gamma_macros.h
src/mesa/drivers/dri/i810/i810context.h
src/mesa/drivers/dri/r128/r128_dd.h
src/mesa/drivers/dri/tdfx/tdfx_dd.h
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
5a46e176715b0eae7b8a715e8aec42f5a27214fc 20-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: standardize on C99's uint*_t instead of u_int*_t
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.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/radeon/radeon_ioctl.c
328621509f4690fb945201a90425662e4fd2fc2d 29-May-2008 Dennis Kasprzyk <onestone@opencompositing.org> R1/2/3/4/5xx: fixed calculation of cliprects in CopyBuffer.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
6cb3f5c4d8618a14bb7ad1d9df10ed7e648a7b2b 28-Feb-2008 Kristian Høgsberg <krh@redhat.com> Use __DRIextension mechanism providing loader functionality to the driver.

Instead of passing in a fixed struct, the loader now passes in a list
of __DRIextension structs, to advertise the functionality it can provide
to the driver. Each extension is individually versioned and can be
extended or phased out as the interface develops.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
3177b4e2cf7d2fff7428cb6057bebbe60ff5cc6c 30-Oct-2007 Michel Dänzer <michel@tungstengraphics.com> More vblank cleanups.

* Fix crash at context creation in most drivers supporting vblank.
* Don't pass vblank sequence or flags to functions that get passed the drawable
private already.
* Attempt to initialize vblank related drawable private fields just once
per drawable. May need more work in some drivers.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
a2104dc6e18879ed3ba2108a09b6779e461eaa17 01-Feb-2007 Roland Scheidegger <sroland@tungstengraphics.com> fix unitialized values in radeonClear
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
a5676795cfe2e24979b5da65c2f499049ab009d9 01-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> Remove x/y/width/height parameters from Clear functions.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
446972bc2756cf9770a82f51aa0dc4f529c6cae5 18-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Want to stop passing x/y/width/height to Clear() function.
The coordinates need to be computed after we've got the hw lock.
Code updated to:
1. Ignore all/x/y/width/height/ params passed to Clear func.
2. Pass 0,0,0,0,0 to _swrast_Clear() until they're totally removed.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.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/radeon/radeon_ioctl.c
5377ac80dcabc717a93b270fbd84260b2dfe9d7a 02-Jun-2006 Roland Scheidegger <rscheidegger@gmx.ch> retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the intention as drm seems to never return EAGAIN) in all radeon drivers.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
f2ad1b60c0da11283b399008f491792790cea294 31-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> Dave Reveman's patch for GLX_MESA_copy_sub_buffer support
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
3a5626cb846ad767fe1c38fe35ebe4df3e3a0454 02-Nov-2005 Eric Anholt <anholt@FreeBSD.org> First step of Radeon DRI unification:
- Makes all three drivers use the same screen structure and setup code, with a
few ifdefs for the separate compilation to deal with symbols not being
available to all drivers and the fact that we have no mechanism for dealing
with different config options for different chip families in the same driver.
These issues should be dealt with later.
- Introduces IS_R[123]00_CLASS(radeonScreenPtr) macro for code for taking
different paths depending on the general class of chipset.
- Adds many new R300-class PCI IDs, though not all those listed in
radeon_driver.c.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
247f3b3e81fffa86c50531070fab573e26ffb452 16-Oct-2005 Roland Scheidegger <rscheidegger@gmx.ch> enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
d084c3d4dcabf58cef921b50ab60d1287563cd43 11-Oct-2005 Roland Scheidegger <rscheidegger@gmx.ch> Minor driver cleanup. Remove unnecessery/unneded radeon/r200AllocDmaRegionVerts function. No longer compile the radeon_compat stuff which was for drm 1.1 compatibility presumably but unused since about forever into the driver.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
da84f0b642a65614c2618121869d5cd45ad986f5 01-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> fix page flipping breakage
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
982e8e4d5c95e9e9040b4b70d7322a2a8a9396d9 01-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Finish up some of the gl_renderbuffer work.
Use driRenderbuffer's offset, pitch fields in the span routines.
Remove the SetBuffer driver function.
Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH
state in new radeonUpdateDrawBuffer() function.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
5f1ba3e21b62cee1a4f900a2e6964728f3eeea9b 26-Jul-2005 Ian Romanick <idr@us.ibm.com> Fixes the glXGetProcAddress portion of the interface. Most of the functions
that are currently obtained via glXGetProcAddress and all of the XF86DRI
functions are replaced with a funciton table. This table will be passed to
__driCreateNewScreen.

One of the functions in the table is getProcAddress. This allows some
loaders to expose functionality not in all loaders. This will be immediatly
used for glxEnableExtension (formerly known to drivers as
__glXScrEnableExtension). libGL (and in the future libglx) expose this
function so that drivers can enable GLX extensions. libEGL should exposed
eglEnableExtension to enable EGL extensions. The same function cannot be
used for both because the extensions have different names and (possibly)
different semantics. Drivers can optionally use one, both, or neither.

The key parts are in the __DRIinterfaceMethodsRec structure in
dri_interface.h. A pointer to one of these structures is passed into
__driCreateNewScreen. Because of this, the version of the API is bumped to
20050725. Since the previous version(s) were never in a release, their
existance is erased.

I was actually a little surprised by how much code this cuts from the
drivers. A lot of glXGetProcAddress calls disappear, and a lot of
version checks go with them. Nice.

The one thing I'm not sure of is removing __glXInitialize. For some
reason that function was in the glXGetProcAddress table, but *nothing*
in the Mesa tree used it. Did something with DRI conf. use this
function? It seems odd...
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
e4b2356c07d31fbeeabb13b2fb47db703b473080 04-May-2005 Brian Paul <brian.paul@tungstengraphics.com> Major check-in of changes for GL_EXT_framebuffer_object extension.
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
2c28dd892cfb43445d7e54df8b6a8331192f4e99 16-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> s/0/NULL/ (Jeff Muizelaar)
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
a205137423e42010a025c70b05af98a6c0564f28 26-Jan-2005 Roland Scheidegger <rscheidegger@gmx.ch> (Stephane Marchesin, me) Add support for color (framebuffer) tiling to the radeon and r200 driver
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
72e3664996721263858f3096e4a618a406550402 23-Jan-2005 Dave Airlie <airliedfreedesktop.org> reapply Keiths workaround for zbs emit that got dropped during
state change patches....
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
150ed2e43d5541556d282cae728cebeec692e07a 23-Jan-2005 Dave Airlie <airliedfreedesktop.org> add sync debugging to the radeon driver
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
38b317d508a2a3a4cc6d700ebca80c3b06c913e2 14-Dec-2004 Alan Hourihane <alanh@tungstengraphics.com> uint*t -> u_int*t changes
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
b31b7836d6e7abf80dd4feacce333d4b1fe6e4ab 08-Dec-2004 Roland Scheidegger <rscheidegger@gmx.ch> (Stephane Marchesin, me) add hyperz support to radeon and r200 drivers. Only fast z clear and z buffer compression are supported for now, hierarchical-z is not. Still problems with multiple apps and z/stencil readback, which is why hyperz is disabled per default. Also add the new point sprite packet drm 1.13 accepts to the sanity code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
ce055c26f08556a46ee8b4b88e5fd15eb4d2acd1 12-Nov-2004 Roland Scheidegger <rscheidegger@gmx.ch> add LOCK_HARDWARE/UNLOCK_HARDWARE to radeonClear so state gets updated which hopefully fixes lockups (?) (from r200 driver)
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
8e3926575264d31b3caacb9cbb606f8f2914f57d 12-Nov-2004 Roland Scheidegger <rscheidegger@gmx.ch> (from r200 driver) 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 radeonFlush instead of FIREVERTICES (which checks if any state has been
emitted but not flushed, before calling Flush) in radeonClear. While here, add
some more debugging info which was useful, and remove an unnecessary
save/restore in BackUpAndEmit.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.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/radeon/radeon_ioctl.c
5562fe653cf88454bbf2c50f77a8b56b0dafe01b 25-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. Provides a 10-15% improvement in ipers performance in my
tests, along with other apps.

Tested with: ipers, glxgears, quake3
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
626f825bcc91a3068e2e1c68e7467b42826c51ea 17-Aug-2004 Eric Anholt <anholt@FreeBSD.org> Revert the move of lost_context setting to UNLOCK_HARDWARE that was done in the
last commit. I've been convinced by keithw that it's sufficient, and put a note
in the code about it.

Close another race for state in the Clear functions. I made the situation worse
in my last commit, but this should fix things. Might be a slight performance
hit, which could be regained by splitting the R*_FIREVERTICES calls in r*Clear
up so that the EmitState doesn't happen in a separate new cmdbuf.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.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/radeon/radeon_ioctl.c
462183fe4cb6df6d90632d9e2cee881c8d26b1cb 26-Apr-2004 Alan Hourihane <alanh@tungstengraphics.com> bring over build fixes from stable branch
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
894844a8d956a0ee5f95836331dc318f49fdb845 21-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> Implemented support for software-based AUX color buffers.
Only available with Xlib driver for now.
Assorted clean-ups related to Draw/ReadBuffer().
Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
6af3dca18a2315ea431b5ea868913093d2111491 18-Mar-2004 Ian Romanick <idr@us.ibm.com> Convert int(8|32)_t to uint(8|32)_t, like should have been done the first time.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1 17-Mar-2004 Ian Romanick <idr@us.ibm.com> Convert all uses of CARD32 and CARD8 to int32_t and int8_t.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.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/radeon/radeon_ioctl.c
6a82d44d9cb25b8ef1e1697adfcfe91a964c221f 18-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> Change get_ust_nop()'s parameter from int64_t to uint64_t to silence warnings.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
22d1acf2ee25280c3294c2cfded232e612ffac2e 04-Jan-2004 Felix Kuehling <fxkuehl@gmx.de> New, less expensive workaround for state-change lockups.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c
99ef0a03292e7dc6aa2465aaaa620f394d2c286b 08-Dec-2003 Alan Hourihane <alanh@tungstengraphics.com> merge some more of the radeon DRI driver from the DRI trunk
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.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/radeon/radeon_ioctl.c
5df82c82bd53db90eb72c5aad4dd20cf6f1116b1 22-Aug-2003 Brian Paul <brian.paul@tungstengraphics.com> patch to import Jon Smirl's work from Bitkeeper
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_ioctl.c