Vinson Lee
bfc34c8804
i965g: Fix assert.
2010-01-04 11:28:37 -08:00
Vinson Lee
ad80009c88
tgsi: Fix assert.
2010-01-04 11:25:38 -08:00
Brian Paul
0fb1eaddfb
Merge branch 'gallium-conditional-rendering'
2010-01-04 11:47:39 -07:00
Brian Paul
195568e4cb
mesa: more detailed error message in extract_float_rgba()
2010-01-04 11:27:17 -07:00
Alan Hourihane
1baaf111c8
fix overflow
2010-01-04 17:41:49 +00:00
Alan Hourihane
a3abb9d1cc
silence compiler warning
2010-01-04 12:42:51 +00:00
Alan Hourihane
4a531fb46a
Fix test
2010-01-04 12:41:33 +00:00
Andre Maasikas
e04a818606
r600: support vertex_array_bgra
...
Use vertex program key mechanism and swizzle during vertex fetch - is there
a better way?
2010-01-04 12:39:37 +02:00
Kristian Høgsberg
2b218d94b5
Only enable verbose NoOp dispatch if DEBUG is defined
...
By default we generate a function per GL entry point to warn if it's
called without a context set. This is to allow the function to print
it's name in the warning. By using a generic function that doesn't print
the function name in the non-DEBUG case, we reduce libGL size from
320008 bytes to 283144 bytes (11%).
2010-01-03 23:24:13 -05:00
Kristian Høgsberg
c3047e73f7
Noop dispatch: move warning code out of the generated functions
...
This reduces libGL size by 11% here, going from 360968 bytes to
320008 bytes.
2010-01-03 23:01:23 -05:00
Kristian Høgsberg
b8326b011d
Fix glut to work with -fvisibility=hidden
...
The GLUTAPI #define used in the header file to mark the font structs
visible wasn't kicking in because of the #define glutBitmap9By15 XXX
prior to #include <GL/glut.h>. High quality code... worked around by
copying the GLUTAPI specifier to the invidual C files.
2010-01-03 20:59:56 -05:00
Kristian Høgsberg
8d62eb4599
Export a few glapi functions used by gallium and r300
...
Fixes breakage from -fvisibility-hidden commit.
2010-01-03 19:53:01 -05:00
Kristian Høgsberg
e388d62b47
Compile with -fvisibility-hidden by default
...
We have all functions that need to be visible marked with PUBLIC and
this is trimming around 4% off the DRI driver .so size.
2010-01-03 15:40:59 -05:00
Francis Galiegue
a60084088b
mesa: fix blend enable/disable calls in meta.c code
...
Fixes regression in some DRI drivers since the GL_EXT_draw_buffers2 changes.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-03 09:43:24 -07:00
José Fonseca
c978ab017d
gallium: Hunt down all references to GALLIUM_AUXILIARY_DIRS.
2010-01-02 20:22:52 +00:00
Marc Dietrich
995c342018
autoconf: fix build breakage
2010-01-02 10:33:15 -07:00
Brian Paul
1fbc71937f
mesa: added _mesa_GetBufferParameteri64v()
...
This is a new function in GL 3.2. No dispatch for this function yet.
2010-01-02 10:32:37 -07:00
José Fonseca
52eb3e4235
scons: Build glew on all platforms.
...
It is required for progs.
2010-01-02 01:12:35 +00:00
José Fonseca
321aef7da3
scons: Update the MSVC SA to match latest scons code.
2010-01-02 00:56:01 +00:00
José Fonseca
58d376ac42
scons: Axe generic.py.
...
Progs are now built together with the rest so no longer needed.
2010-01-02 00:55:29 +00:00
José Fonseca
8a318edd08
scons: Put glut and glew shared libraries into build/xxx/bin or lib.
...
Use bin subdir for windows dlls, lib for unices.
2010-01-02 00:01:43 +00:00
José Fonseca
ee39dc20e6
python: Don't generate a import library for python module either.
2010-01-02 00:01:43 +00:00
José Fonseca
6f19ec64fc
i965: Add missing include.
2010-01-02 00:01:43 +00:00
José Fonseca
2104cbb694
scons: Remove duplicated code.
2010-01-02 00:01:42 +00:00
José Fonseca
b2e40643a3
scons: Disable version symlinking for DLLs.
...
Fixes windows build.
2010-01-02 00:01:42 +00:00
José Fonseca
187066caa0
gdi: Don't generate import libraries for opengl32.dll.
...
Both MinGW and MSVC include opengl32 import libraries, and its safer to
always use those.
2010-01-02 00:01:42 +00:00
José Fonseca
14a8c9dac7
scons: Fix glew build on MSVC.
...
The environment for building the DLL needs to be quite different from
the environment for building the programs, in order to get
the dllexport/dllimport attribute done currectly. I don't know how MinGW
managed to build the programs, but MS linker refuses to link symbols with
mismatching attributes.
2010-01-02 00:01:42 +00:00
José Fonseca
c852e960cc
util: Silent potential loss of precision warnings.
...
Also ensure multiplication doesn't happen for negative numbers.
2010-01-02 00:01:42 +00:00
Igor Oliveira
9595b59247
tgsi: Add missing semantic name in text parser.
2010-01-01 19:03:27 +01:00
José Fonseca
486ccb55a8
r300: Fix scons build.
2010-01-01 12:16:20 +00:00
José Fonseca
89d778ff02
scons: Don't list cell as a driver.
...
Cell driver's SConscript never got written, and it is not trivial one to
write, so don't accept cell in the driver option to avoid confusion.
2010-01-01 12:16:20 +00:00
José Fonseca
cf9be46c01
llvmpipe: Add missing include path.
...
The abscense was being masked previously.
2010-01-01 12:16:20 +00:00
José Fonseca
c847a13d38
gallium: Generate a single library for auxiliaries with Make too.
2010-01-01 12:16:19 +00:00
José Fonseca
f8f4757d46
scons: Aggregate all tiny libraries in a single library.
...
Makes integration of gallium into out of tree components much easier. No
pratical change for components in this tree,
2010-01-01 12:16:19 +00:00
José Fonseca
fc8e0b97e5
gallium: Remove the sct module.
...
Not used, and its functionality is now addressed by
pipe_context::is_texture/buffer_referenced callbacks.
2010-01-01 12:16:19 +00:00
José Fonseca
7bbf7f94ea
scons: Build progs together with everything else.
...
This is a substantial reorganization, This particular commit enables:
- building the progs for unices platforms
- glew is now built as a shared library (it is the default, and it is
inconvenient and pointless to shift away from that default)
- all progs get built by default
2010-01-01 12:16:19 +00:00
José Fonseca
58b401315b
progs: Ignore derived files.
2010-01-01 12:16:19 +00:00
José Fonseca
cbb23523a8
glsl: Ignore programs.
2010-01-01 12:16:19 +00:00
José Fonseca
3d747eded4
scons: Don't globally define WIN32_LEAN_AND_MEAN.
...
Some of the demo progams legitimately need the functionality
that's disabled by WIN32_LEAN_AND_MEAN.
Instead the solution should be to define WIN32_LEAN_AND_MEAN just before
including windows.h on a case by case basis.
2010-01-01 12:16:19 +00:00
José Fonseca
33f44b93d2
mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.
2010-01-01 12:16:18 +00:00
José Fonseca
04c7f483b4
mesa: Make condrender.[ch] prototypes match.
...
GLAPI on windows is more than "extern" -- it includes the --, so the
mismatch between condrender.[ch] prototypes causes "different linkage"
errors on windows.
2010-01-01 11:20:38 +00:00
José Fonseca
97e2c5ac0b
scons: Expose convienience libraries to the host environment.
...
This fixes MinGW cross compilation build, recently broken due to the use
of convenience libraries in the GLSL preprocessor.
2010-01-01 11:00:58 +00:00
José Fonseca
700a2ebbf1
glut: Silent the glut*_ATEXIT_HACK defined but not used warnings.
...
There are two ways to silent this: put inline keyword, or reimplement the
hack as a #define. inline keyword actually varies slightly with compiler
so I've opted by the latter.
2010-01-01 11:00:58 +00:00
Brian Paul
c9b5583518
st/mesa: implement conditional rendering
2009-12-31 14:47:21 -07:00
Brian Paul
f1b382d2e6
st/mesa: move st_query_object type to header to make it public
2009-12-31 14:46:57 -07:00
Brian Paul
41450b03a8
softpipe: implement conditional rendering
2009-12-31 14:46:15 -07:00
Brian Paul
c0b4fb06b8
gallium: pipe_context::render_condition() and mode flags
...
For conditional rendering predicated on results of an occlusion query.
If this driver function is NULL, conditional rendering is not supported by
the driver.
2009-12-31 14:45:15 -07:00
Christoph Bumiller
45a01bc5bd
nv50: small fix for handling "dangerous" swizzles
2009-12-31 22:29:39 +01:00
Brian Paul
25024d9482
Merge branch 'mesa_7_7_branch'
...
Conflicts:
configs/darwin
src/gallium/auxiliary/util/u_clear.h
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-31 09:02:27 -07:00
Brian Paul
d14beea534
mesa: remove a line of dead code
2009-12-31 08:50:26 -07:00