Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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: Function naming correction in r300_texmem.c. | Oliver McFadden | 2007-05-11 | 1 | -7/+8 |
| | |||||
* | r300: Cleaned up function names in r300_state.c. | Oliver McFadden | 2007-05-11 | 1 | -11/+12 |
| | |||||
* | r300: Cleaned up function naming in r300_emit.c. | Oliver McFadden | 2007-05-11 | 1 | -28/+19 |
| | |||||
* | r300: Renamed r300_maos.c to r300_emit.c; it contains mostly emit code now. | Oliver McFadden | 2007-05-11 | 7 | -53/+11 |
| | |||||
* | Remove unused FB_* tokens, re-indent code. | Brian | 2007-05-11 | 1 | -50/+46 |
| | |||||
* | When feeding back texcoords, don't divide by W. See bug 10913. | Brian | 2007-05-11 | 1 | -15/+3 |
| | |||||
* | Fix some bugs related to loop counters and conditional branching. | Patrick Baggett | 2007-05-11 | 1 | -24/+24 |
| | |||||
* | more indentation fixes, remove 'register' keywords | Brian | 2007-05-10 | 1 | -29/+26 |
| | |||||
* | re-indent some code | Brian | 2007-05-10 | 1 | -54/+62 |
| | |||||
* | document exp(), mod() fixes | Brian | 2007-05-10 | 1 | -0/+2 |
| | |||||
* | regenerated | Brian | 2007-05-10 | 1 | -524/+528 |
| | |||||
* | Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function. | Brian | 2007-05-10 | 1 | -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_texture | Ian Romanick | 2007-05-10 | 1 | -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 McFadden | 2007-05-10 | 1 | -0/+2 |
| | |||||
* | r300: Corrected a compile error introduced by one of the previous commits. | Oliver McFadden | 2007-05-10 | 1 | -2/+0 |
| | |||||
* | r300: Removed obsolete start_index16_packet/start_index32_packet. | Oliver McFadden | 2007-05-10 | 1 | -22/+0 |
| | | | | It's all in r300_render.c now. | ||||
* | r300: Moved some more emit code into r300_render.c. | Oliver McFadden | 2007-05-10 | 2 | -31/+32 |
| | |||||
* | r300: Moved some more of the emit code into r300_render.c. | Oliver McFadden | 2007-05-10 | 4 | -54/+48 |
| | |||||
* | document tex sampler bug fix, code changes | Brian | 2007-05-10 | 1 | -0/+3 |
| | |||||
* | Replace `pkg-config --cflags libdrm` with LIBDRM_CFLAGS, remove disabled ↵ | Brian | 2007-05-10 | 1 | -9/+5 |
| | | | | lines, remove obsolete comments. | ||||
* | Convert "bit" parameters to GLbitfield. Fix cut-and-paste bug in _mesa_IsEnabled | Ian Romanick | 2007-05-10 | 1 | -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 Romanick | 2007-05-10 | 1 | -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 Romanick | 2007-05-10 | 1 | -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 Romanick | 2007-05-10 | 1 | -22/+15 |
| | |||||
* | Refactor Enable / Disable and IsEnabled bits related to texture targets. | Ian Romanick | 2007-05-10 | 1 | -82/+50 |
| | |||||
* | r300: Name the render functions in r300_render.c consistently. | Oliver McFadden | 2007-05-09 | 1 | -2/+2 |
| | |||||
* | r300: Return -1 for error. | Oliver McFadden | 2007-05-09 | 1 | -3/+3 |
| | |||||
* | r300: Probably a good idea to always check the vertices; it's a WARN_ONCE so the | Oliver McFadden | 2007-05-09 | 1 | -13/+12 |
| | | | | performance impact is extremely minimal. | ||||
* | r300: Added some more Doxygen documentation and made some functions static. | Oliver McFadden | 2007-05-09 | 13 | -64/+83 |
| | |||||
* | r300: Removed the "texmicrotile" variable; the tiling code is disabled via a | Oliver McFadden | 2007-05-09 | 3 | -5/+1 |
| | | | | compiler conditional anyway; probably broken? | ||||
* | r300: Converted a few "if (0)" into "if (RADEON_DEBUG & DEBUG_TEXTURE)". | Oliver McFadden | 2007-05-09 | 3 | -5/+5 |
| | |||||
* | Tweak the shell scripting for descending into and building subdirs. | Brian | 2007-05-09 | 4 | -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 McFadden | 2007-05-09 | 4 | -365/+347 |
| | |||||
* | r300: radeon_span.h is now common code; radeon_span.c still needs some work. | Oliver McFadden | 2007-05-09 | 3 | -51/+3 |
| | |||||
* | r300: Renamed the R300 memory manager from "radeon" to "r300"; it's R300 | Oliver McFadden | 2007-05-09 | 9 | -74/+74 |
| | | | | specific. | ||||
* | r300: Indented radeon_span.h | Oliver McFadden | 2007-05-09 | 2 | -3/+3 |
| | |||||
* | r300: Further reduced the radeon_span.c diff. | Oliver McFadden | 2007-05-09 | 2 | -3/+91 |
| | |||||
* | r300: I have no idea why this was forced on, but it seems to work fine when | Oliver McFadden | 2007-05-09 | 1 | -2/+2 |
| | | | | restored to the previous behaviour. | ||||
* | r300: Removed the dangerous R300_SPAN_DISABLE_LOCKING flag. | Oliver McFadden | 2007-05-09 | 2 | -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 McFadden | 2007-05-09 | 1 | -3/+0 |
| | |||||
* | r300: Don't need to include the deprecated r300_program.h in some files. | Oliver McFadden | 2007-05-09 | 3 | -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 McFadden | 2007-05-09 | 1 | -0/+3 |
| | |||||
* | r300: Added a few more Doxygen comments. | Christoph Bill | 2007-05-09 | 2 | -9/+12 |
| | |||||
* | r300: Added some Doxygen comments. | Christoph Bill | 2007-05-09 | 4 | -33/+12 |
| | |||||
* | r300: Converted "rp" variables (r300_fragment_program) to "fp". | Oliver McFadden | 2007-05-09 | 3 | -404/+404 |
| | |||||
* | r300: Don't need to sleep here; might cause performance problems the first time. | Oliver McFadden | 2007-05-09 | 1 | -1/+0 |
| | |||||
* | r300: Removed the obsolete GLX_DIRECT_RENDERING define. | Oliver McFadden | 2007-05-09 | 3 | -7/+1 |
| | |||||
* | r300: Further reduced the diff between radeon_span.[ch]. | Oliver McFadden | 2007-05-09 | 2 | -2/+3 |
| | |||||
* | r300: Indented both copies of radeon_span.[ch] in preparation for merging. | Oliver McFadden | 2007-05-09 | 4 | -201/+173 |
| |