aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon
Commit message (Collapse)AuthorAgeFilesLines
* R300: add quadpipe overridesAlex Deucher2009-04-281-4/+13
| | | | | RV410 SE chips only have 1 quadpipe. Also, handle other R300 chip with quadpipe override
* radeon: Expose a 32 bit RGBA fbconfig even when the screen depth is 16.Michel Dänzer2009-04-061-15/+20
| | | | | | | Otherwise current xserver / libGL no longer expose a 32 bit RGBA GLX visual, and compiz fails. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=20479 .
* mesa: rename some gl_light fields to be clearerBrian Paul2009-04-032-8/+8
| | | | | EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
* dri: use BorderColor instead of _BorderChanBrian Paul2009-04-011-3/+8
|
* fix typo in fragment pipe alu define, should fix dot3_rgb tex combineRoland Scheidegger2009-03-091-1/+1
|
* mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul2009-03-071-1/+1
|
* r300: shut up valgrindMaciej Cencora2009-03-071-1/+1
| | | | | | It complained about uninitialized values Signed-off-by: Nicolai Haehnle <[email protected]>
* R300: Add support for RS600 chipsAlex Deucher2009-02-252-2/+12
|
* mesa: re-org texgen stateBrian Paul2009-02-211-12/+12
| | | | New gl_texgen struct allows quite a bit of code reduction.
* gallium: Fixups for driCreateConfigs MSAA support.Michel Dänzer2009-02-101-1/+3
| | | | Add the MSAA samples array or make sure its contents are initialized.
* re-add MSAA supportBrian Paul2009-02-091-2/+3
| | | | | | | | | (cherry picked from commit f7d80aa00611917bc8ce637136d982b151b8f44f) This also involved adding the new MSAA fields to driCreateConfigs(). Also, re-add prog_instructions->Sampler field for i965 driver. Will have to revisit that.
* radeon: remove include that breaks build in !OLD_PACKET pathDave Airlie2009-02-071-1/+0
| | | | this path isn't enabled by default in any case.
* Make GL_ARB_draw_buffers mandatoryIan Romanick2009-01-281-0/+2
| | | | Signed-off-by: Ian Romanick <[email protected]>
* Make GL_ARB_vertex_buffer_object mandatoryIan Romanick2009-01-281-2/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* Make GL_ARB_multisample mandatoryIan Romanick2009-01-281-2/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* Make GL_ARB_texture_compression mandatoryIan Romanick2009-01-281-2/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* r300: Enable GL_ATI_separate_stencil in R300Ian Romanick2009-01-231-0/+5
| | | | | | | At this point, GL_EXT_stencil_two_side should probably be disabled. It may be worth leaving it enabled because it has GLX protocol while GL_ATI_separate_stencil does not. I'll leave it to one of the r300 maintainers to make the call.
* fix span issue with really old ddx and non-tcl r100 chipsRoland Scheidegger2008-10-161-1/+1
|
* Remove CVS keywords.Keith Whitwell2008-09-2126-26/+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-215-10/+10
|
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-1819-78/+76
| | | | Makefile.template
* dri: Fix write/read depth buffer issue under 16bpp mode. See bug #16646Xiang, Haihao2008-08-051-0/+4
|
* radeon: SetTexOffset supportChris Rankin2008-07-145-21/+82
| | | | | This patch is a straightforward duplication of the R200 SetTexOffset code, except that there is no big-endian tx_table[] array.
* r300: Cleanup LodBias supportNicolai Haehnle2008-06-301-8/+7
| | | | | | | | | | | | | | . There is both a per-texture unit and a per-texture object (at least for OpenGL 1.4); this should now be supported properly. . The LOD bias calculation in r300_state has been simplified and corrected (need to multiply by 32 instead of 31, and ensure clamping) . do not clamp LOD bias in TexEnv, as that behaviour conflicts with what the spec says . set Const.MaxTextureLodBias properly . remove the no_neg_lod_bias property; if somebody can explain what it's good for, we can add it back in, but according to Google, nobody seems to use it . removed some dead code and unused variables
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-212-6/+6
|
* R300: 1002:5657 is actually RV410Alex Deucher2008-06-212-2/+2
| | | | See bug 14289
* r300: disable the lowimpact fallbacks by default.Dave Airlie2008-06-011-1/+1
| | | | because really we should be able to just fix the driver.
* R1/2/3/4/5xx: fixed calculation of cliprects in CopyBuffer.Dennis Kasprzyk2008-05-291-4/+6
|
* r500: remove warnings and only start on newer drms.Dave Airlie2008-05-281-8/+5
| | | | | This removes lots of warnings to the user, and only allows the driver to run on > .29 drms for r500 cards.
* R3/4/5xx: update to use drm get_param for num gb pipesAlex Deucher2008-05-282-7/+32
|
* r300: add R300_NO_TCL to allow testing of non-tcl on tcl cardsDave Airlie2008-05-031-0/+3
|
* R3/4/5: fix TCL on r5xx, cleanup PVS codeAlex Deucher2008-05-021-5/+5
|
* R5xx: various updatesAlex Deucher2008-05-021-1/+8
| | | | | | - fixup VAP_CNTL setup - remove extra instruction in r5xx passthrough shader - add notes about pipe config
* R5xx: Add R5xx pci idsAlex Deucher2008-05-022-1/+223
|
* r300: add rv530 pci id for the t60p laptopDave Airlie2008-05-022-0/+8
|
* some basic r500 portageDave Airlie2008-05-021-0/+2
|
* Change default of driconf "allow_large_textures" to announce hardware limits.Michel Dänzer2008-04-291-2/+2
| | | | | | The previous default these days served mostly to cause artifical problems with GLX compositing managers like compiz (see e.g. http://bugs.freedesktop.org/show_bug.cgi?id=10501).
* DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg2008-03-311-67/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
* Radeon 9500 (0x4144) only has one pipeAlex Deucher2008-03-191-0/+4
| | | | confirmed by Reid Linnemann <[email protected]>
* r300: add new rs690 pci idDave Airlie2008-03-181-0/+1
|
* Use __DRIextension mechanism providing loader functionality to the driver.Kristian Høgsberg2008-02-293-8/+14
| | | | | | | Instead of passing in a fixed struct, the loader now passes in a list of __DRIextension structs, to advertise the functionality it can provide to the driver. Each extension is individually versioned and can be extended or phased out as the interface develops.
* Remove GetMSC DriverAPI function.Kristian Høgsberg2008-02-251-2/+0
| | | | | | | | | | | The DriverAPI is internal to the DRI drivers and GetDrawableMSC obsoletes GetMSC. Also, since the DRI driver interface has not yet been released, just drop the getMSC function from the DRI interface instead using the ABI preserving version mechanism. Finally, using void pointer privates in the DRI interface is not allowed, always pass the actual types around (__DRIdrawable in this case) to enhance type safety and readability of the code.
* Add new RV380 pci idAlex Deucher2008-01-292-0/+2
| | | | bug 14289
* r300: add initial rs690 support to MesaDave Airlie2008-01-272-1/+22
| | | | | | The rs690 has an rs4xx style vertex-shader less 3D engine. It uses the new r500 output engine though. It also needs a new drm with rs690 support, which is just getting cleaned up.
* Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian2008-01-061-12/+12
| | | | | | | Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers.
* __driConfigOptions must be PUBLIC.Adam Jackson2007-12-241-1/+1
|
* R300: RV410 SE chips have half the pipes of regular RV410Alex Deucher2007-12-241-2/+7
| | | | | This fixes 3D rendering on x700 SE chips. Reported by Kano.
* fix GL_LINE_LOOP with drivers using own render pipeline stage (#12410, #13527)Roland Scheidegger2007-12-221-1/+1
| | | | | | primitive needs to include the begin/end flags (broken since vbo-0.2). Should fix missing first/last line segment on gamma, i810, i915, mga, r200, radeon, s3v, savage, unichrome (r300 already correct). Tested on r200, fixes #13527.
* fix z buffer read/write issue with rv100-like chips and old ddxRoland Scheidegger2007-11-221-1/+5
|
* fix bogus assumption if ddx has set up surface reg for z bufferRoland Scheidegger2007-11-151-2/+1
| | | | | | | | this is wrong since even if ddx has not set up a surface reg to cover the z buffer we should pretend it has on those rv100 chips since they presumably do not do z buffer tiling if not using hyperz, so we can use linear addressing just the same. Doesn't seem to fix #13080, but it's wrong anyway and the bug almost certainly broke newer non-tcl chips.