Commit graph

21264 commits

Author SHA1 Message Date
Benjamin Close
17fe478085 autogen: Make sure MAKEFLAGS is not set before running autoreconf
Without this the "w" flag may be set which causes the version
to be incorrectly to be obtains in configure.ac causing configure
to fail miserably
2009-02-10 11:58:11 +10:30
Brian Paul
7e0bc2eb8d mesa: add x86/rtasm/x86sse.c to fix linux-x86 build 2009-02-09 15:41:06 -07:00
Roland Scheidegger
93da69def4 mesa: fixes for srgb formats
swizzling in fetch/store srgba/sargb functions fixed (consistent with
equivalent non-srgb formats now).
2009-02-09 23:18:07 +01:00
Roland Scheidegger
cb3c54ea86 fix _mesa_get_teximage for srgb textures 2009-02-09 23:17:43 +01:00
Brian Paul
aad3f546a0 mesa: avoid setting texObj->_Complete = GL_FALSE when there's no state change
Avoid a little bit of unneeded state validation and fixes a bug where the
texture complete flags was set to false, but we didn't signal _NEW_TEXTURE.

Fixes piglit tex1d-2dborder failure.
2009-02-09 14:00:47 -07:00
Brian Paul
37c768b36a mesa: add no-change testing for a few more texture parameters 2009-02-09 14:00:47 -07:00
Brian Paul
88f3656ea7 swrast: use ASSIGN_4V() macro 2009-02-09 14:00:47 -07:00
Brian Paul
7eb5a2892d mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer() 2009-02-09 14:00:47 -07:00
Brian Paul
d52294439c mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer() 2009-02-09 14:00:47 -07:00
Brian Paul
60b3fe6c19 i965: need to disable current shader, if any, in intel_clear_tris()
Fixes bad background in all the progs/glsl/ tests.
2009-02-09 12:12:29 -07:00
Brian Paul
e13593678f re-add MSAA support
(cherry picked from commit f7d80aa006)

This also involved adding the new MSAA fields to driCreateConfigs().

Also, re-add prog_instructions->Sampler field for i965 driver.  Will
have to revisit that.
2009-02-09 11:16:20 -07:00
José Fonseca
123299546f indices: Fix typo. 2009-02-09 18:11:05 +00:00
Brian Paul
22c6c1eaad cell: update linux-cell config 2009-02-09 10:42:34 -07:00
Brian Paul
2438161823 mesa: build/use libmesagallium.a for gallium builds
This contains the core mesa code but excludes things not needed for gallium
such as tnl/, swrast/, swrast_setup/, etc.
2009-02-09 10:37:38 -07:00
Brian Paul
abbe96cb6e mesa: added new linux-gallium and linux-gallium-debug configs
Also, remove gallium-related things from configs/default.  They're in
linux-gallium now.

So the default builds are the same as they have been for Mesa/master.
2009-02-09 10:17:58 -07:00
Brian Paul
3c15e02783 softpipe: add null ptr check in softpipe_map_constant_buffers()
Fixes segfault regression in progs/glsl/identity.c
2009-02-09 10:12:11 -07:00
Brian Paul
87e44d9003 mesa: prefix #includes with main/ 2009-02-09 09:54:52 -07:00
Brian Paul
71e64fc30b swrast: fix typo: s/drapix/drawpix/ 2009-02-09 09:54:33 -07:00
Brian Paul
4fece21315 mesa: remove old 'sources' file in favor of 'sources.mak' 2009-02-09 09:53:58 -07:00
Brian Paul
e97681c7f5 mesa: merge gallium-0.2 into gallium-master-merge
Merge commit 'origin/gallium-0.2' into gallium-master-merge

Conflicts:

	Makefile
	docs/relnotes-7.4.html
	docs/relnotes.html
	src/mesa/drivers/dri/i965/brw_wm.h
	src/mesa/main/imports.c
	src/mesa/main/mtypes.h
	src/mesa/main/texcompress.c
	src/mesa/main/texenvprogram.c
	src/mesa/main/version.h
	src/mesa/vbo/vbo_exec_api.c
	src/mesa/vbo/vbo_save_draw.c
2009-02-09 09:22:22 -07:00
Siddhartha Chaudhuri
1a46c8a062 mesa: autoconf fixes for OS X
See bug report 17566.
2009-02-09 07:59:32 -07:00
Brian Paul
4900269819 mesa: rework _mesa_reference_framebuffer() to look like _mesa_reference_renderbuffer()
_mesa_unreference_framebuffer() is deprecated since _mesa_reference_framebuffer(ptr, NULL)
can be used instead.
2009-02-09 07:55:08 -07:00
Patrice Mandin
b907d4cd8f nouveau: include and calc offset before changing dimensions for next level 2009-02-08 17:04:09 +01:00
Patrice Mandin
ea7ca7607a nouveau: upload and swizzle each mipmap level in turn 2009-02-08 17:04:09 +01:00
Corbin Simpson
5425c4aa28 r300: Accidentally removed a pipe_buffer_reference that should be there. 2009-02-08 02:03:29 -08:00
Corbin Simpson
360e700a43 r300: Add SW TCL paths for clear.
This should make things work for people on RSxxx chipsets.
2009-02-08 01:07:03 -08:00
Corbin Simpson
ea3398cf33 r300: Update to match pipe_surface changes. 2009-02-08 01:01:26 -08:00
Brian Paul
19a1bc8270 cell: remove unused var 2009-02-07 13:05:38 -07:00
Brian Paul
91948cd1a2 cell: compile fix: many updates to cell texture code for new surface mapping
The Cell texture code really needs a thorough inspection and clean-up someday...
2009-02-07 13:04:53 -07:00
Brian Paul
2473ded886 softpipe: simplify an assertion 2009-02-07 13:03:24 -07:00
Brian Paul
b59117a697 cell: compile fix: no-op xlib_create_brw_screen() for Cell build 2009-02-07 13:02:27 -07:00
Brian Paul
96d230e107 cell: compile fix: alpha.ref is now alpha.ref_value 2009-02-07 13:01:53 -07:00
Brian Paul
830e320e2a cell: compile fix: pipe_constant_buffer no longer has size field 2009-02-07 13:01:02 -07:00
Brian Paul
c2a8d73d5a cell: compile fix: pipe_constant_buffer no longer has size field 2009-02-07 12:59:40 -07:00
Brian Paul
5199774dc6 mesa: minor fixes to incomplete texture debug code 2009-02-07 11:50:24 -07:00
Brian Paul
266fe93a87 mesa: debug code for printing info about textures, writing teximages to disk 2009-02-07 11:49:52 -07:00
Brian Paul
671fed4d01 mesa: code refactoring: move texcombine code into update_tex_combine() 2009-02-07 11:40:20 -07:00
Brian Paul
2a50dde0f5 mesa: minor clean-ups, remove unneeded conditional 2009-02-07 11:21:44 -07:00
Brian Paul
b46611633c mesa: fix logic error in computing enableBits in update_texture_state()
If we had a vertex shader but no fragment shader (i.e. fixed function) we
didn't get the right enabled texture targets.

Fixes blank/white texture problem.
2009-02-07 11:20:08 -07:00
Younes Manton
32cd1a0345 nouveau: Need to surface_copy() without a pipe context. 2009-02-07 12:54:48 -05:00
Corbin Simpson
2d6355495c Merge branch 'gallium-0.2' of git://anongit.freedesktop.org/mesa/mesa into gallium-0.2 2009-02-06 14:06:39 -08:00
Corbin Simpson
5538323005 Readd trace to list of default pipe drivers.
Looks like the gallium-0.2-radeon merge clobbered it.
2009-02-06 13:36:31 -08:00
Corbin Simpson
4683fc94f5 Merge branch 'gallium-0.2-radeon' into gallium-0.2 2009-02-06 13:34:04 -08:00
Corbin Simpson
80026428e3 Rename winsys amd to radeon. 2009-02-06 13:28:15 -08:00
Corbin Simpson
0bf152e0be Remove r300 from default build. 2009-02-06 13:27:51 -08:00
Younes Manton
776d86606c g3dvl: Catch up to gallium changes, fix build. 2009-02-06 14:37:35 -05:00
Younes Manton
bb34072b94 nouveau: Pass proper format to NV04_GDI_RECTANGLE_TEXT. 2009-02-06 14:36:56 -05:00
Younes Manton
5c8c728afe nouveau: Frontbuffer pitch needs to be set. 2009-02-06 14:33:49 -05:00
Brian Paul
f6d23943cd mesa: fix tnl->render_inputs_bitset setup for fragment program texcoords
Handle the case where there's no per-vertex texcoords but the fragment shader
needs texcoords.

Fixes piglit shaders/fp-generic/dph test.
2009-02-06 10:48:38 -07:00
Brian Paul
1df62651b2 swrast: return (0,0,0,1) when sampling incomplete textures, not (0,0,0,0)
Fixes piglit shaders/fp-incomplete-tex test.
2009-02-06 10:47:31 -07:00