Marek Olšák
4d70a25964
util: update comments at blitter
2010-05-25 23:32:25 +02:00
Marek Olšák
16d1fb30a9
util: fix indentation in blitter
2010-05-25 23:32:25 +02:00
Marek Olšák
876de34c91
r300g,util: remove pipe_surface from the util_blitter_copy interface and clean up
2010-05-25 23:32:25 +02:00
Marek Olšák
59e51d9640
r300g,util: remove pipe_surface from the util_blitter_fill interface and clean up
2010-05-25 23:32:25 +02:00
Marek Olšák
85c55f2cf4
util: remove unused util_blitter_copy_surface
2010-05-25 23:32:25 +02:00
Jakob Bornecrantz
b9706886db
drm_api: Remove type argument from create screen callback
...
With the removal of DRI1 support there where no use of this argument,
some drivers didn't even properly check it.
2010-05-25 19:05:07 +01:00
Jakob Bornecrantz
395b605e19
gallium: Remove dri1_api.h and winsys support for DRI1
...
Since DRI1 support was dropped from st/dri it
makes no sense to keep this code around.
2010-05-25 19:04:11 +01:00
Jakob Bornecrantz
f501230db3
st/dri: Remove DRI1 support
...
Nobody used it and the current code had been trough so many
changes yet never once being tested.
2010-05-25 19:03:19 +01:00
José Fonseca
378796fe11
llvmpipe: Stop relying on PIPE_FLUSH_TEXTURE_CACHE/PIPE_FLUSH_RENDER_CACHE magic.
...
Flush means flush, i.e., all previous operations should be visible from
other contexts.
This does not imply unswizzling tiles, since unswizzling should be done on
a needed basis for any context.
2010-05-25 14:39:25 +01:00
José Fonseca
ba404c8f2a
gallivm: Choose an appropriate code generation optimization level.
...
'Default' unless GALLIVM_DEBUG=nopt option is set.
2010-05-25 11:48:00 +01:00
Brian Paul
e5d0c730d1
sw/xlib: NULL-out pointers after freeing image data
...
This fixes a double-free() error when not using a shared memory XImage.
The XDestroyImage() function frees the ximage->data buffer if non-NULL.
If we free it ourselves, we also need to NULL-out the pointer.
2010-05-24 16:21:55 -06:00
Brian Paul
8cbc1517c1
st/glx: check if deleting head of buffer list
2010-05-24 16:21:55 -06:00
Brian Paul
a949558430
meta: Convert Z value from normalized to object-space in meta code
...
Convert Z from a normalized value in the range [0, 1] to an
object-space Z coordinate in [-1, +1] so that drawing at the new Z
position with the default/identity ortho projection results in the
original Z value. Used by the meta-Clear, Draw/CopyPixels and Bitmap
functions where the Z value comes from the clear value or raster
position.
Fixes piglit tests fdo23670-depth_test, quad-invariance and
glsl-orangebook-ch06-bump as well as oglc zbfunc.c.
https://bugs.freedesktop.org/show_bug.cgi?id=23670
2010-05-24 17:22:35 -04:00
Kristian Høgsberg
e88cef3c9d
mesa: Reenable check for GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT
...
The check was disabled when FEATURE_OES_framebuffer_object was enabled,
since that used to mean we weren't implementing regular OpenGL semantics.
Now that we can compile in support for multiple APIs, change the #ifdef to
compile the check in when FEATURE_GL is enabled and enable the check for
contexts that implement OpenGL at runtime.
2010-05-24 16:56:56 -04:00
Brian Paul
c10154a298
glsl: silence unused var warnings
2010-05-24 11:43:55 -06:00
José Fonseca
6460ba5eeb
llvmpipe: Also test compressed formats in lp_test_format()
2010-05-24 16:41:28 +01:00
José Fonseca
f7b57245cc
llvmpipe: Fix lp_test_format on 32bit OSes.
2010-05-24 16:38:09 +01:00
Jakob Bornecrantz
734522acee
xorg-vmwgfx: Add vmwctrl proto
2010-04-30 11:47:27 +01:00
Kristian Høgsberg
f67b020a94
mesa: Handle FEATURE_es2_glsl differences at runtime too
...
Now that we can support different APIs at runtime, we need to check the
context for the API we're currently providing as well.
https://bugs.freedesktop.org/show_bug.cgi?id=28194
2010-05-24 10:02:13 -04:00
José Fonseca
740c8ea6d3
llvmpipe: Delete extraneous arugment too.
2010-05-24 14:24:06 +01:00
José Fonseca
5a0b4627fc
llvmpipe: Remove unused sincos_test_case struct.
2010-05-24 13:56:53 +01:00
Qicheng Christopher Li
80ee3a440c
llvmpipe: Unit test for sin/cos that compares against reference implementation.
...
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-24 13:45:26 +01:00
Qicheng Christopher Li
3c929e5544
gallivm: Efficient implementation of sin/cos.
...
Based on Julien Pommier's SSE and SSE2 algorithms.
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-24 13:45:21 +01:00
Eric Anholt
9b775c1e58
i965: Add support for all 8 possible ARB_draw_buffers in Mesa.
...
We should be able to do 16, but are limited by Mesa's static buffer
allocations.
2010-05-23 16:59:43 -07:00
Eric Anholt
08b42bc97d
i965: Fix bit allocation for number of color regions for ARB_draw_buffers.
...
If you used all 4 color targets we currently support, we would see 0
and end up just writing the first output. Give enough bits that we
can do the maximum of 16.
Fixes piglit fbo-drawbuffers-maxtargets.
2010-05-23 16:59:07 -07:00
Marek Olšák
fa552261ea
util/blitter: allow NULL clear color
2010-05-23 19:01:11 +02:00
Marek Olšák
a650d7068a
r300g: extend compile error message
2010-05-23 18:34:04 +02:00
Marek Olšák
7d602b3651
r300g: fix dummy vertex shader compilation
2010-05-23 17:13:31 +02:00
Marek Olšák
98630a900e
r300g: fix warnings
2010-05-23 17:13:31 +02:00
José Fonseca
a3ef2fb9c4
llvmpipe: Fill in slice_stride.
2010-05-22 16:14:20 +01:00
Chia-I Wu
e8d8ea2a39
progs: Remove remaining EGL demos.
...
They have been moved to git+ssh://git.freedesktop.org/git/mesa/demos.
2010-05-21 22:13:32 -06:00
Kristian Høgsberg
ab780bccb7
glx: Invalidate drawable in glXBindTexImageEXT() if we don't get events
...
When we don't get invalidate events, we need to invalidate a drawable
before using it for tfp to make sure we have uptodate buffers.
2010-05-21 23:24:37 -04:00
Kristian Høgsberg
643b2af020
glx: Split tfp functions out to context vtable
...
This introduces a new per-context vtable, which lets us clean up all the
#ifdef's a bit and move the DRI2 specific implementation into dri2_glx.c.
2010-05-21 23:24:37 -04:00
Jakob Borncrantz
4db0c76019
st_api: Give get_egl_image arguments directly to the function
2010-05-21 23:29:05 +01:00
Brian Paul
ffd2bc3dfb
mesa: fix warnings about missing initializers in get.c table
2010-05-21 14:57:29 -06:00
Brian Paul
0a2e963ce3
st/mesa: remove unused var
2010-05-21 14:57:06 -06:00
Brian Paul
83adf8c3a4
st/glx: fix incorrect parameter type
2010-05-21 14:51:36 -06:00
Jakob Bornecrantz
a93f9f343a
gallium: Fix invalidate framebuffer with old libGL libraries
2010-05-21 21:25:07 +01:00
Jakob Bornecrantz
5f66363f8e
st_api: Add get param function to st_manager
2010-05-21 21:25:07 +01:00
Jakob Bornecrantz
0853401805
nouveau: Fix build after msaa merge
2010-05-21 21:25:07 +01:00
Brian Paul
7c226d0ab8
mesa: disable building the removed demos with scons
2010-05-21 14:12:16 -06:00
Brian Paul
6af41a5edc
mesa: disable building the removed demos
...
This is a quick fix.
2010-05-21 14:11:42 -06:00
Eric Anholt
1a8b1277c5
Fix test for MESA_LLVM.
2010-05-21 12:20:40 -07:00
Eric Anholt
68fc4b415e
Remove demos that have moved to git+ssh://git.freedesktop.org/git/mesa/demos.
...
The remaining programs are ones I've had difficulty finding a build
environment for to make the build system or are unit tests that should
probably live next to their code instead. Hopefully people can bring
over the build for remaining pieces they care about.
2010-05-21 12:20:39 -07:00
Roland Scheidegger
e4f4489e3f
rbug: fix breakage due to interface changes
2010-05-21 20:52:01 +02:00
Roland Scheidegger
3293bcdc80
Merge branch 'gallium-msaa'
...
Conflicts:
src/mesa/state_tracker/st_gen_mipmap.c
src/mesa/state_tracker/st_texture.c
2010-05-21 20:02:22 +02:00
Patrice Mandin
8504c5d931
nouveau/nvfx: Fill more PIPE_CAP_MAX_ values
...
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-05-21 19:10:31 +02:00
David Shao
d2fa95a4c0
Add __DragonFly__ in querymatrix for fpclassify()
...
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-21 09:59:52 -06:00
Brian Paul
3bd5888584
progs/tests: print more info in copypixrate.c
2010-05-21 09:58:39 -06:00
Brian Paul
b7f8f176f1
docs: update 7.8.2 relnotes with Cell driver fixes
2010-05-21 09:51:42 -06:00