Commit Graph

32 Commits

Author SHA1 Message Date
Brian Paul
a4bec69e72 mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new file 2009-04-03 17:42:22 -06:00
Brian Paul
4045a2c7d3 mesa: move shared context state functions to new shared.c file 2009-03-07 13:14:37 -07:00
Brian Paul
2c37851595 mesa: move glViewport and glDepthRange functions into new viewport.c file
A bit of refactoring with an eye toward ES2 and GL 3.1
2009-03-07 12:33:11 -07:00
Brian Paul
69e07bdeb4 mesa: remove GL_MESA_program_debug extension
This was never fully fleshed out and hasn't been used.
2009-03-07 11:53:18 -07:00
Brian Paul
82f1c0be13 mesa: add new program optimizer code
This is pretty simplistic for now, but helps with certain shaders.
2009-03-06 16:21:20 -07:00
Brian Paul
2cbc4655a8 mesa: new cpuinfo.c file to init/query cpu info and extensions 2009-03-04 16:43:39 -07:00
Brian Paul
20d289eb2d mesa: rename x86.c -> x86_xform.c 2009-03-04 15:35:21 -07:00
José Fonseca
c5dd8634c8 mesa: List new source file in SConscript. 2009-02-24 11:29:33 +00:00
José Fonseca
c7bbc9ad12 wgl: Enable the use of Win32 threads. 2009-02-23 11:52:59 +00:00
Keith Whitwell
0e471ac457 wgl: relocate wgl code to state_trackers/wgl
Similar to the GLX state trackers for DRI and xlib.
2009-01-27 11:28:29 +00:00
José Fonseca
2105b61846 mesa: Ensure gl* symbols are marked as dllexport on windows. 2009-01-08 12:05:05 +00:00
José Fonseca
975e58499a scons: Specify C99 throughout all the tree.
MSVC may not support full C99, but supports more than plain C90. And
-pedantic without -std=c99 generates too many spurious warnings
(specially C++ style comments) to be of any use.

Note that using certain C99 features in the cross-platform parts of Gallium
is still not possible; namely mid-of-scope variable declarations and named
structure initializers will break MSVC builds.
2008-12-30 17:13:38 +00:00
Brian Paul
89565b22f5 mesa: update SConscript with new source files 2008-12-16 15:53:35 -07:00
José Fonseca
db19578b52 mesa: Bring in new mesa sub-statetracker.
Some code cleanup is still in order.
2008-11-21 10:44:30 +09:00
Michel Dänzer
6b69e3c717 scons: ppc support. 2008-10-23 10:28:48 +02:00
Brian Paul
e90c0c976d gallium: do a proper implementation of GL_OES_read_format
Examine the currently bound color buffer's format to see if there's a good
format/type match.
2008-08-19 14:35:31 -06:00
José Fonseca
101d1a658a mesa: Prefix main includes with dir to avoid conflicts.
Some of the headers in src/mesa/main have pretty common names which
easily conflict with third-party code, e.g. config.h
2008-07-24 21:24:10 +09:00
José Fonseca
8c90148cb9 mesa: Fix Windows GDI winsys build. 2008-06-24 20:44:47 +09:00
Brian Paul
73f78dedad gallium: add missing comma 2008-06-12 16:37:16 -06:00
Brian Paul
11461f52be mesa: refactor: update SConscript with recently added new source files 2008-06-11 20:17:08 -06:00
José Fonseca
5c9c6b0d23 scons: Generate matypes.h at build time.
Also cleanup mesa SConscript.
2008-06-04 23:58:45 +09:00
José Fonseca
ffc6afcdbf scons: Enable mesa state tracker in all platforms by default.
But only actually build it on some. This results in a better default
scons experience.
2008-05-31 18:55:41 +09:00
José Fonseca
658f5e7213 scons: A few fixes for building mesa on windows. 2008-04-26 01:14:52 +09:00
Michel Dänzer
57b85e197b gallium: Don't link x86sse.c into libmesa.a.
Otherwise we get a symbol clash with the copy in src/gallium/util .
2008-04-22 12:18:31 +01:00
Michel Dänzer
f97c56e057 gallium: Fix up scons build. 2008-04-08 10:53:37 +01:00
Michel Dänzer
23c98f618b gallium: Update scons build for state tracker files added/removed. 2008-03-21 12:14:06 +00:00
Michel Dänzer
e2a91c294e gallium: Add missing file for scons build. 2008-03-04 18:32:43 +01:00
José Fonseca
308f11f991 scons: Build mesa source with c99. 2008-02-28 08:18:32 +09:00
José Fonseca
b9da3791c9 Remove src/mesa and src/mesa/main from gallium source include paths. 2008-02-19 15:07:53 +09:00
José Fonseca
33ceb6716a Update scons build for new code layout. 2008-02-18 10:52:44 +00:00
José Fonseca
a31d289de6 gallium: Cross-platform debugging helpers. 2008-02-06 13:27:49 +09:00
José Fonseca
c42e6254cf gallium: Add SCons as alternative build system for Gallium. 2008-01-31 14:22:21 +09:00