summaryrefslogtreecommitdiffstats
path: root/src/mesa/sources.mak
Commit message (Collapse)AuthorAgeFilesLines
* automake: Add a prefix variable to the common sources lists.Eric Anholt2012-05-291-277/+277
| | | | | | | | | | | In order to do the minimal change for libdricore conversion to automake, I need to put its Makefile.am in a subdirectory. Automake gets whiny/broken if you use GNU make features like "addprefix" or "$(FILES:%=../%)" to munge your *_SOURCES. So, use a plain old variable to be able to substitute in that "../" Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* automake: Rename variables in sources.mak to be automake compatible.Eric Anholt2012-05-291-54/+54
| | | | | | | | *_SOURCES is reserved for files lists for particular automake targets. Also, "-" in the variable names is not allowed. Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* 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.
* Revert "automake: src/glsl and src/glsl/glcpp"Matt Turner2012-01-311-1/+1
| | | | This reverts commit 9947656168d09f9019600fccc42ca8e0de49b83a.
* Revert "Make sure libGL.so links with libglsl"Matt Turner2012-01-311-1/+1
| | | | This reverts commit f53e7e981ef35ab64a084c8da6c67bd2d230fe33.
* Make sure libGL.so links with libglslMatt Turner2012-01-311-1/+1
| | | | | | Can't link against *.la files if we're not using libtool to link. Fixes undefined symbol: _ZN23ir_hierarchical_visitor5visitEP11ir_variable
* automake: src/glsl and src/glsl/glcppMatt Turner2012-01-301-1/+1
| | | | | | Reviewed-by: Eric Anholt <[email protected]> Tested-by: Eric Anholt <[email protected]> Signed-off-by: Matt Turner <[email protected]>
* Remove src/mesa/ppcMatt Turner2012-01-211-2/+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.
* Delete code made dead by previous uniform related patchesIan Romanick2011-11-071-1/+0
| | | | | Signed-off-by: Ian Romanick <[email protected]> Tested-by: Tom Stellard <[email protected]>
* mesa: compile new texstore.c fileBrian Paul2011-10-311-0/+1
|
* mesa: Move _mesa_GetActiveUniformARB to uniform_query.cppIan Romanick2011-10-181-1/+2
| | | | | | | | Fold _mesa_get_active_uniform into its only caller in the process. More changes are coming soon. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: Add string_to_uint_map facade classIan Romanick2011-10-041-1/+2
| | | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Paul Berry <[email protected]>
* mesa: Move _mesa_GetAttribLocationARB to shader_query.cppIan Romanick2011-10-041-1/+2
| | | | | | | | This allows querying the linked shader itself rather than the Mesa IR. This is the first step towards removing gl_program::Attributes. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: fix an autoconf build-system bug related to glsl_to_tgsiMarek Olšák2011-09-191-3/+2
| | | | | | | | | st_glsl_to_tgsi.cpp was completely ignored by makedepend because it was not included in ALL_SOURCES, which caused that the file was not recompiled when certain header files were changed (like glsl/ir.h). The first part of this commit is just a consolidation. The second part is the fix.
* 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.
* swrast: Add implementation of MapTextureImage/UnmapTextureImage.Brian Paul2011-08-291-0/+1
| | | | Reviewed-by: Brian Paul <[email protected]>
* 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]>
* st/mesa: Add a GLSL IR to TGSI translator.Bryan Cain2011-08-011-1/+2
| | | | | | | | | | It is still a work in progress at this point, but it produces working and reasonably well-optimized code. Originally based on ir_to_mesa and st_mesa_to_tgsi, but does not directly use Mesa IR instructions in TGSI generation, instead generating TGSI from the intermediate class glsl_to_tgsi_instruction. It also has new optimization passes to replace _mesa_optimize_program.
* 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: 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.
* 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
|
* mesa: Move texenvprogram.c to ff_fragment_shader.cpp.Eric Anholt2011-03-111-3/+7
| | | | | This file is about to change to generating a shader program instead of a fragment program.
* 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.
* mesa: Revert most of 3158cc7d because it causes other breakageIan Romanick2011-03-011-9/+4
|
* mesa: Fix build breakage caused by c73e6ceIan Romanick2011-03-011-4/+10
|
* mesa: move PBO-related functions into a new fileBrian Paul2011-02-281-0/+1
|
* mesa: Add RGTC texture store/fetch support.Dave Airlie2011-02-281-0/+1
| | | | | | | | | This adds support for the RGTC unsigned and signed texture storage and fetch methods. the code is a port of the DXT5 alpha compression code. Signed-off-by: Dave Airlie <[email protected]>
* 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
* ra: First cut at a graph-coloring register allocator for mesa.Eric Anholt2010-09-291-0/+1
| | | | Notably missing is choice of registers to spill.
* mesa: Pull ir_to_mesa's sampler number fetcher out to shared code.Eric Anholt2010-09-281-1/+2
|
* Remove GL_EXT_cull_vertexIan Romanick2010-09-271-1/+0
| | | | | This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
* mesa: Fix depend.es[12] generation when LLVM is enabled.Chia-I Wu2010-09-121-0/+1
| | | | | | "llvm-config --cflags" outputs -f options, which conflict makedepend. Clean up compiler flags and append LLVM_CFLAGS to the new xxx_CFLAGS instead of xxx_CPPFLAGS, where xxx may be MESA, ES1, or ES2.
* Delete more vestiges of the old shader compiler.Kenneth Graunke2010-08-201-21/+0
|
* Merge remote branch 'origin/master' into glsl2Eric Anholt2010-07-261-49/+49
|\ | | | | | | | | | | | | | | | | | | | | This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h
| * 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.