aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_ioctl.c
Commit message (Collapse)AuthorAgeFilesLines
* radeon/r200: make radeon_context subclass of gl_contextBrian Paul2012-10-051-3/+3
| | | | | radeon_context now contains a gl_context, rather than a pointer to one. This will allow some minor core Mesa clean-up.
* radeon/r200: fix bogus clearsRoland Scheidegger2012-08-011-26/+11
| | | | | | | | | 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.
* radeon/r200: remove hyperz/fast clear testing codeBrian Paul2012-03-121-10/+0
| | | | | | The flags which were computed were never actually used. Reviewed-by: Dave Airlie <[email protected]>
* dri: Remove remaining DRI1 vblank codeKristian Høgsberg2011-11-021-2/+0
|
* radeon: Drop dri2 checks now that it's always true.Eric Anholt2011-10-281-8/+0
| | | | This makes LOCK_HARDWARE empty, so it goes away.
* radeon: Drop the non-kernel-memory-manager support, and thus DRI1.Eric Anholt2011-10-281-194/+14
| | | | | | | | | | 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.
* radeon: Remove set-but-unused color_mask variable.Eric Anholt2011-08-021-3/+0
| | | | This has been around since the initial import in 2003 and never used.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-4/+4
|
* dri/radeon: remove duplicated includesNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated includes. Signed-off-by: Brian Paul <[email protected]>
* radeon/r200: fix the state emission before kernel clearDave Airlie2010-02-241-1/+2
| | | | | | this moves the emission outside the lock and adds r200 support. Signed-off-by: Dave Airlie <[email protected]>
* radeon: fix bad state emission causes kernel to do bad depth clearDave Airlie2010-02-241-0/+1
| | | | | | | | | 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 <[email protected]>
* radeon: fix UMS since stp addition.Dave Airlie2010-02-081-1/+2
| | | | | | UMS doesn't need the STP atom. Signed-off-by: Dave Airlie <[email protected]>
* r100: Add the polygon stipple state to the state list.Pauli Nieminen2010-02-051-0/+1
| | | | This fixes glean paths test case.
* radeon: Remove unnecessary headers.Vinson Lee2010-01-301-14/+0
|
* dri: Remove unnecessary glapi headers.Chia-I Wu2010-01-211-1/+0
| | | | They are not used at all.
* Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-041-2/+2
| | | | | | | | | 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.
* radeon: fix frontbuffer read/drawpixelsDave Airlie2009-12-181-0/+4
| | | | | | | Bug 25699 The main problem was the optimising flush wasn't doing the front rendering checks properly.
* r100: Use shared debug code.Pauli Nieminen2009-08-311-8/+8
| | | | | | 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.
* radeon: fix scissors harder.Dave Airlie2009-08-281-2/+2
| | | | this makes gnome-shell work on r300 for me
* radeon: fix max indx/vertex emission due to state checkerDave Airlie2009-08-271-1/+2
|
* radeon: Fix all compiler warnings.Pauli Nieminen2009-08-251-1/+1
|
* intel/radeon: add common metaops code.Dave Airlie2009-07-151-5/+0
| | | | | Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
* radeon: emit scissor before emiting verticesJerome Glisse2009-05-271-3/+1
|
* radeon: emit scissor when using cs submission style.Jerome Glisse2009-05-271-0/+28
|
* radeon: Remove drawable & readable from radeon_dri_mirrorNicolai Hähnle2009-05-241-27/+27
| | | | | | | 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 <[email protected]>
* radeon/r200/r300: collapse context destruction down to a common path.Dave Airlie2009-04-021-38/+38
| | | | | Context destruction was nearly the same over all the drivers, so collapse it down.
* raedon/r200/r300: mega-FBO commits.Dave Airlie2009-03-231-215/+2
| | | | | | Re work depth issues. Do a lot more FBO abstactions fixup depth/stencil buffer interactions
* radeon: implement userspace clearsDave Airlie2009-03-061-29/+223
| | | | | | | | 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.
* radeon: use swrast clear - fail on depthDave Airlie2009-03-041-54/+103
| | | | need to write real hw user clear
* radeon: fixup old packets emission for CS caseDave Airlie2009-02-261-3/+35
|
* radeon/r200/r300: make build with out libdrm_radeon installed for nowDave Airlie2009-02-121-1/+0
|
* radeon: renaming and headers cleanupDave Airlie2009-02-121-1/+1
|
* radeon/r200/r300: another big merge upheavel.Dave Airlie2009-02-121-178/+24
| | | | | | | | 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
* r100: fix 3D texture fallbackDave Airlie2009-02-101-0/+2
|
* radeon: major cleanups removing old dead codepaths.Dave Airlie2009-02-101-134/+7
| | | | This should be working gears on radeon state
* radeon: fix alignment issues in ELT codeDave Airlie2009-02-091-3/+7
|
* radeon: make more r100 workDave Airlie2009-02-091-75/+203
|
* r100: fixup radeon so gears seems to workDave Airlie2009-02-061-51/+53
|
* radeon/r200 remove more unused codeDave Airlie2009-02-041-8/+7
|
* radeon: make compile again.Dave Airlie2009-02-041-79/+30
| | | | Not tested but ripped out lots of stuff unneeded anymore time to test later
* radeon: remove even more common codeDave Airlie2009-01-291-244/+2
|
* radeon/r200/r300: bring back old style DMA buffer on top of BOs.Dave Airlie2009-01-291-7/+7
| | | | | | 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
* r100/r200: move to new atom style emissionDave Airlie2009-01-151-4/+11
|
* radeon/r200/r300: consolidate the buffer copy/flip code into one placeDave Airlie2009-01-141-292/+3
|
* radeon/r200/r300: attempt to move lock to common codeDave Airlie2009-01-141-43/+43
|
* radeon/r200/r300: initial attempt to convert to common context codeDave Airlie2009-01-141-94/+95
|
* radeon/r200: move state atom to common headerDave Airlie2009-01-141-3/+3
|
* Remove CVS keywords.Keith Whitwell2008-09-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* mesa: standardize on C99's uint*_t instead of u_int*_tKeith Whitwell2008-09-211-3/+3
|
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-3/+3
| | | | Makefile.template