summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_context.c
AgeCommit message (Collapse)Author
2009-03-25r300: Texture size limit cleanups.Michel Dänzer
Since core Mesa MAX_TEXTURE_LEVELS was bumped, we were incorrectly advertising a maximum texture size of 4096 on older chips, causing corrupted menu text in Extreme Tux Racer or Armagetron. Also make sure our texture image array can actually hold all the mipmap levels we support...
2009-03-06r300: enable EXT_fog_coord extensionMaciej Cencora
Remove fixed function fog setup. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-01-28Make GL_ARB_draw_buffers mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_ARB_vertex_buffer_object mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_ARB_multisample mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_ARB_texture_compression mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-23r300: Enable GL_ATI_separate_stencil in R300Ian Romanick
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.
2008-10-01Unify ARB_depth_texture and SGIX_depth_textureIan Romanick
The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code.
2008-09-22r300: Adapt to the removal of _tnl_ProgramCacheInit() and friends.Michel Dänzer
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2008-07-27r300: Implement ARB_shadow_ambient; add STATE_SHADOW_AMBIENTNicolai Haehnle
2008-06-30r3xx/r5xx: Enable ARB_point_parameters.Corbin Simpson
This isn't complete yet. It does cover the two most common usage cases, though, and at least the third one (POINT_DISTANCE_ATTENUATION) is possible, so I'll do that later.
2008-06-30r300: Cleanup LodBias supportNicolai Haehnle
. 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
2008-06-14r300: Implement GL_ARB_shadow and GL_EXT_shadow_funcsNicolai Haehnle
2008-05-12R500: add support for 4k texturesAlex Deucher
2008-04-24enable GL_EXT_multi_draw_arrays (see bug 15670)Pierre Beyssac
2007-10-17Initial support for ARB_depth_textureIan Romanick
Currently only GL_DEPTH_COMPONENT16 are supported. I don't know what the hardware bits are to select the other formats, but it shouldn't be too hard to figure out.
2007-07-04r300: only init swtcl on tcl-less cardsDave Airlie
2007-07-01r300: cleanup some of the swtcl codeDave Airlie
2007-06-14Initial r300 modes for swtcl it compiles!!Dave Airlie
2007-05-11r300: Removed deprecated/disabled VBO code from r300_mem.cOliver McFadden
Also removed a couple of unused fields from the r300_memory_manager structure.
2007-05-11r300: Renamed r300_maos.c to r300_emit.c; it contains mostly emit code now.Oliver McFadden
2007-05-09r300: Added some more Doxygen documentation and made some functions static.Oliver McFadden
2007-05-09r300: Removed the "texmicrotile" variable; the tiling code is disabled via aOliver McFadden
compiler conditional anyway; probably broken?
2007-05-09r300: Renamed the R300 memory manager from "radeon" to "r300"; it's R300Oliver McFadden
specific.
2007-05-09r300: Removed the deprecated VTXFMT code.Oliver McFadden
This was okayed by Jerome Glisse and Keith Whitwell on the dri-devel IRC channel and list, respectively.
2007-05-09r300: Indented r300_context.[ch].Oliver McFadden
2007-05-08r300: Renamed the VBO functions to the R300 name format.Oliver McFadden
2007-05-08r300: Removed some deprecated code from r300_context.c and corrected an unusedOliver McFadden
variable warning in r300_render.c.
2007-05-07radeon: enable xpress chipsetsDave Airlie
glxgears and googleearth now run so that seems like a good start Thanks to Aapo Tahkola for doing the 3D work on this so far, I got lost after the GART changes.
2007-04-16move GL_EXT_stencil_two_side into alphabetical positionBrian
2007-04-16Fix glActiveStencilFaceEXT dispatch problem (bug 10523).Brian
OK, _all_ extensions that might get enabled by the driver need to be in the card_extensions[] list. driInitExtensions() is called at least twice: first during screen creation, then once for each context that's created. The first call sets up the dispatch table. The second call just sets the extension enable/disable flags.
2007-04-16remove _tnl_arb_vertex_program_stageBrian
2007-03-26merge of glsl-compiler-1 branchBrian
2007-03-24r300: Fix texture coordinate calculation for rectangle texturesNicolai Haehnle
R300 hardware takes texcoords in the range 0..1 even for rectangle textures. Previously, the necessary texcoord conversion was applied to the texture coordinate during vertex processing in a render stage. This is obviously wrong when fragment programs are used, which can calculate arbitrary coordinates for TEX instructions. Therefore, we now inject an appropriate MUL instruction before a TEX that reference a rectangle texture.
2007-02-23Update DRI drivers for new glsl compiler.Brian
Mostly: - update #includes - update STATE_* token code
2007-02-03r300CreateContext: Really initialize r300->initialMaxAnisotropy.Michel Dänzer
2007-02-02Merge branch 'vbo-0.2'Keith Whitwell
Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
2007-01-18support as much of GL_EXT_stencil_two_side as we can. untested.Aapo Tahkola
2006-10-31disable vtxfmt_a code, switch over to vboKeith Whitwell
2006-08-31Give the user posibility to choose speed over correctness.Rune Petersen
It does 2 things: 1) Allows you to disable S3TC, wine-games sometimes need S3TC enabled. 2) Disable fallbacks that usually have low impact.
2006-08-15Enable support for GL_EXT_gpu_program_parameters for R300.Ian Romanick
2006-07-09Fix #7195Aapo Tahkola
2006-06-30Vertex/fragment program patches (Rune Petersen)Brian Paul
2006-06-29destroy left-over VBOs on shutdownTilman Sauerbeck
2006-06-11destroy the memory manager along with the contextTilman Sauerbeck
2006-06-06prevent run_arb_vertex_program from running tnl programs unless ↵Aapo Tahkola
ctx->_MaintainTnlProgram is set
2006-04-23need to hold before freeingAapo Tahkola
2006-04-23Enable USER_BUFFERS, RADEON_VTXFMT_A and HW_VBOS on big endian by forcing ↵Benjamin Herrenschmidt
all elts to 32 bits (it would be possible to do a half word swap for 16 bits if somebody is interested) and by using the input route mecanism to swap ubyte's properly in r300EmitArrays. Tested with cva, varray and quake3