summaryrefslogtreecommitdiffstats
path: root/src/mesa/SConscript
Commit message (Collapse)AuthorAgeFilesLines
* Remove talloc from the SCons build system.Kenneth Graunke2011-01-311-2/+0
|
* scons: Add support for GLES.Chia-I Wu2011-01-221-0/+63
| | | | | | | | | | | | | | | | | | 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.
* WIN32_THREADS -> WIN32José Fonseca2010-12-021-1/+0
| | | | | | | | | 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.
* scons: Define IN_DRI_DRIVER.Chia-I Wu2010-11-201-0/+4
| | | | | The define is required for DRI drivers. It is not needed for libgl-xlib, but the overhead it introduces should be minor.
* scons: Fix MinGW cross-compilation.José Fonseca2010-11-011-70/+71
|
* scons: Revamp how to specify targets to build.José Fonseca2010-11-011-314/+315
| | | | | | | | | | | | | | | | | | | | | | 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.
* mesa: split up the image.c fileBrian Paul2010-10-231-0/+2
| | | | | | New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
* scons: Add program/sampler.cpp to SCons build.Vinson Lee2010-09-281-0/+1
| | | | | | This is a follow-up to commit a32893221ce253da7bb465e0ec9d0df5f7208d8f. Fixes MinGW SCons build.
* Delete more vestiges of the old shader compiler.Kenneth Graunke2010-08-201-24/+0
|
* mesa: Add missing ES sources to SConscript.Chia-I Wu2010-08-201-0/+3
| | | | | | 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.
* Merge branch 'glsl2'Ian Romanick2010-08-161-3/+5
|\ | | | | | | | | Conflicts: src/mesa/program/prog_optimize.c
| * scons: Build the new glsl2 code.José Fonseca2010-08-131-3/+5
| |
* | scons: Add main/querymatrix.c to SCons build.Vinson Lee2010-08-121-0/+1
|/ | | | | Commit 87eb66775949af6e9512daf7e4665c1cfa6b8745 added querymatrix.c to make but not to SCons.
* mesa: remove restart.c from buildBrian Paul2010-07-191-1/+0
|
* mesa: entrypoints for GL 3.1 primitive restartBrian Paul2010-07-011-0/+1
|
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-101-23/+23
|
* mesa: move shader/slang/* sources to main/slang/*Brian Paul2010-06-101-19/+19
| | | | Reduce the source tree depth a bit.
* mesa: move nvprogram.[ch] to main/Brian Paul2010-06-101-1/+1
|
* mesa: move arbprogram.[ch] to main/Brian Paul2010-06-101-1/+1
|
* mesa: move atifragshader.[ch] to main/Brian Paul2010-06-101-1/+1
|
* mesa: move uniforms.c to main/Brian Paul2010-06-101-1/+1
|
* mesa: refactor shader api / object codeBrian Paul2010-06-101-2/+2
| | | | | Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
* mesa: move GLSL uniform functions into new source fileBrian Paul2010-05-261-0/+1
|
* gallium: Fix invalidate framebuffer with old libGL librariesJakob Bornecrantz2010-05-211-0/+1
|
* Merge branch 'gallium-msaa'Roland Scheidegger2010-05-211-0/+1
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
| * mesa/st: adapt to interface changesRoland Scheidegger2010-05-171-0/+1
| | | | | | | | | | adapt to blit changes, and also handle a bit more msaa state in theory (incomplete, doesn't handle resolves in any way for now).
* | mesa: more transform feedback infrastructureBrian Paul2010-05-101-0/+1
| | | | | | | | | | Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
* | glapi: Move to src/mapi/.Chia-I Wu2010-05-071-28/+1
| | | | | | | | Move glapi to src/mapi/{glapi,es1api,es2api}.
* | glapi: Move assembly dispatchers back into glapi/.Chia-I Wu2010-05-071-3/+3
| |
* | mesa: remove unused renderbuffer adaptor codeBrian Paul2010-05-041-1/+0
|/
* st/mesa: Remove state_tracker/st_framebuffer.c from SConscript.Vinson Lee2010-04-131-1/+0
| | | | | This was missed in commit da8412ec19ad00627ae9139dc02f46f344bbb6ac. Fixes SCons build.
* scons: Build glapi regardless of the dri option.José Fonseca2010-04-111-6/+5
|
* st/mesa: Implement GL_OES_EGL_image driver hooks.Chia-I Wu2010-04-041-0/+1
| | | | | Use st_manager::get_egl_image to look up GLeglImageOES and implement EGLImageTargetTexture2D and EGLImageTargetRenderbufferStorage.
* mesa: add transformfeedback.c to buildBrian Paul2010-03-301-0/+1
|
* Merge remote branch 'origin/gallium-st-api'Chia-I Wu2010-03-161-0/+1
|\
| * st/mesa: Implement st_api.h.Chia-I Wu2010-03-121-0/+1
| | | | | | | | | | | | | | | | 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.
* | glapi: exec_malloc for dispatch stubsGeorge Sapountzis2010-03-141-0/+1
|/
* glapi: Fix scons build -- list new file.José Fonseca2010-03-091-0/+1
|
* glapi: Move src/mesa/main/dispatch.c to glapi and rename.Chia-I Wu2010-02-251-1/+1
| | | | | | 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.
* st/dri2: Use event-driven buffer validation.Francisco Jerez2010-02-161-1/+0
|
* glapi: split the no-op dispatch code into new glapi_nop.c fileBrian Paul2010-01-221-0/+1
| | | | This unclutters the glapi.c file a bit.
* mesa: added version.c to buildBrian Paul2010-01-051-0/+1
|
* st/mesa: implement conditional renderingBrian Paul2009-12-311-0/+1
|
* mesa: _mesa_Begin/EndConditionalRender() functionsBrian Paul2009-12-311-0/+1
| | | | | | | For GL_NV_conditional_render and GL3. The drawing functions don't check the query object yet. No API dispatch yet.
* Remove grammar module -- no dependencies left.Michal Krol2009-12-121-1/+0
|
* Merge branch 'master' into glsl-pp-rework-2Michal Krol2009-12-121-1/+3
|\ | | | | | | | | | | | | | | | | 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
| * mesa: Fix SCons build.Vinson Lee2009-12-091-1/+0
| | | | | | | | | | Commit cd6b8dd9e82fedc55d033131fbc0f8ee950567c8 deleted src/mesa/state_tracker/st_cb_get.c.
| * Merge branch 'texformat-rework'Brian Paul2009-10-281-0/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * mesa: move texel fetch/store into new texfetch.[ch] filesBrian Paul2009-09-301-0/+1
| | |
| | * mesa: added formats.c to buildBrian Paul2009-09-261-0/+1
| | |