summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r300: Removed some checking in r300NumVerts that is not needed.Oliver McFadden2007-05-111-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: Function naming correction in r300_texmem.c.Oliver McFadden2007-05-111-7/+8
|
* r300: Cleaned up function names in r300_state.c.Oliver McFadden2007-05-111-11/+12
|
* r300: Cleaned up function naming in r300_emit.c.Oliver McFadden2007-05-111-28/+19
|
* r300: Renamed r300_maos.c to r300_emit.c; it contains mostly emit code now.Oliver McFadden2007-05-117-53/+11
|
* Remove unused FB_* tokens, re-indent code.Brian2007-05-111-50/+46
|
* When feeding back texcoords, don't divide by W. See bug 10913.Brian2007-05-111-15/+3
|
* Fix some bugs related to loop counters and conditional branching.Patrick Baggett2007-05-111-24/+24
|
* more indentation fixes, remove 'register' keywordsBrian2007-05-101-29/+26
|
* re-indent some codeBrian2007-05-101-54/+62
|
* document exp(), mod() fixesBrian2007-05-101-0/+2
|
* regeneratedBrian2007-05-101-524/+528
|
* Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function.Brian2007-05-101-11/+15
| | | | | exp() was using __asm float_exp (OPCODE_EXP) but that computes base two, not e. See bug 10907.
* Fix reversed enable logic in enable_textureIan Romanick2007-05-101-1/+1
| | | | | Fix bug inserted in commit c9e723e5013443df984cb3987ffa3a9ba3384b89. Discovered by Oliver McFadden (z3ro).
* r300: Added TODO comment regarding texture tiling; I'm not sure about this.Oliver McFadden2007-05-101-0/+2
|
* r300: Corrected a compile error introduced by one of the previous commits.Oliver McFadden2007-05-101-2/+0
|
* r300: Removed obsolete start_index16_packet/start_index32_packet.Oliver McFadden2007-05-101-22/+0
| | | | It's all in r300_render.c now.
* r300: Moved some more emit code into r300_render.c.Oliver McFadden2007-05-102-31/+32
|
* r300: Moved some more of the emit code into r300_render.c.Oliver McFadden2007-05-104-54/+48
|
* document tex sampler bug fix, code changesBrian2007-05-101-0/+3
|
* Replace `pkg-config --cflags libdrm` with LIBDRM_CFLAGS, remove disabled ↵Brian2007-05-101-9/+5
| | | | lines, remove obsolete comments.
* Convert "bit" parameters to GLbitfield. Fix cut-and-paste bug in _mesa_IsEnabledIan Romanick2007-05-101-3/+3
| | | | | These changes are based on patch review comments from Brian Paul, Alan Hourihane, and vehemens.
* Refactor the loop in unbind_texobj_from_texunits.Ian Romanick2007-05-101-18/+12
| | | | | | Common code was pulled out of the per-target if-statment and put at the end of the for-loop. The common code is guarded by a new variable, curr, that is set to point to the unit's current target in each if-statement.
* Refactor queries of GL_(SOURCE|OPERAND)[012]_(ALPHA|RGB).Ian Romanick2007-05-101-136/+16
| | | | | | | | | Most switch-statements that have cases for these enums already use code like: const GLuint idx = pname - GL_SOURCE0_RGB; ... texUnit->Combine.SourceRGB[idx] ... This patch just brings the remaining bits up to speed.
* Refactor the way TestProxyTexImage is called in texture_error_check.Ian Romanick2007-05-101-22/+15
|
* Refactor Enable / Disable and IsEnabled bits related to texture targets.Ian Romanick2007-05-101-82/+50
|
* r300: Name the render functions in r300_render.c consistently.Oliver McFadden2007-05-091-2/+2
|
* r300: Return -1 for error.Oliver McFadden2007-05-091-3/+3
|
* r300: Probably a good idea to always check the vertices; it's a WARN_ONCE so theOliver McFadden2007-05-091-13/+12
| | | | performance impact is extremely minimal.
* r300: Added some more Doxygen documentation and made some functions static.Oliver McFadden2007-05-0913-64/+83
|
* r300: Removed the "texmicrotile" variable; the tiling code is disabled via aOliver McFadden2007-05-093-5/+1
| | | | compiler conditional anyway; probably broken?
* r300: Converted a few "if (0)" into "if (RADEON_DEBUG & DEBUG_TEXTURE)".Oliver McFadden2007-05-093-5/+5
|
* Tweak the shell scripting for descending into and building subdirs.Brian2007-05-094-13/+24
| | | | | | | | | | | | | | In general, use this: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ (cd $$dir && $(MAKE)) || exit 1; \ fi \ done Basically, silently skip missing subdirs but generate an error and stop if there's a compilation or install problem. This was done inconsistantly before. In once case, a missing subdir was causing us to go into an infinte loop!
* r300: Cleaned up radeon_context.h slightly; mostly Indent.Oliver McFadden2007-05-094-365/+347
|
* r300: radeon_span.h is now common code; radeon_span.c still needs some work.Oliver McFadden2007-05-093-51/+3
|
* r300: Renamed the R300 memory manager from "radeon" to "r300"; it's R300Oliver McFadden2007-05-099-74/+74
| | | | specific.
* r300: Indented radeon_span.hOliver McFadden2007-05-092-3/+3
|
* r300: Further reduced the radeon_span.c diff.Oliver McFadden2007-05-092-3/+91
|
* r300: I have no idea why this was forced on, but it seems to work fine whenOliver McFadden2007-05-091-2/+2
| | | | restored to the previous behaviour.
* r300: Removed the dangerous R300_SPAN_DISABLE_LOCKING flag.Oliver McFadden2007-05-092-29/+6
| | | | | | Enabling R300_SPAN_DISABLE_LOCKING would probably cause more lockups; I think there are a couple of other little bugs in this code, too. It's best to remove it.
* r300: Removed a bit of disabled code.Oliver McFadden2007-05-091-3/+0
|
* r300: Don't need to include the deprecated r300_program.h in some files.Oliver McFadden2007-05-093-3/+0
| | | | | The only file that still requires r300_program.h is r300_ioctl.c; and it should use the new defines in r300_reg.h!
* r300; Indent would destroy r300_reg.h, so add *INDENT-OFF*.Oliver McFadden2007-05-091-0/+3
|
* r300: Added a few more Doxygen comments.Christoph Bill2007-05-092-9/+12
|
* r300: Added some Doxygen comments.Christoph Bill2007-05-094-33/+12
|
* r300: Converted "rp" variables (r300_fragment_program) to "fp".Oliver McFadden2007-05-093-404/+404
|
* r300: Don't need to sleep here; might cause performance problems the first time.Oliver McFadden2007-05-091-1/+0
|
* r300: Removed the obsolete GLX_DIRECT_RENDERING define.Oliver McFadden2007-05-093-7/+1
|
* r300: Further reduced the diff between radeon_span.[ch].Oliver McFadden2007-05-092-2/+3
|
* r300: Indented both copies of radeon_span.[ch] in preparation for merging.Oliver McFadden2007-05-094-201/+173
|