Commit graph

115447 commits

Author SHA1 Message Date
Brian Paul
df8f9a1690 egl: created GLES/egl.h backward-compatibility header (see comments inside) 2008-06-04 10:03:39 -06:00
Brian Paul
493f3a0032 egl: moved egl.h into EGL/ directory 2008-06-04 10:01:16 -06:00
Brian Paul
3e702fa881 egl: moved eglext.h into EGL/ directory 2008-06-04 10:00:32 -06:00
Brian Paul
0d8676822d remove old/unused foomesa.h example header 2008-06-04 09:33:02 -06:00
Brian Paul
f34767f04c call glutDestroyWindow() before exit 2008-06-04 09:30:32 -06:00
José Fonseca
113ab51a8c scons: Some provisions to cross-compile x86 on x86_64 machines and vice-versa. 2008-06-04 23:58:45 +09:00
José Fonseca
5c9c6b0d23 scons: Generate matypes.h at build time.
Also cleanup mesa SConscript.
2008-06-04 23:58:45 +09:00
José Fonseca
fc286ff3ba mesa: Remove assyntax.h include from generated matypes.h.
matypes.h doesn't really depend on assyntax.h; assyntax.h is only present
on x86; and this way we remove the need of grep being available (which is
relevant for scons and non-unix platforms).
2008-06-04 23:58:44 +09:00
Brian Paul
8223add330 gallium: added tgsi_is_passthrough_shader() function
Checks if all instructions are of the form MOV OUT[n], IN[n]
Untested at this time.
2008-06-04 08:57:15 -06:00
Brian Paul
4ebfc3c8ff egl: prototype some multi-API code 2008-06-04 08:57:15 -06:00
Keith Whitwell
b98ac1d472 draw: init vsvg draw pointer 2008-06-04 15:51:17 +01:00
Michal Krol
43b92a6424 gallium: Define PIPE_CAP_GUARD_BAND_* capabilities. 2008-06-04 11:42:26 +01:00
Keith Whitwell
0a4aea0e86 draw: respect driver's max vertex buffer size 2008-06-04 11:25:54 +01:00
Alan Hourihane
c218b8c6c6 Build with -O2 2008-06-04 09:56:00 +01:00
Xiang, Haihao
9e95fad02e i915: Fix GL_DEPTH_TEXTURE_MODE issue. (bug #16221) 2008-06-04 15:44:38 +08:00
Keith Packard
dbf3c5247c Merge commit 'origin/master' into drm-gem
Conflicts:

	src/mesa/drivers/dri/common/dri_bufmgr.h
	src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
	src/mesa/drivers/dri/intel/intel_bufmgr_ttm.h
	src/mesa/drivers/dri/intel/intel_ioctl.c
2008-06-03 22:56:25 -07:00
Dave Airlie
0b734bd7cf mesa/drm/ttm: allow build against non-TTM aware libdrm
I'll release a libdrm 2.3.1 without TTM apis included from a special
drm branch that should allow mesa 7.1 to build against it.

I've had to turn off DRI2 stuff.
2008-06-04 14:08:27 +10:00
Eric Anholt
4b5b008d54 [intel] Convert drivers to using libdrm bufmgr code. 2008-06-03 14:43:48 -07:00
Keith Whitwell
5b6ea6bfc8 Merge branch 'gallium-tex-surfaces' into gallium-0.1 2008-06-03 15:32:45 +01:00
Jakob Bornecrantz
afd635a950 i915: Fix compile on linux-dri-debug 2008-06-03 12:35:01 +02:00
Michal Krol
0a5df5bc7d draw: Use register names more consistently. 2008-06-03 11:22:00 +02:00
Michal Krol
183d490ab1 draw: Fix fetch_src(). Resurrect SSE version of DP3. 2008-06-03 10:59:46 +02:00
Michal Krol
58cccc8d6b draw: Fix DP3 implementation by replacing SSE with x87 version. 2008-06-02 21:51:31 +02:00
Ian Romanick
f688827ebd bug #16503: use INSTALL macro instead of hard-coding to bin/minstall
This is only part of the fix.  Someone with more autoconf-fu will have
to fix the rest
2008-06-02 11:19:35 -07:00
Nicolai Haehnle
96adcc2e21 [t_vp_build] Fix refcounting-related memory leak
This memory leak is identical to the earlier one in texenvprogram.
Fixed by not creating an additional reference to new programs in cache_item.

On top of that, remove some duplicated state setting.
2008-06-02 18:42:52 +02:00
Nicolai Haehnle
934a53eb44 [texenvprogram] Fix refcounting-related memory leak.
All newly created programs have RefCount == 1, but the fragment program cache
added an additional reference in cache_item, with the result being that none
of the programs were ever freed.

Solve the problem by not creating the additional reference in cache_item.
2008-06-02 18:42:49 +02:00
Jakob Bornecrantz
6a3aab1983 i915: Removed useless defines 2008-06-02 17:24:31 +02:00
Jakob Bornecrantz
7cc23a9eae i915: Implement and use the reworked batchbuffer code 2008-06-02 17:24:30 +02:00
Jakob Bornecrantz
4ee14279f3 i915: Rework of batchbuffer code 2008-06-02 17:24:30 +02:00
José Fonseca
5a67df6d7c scons: Integrate gdi winsys.
Conditional build of the winsys based on the platform.
2008-06-03 00:05:54 +09:00
José Fonseca
7c22bb383a gdi: Port of the gdi mesa driver to gallium (Alan Hourihane). 2008-06-03 00:05:54 +09:00
Keith Whitwell
6a39bcf375 draw: fast element translate path without delta 2008-06-02 14:37:03 +01:00
José Fonseca
e0860518df gallium: Replace XSTDCALL by PIPE_CDECL. 2008-06-02 22:31:02 +09:00
José Fonseca
8d9a96386a gallium: Port util_time functions to windows userspace. 2008-06-02 21:45:25 +09:00
José Fonseca
5027411134 gallium: More tweaks for the cosf/sinf logic. 2008-06-02 21:43:31 +09:00
José Fonseca
aa1a39d1a7 rtasm: Use enum sse_cc in sse_cmpps. 2008-06-02 20:46:05 +09:00
José Fonseca
acdf24e530 gallium: Fix log<->cos typo in logf. 2008-06-02 20:28:50 +09:00
José Fonseca
969a207fe3 gallium: Fix log<->cos typo in logf. 2008-06-02 20:17:16 +09:00
Jakob Bornecrantz
c1949e2bd3 i915: Fixed some warnings 2008-06-02 13:00:32 +02:00
Jakob Bornecrantz
f4364cd1a6 i915: Fixed initialization of surface 2008-06-02 12:59:59 +02:00
José Fonseca
9b50043ea9 gallium: Hopefully fix the cosf/sinf/etc. conditional compolation logic for good. 2008-06-02 19:46:18 +09:00
José Fonseca
275fc32d58 gallium: Identify each Windows platform individually from scons. 2008-06-02 19:46:18 +09:00
José Fonseca
5463420741 scons: Set /W3 warning level for all MSVC based platforms. 2008-06-02 19:46:18 +09:00
José Fonseca
5b86ae60fe draw: Fix MSVC warnings. 2008-06-02 19:46:18 +09:00
Michal Krol
2c7ae3371b tgsi: Add assertions to the new rule that when an extended swizzle
is used, the simple swizzle must be set to identity.
2008-06-02 11:59:04 +02:00
Michal Krol
49ed85d6b1 brw: SWZ no longer aliases MOV. 2008-06-02 11:42:16 +02:00
Michal Krol
dfd30b8786 i915: SWZ no longer aliases MOV. 2008-06-02 11:41:17 +02:00
Michal Krol
dc6068a8bc cell: SWZ no longer aliases MOV. 2008-06-02 11:40:44 +02:00
Michal Krol
c6ae627fdc tgsi: SWZ no longer aliases to MOV. 2008-06-02 11:39:59 +02:00
Michal Krol
837d49a84e gallium: The SWZ opcode no longer aliases MOV.
Also, when the extended swizzle token is used, the simple swizzle
and negate are set to X,Y,Z,W and FALSE, respectively.
2008-06-02 11:34:56 +02:00