summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_state_init.c
AgeCommit message (Collapse)Author
2011-01-19radeon/r200: fix fbo-clearmipmap + gen-teximageDave Airlie
sw clears were being used and not getting the correct offsets in the span code. also not emitting correct offsets for CB draws to texture levels. (I've no idea why I'm playing with r100). This is a candidate for 7.9 and 7.10
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-01-30radeon: Remove unnecessary headers.Vinson Lee
2009-11-17radeon: align for mipmap tree changesMaciej Cencora
2009-10-08mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul
_ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
2009-09-01radeon: fix r100/r200 polygon stipple under kmsDave Airlie
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 <airlied@redhat.com>
2009-09-01r100: fixup cubemap domainsDave Airlie
2009-08-26radeon/r100/r200: actually init the OQ support properlyDave Airlie
2009-08-26radeon: add r100 OQ support with kms.Dave Airlie
This adds OQ support for the r100 chipsets, it requires KMS unless someone wants to make a kernel patch to add support for OQ regs.
2009-08-24radeon: Fix dri1 ctx emit size.Pauli Nieminen
2009-08-24Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵Pauli Nieminen
r600_state_predict Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/radeon/radeon_cmdbuf.h
2009-08-21radeon: fix incorrect loop limit (warned by -O3)Brian Paul
2009-08-21radeon: Port flush preventation code from r200 to r100.Pauli Nieminen
- emit prediction - fixes to emit_sizes for data - clean up of excesive use of radeonEnsureCmdBufferSpace Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-07-21radeon: fix colorbuffer pitch emission regarding tiling in KMS/CS caseJerome Glisse
We need to emit a relocation for pitch register so that kernel can check and properly setup tiling on the color buffer.
2009-07-14radeon: Differentiate 16 bpp destination formats.Michel Dänzer
Fixes those formats in fbo_firecube. Only tested with r300, radeon and r200 compile tested only.
2009-07-02radeon/r300: use base width/height.Dave Airlie
I suspect this might break TFP in some way but it makes firecube run here
2009-06-19radeon: fix cube maps for non-mm pathRoland Scheidegger
drm cmd checker would refuse cube emits also fix an issue in the cs path which would calculate the register offset off by one dword. Only same testing done as original code (none except compile tested).
2009-05-06radeon: hopefully fixup radeon cube state emission for kmsDave Airlie
2009-04-12radeon: emit scissor when using cs pathJerome Glisse
2009-04-02radeon/r200/r300: collapse context destruction down to a common path.Dave Airlie
Context destruction was nearly the same over all the drivers, so collapse it down.
2009-03-23raedon/r200/r300: mega-FBO commits.Dave Airlie
Re work depth issues. Do a lot more FBO abstactions fixup depth/stencil buffer interactions
2009-03-04radeon: r100 clean up CS packet size calcDave Airlie
2009-03-04radeon: settexbuffer supportDave Airlie
This gets DRI2 compiz going
2009-03-04radeon: fix texturing for r100Dave Airlie
2009-03-04radeon: fixup some segfaults/exit at startupDave Airlie
2009-02-27r200: port over cs emit changes from radeonDave Airlie
2009-02-26r100: fixup kms state emissionsDave Airlie
2009-02-26radeon: move CB/ZB state init into emit codeDave Airlie
This removes the use of the sarea for this stuff so makes DRI2 easier and emits the CB/ZB info in the correct place
2009-02-17radeon/r200: drop dirty state from texture object + pp_txoffsetDave Airlie
this is just more code cleanup for old dead code
2009-02-14radeon: add initial cubemap support appears to workDave Airlie
2009-02-13radeon/r200: make setTexOffset work againDave Airlie
2009-02-12radeon/r200/r300: make build with out libdrm_radeon installed for nowDave Airlie
2009-02-12radeon: renaming and headers cleanupDave Airlie
2009-02-12radeon/r200/r300: another big merge upheavel.Dave Airlie
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
2009-02-10r100: fix 3D texture fallbackDave Airlie
2009-02-10radeon: put back state emission lastcmdDave Airlie
2009-02-10radeon: major cleanups removing old dead codepaths.Dave Airlie
This should be working gears on radeon state
2009-02-09radeon: make more r100 workDave Airlie
2009-02-06r100: fixup radeon so gears seems to workDave Airlie
2009-01-15r100/r200: move to new atom style emissionDave Airlie
2009-01-14radeon/r200/r300: attempt to move lock to common codeDave Airlie
2009-01-14radeon/r200/r300: initial attempt to convert to common context codeDave Airlie
2009-01-14radeon/r200: move state atom to common headerDave Airlie
2008-09-21Remove CVS keywords.Keith Whitwell
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
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2006-10-31remove vtxfmt code, switch over to vboKeith Whitwell
2006-01-07cube maps on r100 require newer drm than the same feature on r200 ↵Roland Scheidegger
(regression from introducing unfied initialization). Fix wrong (so far unused) family assignment for r100 cards.
2005-11-02First step of Radeon DRI unification:Eric Anholt
- 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.
2005-10-17add GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses ↵Roland Scheidegger
fallback) yet. May cause a tcl fallback if fog coord is used together with separate specular lighting. Fog factors are precomputed and then submitted instead of the raw coords (chip limitation, same as on r200).
2005-10-15enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just ↵Roland Scheidegger
generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.