Commit graph

33764 commits

Author SHA1 Message Date
José Fonseca
7a26c875a9 util: Generalize lp_format_is_rgba8 into util_format_is_rgba8_variant. 2010-03-31 13:55:12 +01:00
José Fonseca
e566046efc python/tests: Rename test name.
We only test blitting from a surface -- we don't test any sampler state.
2010-03-31 13:28:36 +01:00
José Fonseca
6de8f86ab4 python/tests: Test all existing gallium formats. 2010-03-31 13:27:08 +01:00
José Fonseca
aae63a7109 python/tests: Speed up the tests by reusing the same pipe context. 2010-03-31 13:12:24 +01:00
José Fonseca
fceee46022 python/tests: Get the tests running again. 2010-03-31 13:12:24 +01:00
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
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