Commit graph

31120 commits

Author SHA1 Message Date
Vinson Lee
d0ec18e111 glu/sgi: Initialize member of class primStream. 2010-02-12 00:41:01 -08:00
Vinson Lee
b5b1b452cd glu/sgi: Initialize members of class Arc. 2010-02-12 00:36:00 -08:00
Vinson Lee
977fa27360 glu/sgi: Initialize member of class Bin. 2010-02-12 00:28:44 -08:00
Ben Skeggs
ba3c874f08 nouveau: use AVAIL_RING() 2010-02-12 16:03:20 +10:00
Ben Skeggs
6af75a0ff4 nouveau: switch to nouveau_bo_new_tile() 2010-02-12 16:03:20 +10:00
Brian Paul
04d35714a6 svga: check min_index, max_index before assertions
It's possible for min_index and max_index to be ~0 if the min/max
values were not actually set or computed in the state tracker.
Skip some assertions in that case.

This only effects the debug build error checking.

(cherry picked from commit 408f32dc16)
2010-02-11 16:54:48 -07:00
Karl Schultz
9209843878 main: Fix compiler warning. No need to convert/store depthScale as GLfloat just to convert it back to GLuint to call unpack_depth_span.
Also removes a difference between the 24/8 and 8/24 texstore routines.
2010-02-11 16:49:41 -07:00
Roland Scheidegger
ebe12d5006 gallium: make max_anisotropy a unsigned bitfield member
saves us a dword in sampler state, hw can't do non-integer aniso degree anyway.
To allow aniso 1x (which seems of dubious value but some hardware (radeons)
have such a mode, and even d3d allows specifiying it) redefine anisotropic
filtering as disabled only if max_anistropy is 0.
2010-02-12 00:43:38 +01:00
Karl Schultz
2d1088cc17 Turn off 64-bit portability problems detection. 2010-02-11 15:55:04 -07:00
Roland Scheidegger
16d520f6d6 nouveau: fix compile errors... 2010-02-11 23:11:03 +01:00
Kristian Høgsberg
c7ab5994ee glapi: Avoid #including gl.h
It's only used for a couple of integer types and and might conflict
with other client API header files.
2010-02-11 17:04:06 -05:00
Kristian Høgsberg
cc57baff5f i915: Remove always-true irq_active struct intel_screen field 2010-02-11 16:56:44 -05:00
Kristian Høgsberg
c9b0f04b1f i915: Remove a few DRI1 era struct intel_screen fields 2010-02-11 16:54:20 -05:00
Kristian Høgsberg
5777dee02c i915: Drop intelScreenPrivate typedef and just call it struct intel_screen 2010-02-11 16:49:26 -05:00
Kristian Høgsberg
cbfd4147ca i915: Remove unused intelRegion struct
Phew, sure is nice to only have one struct called intel region.
2010-02-11 16:49:07 -05:00
Roland Scheidegger
67479eea36 nv50: adapt to stencil ref changes 2010-02-11 22:48:39 +01:00
Roland Scheidegger
dc8c0959bd nv40: adapt to stencil ref changes 2010-02-11 22:48:31 +01:00
Kristian Høgsberg
fa43956b5c i915: Remove left-over drmUnmap() 2010-02-11 16:34:11 -05:00
Roland Scheidegger
bedb6faec0 nv30: adapt to stencil ref changes
not sure if this has any hope of working
2010-02-11 20:55:33 +01:00
Brian Paul
362fa6763c mesa: additional constant/limit assertions 2010-02-11 11:34:54 -07:00
Brian Paul
0be04f710e svga: implement PIPE_CAP_MAX_COMBINED_SAMPLERS query 2010-02-11 11:34:54 -07:00
Roland Scheidegger
ed0f3b08b6 gallium: make u_blitter code save/restore stencil ref values 2010-02-11 19:01:10 +01:00
Karl Schultz
207ad94a89 Add git tips 2010-02-11 10:56:30 -07:00
Roland Scheidegger
bf4b0773c5 r300g: adapt to stencil ref changes 2010-02-11 18:48:57 +01:00
Roland Scheidegger
94c035f61d cell: adapt to stencil ref changes
not betting this compiles, some of the code handling stencil test seems
incomplete and/or never called?
2010-02-11 18:18:11 +01:00
Roland Scheidegger
0b659dee69 i965g: adapt to stencil ref changes
while there also potentially fix logic ops (were never enabled before)
2010-02-11 18:16:52 +01:00
Roland Scheidegger
388109c04d i915g: adapt to stencil ref changes 2010-02-11 18:16:09 +01:00
Roland Scheidegger
263406addb gallium: give pipe_stencil_ref its own cso_save/restore functions
seems cleaner, and other dynamic state like viewport is handled that way too
2010-02-11 18:15:10 +01:00
Brian Paul
6352f4c854 st/mesa: fix gallium texture level selection for RTT
Fixes invalid texture level when rendering to a texture where
GL_BASE_LEVEL > 0.

This will be cherry-picked to the 7.7 branch after additional
testing.
2010-02-11 09:40:52 -07:00
Brian Paul
3c28fad20b mesa: remove darwin-x86ppc and dangling darwin refs in Makefile 2010-02-11 09:04:03 -07:00
Brian Paul
d23fefe217 docs: remove old CVS references 2010-02-11 09:02:53 -07:00
José Fonseca
be29a60f9e Revert "llvmpipe: Move tile coordinate assertion into a more useful place."
This reverts commit 8c0391726a.

Too pendantic.
2010-02-11 12:14:01 +00:00
José Fonseca
c72e8b3edd scons: Fix drm/intel build. 2010-02-11 11:51:32 +00:00
José Fonseca
9381dd590f llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY.
Avoids assertion failures with certain shaders.
2010-02-11 11:08:30 +00:00
José Fonseca
8c0391726a llvmpipe: Move tile coordinate assertion into a more useful place. 2010-02-11 10:59:41 +00:00
José Fonseca
764c172aa9 llvmpipe: Clamp both extremes of triangles to framebuffer size.
Fix segmentation fault when triangles crossed the axis.
2010-02-11 10:58:46 +00:00
José Fonseca
128d93a009 gallivm: TGSI_OPCODE_CONT is not deprecated.
Note that with FIXME instead of an assertion failure.

Addresses fdo 25956.
2010-02-11 10:08:52 +00:00
Ben Skeggs
16a91bd2fd nouveau: remove u_simple_screen.h includes 2010-02-11 15:21:31 +10:00
Roland Scheidegger
b75adabc89 gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alpha
makes life of state trackers easier
2010-02-11 04:06:01 +01:00
Vinson Lee
7c2634dd71 i965g: ifdef out unused functions. 2010-02-10 19:03:18 -08:00
Corbin Simpson
229db2b8ad r300g: Work around "defect" in r300compiler.
r300compiler doesn't handle half swizzles for vert shaders, which don't
have them. So, for now, disable them.
2010-02-10 18:40:12 -08:00
Vinson Lee
218590f707 st/mesa: Silence uninitialized variable warning in st_cb_bitmap.c. 2010-02-10 18:37:46 -08:00
Vinson Lee
19045d3749 swrast: Silence uninitialized variable warnings in ss_tritmp.h. 2010-02-10 18:30:46 -08:00
Vinson Lee
8df7e20788 os: Do not use Pthreads barrier functions on Mac OS X.
Pthreads barrier functions are not available on some POSIX platforms.
2010-02-10 18:12:10 -08:00
Vinson Lee
57732d83e5 ffb: Fix build. 2010-02-10 16:14:28 -08:00
Brian Paul
4b1241bf76 gallium: cast to silence waring 2010-02-10 16:44:05 -07:00
Brian Paul
f6bcce0308 gallium: use os_time.h 2010-02-10 16:43:50 -07:00
Brian Paul
bcace317c7 gallium: use os_time.h in pb_bufmgr_cache.c
Untested, but seems straightforward.
2010-02-10 16:41:43 -07:00
Brian Paul
43ba0d7451 gallium: use os_time.h in u_timed_winsys.c 2010-02-10 16:37:18 -07:00
Brian Paul
eaf3ae58a9 scons: add another prefix for mingw32 on Fedora
(cherry picked from commit f1afb352da)
2010-02-10 16:34:24 -07:00