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
Brian Paul
9523d78dde
llvmpipe: make shader-related functions static, clean-up initializations
2010-04-28 15:25:50 -06:00
Brian Paul
2176cad7dc
llvmpipe: make clip-related functions static, clean-up initializations
2010-04-28 15:25:50 -06:00
Brian Paul
f7885f8f1f
llvmpipe: make draw-related functions static, clean-up initializations
2010-04-28 15:25:50 -06:00
Brian Paul
e351e82869
llvmpipe: make vertex-related functions static, clean-up initializations
2010-04-28 15:25:50 -06:00
Brian Paul
8fd794db9e
llvmpipe: make blend-related functions static, clean-up initializations
2010-04-28 15:25:50 -06:00
Brian Paul
bfd81b4ebb
llvmpipe: make sampler-related functions static, clean-up initializations
2010-04-28 15:25:50 -06:00
Brian Paul
a7e2470843
llvmpipe: remove some unneeded shader structure fields
2010-04-28 15:25:50 -06:00
Brian Paul
ac6725b8f9
llvmpipe: dump shaders if LP_DEBUG=tgsi
2010-04-28 15:25:50 -06:00
Brian Paul
18d1d59484
draw: use a cast wrapper
2010-04-28 15:25:50 -06:00
Brian Paul
35883f4296
draw: put 'create' in the vs varient create function names
2010-04-28 15:25:50 -06:00
Joakim Sindholt
2c512085ab
radeong: fix scons build
2010-04-28 21:09:30 +02:00
Brian Paul
dd3b98bdf6
draw: add missing function parameter
2010-04-28 11:43:54 -06:00
Brian Paul
2479c3f3ee
softpipe: consolidate tex image offset code
2010-04-28 11:37:51 -06:00
Brian Paul
b73c9ba919
llvmpipe: remove unused write_depth
2010-04-28 11:26:37 -06:00
Brian Paul
ce0844b44c
st/mesa: move/improve Mesa GPU program debugging
...
Print the program (plus its parameters) before calling
st_translate_mesa_program() in case we die in that function.
2010-04-28 10:24:58 -06:00
Brian Paul
e0383d7bb6
st/mesa: add missing debug entry for DEBUG_CONSTANTS
2010-04-28 10:23:47 -06:00
Brian Paul
c7f5c9a3dc
Merge branch '7.8'
...
Conflicts:
src/mesa/state_tracker/st_gen_mipmap.c
2010-04-28 10:10:51 -06:00
Brian Paul
40dcbb87a9
softpipe: use consistant names for local vars
2010-04-28 10:07:23 -06:00
Brian Paul
331c01ea4d
progs/demos: added code to test compressed mipmap generation (disabled)
2010-04-28 10:07:23 -06:00