aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_common.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: change gl_format to mesa_formatMark Mueller2014-01-271-1/+1
| | | | s/\bgl_format\b/mesa_format/g. Use better name for Mesa Formats enum
* mesa: Eliminate parameters to dd_function_table::ScissorIan Romanick2014-01-151-1/+1
| | | | | | | | The i830 and i915 drivers used them, but they didn't really need to. They will just be annoying in future patches. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* radeon / r200: Don't pass unused parameters to radeon_viewportIan Romanick2013-11-051-1/+1
| | | | | | | | | | | The x, y, width, and height parameters aren't used by radeon_viewport, so don't pass them. This should make future changes to the dd_function_table::Viewport interface a little easier. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Acked-by: Alex Deucher <[email protected]> Cc: Courtney Goeltzenleuchter <[email protected]>
* radeon/r200: get rid of some unneeded cliprect/scissor codeRoland Scheidegger2012-08-011-1/+0
| | | | | Noone was interested in the number of cliprects, and noone cared about the intersect result neither. So just nuke this.
* radeon: derive radeon_renderbuffer from swrast_renderbufferBrian Paul2012-01-241-1/+1
|
* radeon: add casts to silence warningsBrian Paul2012-01-021-2/+2
|
* radeon: Simplify cliprects computation now that there's just 1.Eric Anholt2011-10-281-4/+0
| | | | | | This can probably be reduced even further by moving this logic to the scissor state update or just removing the logic entirely, but I don't trust myself in radeon quite that much.
* radeon: Drop dri2 checks now that it's always true.Eric Anholt2011-10-281-3/+0
| | | | This makes LOCK_HARDWARE empty, so it goes away.
* radeon: Drop the DRI1 swapbuffers implementation.Eric Anholt2011-10-281-5/+0
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-12/+12
|
* radeon: add hw accelerated glReadPixel support (not enabled yet)Maciej Cencora2010-03-091-0/+6
|
* radeon: Add some debug output for fbo supportPauli Nieminen2010-02-091-0/+7
|
* Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-041-4/+4
| | | | | | | | | 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/+2
| | | | | | | Bug 25699 The main problem was the optimising flush wasn't doing the front rendering checks properly.
* Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-12-071-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: progs/demos/projtex.c progs/xdemos/glxinfo.c src/mesa/main/version.h To fix the confilicts in projtex.c and glxinfo.c I just took the code from mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from mesa_7_7_branch to mesa_7_6_branch followed by commmits just to mesa_7_6_branch.
| * radeon: fix polygon stippleAlex Deucher2009-12-041-1/+0
| | | | | | | | | | | | fixes fdo bug 25354 Signed-off-by: Alex Deucher <[email protected]>
* | radeon: simplify radeon_create_renderbuffer()Brian Paul2009-10-221-1/+1
|/
* radeon: fix r100/r200 polygon stipple under kmsDave Airlie2009-09-011-1/+0
| | | | | | | | There really need to use state emits under kms, otherwise we end up with some dwords in the command buffer before we've ever emitted any useful state. Signed-off-by: Dave Airlie <[email protected]>
* r100/r200: Bring back old PolygonStripple for DRI1.Pauli Nieminen2009-08-281-0/+1
| | | | DRI1 didn't have support for command buffer emit for stripple.
* r100/r200: Share PolygonStripple code.Pauli Nieminen2009-08-281-0/+1
|
* radeon: Improve state emit code.Pauli Nieminen2009-08-211-1/+1
| | | | Trying to make understanding code easier with small refactoring and renaming.
* r200: Prevent flush in middle of rendering.Pauli Nieminen2009-08-211-0/+1
| | | | | | | | | | | Patch adds prediction functionthat tries to predict emit size to the smallest possible values that is quarenteed to be higher than worst case scenario in rendering pipeline. State emit size prediction code is in place but fix for emit sizes is included in next patch. Signed-off-by: Pauli Nieminen <[email protected]>
* intel/radeon: add common metaops code.Dave Airlie2009-07-151-12/+1
| | | | | Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
* radeon/r200/r300: port to new space checking code in libdrmDave Airlie2009-07-061-4/+0
| | | | | This moves a big chunk of the space checking code into libdrm so it can be shared by the DDX.
* radeon: Increase reference count of current renderbuffers.Michel Dänzer2009-05-201-2/+2
| | | | | | | Fixes glxinfo: main/renderbuffer.c:2159: _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed.
* radeon/r200/r300: fix up the whole buffer space checking.Dave Airlie2009-04-021-0/+3
| | | | | | | | | This fixes up the buffer validation scheme, so that we keep a list of buffers to validate so cmdbuf flushes during a pipeline get all the buffers revalidated on the next emit. This also fixes radeonFlush to not flush unless we have something useful to send to the GPU, like a DMA buffer or something not state
* raedon/r200/r300: mega-FBO commits.Dave Airlie2009-03-231-1/+18
| | | | | | Re work depth issues. Do a lot more FBO abstactions fixup depth/stencil buffer interactions
* radeon: dri2 is hooked up elsewhere nowDave Airlie2009-03-211-4/+0
|
* radeon: fixup span code for FBOsDave Airlie2009-03-211-0/+4
|
* radeon: some more fbo workDave Airlie2009-03-201-1/+2
|
* radeon: initial couch code copy from radeonDave Airlie2009-03-201-0/+2
|
* radeon/r200/r300: cleanup some of the renderbuffer codeDave Airlie2009-03-191-1/+18
|
* radeon: refactor framebuffer code like intelDave Airlie2009-03-031-3/+8
| | | | | this is a step towards fbos and should fix pageflipping, but I think the first flip seems broken.
* 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-0/+56