Commit graph

32893 commits

Author SHA1 Message Date
José Fonseca
52b4691518 st/python: Generate binding for u_format utility functions too. 2010-03-31 13:12:24 +01:00
Vinson Lee
f2463eaccf i965g: Fix assertion that was always true.
surface_format field is a 9-bit field and the value of
BRW_SURFACEFORMAT_INVALID exceeds 9 bits.
2010-03-30 23:46:51 -07:00
Vinson Lee
5123e33863 st/dri: Remove unnecessary header. 2010-03-30 23:35:32 -07:00
Vinson Lee
9b6285c052 identity: Remove unnecessary header. 2010-03-30 22:42:45 -07:00
Vinson Lee
91454fb94d st/dri: Remove unnecessary header. 2010-03-30 22:35:23 -07:00
Brian Paul
539d03ff36 mesa: added glGet queries for transform_feedback 2010-03-30 20:04:05 -06:00
Brian Paul
86a1ea31ed mesa: added glEnable/Disable state for transform feedback 2010-03-30 20:04:04 -06:00
Brian Paul
423860ac78 mesa: add new query/buffer targets for transform feedback 2010-03-30 20:04:04 -06:00
Brian Paul
a5d7ee929e mesa: plug in transform feedback functions, set limits 2010-03-30 20:04:04 -06:00
Brian Paul
e443d13ab6 mesa: add transformfeedback.c to build 2010-03-30 20:04:04 -06:00
Brian Paul
de8530e154 mesa: initial check-in of transform feedback functions 2010-03-30 20:04:04 -06:00
Brian Paul
e5c69647b0 mesa: add transform feedback queries
And make _mesa_copy_string() non-static.
2010-03-30 20:04:04 -06:00
Brian Paul
4e9f075448 mesa: add EXT_transform_feedback to extension list 2010-03-30 20:04:04 -06:00
Brian Paul
066f009795 mesa: initial data structures for transform feedback 2010-03-30 20:04:03 -06:00
Brian Paul
ed17446d80 mesa: simplify query code with get_query_binding_point() 2010-03-30 20:04:03 -06:00
Ian Romanick
4afed821ba intel: Bump intel driver date to later than the date on the 7.8 branch 2010-03-30 15:38:03 -07:00
Kristian Høgsberg
94264994b1 dri: Drop another unused __DRIscreen field 2010-03-30 16:48:51 -04:00
Kristian Høgsberg
4251076590 dri: Drop the unused dummyContext 2010-03-30 16:48:51 -04:00
Kristian Høgsberg
221bc02d29 dri: Drop an unused __DRIcontext field 2010-03-30 16:48:51 -04:00
Kristian Høgsberg
ff6bce552a intel: Remove redundant fields from struct intel_context
All these pointers are in the __DRIcontext struct, which we point to.
2010-03-30 16:48:51 -04:00
Kristian Høgsberg
581c773e81 intel: Use fb->Height when flipping read buffer orientation
With DRI2, x and y are always zero and fb->Height is always up to date
with the drawable height.
2010-03-30 16:48:51 -04:00
Corbin Simpson
3623202834 r300/compiler: Unbreak DDX/DDY.
Fixes progs/glsl/deriv.
2010-03-30 10:43:51 -07:00
Zack Rusin
dc886ba139 gallivm: cleanup the code (found by coverity)
the condition can't be false, declerations are ok even if we don't
emit any.
2010-03-30 08:55:17 -04:00
George Sapountzis
5cc9387d0d drisw: fix use after free (bug 27370) 2010-03-30 13:10:36 +03:00
Michel Dänzer
e5c7d1e1c8 Merge branch '7.8'
Conflicts:
	Makefile
	src/mesa/main/version.h

Resolved by keeping version strings from master (also in the intel driver).
2010-03-30 12:01:31 +02:00
Michel Dänzer
07c6d94cd7 glx/dri2: Fix debug build with old dri2proto.
Apparently the higher compiler optimization level in non-debug builds was
eliminating the unused functions referencing the unresolved DRI2 symbols...
2010-03-30 11:50:13 +02:00
Chia-I Wu
aa1a790360 st/dri: Fix a memory leak in dri1_init_screen.
Free the returned configs upon errors.
2010-03-30 15:41:50 +08:00
Chia-I Wu
f6f5cba9a6 mesa/es: Use core mesa's mfeatures.h.
Remove mfeatures_es1.h and mfeatures_es2.h.  Build the overlay with
either FEATURE_ES1 or FEATURE_ES2 defined.
2010-03-30 15:39:17 +08:00
Chia-I Wu
066477ab22 mesa: Add missing features.
Add features tested in the code but missing from mfeatures.h.

This also fixes some tests of features.  They should be tested with
"#if", not "#ifdef".
2010-03-30 15:39:17 +08:00
Chia-I Wu
9f0e1be2de mesa: Add umbrella features.
Add FEATURE_GL, FEATURE_ES1, and FEATURE_ES2 for OpenGL, OpenGL ES 1.x,
and OpenGL ES 2.x respectively.  Define individual features through the
new umbrella features.  There is no real change introduced by this
commit.
2010-03-30 15:39:17 +08:00
Vinson Lee
49289007c1 drisw: Remove unnecessary header. 2010-03-29 23:11:26 -07:00
Vinson Lee
f2c55566ee swrastg: Silence unused value warning. 2010-03-29 22:54:35 -07:00
Vinson Lee
ba43b74967 r300g: Remove unused variable. 2010-03-29 22:19:28 -07:00
Vinson Lee
9dc51ad4f7 r300g: Remove unnecessary header. 2010-03-29 22:11:37 -07:00
Corbin Simpson
587c5ef01f r300g: Bind constantbuf to Draw immediately, don't wait for render.
Doesn't hurt, and reduces code duplication.
2010-03-29 21:33:19 -07:00
Chia-I Wu
c1a392ac4c st/glx: Remove a wrong assertion in choose_pixel_format.
There are X visuals that Gallium or the code does not support.  We could
not assert the color format to be supported.  Return PIPE_FORMAT_NONE in
such cases and let the caller handle it.
2010-03-30 11:20:53 +08:00
Brian Paul
8c6f71e01e gallivm: use constant size array, added assertion check 2010-03-29 18:13:31 -06:00
Chris Li
5fa0984661 Add test case for lp_bld_printf() 2010-03-29 16:09:27 -07:00
Chris Li
3b1a8d9d5b gallivm: added lp_bld_printf() function 2010-03-29 16:09:27 -07:00
Vinson Lee
90075f34e2 progs/glsl: Add workarounds for Apple GLSL compiler crash.
fsraytrace and vsraytrace were crashing on Mac OS X 10.6.3 in the Apple
GLSL compiler function TPPStreamCompiler::assignOperands. Removing some
const qualifers made the crashes go away.
2010-03-29 14:56:12 -07:00
Vinson Lee
52f7289215 progs/glsl: Remove inline keyword.
Fixes MSVC build.
2010-03-29 13:58:39 -07:00
José Fonseca
bbe6788807 progs/gallium/python: Get tri.py sample working again. 2010-03-29 21:22:23 +01:00
José Fonseca
d0e7aa25a9 st/python: Update for util_draw_vertex_buffer changes. 2010-03-29 21:22:23 +01:00
José Fonseca
69492c3aca st/python: Move surface read/write methods to context. 2010-03-29 21:22:23 +01:00
Zack Rusin
012fabca72 gallivm: make sure that the alloca's are the very first thing in the function
otherwise mem2reg can't put them in registers
2010-03-29 16:18:16 -04:00
George Sapountzis
625e024b18 st/dri/sw: add drisw_api similarly to dri1_api
I am pretty sure that this is in gallium spirit, so commit. Thanks to Chia-I
for suggesting this.
2010-03-29 21:06:54 +03:00
George Sapountzis
6cc5fbd76b ws/sw/dri: s/xm/dri_sw/ 2010-03-29 21:06:53 +03:00
Brian Paul
2aafbd7c2a docs: fix 7.7.1 release date
(cherry picked from commit e6f5ca0fa3)
2010-03-29 12:01:28 -06:00
Brian Paul
909f0b356e progs/glsl: improve the mouse drag/rotate code a little 2010-03-29 11:47:38 -06:00
RALOVICH, Kristóf
8ca937fc3b progs/glsl: let the mouse rotate the scene 2010-03-29 11:47:38 -06:00