Brian Paul
a00f4e864c
llvmpipe: remove call to llvmpipe_set_texture_image_layout()
...
This would seem to be needed but caused some regressions.
More investigation will be done.
2010-04-20 08:42:32 -06:00
José Fonseca
cc822705e5
llvmpipe: Re-enable half float formats.
...
They should be working now, both textures and vertex/index/buffers.
This reverts commit efc69ca61c
.
2010-04-20 16:27:42 +02:00
José Fonseca
ec8d9523d4
gallivm: Universal format support on lp_build_fetch_rgba_aos via util_format_description::fetch_rgba_float
...
This therefore adds support to half float vertex buffers.
2010-04-20 16:21:08 +02:00
José Fonseca
fe5a483328
gallivm: Cleanups and bugfixes to aos format translation.
2010-04-20 15:09:02 +02:00
José Fonseca
2cb0a20f67
draw: Fallback to gallivm for translation of A8R8G8B8/B8G8R8A8/R10G10B10X2/R10G10B10X2 and other formats.
...
These need swizzles, and bitshifts.
2010-04-20 14:02:05 +02:00
José Fonseca
e08d0cc165
gallivm: New function to fetch a pixel into a 4xfloat AoS vector.
2010-04-20 13:58:45 +02:00
José Fonseca
b29fcc7b3a
gallivm: Bring aos format back to life.
...
Useful for fetching vertices for formats that are straight arrays.
This reverts commit aa364d091e
.
2010-04-20 13:41:10 +02:00
José Fonseca
a55ead9d01
nvfx: Fix typo.
2010-04-20 13:26:59 +02:00
José Fonseca
373f03efe7
draw: Remove draw_vs_llvm.c.
...
To silence some warnings.
Super-seeded by Zack's new llvm middle end.
2010-04-20 13:26:59 +02:00
Alan Hourihane
17c560d1a4
llvmpipe: silence warning
2010-04-20 10:33:56 +01:00
José Fonseca
a6171a9dd9
Merge branch 'gallium-index-bias'
2010-04-20 11:07:08 +02:00
José Fonseca
3dcdca433a
draw: No need to rebase for elt_bias.
...
As we are rebasing to min_index + elt_bias, and the vertex buffer has no
elt_bias.
I still don't know how to exercise this code. I hope this is now right.
2010-04-20 11:06:47 +02:00
José Fonseca
4e8154e866
draw: Fix cache elt_bias implementation.
2010-04-20 10:32:06 +02:00
José Fonseca
493a1bb822
gallium/docs: Make it clear that minIndex, maxIndex is exclusively a index buffer characteristic.
...
Unlike the indexBias which is specific to a draw call.
This are the semantics of both D3D and GL ARB_draw_elements_base_vertex
extension.
2010-04-20 10:22:28 +02:00
José Fonseca
f1d3f42c47
draw: Fix typo resulting from bad regular expression in index bias addition.
2010-04-20 10:19:42 +02:00
Vinson Lee
49ba607aba
draw llvm: Move dereference of pointer after NULL check.
2010-04-20 00:00:52 -07:00
Vinson Lee
11913e9798
draw llvm: Remove unnecessary header.
2010-04-19 23:58:23 -07:00
Dan Nicholson
a69ef34640
egl: Fix demos to build with user specified Xlib
...
Commit 88be2171e7
fixed the egl demos on the stable branch, but now
they're spread out across multiple subdirectories.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com >
2010-04-19 20:25:17 -07:00
Dan Nicholson
02224ec4e0
Merge branch '7.8'
...
Conflicts:
progs/egl/Makefile
progs/egl/Makefile is gone on master with the egl demos split into
subdirectories. Will require an additional commit.
2010-04-19 20:22:48 -07:00
Dan Nicholson
88be2171e7
egl: Pass flags to locate Xlib headers and libraries
...
eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx
driver and egl programs needs to link to libX11. Make sure we use the
locations the user told us about.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com >
2010-04-19 20:21:57 -07:00
Dan Nicholson
8e5effefc7
progs: Fix linking of Xlib demos for non-autoconf builds
...
The Xlib demos were fixed to use $(X11_LIBS) so that configure could
detect the proper directory to link the library from, but this broke
the non-autoconf builds. Give X11_LIBS a default value to fallback on.
(cherry picked from commit e40fce13e1
)
2010-04-19 20:21:57 -07:00
Dan Nicholson
4e7a4bed37
Change libX11 variables to not conflict with AC_PATH_XTRA
...
The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir
parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars
for linking with Xlib to avoid the conflict.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com >
(cherry picked from commit e725ef171b
)
2010-04-19 20:21:57 -07:00
Dan Nicholson
4f8bf353bd
gallium: Respect user's CFLAGS for including X headers
...
This can break on systems that don't have a system X installation.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com >
(cherry picked from commit de4ee20578
)
Conflicts:
src/gallium/winsys/xlib/Makefile
2010-04-19 20:21:57 -07:00
Jeff Smith
3b693fd93f
Use X_LIBS from pkg-config, instead of libdir, for locating libX11
...
Signed-off-by: Jeff Smith <whydoubt@yahoo.com >
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com >
(cherry picked from commit 8d86d395dc
)
2010-04-19 20:21:57 -07:00
Brian Paul
35e60aed0b
glapi: GL 3.x xml file
...
Some of the entrypoints defined in other .xml files will need to
be removed in favor of these...
2010-04-19 20:43:00 -06:00
Brian Paul
4c93cd13ba
llvmpipe: remove dead code
2010-04-19 17:16:15 -06:00
Brian Paul
bd329d42e8
llvmpipe: use llvmpipe_resource_stride()
2010-04-19 17:15:25 -06:00
Brian Paul
079081222a
gallivm: pass 3D texture stride as an array
...
This should have been included with the previous commit.
2010-04-19 17:14:57 -06:00
Brian Paul
f4071e55db
llvmpipe: get 3D texture image stride from an array rather than computing it
...
This fixes broken 3D texture indexing when the height of the 3D texture
was less than 64 (the tile size). It's simpler to pass this as an array
(as we do with the row stride) than to compute it on the fly.
2010-04-19 17:07:25 -06:00
Brian Paul
2cad62475b
llvmpipe: consolidate some code in llvmpipe_set_texture_image_layout()
2010-04-19 17:07:25 -06:00
Brian Paul
202ff7db49
llvmpipe: fix rendering to 3D textures
...
Treat cube faces and 3D texture slices in the same manner (they're layed
out out continuously in memory). Additional clean-ups and improvements
coming.
2010-04-19 17:07:25 -06:00
Brian Paul
ee7cf9d80f
llvmpipe: checkpoint: fixes for render to 3D texture
2010-04-19 17:07:25 -06:00
Brian Paul
254dd0c23f
llvmpipe: another fix for surface memory allocation
...
The previous patch broke cube maps.
The logic is a bit clearer now.
2010-04-19 17:07:25 -06:00
Marek Olšák
f189caeed0
r300g: add is_rv350 flag
2010-04-20 00:50:39 +02:00
Jesse Barnes
35489ef285
Merge branch '7.8'
2010-04-19 14:20:58 -07:00
Jesse Barnes
0a18cdb0ed
DRI2: check for swapAvailable before using swap interval protocol
...
This should have been part of the last change...
2010-04-19 14:20:21 -07:00
Jakob Bornecrantz
35d960cc74
svga: More don't recurse
2010-04-19 21:42:49 +01:00
Jakob Bornecrantz
aa857509bd
svga: Translate svga reloc flags to pb flags
2010-04-19 21:42:49 +01:00
Jakob Bornecrantz
2a5667a008
svga: Don't recurse
2010-04-19 21:42:49 +01:00
Brian Paul
0e4f0e8725
draw: remove extra semicolons
2010-04-28 15:27:08 -06:00
Brian Paul
aac6d84056
llvmpipe: free vertex buffer memory in lp_setup_vbuf_destroy()
2010-04-28 15:25:50 -06:00
Brian Paul
bdf753a858
llvmpipe: fix scene queue memory leak
2010-04-28 15:25:50 -06:00
Brian Paul
0728db86bc
llvmpipe: fix scene queue memory leak
2010-04-28 15:25:50 -06:00
Brian Paul
7dd44ca5f6
llvmpipe: fix mem leak in llvmpipe_resource_destroy()
2010-04-28 15:25:50 -06:00
Brian Paul
5f53ecb97f
llvmpipe: fix surface memory leak during tear-down
2010-04-28 15:25:50 -06:00
Brian Paul
1550de98e6
llvmpipe: remove unused psize_slot field
2010-04-28 15:25:50 -06:00
Brian Paul
3a749b5c09
llvmpipe: move/rename llvmpipe_init_surface_functions()
2010-04-28 15:25:50 -06:00
Brian Paul
8975ade13b
llvmpipe: make rasterizer-related functions static, clean-up initializations
2010-04-28 15:25:50 -06:00
Brian Paul
965a604306
llvmpipe: update comments, fix formatting
2010-04-28 15:25:50 -06:00
Brian Paul
dd2fd8ae03
llvmpipe: remove old prototypes, fix-up formatting
2010-04-28 15:25:50 -06:00