Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300: cleanup frag prog setup a little | Maciej Cencora | 2009-04-17 | 1 | -16/+16 |
| | | | | | | | | | | | 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). | ||||
* | radeon/r200/r300: collapse context destruction down to a common path. | Dave Airlie | 2009-04-02 | 1 | -49/+49 |
| | | | | | Context destruction was nearly the same over all the drivers, so collapse it down. | ||||
* | r300: check buffer sizes in non-tcl case + set correct VRAM limits | Dave Airlie | 2009-03-26 | 1 | -0/+3 |
| | |||||
* | radeon: refactor framebuffer code like intel | Dave Airlie | 2009-03-03 | 1 | -1/+2 |
| | | | | | this is a step towards fbos and should fix pageflipping, but I think the first flip seems broken. | ||||
* | Merge remote branch 'origin/master' into radeon-rewrite | Dave Airlie | 2009-02-13 | 1 | -8/+14 |
|\ | | | | | | | | | | | | | Conflicts: configure.ac src/mesa/drivers/dri/r200/r200_context.c src/mesa/drivers/dri/r300/r300_render.c | ||||
| * | Track two sets of back-face stencil state | Ian Romanick | 2009-01-23 | 1 | -6/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | R300: missing semicolon | Alex Deucher | 2008-12-29 | 1 | -1/+1 |
| | | |||||
| * | r300: remove the unknowns from the indx_buffer code | Dave Airlie | 2008-12-28 | 1 | -1/+2 |
| | | |||||
* | | r200/r300: get up to speed on renamed files | Dave Airlie | 2009-02-12 | 1 | -2/+1 |
| | | |||||
* | | radeon/r200/r300: another big merge upheavel. | Dave Airlie | 2009-02-12 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | 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 | ||||
* | | r300: fix some autostate batch setups | Dave Airlie | 2009-02-06 | 1 | -2/+2 |
| | | |||||
* | | r300: fix up CS for modesetting - gears under kms works | Dave Airlie | 2009-02-04 | 1 | -7/+14 |
| | | |||||
* | | r300: rename validate textures to validate buffers | Dave Airlie | 2009-02-02 | 1 | -1/+1 |
| | | |||||
* | | r200/r300: add aperture space checks | Dave Airlie | 2009-01-31 | 1 | -0/+3 |
| | | |||||
* | | radeon/r200/r300: bring back old style DMA buffer on top of BOs. | Dave Airlie | 2009-01-29 | 1 | -4/+2 |
| | | | | | | | | | | | | 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 | ||||
* | | r200: clear is working at least - not much else | Dave Airlie | 2009-01-20 | 1 | -3/+3 |
| | | |||||
* | | r300: move some more function to generic | Dave Airlie | 2009-01-15 | 1 | -110/+110 |
| | | |||||
* | | r300: start moving new r300 cmdbuf into common code | Dave Airlie | 2009-01-14 | 1 | -5/+5 |
| | | |||||
* | | radeon: remove start/end offset + cleanup some whitespace | Dave Airlie | 2008-12-22 | 1 | -8/+0 |
| | | |||||
* | | radeon: make DRI1 one work with new CS mechanism | Dave Airlie | 2008-12-01 | 1 | -2/+2 |
| | | |||||
* | | r300: convert to new relocations format (see libdrm-radeon) | Jerome Glisse | 2008-11-14 | 1 | -20/+40 |
| | | |||||
* | | r300: cs + DRI2 support | Jerome Glisse | 2008-11-14 | 1 | -1/+61 |
| | | | | | | | | | | If DRI2 is enabled then switch cmd assembly to directly build hw packet. | ||||
* | | r300: bo and cs abstraction. | Jerome Glisse | 2008-11-14 | 1 | -56/+60 |
|/ | | | | | | | | | | 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 | ||||
* | mesa: added "main/" prefix to includes, remove some -I paths from ↵ | Brian Paul | 2008-09-18 | 1 | -9/+9 |
| | | | | Makefile.template | ||||
* | r300: Implement hardware acceleration for ColorLogicOp | Nicolai Haehnle | 2008-07-27 | 1 | -2/+0 |
| | |||||
* | r300: Always emit LOAD_VBPNTR immediately before index-based rendering | Nicolai Haehnle | 2008-07-26 | 1 | -1/+12 |
| | | | | This fixes one type of lockup I've been seeing on my test system. | ||||
* | mesa: fix issues around multisample enable | Roland Scheidegger | 2008-07-02 | 1 | -1/+1 |
| | | | | | multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer. | ||||
* | r300: Do not include r300_fragprog.h from r300_context.h and other cleanups | Nicolai Haehnle | 2008-06-14 | 1 | -0/+1 |
| | |||||
* | Initial r5xx fragment program compiler support. | Corbin Simpson | 2008-05-02 | 1 | -6/+19 |
| | | | | Includes fallback shader and a handful of working opcodes. | ||||
* | r300: oops wrong logic for swtcl | Dave Airlie | 2007-07-01 | 1 | -1/+1 |
| | |||||
* | r300: cleanup some of the swtcl code | Dave Airlie | 2007-07-01 | 1 | -0/+5 |
| | |||||
* | clean up cache flush emission into one place | Dave Airlie | 2007-06-22 | 1 | -14/+2 |
| | | | | makes gears work with swtcl | ||||
* | fixup packet setup - still hangs | Dave Airlie | 2007-06-17 | 1 | -3/+3 |
| | |||||
* | move clip to r300 emit | Dave Airlie | 2007-06-13 | 1 | -2/+1 |
| | |||||
* | r300: i can't see why we fallback for polygon offset line/fill | Dave Airlie | 2007-06-10 | 1 | -2/+0 |
| | |||||
* | r300: fix non-tcl rs4xx again. | Dave Airlie | 2007-06-02 | 1 | -0/+2 |
| | |||||
* | r300: Only support size 4 ELTs; this is what Mesa provides. | Oliver McFadden | 2007-05-30 | 1 | -29/+9 |
| | |||||
* | r300: Use the CP_PACKET3 macro for Type 3 packets. | Oliver McFadden | 2007-05-30 | 1 | -4/+4 |
| | | | | | | | | | 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. | ||||
* | r300: Removed the (completely broken since new VBO branch) OPTIMIZE_ELTS path. | Oliver McFadden | 2007-05-30 | 1 | -20/+0 |
| | | | | | | | | | 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. | ||||
* | r300: Cleaned up the AOS code in r300_render.c. | Oliver McFadden | 2007-05-30 | 1 | -21/+14 |
| | |||||
* | r300: Added TODO comment regarding immediate mode implementation. | Oliver McFadden | 2007-05-20 | 1 | -0/+3 |
| | |||||
* | r300: Removed the radeon_vertex_buffer structure. | Tommy Schultz Lassen | 2007-05-17 | 1 | -61/+11 |
| | |||||
* | r300: A few very minor indenting corrections. | Oliver McFadden | 2007-05-13 | 1 | -2/+2 |
| | |||||
* | r300: Use __FUNCTION__ not __func__. | Oliver McFadden | 2007-05-11 | 1 | -1/+1 |
| | | | | Just for consistency; most of the code already uses __FUNCTION__. | ||||
* | r300: Assert if the primitive type is unknown; this can't really happen. | Oliver McFadden | 2007-05-11 | 1 | -6/+2 |
| | |||||
* | r300: Moved some code around in r300_render.c and general clean up. | Oliver McFadden | 2007-05-11 | 1 | -42/+38 |
| | |||||
* | r300: Removed some checking in r300NumVerts that is not needed. | Oliver McFadden | 2007-05-11 | 1 | -15/+0 |
| | | | | | | According to Aapo Tahkola the OpenGL specification defines the behaviour when there are not enough vertices for the primitive type, thus DRI drivers do not need to perform verification on the number of vertices per primitive. | ||||
* | r300: Renamed r300_maos.c to r300_emit.c; it contains mostly emit code now. | Oliver McFadden | 2007-05-11 | 1 | -1/+0 |
| | |||||
* | r300: Moved some more emit code into r300_render.c. | Oliver McFadden | 2007-05-10 | 1 | -2/+32 |
| | |||||
* | r300: Moved some more of the emit code into r300_render.c. | Oliver McFadden | 2007-05-10 | 1 | -3/+48 |
| |