summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-05-10Replace `pkg-config --cflags libdrm` with LIBDRM_CFLAGS, remove disabled ↵Brian
lines, remove obsolete comments.
2007-05-10Convert "bit" parameters to GLbitfield. Fix cut-and-paste bug in _mesa_IsEnabledIan Romanick
These changes are based on patch review comments from Brian Paul, Alan Hourihane, and vehemens.
2007-05-10Refactor the loop in unbind_texobj_from_texunits.Ian Romanick
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.
2007-05-10Refactor queries of GL_(SOURCE|OPERAND)[012]_(ALPHA|RGB).Ian Romanick
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.
2007-05-10Refactor the way TestProxyTexImage is called in texture_error_check.Ian Romanick
2007-05-10Refactor Enable / Disable and IsEnabled bits related to texture targets.Ian Romanick
2007-05-09r300: Name the render functions in r300_render.c consistently.Oliver McFadden
2007-05-09r300: Return -1 for error.Oliver McFadden
2007-05-09r300: Probably a good idea to always check the vertices; it's a WARN_ONCE so theOliver McFadden
performance impact is extremely minimal.
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: Converted a few "if (0)" into "if (RADEON_DEBUG & DEBUG_TEXTURE)".Oliver McFadden
2007-05-09Tweak the shell scripting for descending into and building subdirs.Brian
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!
2007-05-09r300: Cleaned up radeon_context.h slightly; mostly Indent.Oliver McFadden
2007-05-09r300: radeon_span.h is now common code; radeon_span.c still needs some work.Oliver McFadden
2007-05-09r300: Renamed the R300 memory manager from "radeon" to "r300"; it's R300Oliver McFadden
specific.
2007-05-09r300: Indented radeon_span.hOliver McFadden
2007-05-09r300: Further reduced the radeon_span.c diff.Oliver McFadden
2007-05-09r300: I have no idea why this was forced on, but it seems to work fine whenOliver McFadden
restored to the previous behaviour.
2007-05-09r300: Removed the dangerous R300_SPAN_DISABLE_LOCKING flag.Oliver McFadden
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.
2007-05-09r300: Removed a bit of disabled code.Oliver McFadden
2007-05-09r300: Don't need to include the deprecated r300_program.h in some files.Oliver McFadden
The only file that still requires r300_program.h is r300_ioctl.c; and it should use the new defines in r300_reg.h!
2007-05-09r300; Indent would destroy r300_reg.h, so add *INDENT-OFF*.Oliver McFadden
2007-05-09r300: Added a few more Doxygen comments.Christoph Bill
2007-05-09r300: Added some Doxygen comments.Christoph Bill
2007-05-09r300: Converted "rp" variables (r300_fragment_program) to "fp".Oliver McFadden
2007-05-09r300: Don't need to sleep here; might cause performance problems the first time.Oliver McFadden
2007-05-09r300: Removed the obsolete GLX_DIRECT_RENDERING define.Oliver McFadden
2007-05-09r300: Further reduced the diff between radeon_span.[ch].Oliver McFadden
2007-05-09r300: Indented both copies of radeon_span.[ch] in preparation for merging.Oliver McFadden
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: The empty check_space doesn't and never has done anything; removed it.Oliver McFadden
2007-05-09r300: Fix a couple of static errors.Oliver McFadden
2007-05-09r300: Fixed indenting from previous commitOliver McFadden
d28f6d91760374e2eb71b541b0f259f81dd73c69.
2007-05-09r300: Added R300_PRIM_NUM_VERTICES_MASK suggested by Jerome Glisse.Oliver McFadden
2007-05-09r300: Fixed some more function names.Oliver McFadden
Note there might be some calls to the old function names in conditionally disabled code, but I think I've got them all.
2007-05-09r300: Changed r300_run_vb_render calls to r300RunRender in some conditionallyOliver McFadden
disabled code.
2007-05-09r300: Added a "not implemented yet" comment back.Oliver McFadden
2007-05-09Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/mesaOliver McFadden
2007-05-09r300: Last of the indent changes. :)Oliver McFadden
2007-05-09r300: Indented r300_cmdbuf.[ch].Oliver McFadden
2007-05-09r300: Indented r300_state.[ch].Oliver McFadden
2007-05-09r300: Indented r300_texmem.[ch].Oliver McFadden
2007-05-09r300: Indented r300_texstate.[ch]Oliver McFadden
2007-05-09Clean-up in I830AllocVidMem(), s/int/unsigned long/ for ret variable.Brian
2007-05-09Check that texture units/samplers specified with glUniform1i() are legal.Brian
2007-05-09r300: Indented r300_tex.[ch].Oliver McFadden
2007-05-09r300: Indented r300_context.[ch].Oliver McFadden
2007-05-09r300: Removed the unused immediate vertices mode macro.Oliver McFadden
Immediate vertices mode hasn't been supported since early CVS versions of the R300 driver.
2007-05-09r300: Removed a disabled/obsolete e32 in the AOS function.Oliver McFadden