Commit graph

22853 commits

Author SHA1 Message Date
Brian Paul
9d9a7edfbc Revert "softpipe: added null ptr check for align_free() call in vbuf code"
This reverts commit 6db24f449d.

With a null ptr check in align_free() this is no longer needed.
2009-03-05 10:01:53 -07:00
Brian Paul
ca640ca959 gallium: added null ptr check in align_free() 2009-03-05 10:01:28 -07:00
Brian Paul
3ba370ad7f mesa: add wglext.h to tarball list 2009-03-05 10:01:28 -07:00
Brian Paul
493b69a0c8 gl: added include/GL/wglext.h 2009-03-05 10:01:28 -07:00
Brian Paul
6db24f449d softpipe: added null ptr check for align_free() call in vbuf code
Fixes GALLIUM_NOCELL path.  See bug 20475.
2009-03-05 09:49:27 -07:00
Corbin Simpson
df8755edbe r300-gallium: C++ compat fix.
Oops. :3
2009-03-05 08:41:30 -08:00
Joakim Sindholt
dc527de95e radeon-gallium: fix dri2 build 2009-03-05 08:41:30 -08:00
Brian Paul
8d5b8a4615 gl: update glext.h to version 46 2009-03-05 08:25:37 -07:00
Corbin Simpson
86a06f0674 radeon-gallium: Add Xorg state tracker Radeon winsys stub. 2009-03-04 20:52:45 -08:00
Corbin Simpson
fc1859c264 radeon-gallium: Only build drivers for state trackers that are enabled. 2009-03-04 20:46:10 -08:00
Brian Paul
b5d3c17427 tests: add new mapbufrange.c test to test GL_ARB_map_buffer_range
This only tests the most basic functionality for now.
2009-03-04 21:03:29 -07:00
Brian Paul
5c18ff2bf8 fix incorrect prototype for glMapBufferRange() in glext.h
Needs to return void *
2009-03-04 20:26:23 -07:00
Robert Ellison
3468315087 i965: add software fallback for conformant 3D textures and GL_CLAMP
The i965 hardware cannot do GL_CLAMP behavior on textures; an earlier
commit forced a software fallback if strict conformance was required
(i.e. the INTEL_STRICT_CONFORMANCE environment variable was set) and
2D textures were used, but it was somewhat flawed - it could trigger
the software fallback even if 2D textures weren't enabled, as long
as one texture unit was enabled.

This fixes that, and adds software fallback for GL_CLAMP behavior with
1D and 3D textures.

It also adds support for a particular setting of the INTEL_STRICT_CONFORMANCE
environment variable, which forces software fallbacks to be taken *all*
the time.  This is helpful with debugging.  The value is:
   export INTEL_STRICT_CONFORMANCE=2
2009-03-04 16:59:00 -07:00
Corbin Simpson
1281bac3ba radeon-gallium: Enable EGL and Xorg state trackers.
Compile-tested only, but I have high hopes.
2009-03-04 15:50:01 -08:00
Corbin Simpson
07ffb00d30 radeon-gallium: DRI2 state tracker, part 3.
Properly setup the build process for adding in xorg and egl trackers,
and finally put radeon_context and radeon_screen to bed.
2009-03-04 15:50:00 -08:00
Corbin Simpson
04ae9c3fdd r300-gallium: Add unaccelerated surface_copy. 2009-03-04 15:50:00 -08:00
Brian Paul
bed3a8e1f6 mesa: call _mesa_get_cpu_string() to get CPU info for GL_RENDERER string 2009-03-04 16:48:05 -07:00
Brian Paul
7979c6024c mesa: call _mesa_get_cpu_features() during one-time-init 2009-03-04 16:43:39 -07:00
Brian Paul
2cbc4655a8 mesa: new cpuinfo.c file to init/query cpu info and extensions 2009-03-04 16:43:39 -07:00
Brian Paul
16d72437ea mesa: _mesa_get_x86_features() only needs to do its thing once 2009-03-04 16:43:39 -07:00
Jakob Bornecrantz
b417c978a9 st/xorg: Clean up xorg_exa.c a bit 2009-03-05 00:10:12 +01:00
Jakob Bornecrantz
b611f81477 st/xorg: Change format function a bit 2009-03-05 00:10:12 +01:00
Jakob Bornecrantz
dca226fefb st/xorg: Fix transfer double free 2009-03-05 00:10:12 +01:00
Jakob Bornecrantz
5aa356d3e4 intel: Fixup from refcount changes 2009-03-05 00:10:11 +01:00
Jakob Bornecrantz
2fcfa1ac0e mesa: Add x86/common_x86.c to libmesagallium.a
Thanks to Brian for the refactor commit
2009-03-05 00:10:11 +01:00
Brian Paul
9ec7f083f3 mesa: move sse.h and 3dnow.h #includes 2009-03-04 15:56:16 -07:00
Brian Paul
dd9af78650 mesa: remove unneeded x86.h header 2009-03-04 15:46:36 -07:00
Brian Paul
8538f64d09 mesa: make _mesa_init_x86_transform_asm() static 2009-03-04 15:44:38 -07:00
Brian Paul
81e366c659 mesa: rename common_x86_macros.h -> x86_xform.h 2009-03-04 15:39:50 -07:00
Brian Paul
20d289eb2d mesa: rename x86.c -> x86_xform.c 2009-03-04 15:35:21 -07:00
Brian Paul
c751224b0a mesa: refactor x86 code
Move _mesa_init_all_x86_transform_asm() into x86.c so that common_x86.c
has no dependencies on the vertex transformation code.
Plus some comments and clean-ups.
2009-03-04 15:24:03 -07:00
José Fonseca
f0c92d9656 Merge commit 'origin/master' into gallium-map-range 2009-03-04 21:46:12 +00:00
Keith Whitwell
79a05a6b3f indices: add translate/generate functions for unfilled modes
Most of the time unfilled rendering requires a lot more thought than
just translating triangles to lines or points.  But sometimes, you can
do exactly that, and it can be quite a bit quicker.  Add code to do the
translation.  The caller has to determine whether it's a legal thing
to do in the current state, in particular you'd need:
  - culling disabled
  - offset disabled
  - same front and back fill modes
  - possibly other stuff I can't think of.
2009-03-04 21:37:23 +00:00
Keith Whitwell
59311fb06c clear-repeat: print fps, use 300x300 window size 2009-03-04 21:37:23 +00:00
Dan Nicholson
ac55db1d7d autoconf: Restore _GNU_SOURCE for all Linux systems
This catches the linux-uclibc case and any others that were being set
prior to 98fcdf3f. Fixes bug 20345.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-03-04 13:19:32 -08:00
Patrice Mandin
41117b1a01 nouveau: oops, forgot to keep the NV10_SIFM object 2009-03-04 20:38:14 +01:00
Patrice Mandin
69e42ec456 nouveau: Use proper SIFM object on NV30 2009-03-04 20:34:54 +01:00
José Fonseca
8ad65a23d1 mesa: Follow ARB_map_buffer_range more stricly.
Namelly, FlushMappedBufferRange takes a subrange relative to the original
range.
2009-03-04 17:49:52 +00:00
José Fonseca
2a1f29c220 gallium: Use consistent semantics for map ranges in gallium.
Which are slightly different from ARB_map_buffer_range semantics, since
gallium still supports more than one mapping of the same buffer.
2009-03-04 17:48:26 +00:00
José Fonseca
99a540bfbe Merge commit 'origin/master' into gallium-map-range 2009-03-04 17:42:36 +00:00
Keith Whitwell
368ca83a3f vbo: second attempt - avoid getting buffer_ptr and buffer_map out of sync 2009-03-04 17:01:47 +00:00
José Fonseca
67cbe83a72 Merge commit 'origin/master' into gallium-map-range 2009-03-04 16:44:31 +00:00
José Fonseca
89f1f8f0b8 mesa: Clear cache->trans after destroying the transfer. 2009-03-04 16:43:45 +00:00
José Fonseca
50e38b0878 mesa: Clear cache->trans after destroying the transfer. 2009-03-04 16:43:13 +00:00
Brian Paul
ca06c0c16d cell: update cell driver after gallium reference count changes 2009-03-04 09:34:46 -07:00
Keith Whitwell
fba923ff44 Revert "vbo: avoid getting buffer_ptr and buffer_map out of sync"
This fixed a minor bug but broke everything else.

This reverts commit 579ef8ab19.
2009-03-04 16:09:14 +00:00
José Fonseca
e80d330419 gallium: Ensure map ranges are valid. 2009-03-04 16:07:51 +00:00
Keith Whitwell
579ef8ab19 vbo: avoid getting buffer_ptr and buffer_map out of sync 2009-03-04 16:06:05 +00:00
José Fonseca
5b04939b16 Merge commit 'origin/master' into gallium-map-range 2009-03-04 15:23:35 +00:00
Keith Whitwell
f9ce417aaf vbo: use FLUSH_UPDATE_CURRENT flag to indicate whether the vbo module is active
Add asserts for expected values on wakeup and flush.  Remove cases where
this flag is set or cleared except when waking up and flushing vbo module.
2009-03-04 15:17:16 +00:00