Commit graph

115447 commits

Author SHA1 Message Date
Eric Anholt
62d66caeba i915: Convert to using VBs instead of inline prims. 2008-06-23 14:45:13 -07:00
Patrice Mandin
95fe122f67 nv30: add state zsa, based on nv40 one 2008-06-23 21:46:51 +02:00
Patrice Mandin
0e1b36b0b2 nv30: add state viewport, based on nv40 one 2008-06-23 21:37:41 +02:00
Patrice Mandin
d4bc56ca49 nv30: add state stipple, based on nv40 one 2008-06-23 21:13:27 +02:00
Patrice Mandin
e5bbb18441 nv30: add state scissor, based on nv40 one 2008-06-23 20:43:22 +02:00
Patrice Mandin
8b72737a0b nv30: add state rasterizer, based on nv40 one 2008-06-23 20:37:27 +02:00
José Fonseca
8db7ef544c mesa: ASSERT macro is already defined by WinCE headers.
Even when just the standard headers are used....
2008-06-24 02:39:17 +09:00
José Fonseca
ab7ad60d47 mesa: No getenv on WinCE. 2008-06-24 02:39:17 +09:00
José Fonseca
d9f38a2ad1 gallium: Use the more portable PIPE_ARCH_* PIPE_CC_* macros instead of ad-hoc ones. 2008-06-24 02:39:17 +09:00
José Fonseca
72b6fddefb gallium: WinCE does not have cosf, sinf, etc. 2008-06-24 02:39:16 +09:00
Brian Paul
25da42a650 gallium: in softpipe_get_tex_surface() use the pitch specified in the softpipe_texture object.
Fixes a pitch/width mix-up.
2008-06-23 11:28:38 -06:00
Jakob Bornecrantz
f52ab4cc22 i915: Add render and texture support for tiled texture and buffers
This is step towards tiled textures and buffer support for
	i915. But the tiled attribute is never set.
2008-06-23 18:36:36 +02:00
Brian Paul
a479bf6235 gallium: fix-up inverted do_copy_texsubimage()
The logic/arithmetic for inverting the src image is a bit simpler now.
2008-06-23 09:50:09 -06:00
Brian Paul
f738c3acac gallium: fix Y-inverted copies
Don't require the caller to pass a non-intuitive negative src_y coord anymore
when doing a src-inverted copy.
2008-06-23 09:47:12 -06:00
Brian Paul
81b1a4224d gallium: remove dead/prototype code 2008-06-23 09:07:56 -06:00
Brian Paul
e14126ec81 gallium: change surface_copy()'s do_flip to boolean 2008-06-23 08:54:16 -06:00
Brian Paul
f1601c2b75 gallium: fix bad srcy coord if do_flip 2008-06-23 08:51:00 -06:00
Brian Paul
92d48a4cb9 gallium: fix bad srcy coord if do_flip 2008-06-23 08:44:30 -06:00
Brian Paul
016dbb0cf3 gallium: added some assertions 2008-06-23 08:35:41 -06:00
Brian Paul
76b94a636e Don't make libmesa.a or libglapi.a depend on asm_subdirs
Since the asm_subdirs target does not actually create a file, make will
always consider that it needs to be rebuilt. If libmesa.a and libglapi.a
have asm_subdirs as a prerequisite, then they will always need to be
rebuilt, too. The correct order will be preserved by the default target,
though.

This should fix #16358.

Conflicts:

	src/mesa/Makefile

cherry-picked from master
2008-06-23 08:14:49 -06:00
Dan Nicholson
8319f2f326 Create $(TOP)/$(LIB_DIR) for install, too
If `make install' is run without running `make' first, the $(LIB_DIR)
will not be created. This also changes the mkdir a little bit so that it
isn't run if necessary and added `-p' so that it is immune to races.
2008-06-23 08:14:49 -06:00
Dan Nicholson
464c585681 Ensure all objects are built when installing DRI 2008-06-23 08:14:49 -06:00
Jakob Bornecrantz
708bb35194 util: Blit can now copy from texture to surface 2008-06-23 16:09:38 +02:00
Jakob Bornecrantz
52501801c7 gallium: Add accessor functions to get textures from a st_framebuffer 2008-06-23 16:08:23 +02:00
José Fonseca
f78cc24c4b scons: Update to target WinCE 6.0. 2008-06-23 19:44:37 +09:00
Jakob Bornecrantz
f08da6b821 gallium: Fix warning in u_draw_quad.h 2008-06-23 12:31:46 +02:00
Jakob Bornecrantz
d40ff29451 i915: Removed level_offset from i915_texture
All offsets are now on image_offset.
2008-06-23 11:57:34 +02:00
Dan Nicholson
fe3b62b5b1 Ensure all objects are built when installing DRI 2008-06-22 20:29:45 -07:00
Dan Nicholson
5aa4d5a87d Don't make libmesa.a or libglapi.a depend on asm_subdirs
Since the asm_subdirs target does not actually create a file, make will
always consider that it needs to be rebuilt. If libmesa.a and libglapi.a
have asm_subdirs as a prerequisite, then they will always need to be
rebuilt, too. The correct order will be preserved by the default target,
though.

This should fix #16358.
2008-06-22 20:27:00 -07:00
Dan Nicholson
7ec5e6a032 Create $(TOP)/$(LIB_DIR) for install, too
If `make install' is run without running `make' first, the $(LIB_DIR)
will not be created. This also changes the mkdir a little bit so that it
isn't run if necessary and added `-p' so that it is immune to races.
2008-06-22 20:19:35 -07:00
Ben Skeggs
5a01060eb9 nouveau: update for interface changes + hack around gallium x86_64 bustage 2008-06-23 00:14:21 +10:00
Ben Skeggs
aa3ab377e6 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
Conflicts:

	configs/default
2008-06-23 00:01:17 +10:00
Keith Whitwell
e2c3f06e96 draw: fix non-i386 builds 2008-06-22 13:17:01 +01:00
Patrice Mandin
8c26a521ee Update for extra vertex attributes 2008-06-21 22:59:05 +02:00
Brian Paul
71d2578ac5 replace __inline and __inline__ with INLINE macro 2008-06-21 10:55:24 -06:00
Brian Paul
ba97ed2b74 replace __inline and __inline__ with INLINE macro 2008-06-21 10:52:40 -06:00
Brian Paul
cc96d54920 replace __inline and __inline__ with INLINE macro 2008-06-21 10:52:32 -06:00
Brian Paul
37f19b94ac replace __inline and __inline__ with INLINE macro 2008-06-21 10:49:45 -06:00
Brian Paul
402e7f76b1 #undef DEBUG to silence warnings 2008-06-21 10:49:40 -06:00
Brian Paul
5ee7b7912c replace __inline and __inline__ with INLINE macro 2008-06-21 10:34:38 -06:00
Brian Paul
055ab81920 replace __inline and __inline__ with INLINE macro 2008-06-21 10:34:00 -06:00
Brian Paul
24197b4901 replace __inline and __inline__ with INLINE macro 2008-06-21 10:30:01 -06:00
Brian Paul
7899270b9f replace __inline and __inline__ with INLINE macro 2008-06-21 10:27:36 -06:00
Brian Paul
2e922b0e35 replace __inline and __inline__ with INLINE macro 2008-06-21 10:24:43 -06:00
Brian Paul
2c1bead069 s/inline/INLINE 2008-06-21 10:20:54 -06:00
Brian Paul
77d917a74a remove old comments 2008-06-21 10:20:31 -06:00
Alan Coopersmith
e1f9adc274 Solaris port of Mesa 7.1 with autoconf support
Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
2008-06-21 10:19:45 -06:00
Daniel Zhu
f30e4af734 Rename quad function to quadr to avoid clash with Solaris quad typedef
Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
2008-06-21 10:19:45 -06:00
Alan Coopersmith
1043a7c71a Make minstall work with Solaris /bin/sh
Solaris /bin/sh doesn't set $PWD for you

Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
2008-06-21 10:19:45 -06:00
Alan Coopersmith
4ba39c40ae Fix builds with compilers other than gcc 3.0 & newer
Add #include "glheader.h" for definition of __builtin_expect for compilers
that don't support it.

Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
2008-06-21 10:19:45 -06:00