summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Calculate haveAccumBuffer, haveDepthBuffer and haveStencilBuffer inKeith Whitwell2005-03-221-0/+7
| | | | driFillInModes().
* Add support for production version of ATI RN50/ES1000. (ATI TechnologiesMichel Dänzer2005-03-181-0/+2
| | | | Inc.)
* Misc fixes.Aapo Tahkola2005-03-185-29/+77
|
* update against 03-Feb-2005 releaseMichal Krol2005-03-1858-11765/+12981
|
* enable all 3dlabs front-end compiler sourcesMichal Krol2005-03-181-1/+16
|
* a little program to change // comments to /* */ onesMichal Krol2005-03-181-0/+76
|
* glslang flex and bison sources:Michal Krol2005-03-182-0/+2623
| | | | | | | flex glslang.l bison -t -v -d glslang.y mv glslang.tab.c Gen_glslang_tab.cpp (shouldn't be .c?) mv glslang.tab.h glslang_tab.h
* Fix to get doom3 started.Aapo Tahkola2005-03-171-0/+2
|
* xmllint fixes. Revert 'note_unflushed' changes that were accidetnallyIan Romanick2005-03-171-4/+6
| | | | committed in the last version.
* Simple TCL stage and ability to disable vps.Aapo Tahkola2005-03-174-6/+54
|
* Enable the generation of server-side __glGetBooleanv_size and relatedIan Romanick2005-03-175-3229/+4322
| | | | | | | | | | | | | | | | | | functions. There are two parts to this. First, a size element with a name "Get" is shorthand for having four separate size elements with names "GetIntegerv", "GetDoublev", "GetFloatv", and "GetBooleanv". Additionally, a count of "?" is treated specially. This causes a call to a handcoded function named "__gl<base name>_variable_size". This is *only* needed to support GL_COMPRESSED_TEXTURE_FORMATS. That enum can return a variable number of values depending how many compressed texture formats are supported by the implementation. Fix a problem with glGetProgram{Local,Env}Parameter[df]vARB, glAreProgramsResidentNV, and glGetVertexAttribivNV. These changes only affect code generated for the server-side. The changes to enum.c are caused by enums added for the server-side __glGetBooleanv_size functions.
* Minor refactoring and code tweaking. The only notable chage is thatIan Romanick2005-03-172-13/+9
| | | | | | | | FilterGLAPISpecBase::xref is replaced by FilterGLAPISpecBase::functions_by_name. The notable difference between the two is that ::functions_by_name includes all functions, whether they have an assigned offset or not. This feature will be useful (necessary) when more server-side code is generated.
* Refactored some of the code for PrintGlxReqSize_[ch]. This ensures that theIan Romanick2005-03-171-19/+44
| | | | | same set of functions will be iterated for both the generated C-source file and the generated header file.
* Fix the handling of zero-sized output parameters (i.e., those with typeIan Romanick2005-03-172-2/+6
| | | | | | | | 'GLvoid *'). This fixes the GLX protocol for glGetProgramStringARB. This fixes bugzilla #2747. Remove the 'ignore="true"' from glVertexAttrib4bvARB. This fixes bugzilla #2746.
* Proper VAP output configuration as R300_RS_ROUTE_0_COLOR became optional and ↵Aapo Tahkola2005-03-164-16/+48
| | | | broke arbvptorus(takes no input color but produces output color). Also removing some useless code.
* Fixed some strangeness when mixing textured/flat primitives. Skipping ↵Ben Skeggs2005-03-161-9/+20
| | | | texture units should render correctly also. Aapo, I dont think I broke glxgears again on you...
* add support for user-configurable brilinear filtering on r200Roland Scheidegger2005-03-159-10/+44
|
* Fix to get glxgears display anything.Aapo Tahkola2005-03-151-1/+5
|
* For some reason the Makefile didn't commit..Ben Skeggs2005-03-151-0/+1
|
* Initial multitexturing support. Old behaviour can be re-enabled by changing ↵Ben Skeggs2005-03-155-9/+336
| | | | ifdefs in r300_setup_rs_unit and r300SetupPixelShader in r300_state.c\nRequires DRM update.
* When timestamping textures, need to emit the event with SAVAGE_WAIT_3DFelix Kuehling2005-03-142-27/+41
| | | | | | | | set. Otherwise the 3D engine may still be using a texture that is being overwritten. In order to minimize the cost of waiting, timestamp textures only when needed: when a texture image changes, when a different texture is bound to a texture unit or when a texture unit is disabled. (Used to be after flushing every command buffer.)
* Stencil supportPeter Zubaj2005-03-144-34/+84
| | | | | | Reflex from mesa demos doesn't work TODO - double side stencil I hope that I didn't break anything
* re-enable slang sourcesMichal Krol2005-03-141-6/+5
|
* make it compile under linuxMichal Krol2005-03-141-1/+2
|
* make it compile under gcc 3.3.2Michal Krol2005-03-141-1/+1
|
* fix enum commaMichal Krol2005-03-144-6/+6
|
* Replacing alpha test bits with values that give desired results as compaired ↵Aapo Tahkola2005-03-131-8/+1
| | | | to software rendering. Alpha test in textures is still completely broken as can be seen in progs/demos/fire and various games.
* Updated savage_dri.h from Xorg CVS. This removes definitions that areFelix Kuehling2005-03-131-81/+0
| | | | | not part of the DDX->DRI interface and should never have been in this file in the first place.
* Removed savagedma.[ch]. They have been unused for a while and were onlyFelix Kuehling2005-03-122-261/+0
| | | | | kept around for reference. Now that command DMA is implemented in the DRM module they are no longer needed.
* Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.Aapo Tahkola2005-03-126-23/+70
|
* Add support for ARB_draw_buffers and ARB_occlusion_query. The GLX protocolIan Romanick2005-03-111-29/+43
| | | | | | | | | | | for these extensions (as well as ARB_vertex_program and ARB_matrix_palette) was just approved by the ARB on 8-Mar-2005. Now the only extension missing for 1.5 support is ARB_vertex_buffer_object. The opcodes for ARB_matrix_palette were also added to gl_API.xml. Since this extension isn't supported by Mesa, no code is generated for it. Some tabs were also converted to spaces in the comment for GetCompressedTexImageARB.
* add MAT_DIRTY_FLAGS in _math_matrix_mul_floats(), (bug 2696)Brian Paul2005-03-111-3/+4
|
* Add suitable definitions for the _REV formats, plus a commentPaul Mackerras2005-03-111-10/+20
| | | | | | | explaining why they are the same as the non-REV formats now that textures don't get byte-swapped on their way to the chip. Fix the ARGB4444 and L8 formats. Add entries for the A8 and RGB332 formats.
* - Flush before updating the timestamp of a texture heap from a bound texture.Felix Kuehling2005-03-101-3/+21
| | | | | | | - Flush before using a new texture or before disabling a texture unit, because savageFlushCmdBuf can only update the timestamp of the last used texture. This fixes corruption in quake2 with single-textured lighting.
* If the texture image changed force emitting the texture address, evenFelix Kuehling2005-03-091-2/+10
| | | | | if it didn't change. This seems to flush texture cashes. Fixes multi-textured lighting in quake2.
* Don't use R200 texture constants - R300 fields are all different.Vladimir Dergachev2005-03-091-0/+4
|
* Deal with texture formats in a more robust way.Vladimir Dergachev2005-03-091-49/+25
|
* Replacing some RADEON cmd types with r300 counterparts.Aapo Tahkola2005-03-082-6/+6
|
* Improving Vladimirs alpha test fix a bit as it turns out r300Enable didnt ↵Aapo Tahkola2005-03-085-19/+15
| | | | correctly disable alpha test. Vertex programs with high vertex count now run a lot faster as software fallback is no longer on. Also disabling 'temp to result'-instructions as they probably violate the spec and dont seem to be something thats needed.
* Actually *use* the count_scale value associated with a parameter.Ian Romanick2005-03-061-3/+11
|
* Don't synchronize after each frame. Allow the GPU to be one frameFelix Kuehling2005-03-063-14/+17
| | | | | | | | | ahead of the CPU for more parallelism of CPU and GPU. Unfortunately there seems to be some broken hardware (like my ProSavageDDR) on which status register updates are delayed sometimes. This leads to very jerky animation if the hardware can buffer more than the current frame. A new option "sync_frames" can be used as a remedy on such broken hardware.
* - Fixed two bugs related to DMA buffer handling that showed up with theFelix Kuehling2005-03-065-29/+14
| | | | | | new DRM version 2.4 and command DMA. - Flush less. - Bumped the driver date.
* Add format 15. It turned out to be X,X,X,X,X8.gliding_penguinVladimir Dergachev2005-03-051-2/+2
|
* Fixing memset on ia64 & other archsDave Airlie2005-03-054-6/+26
| | | | From: Stephane Marchesin
* Enable VB mode rendering by default. If anyone thinks this is wrong, ↵Vladimir Dergachev2005-03-051-1/+1
| | | | | | | | | | *please* feel free to change it back. My reasons: * immediate mode is broken * vb mode is faster * vb mode is the right way to do it.
* Do properly initialize ALPHA_TEST register instead of carefully preserving ↵Vladimir Dergachev2005-03-051-2/+6
| | | | bogus value. This fixes many, many rendering issues which I wrongly blamed on texture programming or performance..
* remove one of the two _tnl_isolate_materials function callsRoland Scheidegger2005-03-051-6/+0
|
* Set pipes for R420 cards. Gives a nice speedup. This needs to be tested on ↵Rune Petersen2005-03-042-0/+5
| | | | r420 cards with less than 16 pipes.
* Add a couple of helper functions for completeness.Vladimir Dergachev2005-03-031-0/+19
|
* Fix some errors in the parameter descriptions in serveral vertex / fragmentIan Romanick2005-03-031-11/+11
| | | | program related functions.