Commit Graph

11951 Commits

Author SHA1 Message Date
Kristian Høgsberg bcecea6ea6 autoconf: Add gcc search patch to MKDEP_OPTIONS to eliminate warnings.
Also, use -include to avoid error message when make initially fails to
include the non-existent depend file.
2008-02-25 19:02:07 -05:00
Kristian Høgsberg 7381ccab44 intel: Add missing include file to silence last couple of warnings. 2008-02-25 19:02:07 -05:00
Kristian Høgsberg 54bd506c0f intel: Initialize color and spec arrays in LOCAL_VARS macro.
Avoids spamming compilation output with tons of warnings about
use of possibly uninitialized variables.
2008-02-25 19:02:06 -05:00
Kristian Høgsberg 61c3c2c363 Change GetCompressedTexImage in dd_function_table to not take const pointers.
They're changed by the intel driver implementation and thus not const.
Fixes compilation warning.
2008-02-25 19:02:06 -05:00
Kristian Høgsberg 6e8d21d72f Remove GetMSC DriverAPI function.
The DriverAPI is internal to the DRI drivers and GetDrawableMSC
obsoletes GetMSC.  Also, since the DRI driver interface has not yet
been released, just drop the getMSC function from the DRI interface
instead using the ABI preserving version mechanism.

Finally, using void pointer privates in the DRI interface is not allowed,
always pass the actual types around (__DRIdrawable in this case) to
enhance type safety and readability of the code.
2008-02-25 19:02:06 -05:00
Kristian Høgsberg b49a8f805a Remove now unused setTexOffset from __DriverAPIRec. 2008-02-25 19:02:06 -05:00
Oliver McFadden 57f310b2c9 r300: Corrected a cache flush bug in r300EmitCacheFlush.
Corrects commit 74ae5a875d.
2008-02-25 23:18:15 +00:00
Oliver McFadden 40a3b16183 r300: Moved the state code into separate functions. 2008-02-25 22:52:27 +00:00
Christoph Brill 0253357e16 [r300] revert complete stupid changes 2008-02-25 23:20:23 +01:00
Christoph Brill 7d83618f99 [r300] Document registers completed 10.1 to 10.3 2008-02-25 23:08:02 +01:00
Christoph Brill 4cba59f8e7 [r300] Add more register from the AMD spec 2008-02-25 23:04:17 +01:00
Christoph Brill ed29d145f4 [r300] Document POLY_MODE and add some TODOs that might have triggered some bugs 2008-02-25 22:55:13 +01:00
Christoph Brill 090e2adaa8 [r300] Document some registers in the POINT area 2008-02-25 22:45:36 +01:00
Christoph Brill a7fa3e093c [r300] Further document and add register definitions (found bugs in LINE handling) 2008-02-25 22:36:16 +01:00
Christoph Brill 60e1703727 [r300] Sync fog color register names 2008-02-25 21:48:25 +01:00
Christoph Brill fa088bfe9d [r300] Sync fog register names to the AMD spec 2008-02-25 21:44:11 +01:00
Christoph Brill d08b1fe2a4 [r300] Further document FG_ALPHA_FUNC (renamed from R300_PP_ALPHA_TEST) and finally add some information to R300_RB3D_DSTCACHE_CTLSTAT 2008-02-25 21:35:13 +01:00
Christoph Brill f399ed7d55 [r300] Document R300_RB3D_COLORMASK properly and rename it to RB3D_COLOR_CHANNEL_MASK 2008-02-25 21:04:23 +01:00
Christoph Brill 6087b00b27 [r300] Add register definitions based on AMD spec starting with chapter 10 2008-02-25 20:54:23 +01:00
Christoph Brill a195f7162a [r300] Add some more register from the AMD spec in the area of AARESOLVE 2008-02-25 20:30:40 +01:00
Christoph Brill 74ae5a875d [r300] Sync the names for Z-Buffer registers with the AMD spec
This patch tries to get the Z-Buffer register names in sync with the AMD spec
so that talking to AMD engineers is much simpler.
2008-02-25 20:24:00 +01:00
Christoph Brill 1b51c135fc [r300] Add more struct names for r300_hw_state 2008-02-25 20:20:59 +01:00
Christoph Brill 02926a2977 [r300] rename all unkown structs r300_hw_state to readable names 2008-02-25 20:18:10 +01:00
Christoph Brill 86039ae413 [r300] Add RB3D_DISCARD_SRC_PIXEL_LTE_THRESHOLD and some HyperZ defintions 2008-02-25 20:15:20 +01:00
Christoph Brill df344b171c [r300] Replace more magic number by register definitions from AMD 2008-02-25 20:11:46 +01:00
Christoph Brill a3cee7cafb [r300] clean some more magic registers based on AMD spec 2008-02-25 20:08:33 +01:00
Christoph Brill 6051e68a64 [r300] Update some magic registers to real names 2008-02-25 20:03:35 +01:00
Christoph Brill d1f2d56a75 [r300] Document Z-buffer related register ZB_BW_CNTL 2008-02-25 20:01:27 +01:00
Christoph Brill 091225eebb [r300] document VAP_CNTL based on AMD spec 2008-02-25 19:50:05 +01:00
Christoph Brill 059aca86ba [r300] Document some of the wild guesses in VAP_OUTPUT_VTX_FMT based on AMD spec 2008-02-25 19:39:16 +01:00
Christoph Brill ff8bb004b1 [r300] document type 3 packets to draw primitives based on AMD spec 2008-02-25 19:32:05 +01:00
Brian 93d1ecdbd6 Obsolete, replaced by glut_fcb.c (fortran callbacks) 2008-02-25 11:01:23 -07:00
Brian 65685785fa Replace glut_fbc.c with glut_fcb.c (cb=callback) 2008-02-25 11:01:23 -07:00
Kristian Høgsberg 45a800a2e7 intel: Only enable GL_ARB_occlusion_query on i965. 2008-02-25 12:03:28 -05:00
Zou Nan hai 1d14da9a89 [intel] fix random ut2004 crash on some machine, for cubemap textures,
image offset is already considered when map, add it again in
        StoreImage may lead to wrong result and crash.
2008-02-25 15:27:47 +08:00
Xiang, Haihao 5b6ca237ee i965: fix assertion failure caused by commit dd1d66fc4a. 2008-02-25 11:04:59 +08:00
Dave Airlie d7cf6a8a69 r300: fixup some more names 2008-02-23 19:17:00 +10:00
Dave Airlie df6e9e40a9 r300: some initial register info from doc drop 2008-02-23 18:54:07 +10:00
Kristian Høgsberg dd1d66fc4a intel: Merge intel_context.c from i915 and i965. 2008-02-22 21:44:00 -05:00
Kristian Høgsberg c99fa92ff8 Merge {i915,i965}/intel_context.h as intel/intel_context.h 2008-02-22 00:51:52 -05:00
Alan Hourihane 1c718c0d78 Use drm_i915_sarea instead of drmI830Sarea and remove i830_common.h 2008-02-22 00:20:27 +00:00
Dan Nicholson 758b998941 autoconf: Fix thinko when checking freebsd CPU types 2008-02-21 10:32:04 -08:00
Dan Nicholson 112a40ec02 autoconf: Set the default drivers after checking platform specifics
The platform-specific overrides to the DRI drivers were being ignored
because the default was being set first. Instead, have the default be a
fallback after the platform checks.
2008-02-21 10:19:55 -08:00
Brian 4e9c8166b0 Fix glBegin-time test for invalid programs/shaders. 2008-02-20 08:54:15 -07:00
Brian 3075f267cd raise GL_INVALID_OPERATION if glProgramString compilation fails 2008-02-20 08:53:41 -07:00
Brian a3a480979b Regenerated (see bug 11893) 2008-02-19 08:39:12 -07:00
Brian ce865fd2fd Added <size name="Get" mode="get"/> lines for point parameter tokens.
See bug 11893.  This allows GL_POINT_SIZE_MIN/MAX/etc to be queried with
indirect rendering.
2008-02-19 08:38:42 -07:00
Brian fda62a6f2f Regenerated (raise GL_INVALID_VALUE if counter param is negative) 2008-02-19 08:29:17 -07:00
Brian a52ce9de7d If parameter is a 'counter', raise GL_INVALID_VALUE if value is negative
Fixes bug 10984.
2008-02-19 08:29:16 -07:00
Jeremy Huddleston 9993ccce69 Apple: Pulled in changes from Apple's patchset to allow mesa to build on darwin again
(cherry picked from commit e70609b7b877dc0d8e67c958c453305e78f831df)
2008-02-19 00:55:11 -08:00