summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_render.c
AgeCommit message (Collapse)Author
2009-05-28r300: when using cs path emit scissor in the cmdbufferJerome Glisse
2009-05-16r300: software fallbacking handling rewriteMaciej Cencora
Until now falling back to software rasterizer worked only for TCL enabled cards. For non TCL cards we used to plug our rendering functions in r300InitSwtcl, and we had never restored original functions for software rasterizer.
2009-05-16r300: r300EmitArrays should never failMaciej Cencora
2009-05-16r300: further cleanupMaciej Cencora
- move extensions init into seperate function - move options handling into seperate function - create new structure to hold options values - use context->options.hw_tcl_enabled field instead of global hw_tcl_on and future_hw_tcl_on variables
2009-04-27r300: fallback only if stencil test is enabledMaciej Cencora
2009-04-19r300: move common fp functions to seperate fileMaciej Cencora
2009-04-19r300: merge r300/r500 fragment program structuresMaciej Cencora
2009-04-19r300: r300/r500 fp shader merge WIPMaciej Cencora
2009-04-17r300: cleanup frag prog setup a littleMaciej Cencora
Use proper fields for marking if fp is translated, and if is translated succesfully. Now if fp gets translated (even unsuccesfully) fp->translated is true. If the translation failed (i.e. because we exceeded limit of maximum texture indirections) the fp->error is set. With a little updated fallback function it prevents non native fragment programs from beeing translated with every frame (the translation would fail anyway so there's no point to try again). Also implement IsProgramNative function for GL_FRAGMENT_PROGRAM_ARB (it should give some performance boost in apps that checks if program is native and falls back to simpler shader to meet hw limits if necessary) and cleanup indentation (remove whitespaces on empty lines).
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-26r300: check buffer sizes in non-tcl case + set correct VRAM limitsDave Airlie
2009-03-03radeon: refactor framebuffer code like intelDave Airlie
this is a step towards fbos and should fix pageflipping, but I think the first flip seems broken.
2009-02-13Merge remote branch 'origin/master' into radeon-rewriteDave Airlie
Conflicts: configure.ac src/mesa/drivers/dri/r200/r200_context.c src/mesa/drivers/dri/r300/r300_render.c
2009-02-12r200/r300: get up to speed on renamed filesDave 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-06r300: fix some autostate batch setupsDave Airlie
2009-02-04r300: fix up CS for modesetting - gears under kms worksDave Airlie
2009-02-02r300: rename validate textures to validate buffersDave Airlie
2009-01-31r200/r300: add aperture space checksDave Airlie
2009-01-29radeon/r200/r300: bring back old style DMA buffer on top of BOs.Dave Airlie
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
2009-01-23Track two sets of back-face stencil stateIan Romanick
Track separate back-face stencil state for OpenGL 2.0 / GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all three to be enabled in a driver. One set of state is set via the 2.0 or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is disabled. The other is set by StencilFunc and StencilOp when the active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has more details. http://opengl.org/registry/specs/EXT/stencil_two_side.txt
2009-01-20r200: clear is working at least - not much elseDave Airlie
2009-01-15r300: move some more function to genericDave Airlie
2009-01-14r300: start moving new r300 cmdbuf into common codeDave Airlie
2008-12-29R300: missing semicolonAlex Deucher
2008-12-28r300: remove the unknowns from the indx_buffer codeDave Airlie
2008-12-22radeon: remove start/end offset + cleanup some whitespaceDave Airlie
2008-12-01radeon: make DRI1 one work with new CS mechanismDave Airlie
2008-11-14r300: convert to new relocations format (see libdrm-radeon)Jerome Glisse
2008-11-14r300: cs + DRI2 supportJerome Glisse
If DRI2 is enabled then switch cmd assembly to directly build hw packet.
2008-11-14r300: bo and cs abstraction.Jerome Glisse
This abstract memory management and command stream building so we can use different backend either legacy one which use old pathway or a new one like with a new memory manager. This works was done by : Nicolai Haehnle Dave Airlie Jerome Glisse
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2008-07-27r300: Implement hardware acceleration for ColorLogicOpNicolai Haehnle
2008-07-26r300: Always emit LOAD_VBPNTR immediately before index-based renderingNicolai Haehnle
This fixes one type of lockup I've been seeing on my test system.
2008-07-02mesa: fix issues around multisample enableRoland Scheidegger
multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
2008-06-14r300: Do not include r300_fragprog.h from r300_context.h and other cleanupsNicolai Haehnle
2008-05-02Initial r5xx fragment program compiler support.Corbin Simpson
Includes fallback shader and a handful of working opcodes.
2007-07-01r300: oops wrong logic for swtclDave Airlie
2007-07-01r300: cleanup some of the swtcl codeDave Airlie
2007-06-22clean up cache flush emission into one placeDave Airlie
makes gears work with swtcl
2007-06-17fixup packet setup - still hangsDave Airlie
2007-06-13move clip to r300 emitDave Airlie
2007-06-10r300: i can't see why we fallback for polygon offset line/fillDave Airlie
2007-06-02r300: fix non-tcl rs4xx again.Dave Airlie
2007-05-30r300: Only support size 4 ELTs; this is what Mesa provides.Oliver McFadden
2007-05-30r300: Use the CP_PACKET3 macro for Type 3 packets.Oliver McFadden
I haven't converted all of the Type 3 packets to the CP_PACKET3 macro yet because some of the Type 3 packet defines are missing from the R300 register definition file. These defines need to be copied from DRM and Mesa into the R300 register definition file then copied into both DRM and Mesa.
2007-05-30r300: Removed the (completely broken since new VBO branch) OPTIMIZE_ELTS path.Oliver McFadden
The VTXFMT code was broken by the new VBO branch and the OPTIMIZE_ELTS path relied on the VTXFMT code... I'm not even sure if the OPTIMIZE_ELTS path ever worked; the testing that I did after minimizing the code duplication would have taken the same path as the non-OPTIMIZE_ELTS code.
2007-05-30r300: Cleaned up the AOS code in r300_render.c.Oliver McFadden
2007-05-20r300: Added TODO comment regarding immediate mode implementation.Oliver McFadden
2007-05-17r300: Removed the radeon_vertex_buffer structure.Tommy Schultz Lassen