Commit Graph

12222 Commits

Author SHA1 Message Date
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
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
Eric Anholt 19420e6c25 [915] Revert broken context creation change from IS_915 commit.
The IS_945 case was left to fall through to the 830 case, along with the
not-recognized-at-all case, making that dead code.
2008-02-15 13:18:09 -08:00
Brian 1d0ddea92f Fix glBindTexture crash (bug 14514) 2008-02-15 13:42:12 -07:00
Adam Jackson 4955325ae9 chmod a-x **/glslnoise.c 2008-02-15 15:05:42 -05:00
Adam Jackson 37e45b9b78 Fix parallel build by making symlinks before makedepend. 2008-02-15 14:59:30 -05:00
Adam Jackson 3ddd339ce3 Fix sis_dri on ia64. 2008-02-15 14:57:51 -05:00
Adam Jackson 49a3483756 Fix build on ia64. 2008-02-15 14:56:32 -05:00
Adam Jackson cf0d91ae1d Add IS_915(), simplify IS_9XX() a bit. 2008-02-15 14:52:58 -05:00
Eric Anholt c51eb3ec40 [intel] Bug #13636: Allow recursive buffer mapping in bufmgr_ttm. 2008-02-15 11:51:32 -08:00
Adam Jackson 39bcbe0921 Add E7221 variant to i915. 2008-02-15 14:46:25 -05:00
Adam Jackson 66611f2298 Trivial SELinux awareness. Enable with --enable-selinux.
Avoids AVC warnings when allocating executable memory by first checking
if the current process has permission to do so.
2008-02-15 13:49:12 -05:00
Roland Scheidegger bf4a0fafc8 fix bug with generated fragment programs if vertex shader is active
When generating a fragment program from fixed function, checking
texUnit->_ReallyEnabled is not sufficient, need texUnit->Enabled too
since the former also represents texture enables from an active vertex
shader.
2008-02-15 17:26:06 +01:00
Xiang, Haihao 83068115e2 i965: don't swizzle fogcoord if FogOption is FOG_NONE.
fix #10788 issue on 965.
2008-02-15 16:13:11 +08:00
Xiang, Haihao 7eef52e975 i915: set fogcoord to (f,0,0,1). fix #10788 issue on 915. 2008-02-15 15:20:45 +08:00
Kristian Høgsberg 6d48779c7e Add TTM buffer object based texture from pixmap implementation.
Currently only implemented for intel hw.
2008-02-14 22:12:51 -05:00
Kristian Høgsberg 5961ed5fbc Add GLXPixmap version of glxgears to show case new GLX Pixmap functionality. 2008-02-14 22:05:55 -05:00
Kristian Høgsberg c5c73c1b60 Hook up i915 driver to new DRI2 infrastructure. 2008-02-14 17:56:44 -05:00
Kristian Høgsberg 7da5705b09 Add new DRI2 infrastructure. 2008-02-14 17:56:42 -05:00