summaryrefslogtreecommitdiff
path: root/src/mesa/sources.mak
AgeCommit message (Collapse)AuthorFilesLines
2013-04-15build: Rename sources.mak -> Makefile.sourcesMatt Turner1-350/+0
For the sake of consistency. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2013-04-11st/mesa: add support for get sample positionDave Airlie1-0/+1
This just calls into the gallium interface. Reviewed-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-03-12mesa/build: Get rid of dead ALL_FILES variableMatt Turner1-6/+0
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-01-15mesa: Add skeleton implementation of glGetInternalformativIan Romanick1-0/+1
This is for the GL_ARB_internalformat_query extension and GLES 3.0. v2: Generate GL_INVALID_OPERATION if the extension is not supported. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2012-12-07program/hash_table.c: rename to program/prog_hash_table.cJordan Justen1-1/+1
Removes a collision of the object file name for main/hash_table and program/hash_table. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2012-12-06mesa: add set support (stores a set of pointers)Eric Anholt1-0/+1
From: git://people.freedesktop.org/~anholt/hash_table Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> [jordan.l.justen@intel.com: minor rework for mesa] Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2012-11-12mesa: Import a copy of the open-addressing hash table code I wrote.Eric Anholt1-0/+1
Mesa's chaining hash table for object names is slow, and this should be much faster. I namespaced the functions under _mesa_*, to avoid visibility troubles that we may have had before with hash_table_* functions. v2: Move .c file to main/, const a few things, clean up loop conditions, add/extend some comments. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
2012-11-12automake,android: Build program/ into a helper lib (v2)Eric Anholt1-2/+0
While simplifying mesa/Makefile.am, the more important feature of this commit is allowing a file with the same name to appear in both main/ and program/. v2: [chadv] Add changes to Android makefiles. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Signed-off-by: Chad Versace <chad.versace@linux.intel.com> (v2)
2012-11-12automake: Merge separated *_CXX_FILES variables to *_FILES in core mesa.Eric Anholt1-20/+7
They were always used with the corresponding *_FILES variables now that automake handles rule generation. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2012-11-12automake: Remove dead *_OBJECTS variables from the old build system.Eric Anholt1-17/+0
Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2012-11-06dispatch: Code generate api_exec.c.Paul Berry1-1/+1
This patch adjusts makefiles to cause src/mesa/main/api_exec.c to be generated using src/mapi/glapi/gen/gl_genexec.py. There should be no functional change. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2012-11-01dispatch: stop generating separate GLES1 API code.Paul Berry1-1/+0
This patch removes the generated files api_exec_es1.c, api_exec_es1_dispatch.h, and api_exec_es1_remap_helper.h (and the source files and build rules used to generate them), since they are no longer used. GLES1 now uses the same dispatch table layout as all the other APIs. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2012-10-16mesa: Remove support for parsing NV fragment programs.Kenneth Graunke1-1/+0
Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2012-10-16mesa: Remove the NV program API functions.Kenneth Graunke1-1/+0
These are all unused now. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2012-10-15mesa: Remove support for parsing NV vertex programs.Eric Anholt1-1/+0
Reviewed-by: Brian Paul <brianp@vmware.com>
2012-08-29mesa: Kill ES2 wrapper functionsIan Romanick1-1/+0
v2: Fix completely broken condition around ClearColorIiEXT and ClearColorIuiEXT. v3: Add special VertexAttrib handling for ES2. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2012-08-24Move _mesa_dl* functions into dlopen.h and inline themMatt Turner1-1/+0
No point in having an extra function call for inlinable functions. Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
2012-08-24mesa: rename texpal.[ch] to texcompress_cpal.[ch]Brian Paul1-1/+1
To be consistent with other files related to texture compression.
2012-08-17mesa/es: Don't generate ES1 type conversion wrappersIan Romanick1-1/+2
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 <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2012-08-14build/sources.mak: Add src/glsl/glcpp to INCLUDE_DIRSMatt Turner1-0/+1
Fixes problem where libdricore's of-out-tree build couldn't find glcpp.h. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2012-08-14build/sources.mak: Remove unused GLSL_LIBSMatt Turner1-6/+0
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2012-08-13build: fix location of generated files in src/mesa (v4)Christopher James Halse Rogers1-13/+18
Also fix include paths for the generated headers. v2: Switch to using self-explanatory BUILDDIR/SRCDIR defined from top_builddir/top_srcdir rather than the ambiguous TOP. v3: Add both top_builddir and top_srcdir to include flags for mesa asm. These rely on both in-tree and build-time-generated includes. v4: Rebased on top of 948c8f502a. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-07-26android-build: fix dricore build for autogenerated files (v3)Daniel Charles1-280/+281
Recently more files were removed from control to be auto-generated in the dricore library. Android build was not able to locate the new files if they were not created beforehand. LOCAL_SRC_FILES includes some of those files and Android.gen.mk re-defines this variable by filtering out the auto-generated files. Unfortunately for this variable it is not the same to have the SRCDIR variable defined as the current directory. By re-defining SRCDIR for the autotools build the Android build system is happy again and the new files were actually removed from the sources to use the auto generated versions. Also patch d5c1801a018efda8ac2b was partially reverted as the files can not be compiled to the LOCAL_PATH, instead they should live on the intermediates folder so that a clean can wipe them out. v3: [chad] Fix the definition of SRCDIR in libdricore/Makefile.am. Signed-off-by: Chad Versace <chad.versace@linux.intel.com> Signed-off-by: Daniel Charles <daniel.charles@intel.com>
2012-07-21mesa: add glformats integer type/format detection routinesJordan Justen1-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 <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2012-07-13Rename sparc/clip.S -> sparc/sparc_clip.SJon TURNEY1-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 <jon.turney@dronecode.org.uk> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Matt Turner <mattst88@gmail.com>
2012-06-15st/mesa: atomize vertex array stateMarek Olšák1-0/+1
This moves the state validation to where all the other states are validated.
2012-06-11scons: Fix scons build.José Fonseca1-0/+2
2012-05-29automake: Add a prefix variable to the common sources lists.Eric Anholt1-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 <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2012-05-29automake: Rename variables in sources.mak to be automake compatible.Eric Anholt1-54/+54
*_SOURCES is reserved for files lists for particular automake targets. Also, "-" in the variable names is not allowed. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2012-05-17vbo: add software primitive restart supportJordan Justen1-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 <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2012-03-10mesa: split error handling into its own filenobled1-0/+1
Also add _mesa_vsnprintf.
2012-01-31Revert "automake: src/glsl and src/glsl/glcpp"Matt Turner1-1/+1
This reverts commit 9947656168d09f9019600fccc42ca8e0de49b83a.
2012-01-31Revert "Make sure libGL.so links with libglsl"Matt Turner1-1/+1
This reverts commit f53e7e981ef35ab64a084c8da6c67bd2d230fe33.
2012-01-31Make sure libGL.so links with libglslMatt Turner1-1/+1
Can't link against *.la files if we're not using libtool to link. Fixes undefined symbol: _ZN23ir_hierarchical_visitor5visitEP11ir_variable
2012-01-30automake: src/glsl and src/glsl/glcppMatt Turner1-1/+1
Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Eric Anholt <eric@anholt.net> Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-01-21Remove src/mesa/ppcMatt Turner1-2/+0
It didn't actually do anything except modify the GL_RENDERER string.
2012-01-06swrast: remove s_depthstencil.[ch] filesBrian Paul1-1/+0
The code is no longer used. Reviewed-by: Eric Anholt <eric@anholt.net>
2011-12-13mesa: remove unused depthstencil.[ch] filesBrian Paul1-1/+0
Reviewed-by: Eric Anholt <eric@anholt.net>
2011-12-13mesa: build swrast/s_depthstencil.cBrian Paul1-0/+1
Reviewed-by: Eric Anholt <eric@anholt.net>
2011-12-08mesa: build new s_renderbuffer.c fileBrian Paul1-0/+1
Reviewed-by: Eric Anholt <eric@anholt.net>
2011-12-08mesa: rewrite accum buffer supportBrian Paul1-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 <eric@anholt.net>
2011-12-08mesa: new format_pack.c codeBrian Paul1-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.
2011-12-02mesa: add ETC1 decoding routinesChia-I Wu1-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 <brianp@vmware.com>
2011-11-15mesa: remove _swrast_ReadPixels()Brian Paul1-1/+0
We use the code in main/readpix.c now. Acked-by: Eric Anholt <eric@anholt.net>
2011-11-11mesa: replace api_noop.[ch] with vbo_noop.[ch]Brian Paul1-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.
2011-11-07Delete code made dead by previous uniform related patchesIan Romanick1-1/+0
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
2011-10-31mesa: compile new texstore.c fileBrian Paul1-0/+1
2011-10-18mesa: Move _mesa_GetActiveUniformARB to uniform_query.cppIan Romanick1-1/+2
Fold _mesa_get_active_uniform into its only caller in the process. More changes are coming soon. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2011-10-04mesa: Add string_to_uint_map facade classIan Romanick1-1/+2
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
2011-10-04mesa: Move _mesa_GetAttribLocationARB to shader_query.cppIan Romanick1-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 <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>