summaryrefslogtreecommitdiffstats
path: root/src/mesa/SConscript
Commit message (Collapse)AuthorAgeFilesLines
* mesa: glGet: add script to generate hash tables in build timeImre Deak2012-10-101-1/+17
| | | | | | | | | | | | | | | This will be needed by the next patch, which will switch to using the parameter descriptor- and hash tables generated by the script. The hash algorithm remains the same, the output parameter descriptor table format changes slightly. There the TYPE_API_MASK entries are removed and an invalid NULL entry is inserted at the beginning. This is ok, as get.c:find_value() doesn't rely on TYPE_API_MASK any more to detect an invalid enum. Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Oliver McFadden <[email protected]>
* scons/android: add flag to check for enabled GL APIsImre Deak2012-10-101-4/+5
| | | | | | | | Needed by the next patch. Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Oliver McFadden <[email protected]>
* scons: Disable build of assembly sources on Cygwin.Vinson Lee2012-09-281-1/+1
| | | | | | | The assembly sources currently do not build on Cygwin. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* scons: add new -p (prefix) options for yaccBrian Paul2012-09-151-1/+1
| | | | These were recently added to the Makefiles.
* scons : add HAVE_DLOPEN to build environmentTapani Pälli2012-08-301-0/+1
| | | | | | | | | fixes dlopen issue caused by 57c57df7b4579b60a84062df2e64f84dd84558b5 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54140 Signed-off-by: Tapani Pälli <[email protected]> Signed-off-by: José Fonseca <[email protected]>
* mesa: Kill ES2 wrapper functionsIan Romanick2012-08-291-18/+0
| | | | | | | | | v2: Fix completely broken condition around ClearColorIiEXT and ClearColorIuiEXT. v3: Add special VertexAttrib handling for ES2. Signed-off-by: Ian Romanick <[email protected]>
* Move _mesa_dl* functions into dlopen.h and inline themMatt Turner2012-08-241-1/+0
| | | | | | No point in having an extra function call for inlinable functions. Reviewed-by: Tapani Pälli <[email protected]>
* mesa: rename texpal.[ch] to texcompress_cpal.[ch]Brian Paul2012-08-241-1/+1
| | | | To be consistent with other files related to texture compression.
* mesa/es: Don't generate ES1 type conversion wrappersIan Romanick2012-08-171-1/+1
| | | | | | | | | | These are gradually going to get whittled away and eventually folded into the source files with the native type functions. v2: Add (speculative) SConscript changes. These may be broken. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa: add glformats integer type/format detection routinesJordan Justen2012-07-211-0/+1
| | | | | | | | | | | | _mesa_is_integer_format is moved to formats.c and renamed as _mesa_is_enum_format_integer. _mesa_is_format_unsigned, _mesa_is_type_integer, _mesa_is_type_unsigned, and _mesa_is_enum_format_or_type_integer are added. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* Rename sparc/clip.S -> sparc/sparc_clip.SJon TURNEY2012-07-131-1/+1
| | | | | | | | | | | Automake can't handle having both clip.S and clip.c, even though they have different paths "src/mesa/Makefile.am: object `clip.lo' created by `$(SRCDIR)/sparc/clip.S' and `$(SRCDIR)/main/clip.c'" Signed-off-by: Jon TURNEY <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Tested-by: Matt Turner <[email protected]>
* scons: add st_atom_array.c to the buildBrian Paul2012-06-151-0/+1
|
* scons: add code to generate the various GL API filesBrian Paul2012-05-311-2/+13
| | | | | | | This fixes recent build breakage when we began building the generated API files from xml as part of the normal build process. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=50475
* vbo: add software primitive restart supportJordan Justen2012-05-171-0/+1
| | | | | | | | | | | vbo_sw_primitive_restart implements primitive restart in software by splitting primitive draws apart. This is based on similar support in mesa/state_tracker/st_draw.c. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: split error handling into its own filenobled2012-03-101-0/+1
| | | | Also add _mesa_vsnprintf.
* scons: Don't build the assembly sources on Mac OS X.Vinson Lee2012-02-251-1/+1
| | | | | | | | This patch allows the Mac OS X SCons build to complete. The assembly sources contain psuedo-ops that not are supported on Mac OS X. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: José Fonseca <[email protected]>
* Remove src/mesa/ppcMatt Turner2012-01-211-8/+0
| | | | It didn't actually do anything except modify the GL_RENDERER string.
* swrast: remove s_depthstencil.[ch] filesBrian Paul2012-01-061-1/+0
| | | | | | The code is no longer used. Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove unused depthstencil.[ch] filesBrian Paul2011-12-131-1/+0
| | | | Reviewed-by: Eric Anholt <[email protected]>
* mesa: build swrast/s_depthstencil.cBrian Paul2011-12-131-0/+1
| | | | Reviewed-by: Eric Anholt <[email protected]>
* mesa: build new s_renderbuffer.c fileBrian Paul2011-12-081-0/+1
| | | | Reviewed-by: Eric Anholt <[email protected]>
* mesa: rewrite accum buffer supportBrian Paul2011-12-081-2/+0
| | | | | | | | | | | | | Implemented in terms of renderbuffer mapping/unmapping and format packing/unpacking functions. The swrast and state tracker code for implementing accumulation are unused and will be removed in the next commit. v2: don't use memcpy() in _mesa_clear_accum_buffer() v3: don't allocate MAX_WIDTH arrays, be more careful with mapping flags Reviewed-by: Eric Anholt <[email protected]>
* mesa: new format_pack.c codeBrian Paul2011-12-081-0/+1
| | | | | | This code packs colors, Z, stencil, etc. in the various mesa pixel formats. Will be used for things like glDrawPixels, glTexImage, glAccum, etc.
* mesa: add ETC1 decoding routinesChia-I Wu2011-12-021-0/+1
| | | | | | | The format is defined by GL_OES_compressed_ETC1_RGB8_texture. These routines will be used in the following commit. Reviewed-by: Brian Paul <[email protected]>
* mesa: remove _swrast_ReadPixels()Brian Paul2011-11-151-1/+0
| | | | | | We use the code in main/readpix.c now. Acked-by: Eric Anholt <[email protected]>
* mesa: replace api_noop.[ch] with vbo_noop.[ch]Brian Paul2011-11-111-1/+1
| | | | | | None of the code in api_noop.c was used anymore. The new vbo_noop.c functions are true no-ops. They'll be used to no-op glBegin/End functions when we run out of VBO memory.
* scons: Don't list m_xform.c twice.José Fonseca2011-11-091-5/+0
|
* mesa: remove prog_uniform.c from SConscriptBrian Paul2011-11-071-1/+0
|
* mesa: compile new texstore.c fileBrian Paul2011-10-311-0/+1
|
* scons: Add uniform_query.cpp to SConscript.Vinson Lee2011-10-181-0/+1
|
* scons: add new files to src/mesa/SConscriptBrian Paul2011-10-041-0/+2
|
* scons: insert 'git-' into MESA_GIT_SHA1 stringBrian Paul2011-09-281-1/+1
| | | | To match makefile build.
* scons: fix write_git_sha1_h_file() issue on WindowsBrian Paul2011-09-281-0/+2
| | | | | Unlike on Unix, os.rename(src, dst) will fail on Windows if the dst file already exists. Remove it first.
* scons: generate git_sha1.h file as with Makefile buildBrian Paul2011-09-281-6/+35
| | | | | | So that GL_VERSION includes the git head hash id when building with scons. Reviewed-by: José Fonseca <[email protected]>
* mesa: move software texel fetch code into swrastBrian Paul2011-09-171-1/+1
| | | | It's only used by swrast now so move it out of core Mesa.
* mesa: add new pixel format unpacking codeBrian Paul2011-09-081-0/+1
| | | | | This will be used instead of the texel fetch code to unpack images in various formats.
* 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.