Commit graph

22169 commits

Author SHA1 Message Date
José Fonseca
ecfa99ece1 python: Use a sequential number to identify each call.
TODO: Modify the trace driver to generate these on the XML file itself.
2009-03-25 21:03:40 +00:00
José Fonseca
9d97c3d0be python/trace: Control the interpreter from command line options. 2009-03-25 21:03:38 +00:00
José Fonseca
5743483778 python: Use Ansi escape codes regardless of output is a tty or not. 2009-03-25 21:03:36 +00:00
José Fonseca
b52b78a226 python: List packages needed on debian systems. 2009-03-25 21:03:25 +00:00
José Fonseca
a6ad0c86ca python: Allow to dump all images to disk. 2009-03-25 21:03:22 +00:00
José Fonseca
8ca95d8121 python: Tweak instructions. 2009-03-25 21:03:20 +00:00
José Fonseca
ad5f9752ce python: s/pitch/stride/ 2009-03-25 21:03:15 +00:00
José Fonseca
5381331f97 python: s/num_cbufs/nr_cbufs/ 2009-03-25 21:03:10 +00:00
José Fonseca
ce518f4b0f wgl: Use right integer type. 2009-03-25 21:01:49 +00:00
José Fonseca
601a6a5839 wgl: Use SetWindowLongPtr. 2009-03-25 21:01:49 +00:00
José Fonseca
9fb46fb4c3 util: Use size_t (for x86_64). 2009-03-25 21:01:49 +00:00
José Fonseca
8c4bd92b68 util: Don't use x86 asm on x86_64. 2009-03-25 21:01:49 +00:00
José Fonseca
079be0fd3f draw: Use size_t (for x86_64). 2009-03-25 21:01:49 +00:00
José Fonseca
b3e03ede3e scons: Move MSVC specific away from Mingw builds. 2009-03-25 21:01:49 +00:00
Maciej Cencora
7860b0886c r300: cleanup swtcl a little
- remove disabled code
- silence compiler warnings (uinitialized values)
- remove unneeded code
2009-03-25 12:41:28 -07:00
José Fonseca
26e27ba308 scons: Support building with the Windows SDK.
x86_64 is also supported.
2009-03-25 19:24:49 +00:00
Brian Paul
33fa6a2755 egl: include stdint.h to get the c99 integer typedefs
Fixes breakage from commit 6dd9c22101
2009-03-25 13:02:44 -06:00
Alan Coopersmith
2e2f3b4086 Add Solaris to OS'es using X in eglplatform.h
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25 11:10:03 -07:00
Alan Coopersmith
707c017af6 define __builtin_expect for non-gcc compilers in two more glx files
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25 11:07:31 -07:00
Alan Coopersmith
ad11107206 Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun cc
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25 11:07:31 -07:00
Alan Coopersmith
6dd9c22101 Convert u_int*_t to C99 standard uint*_t
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25 11:07:31 -07:00
Alan Coopersmith
3cf6e62ae3 mklib improvements for Solaris
Move flags for linking standard C/C++ libraries from configure.ac to mklib
Use -norunpath flag when linking with Sun C++ compiler
Convert mklib -exports list into a linker mapfile
Set FINAL_LIBS correctly when -noprefix is used

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25 11:07:30 -07:00
Brian Paul
c10df26a31 glew: fix GLEW_LIB_NAME
This fixes rebuilding of the library every time we run make.
2009-03-25 09:01:01 -06:00
Michel Dänzer
11da7e02aa Revert "dri2: Avoid round-tripping on DRI2GetBuffers for the same set of buffers."
This scheme breaks when the display connection doesn't receive ConfigureNotify
events. This caused reporoducible problems (cropped / misplaced output) when
starting a 3D application in a guest operating system in VMware Workstation.

This reverts commit dd1c68f151.

Conflicts:

	src/glx/x11/dri2_glx.c
2009-03-25 15:53:28 +01:00
Brian Paul
4934ddf5d7 gl: update include/GL/glext.h to version 48 2009-03-25 08:33:10 -06:00
Brian Paul
66b0b200ee egl: don't use __FUNCTION__ in error messages 2009-03-25 08:18:28 -06:00
Alan Hourihane
7c8639e007 slang: ensure structure elements have their array length set 2009-03-25 14:17:33 +00:00
Corbin Simpson
def5660c9e r300-gallium: r300-fs: Moar. 2009-03-25 07:15:49 -07:00
Corbin Simpson
1db736f74a r300-gallium: Unify shader interfaces, enable r300 shader, start unbreaking.
progs/trivial/clear no longer is horrifically wrong, just kind of wrong.
2009-03-25 07:15:49 -07:00
Corbin Simpson
e36f01a7a1 r300-gallium: r500-fs: Remove unused variable. 2009-03-25 07:15:49 -07:00
Alan Coopersmith
ff421b6e0b r300_cmdbuf.c: convert cast to a form supported by Sun cc
Fixes Sun cc error:
"r300_cmdbuf.c", line 142: invalid cast expression

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25 08:08:49 -06:00
Michel Dänzer
e101959b6a r300: Texture size limit cleanups.
Since core Mesa MAX_TEXTURE_LEVELS was bumped, we were incorrectly advertising
a maximum texture size of 4096 on older chips, causing corrupted menu text in
Extreme Tux Racer or Armagetron.

Also make sure our texture image array can actually hold all the mipmap levels
we support...
2009-03-25 11:19:05 +01:00
Keith Whitwell
e919bfa1f1 progs/vp: more psiz tests 2009-03-25 10:07:28 +00:00
Ben Skeggs
c306bf94d6 nv50: fix typo in nv50_query.c 2009-03-25 12:16:36 +10:00
Ben Skeggs
88b19bbe65 nouveau: fix some pipe_buffer reference counting issues 2009-03-25 12:09:58 +10:00
Alan Hourihane
0be8af8a39 mesa: bump MAX_PROGRAM_TEMPS to 256 (there's some big shaders out there) 2009-03-24 23:00:26 +00:00
Younes Manton
578af51610 nouveau: Frontbuffer needs to be marked as linear. 2009-03-24 18:57:06 -04:00
Brian Paul
c4c4358e08 demos: add LDFLAGS for corender target, bug 20844 2009-03-24 16:06:50 -06:00
Keith Whitwell
993b7e1d5c progs/vp: add pointsize + clamp test 2009-03-24 17:50:36 +00:00
Keith Whitwell
a4a0ba1adb mesa/st: bump gallium version to 0.3
To distinguish from the -0.2 version still being maintained on the
gallium-mesa-7.4 branch.  There are already greater interface changes
between these two branches than there were between -0.2 and -0.1.

Also stop injecting Tungsten into the vendor string - the Gallium in
the renderer string should be sufficient.
2009-03-24 16:38:27 +00:00
Keith Whitwell
eb9801ccfb progs/trivial: add fflushes for cygwin 2009-03-24 16:35:29 +00:00
Robert Ellison
cc8afbd386 i965: fix point rasterization when rendering to FBO
The FBO pixel coordinate system, with (0,0) as the
upper-left pixel, is inverted in Y compared to the
normal OpenGL pixel coordinate system, which has
(0,0) as its lower-left pixel.

Viewport and polygon stipple are sensitive to this
inversion; so is point rasterization.  The basic
fix is simple: when rendering to an FBO, instead
of the normal RASTRULE_UPPER_RIGHT that's
appropriate for OpenGL windows, use the Y inversion
RASTRULE_LOWER_RIGHT.

Unfortunately, current Intel documentation has this
value listed as "Reserved, but not seen as useful".
It does work on at least some i965-class devices,
though; and the worst that could happen if an
older device didn't support it would be incorrect
point rasterization to FBOs, which is what happens
already, so this fix is at least no worse than what
happens presently, and is better for some (and possibly
all) i965-class devices.
2009-03-24 10:01:23 -06:00
Keith Whitwell
2312f697a2 progs/trivial: draw non-interleaved arrays out of one vbo 2009-03-24 15:30:53 +00:00
Jakob Bornecrantz
39320c1bee progs/tests: Build texcompress2 with scons 2009-03-24 13:26:39 +01:00
Eric Anholt
699db6d842 i965: Fix glFrontFacing in twoside GLSL demo.
This also cuts instructions by just using the existing bit in the payload
rather than computing it from the determinant in the SF unit and passing it
as a varying down to the WM.  Something still goes wrong with getting the
backface color right, but a simpler shader appears to get the right result.
2009-03-23 22:52:51 -07:00
Eric Anholt
411d913cce i965: Fix fog coordinate g,b,a values when glFrontFacing isn't used.
Previously, we would sample (f,glFrontFacing,undef,undef) instead of the
(f,0,0,1) that fragment.fogcoord is supposed to return.  Due to
glFrontFacing's presence in FOGC.y, we'll still give bad results there when
glFrontFacing is used.

Bug #19122, piglit testcase fp-fog.
2009-03-23 22:52:17 -07:00
Eric Anholt
b013f945d8 i965: Clean up a bit of mess with unneeded variables in emit_interp. 2009-03-23 22:52:16 -07:00
Eric Anholt
bae07564c4 i965: Fix trailing "d" in debug output for 3DSTATE_VERTEX_ELEMENTS. 2009-03-23 22:28:00 -07:00
Eric Anholt
c0d6e07909 i965: Fix occlusion query when no other WM state updates occur.
Turns out that XXX comment was important.  We weren't flagging the WM to
re-update with the statistics enable, so we got zeroes out of our query.

Bug #20740, fixes piglit occlusion_query test.

Signed-off-by: Eric Anholt <eric@anholt.net>
2009-03-23 12:37:00 -07:00
Keith Whitwell
1a28750b43 vpglsl: add missing SConscript 2009-03-23 19:01:40 +00:00