Commit graph

33505 commits

Author SHA1 Message Date
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
Zack Rusin
880e3fb09b Merge remote branch 'origin/master' into gallium_draw_llvm 2010-03-30 21:10:33 -04:00
Zack Rusin
93e342574f draw llvm: fix a warning 2010-03-30 21:09:51 -04: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
Zack Rusin
b0f946e900 draw llvm: actually set the constant buffers on the context 2010-03-30 17:21:11 -04: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
Zack Rusin
8bc07fc83e draw llvm: fix some silly mistakes
the vs_type selection isn't ideal, but for now both llvmpipe's fs and vs
do the same thing which is operate on 4xfloat vector as the base type
2010-03-30 16:16:36 -04:00
Corbin Simpson
3623202834 r300/compiler: Unbreak DDX/DDY.
Fixes progs/glsl/deriv.
2010-03-30 10:43:51 -07:00
Zack Rusin
6f34339af4 draw llvm: we translate between pointers, not values directly 2010-03-30 12:52:09 -04:00
Zack Rusin
1963112f9d draw llvm: various fixes for the translation code
the from translation isn't quite right yet
2010-03-30 12:35:40 -04: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
Roland Scheidegger
56b34e54f2 gallium/util: use other layout instead of the old compressed 2010-03-30 02:01:11 +02:00
Roland Scheidegger
733df0059f Merge branch 'master' into gallium-new-formats
Conflicts:
	src/gallium/auxiliary/util/u_format.csv
2010-03-30 01:52:13 +02:00
Roland Scheidegger
6fb364a171 gallium: adapt all code to the renamed depth/stencil formats 2010-03-30 01:35:49 +02:00
Roland Scheidegger
4e9690f00c gallium: make the python scripts for format parsing not fail on new formats
they won't generate any useful conversion code for some of the new formats
but at least don't assert. Also needed some more hacks so they don't generate
code for some of the new formats, as gcc was not impressed.
Also declare unused channels as void, and change the scripts to not fail if
the first channel happened to be unused.
Needs serious fixing.
2010-03-30 01:33:28 +02: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