summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use AC_CHECK_PROGS to find alternate make programsDan Nicholson2008-03-311-6/+2
| | | | | | | | The autoconf macro AC_PATH_PROGS handles the case of searching for multiple program names already, so we don't need to open code it. Also changed the search to AC_CHECK_PROGS so that it doesn't set the full path unless the user specified. Finally, report back the found value at the end for what the user should run.
* fix parsing bug involving comments at the end of ARB v/f programsMarkus Amsler2008-03-312-6/+6
|
* DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg2008-03-3138-1661/+2505
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
* mesa: Free all shader program data before deleting allXiang, Haihao2008-03-312-0/+18
| | | | shader/shader program objects to avoid memory access error.
* Revert "mesa: separate shader program object from shader object." (bug#15244)Xiang, Haihao2008-03-313-21/+13
| | | | This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb.
* i915: texture object's lod bias. fix bug #15192Xiang, Haihao2008-03-314-5/+25
|
* r300: Copy-and-paste error from the vertex program branch.Markus Amsler2008-03-301-1/+2
|
* r300: Take PROGRAM_CONSTANT into account.Markus Amsler2008-03-302-0/+2
| | | | This bug was introduced by commit 978145a075255ae153ee05c2a037400e61558079.
* Merge branch 'r300-vertprog-branch' of ssh://people.freedesktop.org/~z3ro/mesaOliver McFadden2008-03-297-978/+821
|\
| * r300: Indented the vertex program code...Oliver McFadden2008-03-261-344/+474
| |
| * r300: Cleaned up the default vertex program code with longer lines.Oliver McFadden2008-03-261-28/+4
| |
| * r300: Removed the last of the duplicate vertex program macros.Oliver McFadden2008-03-262-51/+8
| |
| * r300: Added Copyright lines to the vertex program code.Oliver McFadden2008-03-261-14/+3
| |
| * r300: Renamed the Mesa opcode translation functions.Oliver McFadden2008-03-261-54/+54
| |
| * r300: Renamed the destination-and-opcode/source macros to more appropriate ↵Oliver McFadden2008-03-263-104/+104
| | | | | | | | names.
| * r300: Merged the constant zero/one source macros.Oliver McFadden2008-03-241-72/+55
| |
| * r300: Merged the Vector and Math Engine opcode macros.Oliver McFadden2008-03-243-153/+225
| |
| * r300: Corrected a bug with the SUB instruction.Oliver McFadden2008-03-021-0/+16
| |
| * r300: Corrected a bug with the MAD instruction.Oliver McFadden2008-03-022-4/+12
| | | | | | | | | | The PVS_VECTOR_OPCODE macro should be modified to support macro instructions, too.
| * r300: Added the PVS_SRC_OPERAND documentation from AMD.Oliver McFadden2008-03-012-38/+56
| |
| * r300: Added the PVS_OP_DST_OPERAND documentation from AMD.Oliver McFadden2008-03-012-22/+56
| |
| * r300: Added a TODO comment for registers missing from AMD's documentation.Oliver McFadden2008-03-011-0/+2
| |
| * r300: Moved the vertex program shift/mask defines into the appropriate file.Oliver McFadden2008-03-012-27/+23
| |
| * r300: Indented the vertex program code with longer lines.Oliver McFadden2008-03-011-462/+304
| |
| * r300: Moved the PREFER_DP4 define near the position invariant function.Oliver McFadden2008-03-011-3/+3
| |
| * r300: Added a TODO comment for the MAD opcodes.Oliver McFadden2008-03-011-0/+4
| |
| * r300: Use the VE_ADD hardware opcode for the SUB opcode.Oliver McFadden2008-03-011-19/+1
| |
| * r300: Use the VE_MULTIPLY hardware opcode for the MUL opcode.Oliver McFadden2008-03-011-1/+1
| |
| * r300: Cleaned up the XPD opcode temporary register usage.Oliver McFadden2008-03-011-2/+3
| |
| * r300: Cleaned up extra white space.Oliver McFadden2008-03-011-33/+0
| |
| * r300: Prefer to use the VE_ADD for simple MOV style opcodes.Oliver McFadden2008-03-011-30/+0
| | | | | | | | | | The VE_MULTIPLY_ADD has further restrictions on reading temporary memory which may complicate things. See AMD's documentation.
| * r300: Removed the (undocumented) MAD_2 opcode.Oliver McFadden2008-03-012-64/+6
| | | | | | | | | | | | This opcode is likely a mistake from reverse engineering. MAD_2 isn't included in AMD's documentation, and my testing reviles there is no problem using the documented MAD opcode.
| * r300: Cleaned up the MAD/MAD_2 opcode selection.Oliver McFadden2008-03-011-25/+36
| |
| * r300: Renamed some misleading macro arguments.Oliver McFadden2008-03-011-15/+15
| |
| * r300: Cleaned up the vertex program macros.Oliver McFadden2008-03-011-33/+24
| |
| * r300: Removed duplicate component selection defines.Oliver McFadden2008-03-013-42/+22
| |
| * r300: Removed duplicate source register class defines.Oliver McFadden2008-03-013-17/+12
| |
| * r300: Renamed the vertex program source register macro.Oliver McFadden2008-03-013-30/+30
| |
| * r300: Removed the (obsolete) special source register macros.Oliver McFadden2008-03-012-43/+24
| |
| * r300: Cleaned up the special vertex program source register macros.Oliver McFadden2008-03-011-9/+18
| |
| * r300: Added the vertex program swizzle (aka selection) defines.Oliver McFadden2008-03-012-24/+21
| |
| * r300: Converted to the new src/dest register defines.Oliver McFadden2008-03-013-24/+4
| |
| * r300: Removed an obsolete comment from the vertex program header file.Oliver McFadden2008-03-011-4/+0
| |
| * r300: Converted to the new Math Engine defines.Oliver McFadden2008-03-012-22/+9
| |
| * r300: Added the Math Engine opcode macro.Oliver McFadden2008-03-011-0/+9
| |
| * r300: Renamed the Vector Engine opcode macro.Oliver McFadden2008-03-013-40/+40
| |
| * r300: Converted to the new Vector Engine defines.Oliver McFadden2008-03-014-76/+32
| |
| * r300: Removed the duplicate dest register defines.Oliver McFadden2008-03-013-12/+8
| |
| * r300: Removed the duplicate "easy" vertex program macros.Oliver McFadden2008-03-012-21/+19
| |
| * r300: Added the vertex program src/dest register defines.Oliver McFadden2008-03-011-0/+16
| |