summaryrefslogtreecommitdiff
path: root/src/mesa/SConscript
AgeCommit message (Collapse)Author
2011-01-22scons: Add support for GLES.Chia-I Wu
GLES can be enabled by running scons with $ scons gles=yes When gles=yes is given, the build is changed in three ways. First, libmesa.a will be built with FEATURE_ES1 and FEATURE_ES2. This makes DRI drivers and libEGL support and advertise GLES support. Second, GLES libraries will be created. They are libGLESv1_CM, libGLESv2, and libglapi. Last, libGL or opengl32 will link to libglapi. This change is required as _glapi_* will be declared as __declspec(dllimport) in libmesa.a on windows. libmesa.a expects those symbols to be defined in another DLL. Due to this change to GL, GLES support is marked experimental. Note that GLES requires libxml2-python to generate some of its sources.
2010-12-02WIN32_THREADS -> WIN32José Fonseca
Fixes nasty bug where some parts of the code didn't define WIN32_THREADS and were using the integer mutex implementation, causing even confusion to the debuggers. And there is little interest of other thread implemenation on Win32 besides Win32 threads.
2010-11-20scons: Define IN_DRI_DRIVER.Chia-I Wu
The define is required for DRI drivers. It is not needed for libgl-xlib, but the overhead it introduces should be minor.
2010-11-01scons: Fix MinGW cross-compilation.José Fonseca
2010-11-01scons: Revamp how to specify targets to build.José Fonseca
Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
2010-10-23mesa: split up the image.c fileBrian Paul
New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
2010-09-28scons: Add program/sampler.cpp to SCons build.Vinson Lee
This is a follow-up to commit a32893221ce253da7bb465e0ec9d0df5f7208d8f. Fixes MinGW SCons build.
2010-08-20Delete more vestiges of the old shader compiler.Kenneth Graunke
2010-08-20mesa: Add missing ES sources to SConscript.Chia-I Wu
These sources compile to nothing when FEATURE_ES is not defined and thus were overlooked. Note that api_exec_es[12].c are still missing on the list. They should be added when they can be generated on the fly.
2010-08-16Merge branch 'glsl2'Ian Romanick
Conflicts: src/mesa/program/prog_optimize.c
2010-08-13scons: Build the new glsl2 code.José Fonseca
2010-08-12scons: Add main/querymatrix.c to SCons build.Vinson Lee
Commit 87eb66775949af6e9512daf7e4665c1cfa6b8745 added querymatrix.c to make but not to SCons.
2010-07-19mesa: remove restart.c from buildBrian Paul
2010-07-01mesa: entrypoints for GL 3.1 primitive restartBrian Paul
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-06-10mesa: move shader/slang/* sources to main/slang/*Brian Paul
Reduce the source tree depth a bit.
2010-06-10mesa: move nvprogram.[ch] to main/Brian Paul
2010-06-10mesa: move arbprogram.[ch] to main/Brian Paul
2010-06-10mesa: move atifragshader.[ch] to main/Brian Paul
2010-06-10mesa: move uniforms.c to main/Brian Paul
2010-06-10mesa: refactor shader api / object codeBrian Paul
Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
2010-05-26mesa: move GLSL uniform functions into new source fileBrian Paul
2010-05-21gallium: Fix invalidate framebuffer with old libGL librariesJakob Bornecrantz
2010-05-21Merge branch 'gallium-msaa'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
2010-05-17mesa/st: adapt to interface changesRoland Scheidegger
adapt to blit changes, and also handle a bit more msaa state in theory (incomplete, doesn't handle resolves in any way for now).
2010-05-10mesa: more transform feedback infrastructureBrian Paul
Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
2010-05-07glapi: Move to src/mapi/.Chia-I Wu
Move glapi to src/mapi/{glapi,es1api,es2api}.
2010-05-07glapi: Move assembly dispatchers back into glapi/.Chia-I Wu
2010-05-04mesa: remove unused renderbuffer adaptor codeBrian Paul
2010-04-13st/mesa: Remove state_tracker/st_framebuffer.c from SConscript.Vinson Lee
This was missed in commit da8412ec19ad00627ae9139dc02f46f344bbb6ac. Fixes SCons build.
2010-04-11scons: Build glapi regardless of the dri option.José Fonseca
2010-04-04st/mesa: Implement GL_OES_EGL_image driver hooks.Chia-I Wu
Use st_manager::get_egl_image to look up GLeglImageOES and implement EGLImageTargetTexture2D and EGLImageTargetRenderbufferStorage.
2010-03-30mesa: add transformfeedback.c to buildBrian Paul
2010-03-16Merge remote branch 'origin/gallium-st-api'Chia-I Wu
2010-03-14glapi: exec_malloc for dispatch stubsGeorge Sapountzis
2010-03-12st/mesa: Implement st_api.h.Chia-I Wu
There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before. ST_TEXTURE_2D is both defined by st_public.h and st_api.h. Reorder the headers in st/dri to avoid conflicts.
2010-03-09glapi: Fix scons build -- list new file.José Fonseca
2010-02-25glapi: Move src/mesa/main/dispatch.c to glapi and rename.Chia-I Wu
main/dispatch.c is a glapi source file. It is part of GLAPI_SOURCES in sources.mak and part of glapi_sources in SConscript. This commit moves it to glapi/ and renames it to glapi_dispatch.c.
2010-02-16st/dri2: Use event-driven buffer validation.Francisco Jerez
2010-01-22glapi: split the no-op dispatch code into new glapi_nop.c fileBrian Paul
This unclutters the glapi.c file a bit.
2010-01-05mesa: added version.c to buildBrian Paul
2009-12-31st/mesa: implement conditional renderingBrian Paul
2009-12-31mesa: _mesa_Begin/EndConditionalRender() functionsBrian Paul
For GL_NV_conditional_render and GL3. The drawing functions don't check the query object yet. No API dispatch yet.
2009-12-12Remove grammar module -- no dependencies left.Michal Krol
2009-12-12Merge branch 'master' into glsl-pp-rework-2Michal Krol
Conflicts: progs/perf/drawoverhead.c progs/perf/teximage.c progs/perf/vbo.c progs/perf/vertexrate.c src/mesa/shader/slang/library/slang_common_builtin_gc.h
2009-12-09mesa: Fix SCons build.Vinson Lee
Commit cd6b8dd9e82fedc55d033131fbc0f8ee950567c8 deleted src/mesa/state_tracker/st_cb_get.c.
2009-11-25scons: Autogenerate GLSL builtin library *_gc.h from *.gc files.Michal Krol
2009-10-28Merge branch 'texformat-rework'Brian Paul
Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
2009-10-26mesa: Add remap.c to SConscript.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30mesa: move texel fetch/store into new texfetch.[ch] filesBrian Paul