Commit graph

11939 commits

Author SHA1 Message Date
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 e70609b7b8)
2008-02-19 00:55:11 -08:00
Zou Nan hai
d8c187fed7 fix compile for previous commit 2008-02-19 14:53:58 +08:00
Zou Nan hai
689ff273d1 [i965] fix broken glsl texdemo1 2008-02-19 14:47:57 +08:00
Adam Jackson
ba38909be2 Install dri_sarea.h in 'make install' 2008-02-18 11:45:40 -05:00
Dan Nicholson
8c8107118e Ignore glxgears_pixmap 2008-02-17 19:34:48 -08:00
Dan Nicholson
930c253947 Distribute dri_sarea.h with the tarballs
The GL/internal/dri_sarea.h header was missing from the tarballs,
causing the build to bomb for DRI2.
2008-02-17 18:10:15 -08:00
Dan Nicholson
7688791fc5 glapi: Generate xserver glapi sources in the mesa tree
Instead of generating the glapi sources for the xserver and commiting
them to the xserver tree, we can keep them in the mesa tree and change
the xserver build to use the files from the mesa tree.

This makes the xserver glx build more robust as it reduces the chances
for mismatches of the glX API used in the xserver vs. in mesa.
2008-02-17 17:40:43 -08:00
Brian
15f0015df4 Fix potential glDrawPixels(GL_DEPTH_COMPONENT) crashes (bug 13915)
Also, general clean-up of the Xlib-optimized glDraw/CopyPixels code.
2008-02-16 09:57:50 -07:00
Brian
3955bbc303 Added minmag.c test
Test that different minification and magnification filters are chosen for the
non-mipmapped texture case.
2008-02-16 09:57:50 -07:00
Adam Jackson
6ffe45bfd4 Fix path to minstall in last commit. 2008-02-15 17:22:09 -05:00
Adam Jackson
3f5a9a3a9e Install dri_interface.h in 'make install'. 2008-02-15 17:17:03 -05:00
Eric Anholt
c741d287ec [intel] Allow attIndex to be negative to avoid defeating the >= 0 check.
Otherwise, we would go wildly out of bounds if passed -1 (no renderbuffer), such
as while doing LOCK_HARDWARE with glDrawBuffer(GL_NONE).
2008-02-15 13:48:11 -08:00
Eric Anholt
eed5e6f40f [915] Don't attempt our accelerated drawpixels if no color buffer is attached.
Otherwise, glDrawBuffer(GL_NONE); glDrawPixels() results in a segfault when
we try to emit the color buffer state during setup.
2008-02-15 13:43:29 -08:00