summaryrefslogtreecommitdiffstats
path: root/src/mesa/SConscript
Commit message (Collapse)AuthorAgeFilesLines
* scons: add swrast/s_texture.c to the buildBrian Paul2011-08-291-0/+1
|
* mesa: Add partial constant propagation pass for Mesa IRIan Romanick2011-08-161-0/+1
| | | | | | | | | | | | This cleans up some code generated by the IR-to-Mesa pass for i915. In particular, some shaders involving arrays of constant matrices result in really bad code. v2: Silence several warnings from merging the gl_constant_value work. Fix DP[23] folding. Add support for a bunch more opcodes that appear in piglit runs on i915. Reviewed-by: Eric Anholt <[email protected]>
* glapi: generate ES dispatch headers from core mesaChia-I Wu2011-08-131-4/+4
| | | | | | | | | | GLESv1 and GLESv2 have their own dispatch.h and remap_helper.h. These headers are only used by api_exec_es1.c and api_exec_es2.c in core mesa. Move the rules to generate them from glapi to core mesa. Reviewed-by: Brian Paul <[email protected]> [olv: updated after reviewing to fix SCons build]
* glapi: use gl_and_es_API.xml to generate GLES headersChia-I Wu2011-08-131-8/+8
| | | | | | | | | | | | glapi/gen-es/ defines two sets of GLAPI XMLs for OpenGL ES 1.1 (es1_API.xml) and 2.0 (es2_API.xml) respectively. They are used to generate dispatch.h and remap_helper.h for GLES. Together with gl_and_es_API.xml, we have to maintain three sets of GLAPI XMLs. This commit makes dispatch.h and remap_helper.h for GLES be generated from gl_and_es_API.xml. Reviewed-by: Brian Paul <[email protected]>
* mesa: add st_glsl_to_tgsi.cpp to SconscriptBrian Paul2011-08-041-0/+1
|
* mesa: move texrender.c to swrastBrian Paul2011-06-131-1/+1
| | | | | | | This stuff is really for software rendering, it's not core Mesa. A small step toward pushing the FetchTexel() stuff down into swrast. Reviewed-by: Eric Anholt <[email protected]>
* mesa: merge glapidispatch.h into dispatch.hChia-I Wu2011-06-081-2/+2
| | | | | | | | | glapidispatch.h was located in glapi and shared with mesa core. Because the way it was shared, mesa core must include it indirectly via main/dispatch.h. Now that it is no longer needed by glapi and is located in core mesa, merging it with main/dispatch.h to avoid wrong uses.
* scons: Build osmesa.José Fonseca2011-04-231-0/+71
| | | | | | Just type scons osmesa
* mesa/vf: Remove.José Fonseca2011-04-231-7/+0
| | | | Unused. Probably replaced by translate module.
* mesa: plug in new functions for GL_ARB_sampler_objectsBrian Paul2011-04-101-0/+1
| | | | | | Build the new sources, plug the new functions into the dispatch table, implement display list support. And enable extension in the gallium state tracker.
* scons: Generate empty git_sha1.h for all platforms.Vinson Lee2011-04-051-9/+9
| | | | Fixes MinGW SCons build.
* scons: generate empty git_sha1.h file for nowBrian Paul2011-04-051-0/+12
| | | | | My feeble attempt to invoke the extract_git_sha1 script from SConscript didn't work. Hopefully this will do for now.
* mesa: fix scons buildMarek Olšák2011-03-151-1/+1
|
* gallium: add texture barrier support to the interface and st/mesa (v2)Marek Olšák2011-03-151-0/+1
| | | | v2: change the gallium entry point to texture_barrier.
* mesa: add NV_texture_barrierMarek Olšák2011-03-151-0/+1
|
* scons: Move texenvprogram.c to ff_fragment_shader.cpp.Vinson Lee2011-03-111-1/+1
|
* st/mesa: implement ARB_syncMarek Olšák2011-03-081-0/+1
| | | | | | The ServerWaitSync implementation matches Intel's driver. The extension is advertised when pipe_screen::fence_finish is set.
* scons: More tweaks to fix MinGW build.José Fonseca2011-03-031-1/+1
|
* scons: Ensure generated headers are in the include path.José Fonseca2011-03-031-0/+4
|
* scons: Use Flex and Bison to generate lexer/parser files.Kenneth Graunke2011-03-011-2/+6
| | | | | This gets it building again here; I'll leave it up to the SCons maintainers to make further improvements.
* mesa: move PBO-related functions into a new fileBrian Paul2011-02-281-0/+1
|
* mesa: Add texcompress_rgtc.c to SConscript.Vinson Lee2011-02-271-0/+1
|
* 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}.