Dan Nicholson
758b998941
autoconf: Fix thinko when checking freebsd CPU types
17 years ago
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.
17 years ago
Brian
4e9c8166b0
Fix glBegin-time test for invalid programs/shaders.
17 years ago
Brian
3075f267cd
raise GL_INVALID_OPERATION if glProgramString compilation fails
17 years ago
Brian
a3a480979b
Regenerated (see bug 11893)
17 years ago
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.
17 years ago
Brian
fda62a6f2f
Regenerated (raise GL_INVALID_VALUE if counter param is negative)
17 years ago
Brian
a52ce9de7d
If parameter is a 'counter', raise GL_INVALID_VALUE if value is negative
Fixes bug 10984.
17 years ago
Jeremy Huddleston
9993ccce69
Apple: Pulled in changes from Apple's patchset to allow mesa to build on darwin again
(cherry picked from commit e70609b7b8
)
17 years ago
Zou Nan hai
d8c187fed7
fix compile for previous commit
17 years ago
Zou Nan hai
689ff273d1
[i965] fix broken glsl texdemo1
17 years ago
Adam Jackson
ba38909be2
Install dri_sarea.h in 'make install'
17 years ago
Dan Nicholson
8c8107118e
Ignore glxgears_pixmap
17 years ago
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.
17 years ago
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.
17 years ago
Brian
15f0015df4
Fix potential glDrawPixels(GL_DEPTH_COMPONENT) crashes (bug 13915)
Also, general clean-up of the Xlib-optimized glDraw/CopyPixels code.
17 years ago
Brian
3955bbc303
Added minmag.c test
Test that different minification and magnification filters are chosen for the
non-mipmapped texture case.
17 years ago
Adam Jackson
6ffe45bfd4
Fix path to minstall in last commit.
17 years ago
Adam Jackson
3f5a9a3a9e
Install dri_interface.h in 'make install'.
17 years ago
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).
17 years ago
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.
17 years ago
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.
17 years ago
Brian
1d0ddea92f
Fix glBindTexture crash (bug 14514)
17 years ago
Adam Jackson
4955325ae9
chmod a-x **/glslnoise.c
17 years ago
Adam Jackson
37e45b9b78
Fix parallel build by making symlinks before makedepend.
17 years ago
Adam Jackson
3ddd339ce3
Fix sis_dri on ia64.
17 years ago
Adam Jackson
49a3483756
Fix build on ia64.
17 years ago
Adam Jackson
cf0d91ae1d
Add IS_915(), simplify IS_9XX() a bit.
17 years ago
Eric Anholt
c51eb3ec40
[intel] Bug #13636: Allow recursive buffer mapping in bufmgr_ttm.
17 years ago
Adam Jackson
39bcbe0921
Add E7221 variant to i915.
17 years ago
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.
17 years ago
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.
17 years ago
Xiang, Haihao
83068115e2
i965: don't swizzle fogcoord if FogOption is FOG_NONE.
fix #10788 issue on 965.
17 years ago
Xiang, Haihao
7eef52e975
i915: set fogcoord to (f,0,0,1). fix #10788 issue on 915.
17 years ago
Kristian Høgsberg
6d48779c7e
Add TTM buffer object based texture from pixmap implementation.
Currently only implemented for intel hw.
17 years ago
Kristian Høgsberg
5961ed5fbc
Add GLXPixmap version of glxgears to show case new GLX Pixmap functionality.
17 years ago
Kristian Høgsberg
c5c73c1b60
Hook up i915 driver to new DRI2 infrastructure.
17 years ago
Kristian Høgsberg
7da5705b09
Add new DRI2 infrastructure.
17 years ago
caner
5047a8ae19
miniglx doc updates
17 years ago
Xiang, Haihao
4813946d36
i965: use setup attributes as inputs when allocating registers
for WM payload. fix #10767
17 years ago
Zou Nan hai
1202c434d9
[i965] flip point sprite
17 years ago
Zou Nan hai
08fd2488b0
[i965] gl_FrontFacing support
17 years ago
Dave Airlie
eb9da9706e
i965: remove unused hal hooks
These don't appear to have ever been used.
17 years ago
Eric Anholt
85063f14ea
[965] Fix ARB_occlusion_query from intel_screen.c merge.
It wasn't being initialized at screen setup, so we were getting stub
entrypoints even though it was exposed as enabled. Fixes arbocclude mesa demo.
17 years ago
Eric Anholt
822b2481ff
[intel] Fix 965 rendering with non-TTM by merging intel_ioctl between 915/965.
The 965 path wasn't setting pClipRects for batch submission since it didn't
want kernel cliprect handling before. The 915 path also grew the INTEL_NO_HW=1
option for testing just driver overhead.
17 years ago
Eric Anholt
ee781a41af
When mapping, wait on the buffer's fence, not hardware idle, in bufmgr_fake
17 years ago
Eric Anholt
ee8dfa8964
Remove O(n^2) debugging code from non-debug path of dri_bufmgr_fake.
17 years ago
Xiang, Haihao
e45e338542
_mesa_swizzle_ubyt_image: Don't use single swizzle_copy call
if components don't match. fix #13508
17 years ago
Eric Anholt
9365738c36
[intel] Remove cached reloc data buffer now that it's not a BO.
It's not worth the extra effort to avoid a free/malloc, and we'd rather
auto-size the reloc data buffer at some point so we don't need to have
max_relocs.
17 years ago
Eric Anholt
4e2a0b6aa6
[intel] Fix type of some more flags variables for uint64_t flags.
Harmless since we don't yet have any bits above 31 for flags.
17 years ago