George Sapountzis
f9c0cbd1ad
Revert "drm/sw: just s/softpipe_create_screen/gallium_soft_create_screen/"
...
This reverts commit 5d524cce9c .
2010-03-21 19:33:09 +02:00
George Sapountzis
63aa8a39c4
Revert "fix scons build"
...
This reverts commit 29ec051648 .
2010-03-21 19:32:40 +02:00
George Sapountzis
29ec051648
fix scons build
2010-03-21 19:20:15 +02:00
George Sapountzis
dd120776d1
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa
2010-03-21 15:37:40 +02:00
George Sapountzis
59629b413a
Revert "Makefile.template: respect LIBRARY_DEFINES in mkdep"
...
This reverts commit 9ec29e3191 .
2010-03-21 15:32:50 +02:00
Christoph Bumiller
f7273f2a27
nv50: report driver as GLSL capable
...
There's still no hint of optimization in the shaders, but
we support conditionals, loops and even integer opcodes so
it isn't that big a lie.
2010-03-21 14:11:59 +01:00
George Sapountzis
f2fa4a1888
Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/mesa
2010-03-21 15:05:21 +02:00
George Sapountzis
5d524cce9c
drm/sw: just s/softpipe_create_screen/gallium_soft_create_screen/
...
This partially reverts commit f87a5f6499 .
2010-03-21 15:03:13 +02:00
Christoph Bumiller
1afda5303d
nv50: don't validate arrays on clear
...
The vertex elements and buffers might not be valid anymore.
2010-03-21 13:23:53 +01:00
Christoph Bumiller
272bbbffb0
nv50: get rid of the static_init stateobj
...
Relocations of per-screen buffers are now emitted directly,
and include the necessary method to get changes in constbuf
addresses committed to the hw.
It should also be a bit cheaper than the way stateobjs emit
relocation markers, use a little less pushbuf space.
2010-03-21 13:23:47 +01:00
George Sapountzis
f87a5f6499
gallium: add soft screen helper
2010-03-21 13:21:46 +02:00
George Sapountzis
c28f5f98d6
dri1_api: need not include drm.h
2010-03-21 13:21:46 +02:00
George Sapountzis
97a694e221
drm/sw: does not need sw_winsys
2010-03-21 13:21:46 +02:00
George Sapountzis
016c5c953f
drm/sw: llvmpipe texture_from_handle
...
Not sure, but judging by softpipe, this hook was forgotten.
2010-03-21 13:21:46 +02:00
George Sapountzis
9ec29e3191
Makefile.template: respect LIBRARY_DEFINES in mkdep
2010-03-21 13:21:45 +02:00
George Sapountzis
a13bcf945f
rename dri_sw to drisw_util for consistency
2010-03-21 13:21:45 +02:00
George Sapountzis
0b932284f2
dri_inteface: add define for checking presence of drm.h
...
__NOT_HAVE_DRM_H is a like a feature, defined by default on specific platforms
and allows to be defined externally as well.
__NOT_HAVE_DRM_H should only be used by xserver and mesa swrast_dri drivers
2010-03-21 13:21:45 +02:00
George Sapountzis
2b5a6e083c
glx: minor cosmetic
2010-03-21 13:21:45 +02:00
George Sapountzis
2d1641b191
glx: swapBuffers prototype has changed
2010-03-21 13:21:45 +02:00
Pauli Nieminen
9a7acbccfb
vbo: Fix vbo_split_copy to pass correct max_index to draw.
...
vbo_split_copy was passing one past the max_index to draw function
which caused _tnl_draw_prims function to read uninitialized values
from copied array.
Bug was spoted in valgrind report of progs/tests/cva_huge.
2010-03-21 13:18:36 +02:00
Pauli Nieminen
a81cd67a4f
tests: Add test for huge client arrays that has to be split.
...
When running this test case in valgrind report includes read of unitialized
value in _tnl_draw_prims. The bug doesn't cause any vissible errors.
Bug is caused by vbo_split_copy that is calling draw function with max_index
one past the end instead of the end.
2010-03-21 13:17:52 +02:00
Francisco Jerez
c48226e81d
dri/nouveau: Reemit the light model state when lighting goes on/off.
2010-03-21 11:49:46 +01:00
Francisco Jerez
7f1f4c14ec
dri/nouveau: Random cleanups.
2010-03-21 11:49:20 +01:00
Dave Airlie
bb324182fc
r300g: fix occlusion query hangs.
...
Okay need to revist the whole OQ stuff anyways, glean test asserts
which is never good.
I'm liking the cached bufmgr restrictions less and less, I think I'll
probably play with the fence and/or busy stuff ASAP and try and clean it up.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21 19:39:28 +10:00
Dave Airlie
ff1c7baad2
r300g: add bufmgr cached for vertex/index buffers.
...
This adds the cached bufmgr for vertex/index buffers on top of the kernel
manager.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21 19:39:28 +10:00
Dave Airlie
0dab3189e1
gallium: cached bufmgr add map busy check
...
Suggested by Jose on the list, probably not perfect but will let me get
past this for now, testing with a fenced bufmgr on top of this, was slower,
Also this doesn't let you do the busy early exit optimisation either from
what I can see.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21 19:38:41 +10:00
Chia-I Wu
12deb9e6ca
Merge remote branch 'origin/gallium-st-api-dri'
2010-03-21 16:32:34 +08:00
Marek Olšák
162bc831c9
r300g: align misaligned ushort vertex indices
2010-03-21 05:42:50 +01:00
Marek Olšák
53ca4f8401
r300g: fix misaligned generated offset for ubyte vertex indices
2010-03-21 05:42:49 +01:00
Marek Olšák
04de5f4b8b
r300g: split the vertex buffer alignment validation
2010-03-21 02:19:55 +01:00
Marek Olšák
951d89ae3a
r300g: skip null vertex buffers
2010-03-21 02:19:55 +01:00
Marek Olšák
7b38f946a0
r300/compiler: fix assertion failure in the r500-fragprog emission path
2010-03-21 02:06:44 +01:00
Corbin Simpson
44cfc4ad74
r300g: Bump immediate limits.
...
Seems like a decent idea, especially since the big barrier now is
getting the VBOs back from the VRAM boundary.
2010-03-20 17:18:22 -07:00
Corbin Simpson
4711aa089e
r300g: Correctly hax max_index on pipe_vertex_buffers.
...
Still not happy with this, but at least things seem to work.
2010-03-20 17:16:46 -07:00
Corbin Simpson
7c8221b460
radeong: Use TRUE and FALSE.
2010-03-20 16:16:11 -07:00
Corbin Simpson
20dedcca3c
radeong: Test the BO ptr for NULL instead of using a bool.
...
Slight memory savings, but more importantly also avoids a potential NULL
dereference.
2010-03-20 16:16:11 -07:00
Dave Airlie
c2d17dce27
r300g: winsys fix tiling change flushes.
...
If we change the tiling on a buffer we need to flush it, the old
radeon_buffer.c code had this but it crossed streams when I ported to
radeon_drm_buffer.c and I missed it. Should fix some piglit regressions.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21 06:56:49 +10:00
Dave Airlie
03f1896304
r300g: add buffer/texture referenced checks.
...
I've no idea about the comments that were in there, just pass
this down to the winsys.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21 06:56:49 +10:00
Brian Paul
449721a3d0
docs: note GL_EXT_packed_float, GL_EXT_shared_exponent extensions
2010-03-20 12:06:36 -06:00
Brian Paul
61753c4bf7
mesa: added GL3 query for GL_TEXTURE_SHARED_SIZE
2010-03-20 12:06:36 -06:00
Brian Paul
9fca5d2e39
mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXT
2010-03-20 12:06:36 -06:00
Brian Paul
d6a9f5b3da
mesa: added new GL3 buffer object queries
...
And clean up the error checking code.
2010-03-20 12:06:35 -06:00
Brian Paul
8829e063aa
mesa: added GL3 buffer attachment aliases
2010-03-20 12:06:35 -06:00
Brian Paul
00225af999
mesa: added GL3 ContextFlags field and query code
2010-03-20 12:06:35 -06:00
Marek Olšák
3d72c4ae78
r300/compiler: fix assertion failure in the r500-fragprog emission path
2010-03-20 18:54:55 +01:00
Brian Paul
f0491c945c
docs: remove the 'Last updated date'
2010-03-20 10:33:10 -06:00
Chia-I Wu
6fed3a9fa0
glapi: Fix aliases to non-static functions.
...
The bug is triggered by 41a87a43e1 .
glBlitFramebuffer, for example, is an alias to the non-static
glBlitFramebufferEXT. We should define glBlitFramebuffer as an alias to
_dispatch_stub_NNN.
2010-03-21 00:05:01 +08:00
Chia-I Wu
41a87a43e1
glapi: Correctly generate static disatches for X86.
...
The entry point names, instead of the function name, should be used to
test if the entry point should be statically dispatched.
2010-03-20 13:02:05 +08:00
George Sapountzis
fe5f070ef9
st/dri: fix bug in make_current
2010-03-20 12:59:58 +08:00
George Sapountzis
92827cd451
st/dri: fix bug in allocate_textures
2010-03-20 12:59:58 +08:00