summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Permanently enable features supported by target CPU at compile time.Siavash Eliasi2014-11-261-0/+26
| | | | | | | | | | | This will remove the need for unnecessary runtime checks for CPU features if already supported by target CPU, resulting in smaller and less branchy code. V2: - Removed the SSSE3 related part for the not yet merged patch. - Avoiding redefinition of macros. Tested-by: David Heidelberg <[email protected]>
* mesa: remove last DJGPP remainsEmil Velikov2014-09-272-5/+5
| | | | | Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* mesa: Drop _mesa_getenv() wrapper.Matt Turner2014-09-241-5/+5
| | | | | | Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* mesa/x86: put code in braces to silence declarations after code warningBrian Paul2014-08-041-7/+9
| | | | Reviewed-by: Matt Turner <[email protected]>
* mesa/x86: Fix build with clang <= 3.3.Vinson Lee2014-05-251-0/+2
| | | | | | | clang <= 3.3 cpuid.h does not define contants for feature bits. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79095 Signed-off-by: Vinson Lee <[email protected]>
* mesa/x86: Fix build with clang 3.4.José Fonseca2014-05-231-0/+4
| | | | | | | | It defines bit_SSE41 instead of bit_SSE4_1. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=79095 Trivial.
* mesa/x86: fix a typos in SSE4.1 detectionTobias Klausmann2014-05-221-2/+2
| | | | | | | | Commit a2fb71e23 introduced 32-bit code for SSE4.1. Fix compilation, and make sure to check ecx for the SSE4.1 bit. [imirkin: switch sse4.1 to look at ecx] Reviewed-by: Ilia Mirkin <[email protected]>
* mesa: Rely on USE_X86_64_ASM.José Fonseca2014-05-221-3/+3
| | | | | | | This fixes MinGW x64 builds. We don't use assembly on any of the Windows builds, to avoid divergence between MSVC and MinGW when testing. Reviewed-by: Matt Turner <[email protected]>
* mesa/x86: Brown bag fix for undeclared variable.Matt Turner2014-05-221-1/+1
|
* mesa/x86: add SSE4.1 runtime detection.Matt Atwood2014-05-222-0/+10
| | | | | | Add a bit to _mesa_x86_features for SSE 4.1, along with macros to query. Reviewed-by: Matt Turner <[email protected]>
* mesa/x86: Support SSE 4.1 detection on x86-64.Matt Turner2014-05-221-0/+11
| | | | | Uses the cpuid.h header provided by gcc and clang. Other platforms are encouraged to switch.
* mesa/x86: Remove dead read_rgba_span_x86.h.Matt Turner2014-01-211-56/+0
| | | | Dead since 304f7a13.
* build: Build gen_matypes and matypes.h from src/mesa.Matt Turner2013-11-072-53/+0
| | | | Reviewed-by: Eric Anholt <[email protected]>
* build: Change HAVE_X86_ASM to mean x86 or x86-64 asm.Matt Turner2013-11-071-0/+2
| | | | | | | I want a conditional that says generally "we have x86 assembly" in the next patch. Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove Watcom C supportBrian Paul2013-11-041-8/+0
| | | | Reviewed-by: Eric Anholt <[email protected]>
* mesa: Remove dricore from the build.Eric Anholt2013-10-241-8/+0
| | | | | | | | | No driver uses it any more, and it's been replaced by megadrivers. v2: Remove always-on conditional for NEED_LIBPROGRAM (review by Emil) Reviewed-by: Matt Turner <[email protected]> (v1) Reviewed-by: Emil Velikov <[email protected]>
* gen_matypes: fix cross-compiling with gccMike Frysinger2013-07-182-6/+39
| | | | | | | | | | | | | | The current gen_matypes logic assumes that the host compiler will produce information that is useful for the target compiler. Unfortunately, this is not the case whenever cross-compiling. When we detect that we're cross-compiling and using GCC, use the target compiler to produce assembly from the gen_matypes.c source, then process it with a shell script to create a usable header. This is similar to how the linux kernel creates its asm-offsets.c file. Reviewed-by: Matt Turner <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
* mesa: remove outdated version lines in commentsRico Schüller2013-06-0529-29/+0
| | | | Signed-off-by: Brian Paul <[email protected]>
* build: remove unused API_DEFINESAndreas Boll2013-05-011-1/+0
| | | | Reviewed-by: Matt Turner <[email protected]>
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-2329-87/+116
| | | | | | | | | | | | | | The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <[email protected]>
* mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke2013-04-2329-29/+29
| | | | | | | | | | | | | | | This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <[email protected]>
* mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke2013-04-2329-29/+29
| | | | | | | | | | | | | | | | Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <[email protected]>
* Clean up .gitignore filesMatt Turner2013-01-101-1/+0
|
* mesa: remove unused gl_context::DriverCtx fieldBrian Paul2012-10-051-1/+0
|
* Use the correct macro _WIN32 for Windows.Vinson Lee2012-09-051-3/+3
| | | | | | | | | | | | | | The correct predefined macro for Windows is _WIN32, not WIN32 or __WIN32__. _WIN32 is defined for 32-bit and 64-bit version of Windows by both MSVC and MinGW compilers. http://sourceforge.net/p/predef/wiki/OperatingSystems http://msdn.microsoft.com/en-us/library/b0084kay.aspx This patch also fixes a MinGW automake build error. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa: s/CONST/const/ in a commentBrian Paul2012-09-051-3/+3
| | | | Reviewed-by: Matt Turner <[email protected]>
* mesa: rename ColorMaterialBitmask to _ColorMaterialBitmaskBrian Paul2012-06-271-1/+1
| | | | Since it's a derived field.
* automake: add missing inclusion of GL headersLaurent Carlier2012-06-221-0/+1
| | | | | | | Building fail when GL headers are not installed in the system, so add inclusion of these headers. Signed-off-by: Brian Paul <[email protected]>
* automake: Convert gen_matypes building to automake.Eric Anholt2012-06-213-46/+42
|
* make: Drop HOST_CC and HOST_CFLAGS.Eric Anholt2012-06-211-1/+1
| | | | | | Except for the deleted linux-cell target, these were just the target cc/cflags. The only usage was for gen_matypes, which wants the target's structure packing, not the host, anyway.
* mesa: Remove gl_light_attrib::_Flags.Mathias Fröhlich2012-02-291-1/+0
| | | | | | | | This variable is only used locally in _mesa_update_lighting. Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Froehlich <[email protected]>
* mesa: remove gl_light::_SpotExpTable fieldBrian Paul2012-02-101-1/+0
| | | | | | | Just use pow() instead. Spot lights aren't too common and fixed-function lighting isn't as important as it used to me. This saves 32KB per context. Each table was 4KB and there's 8 lights.
* gen_matypes: eliminate printf warningsnobled2011-12-181-1/+6
| | | | | The VERT_BIT_* defines are 64-bit values now, but the printf was still expecting a simple int.
* mesa/x86: fix printf warningMarek Olšák2011-12-171-1/+1
|
* mesa: Optionally build a dricore support library (v3)Christopher James Halse Rogers2011-02-111-0/+8
| | | | | | | | | | | | | | | | | This an adds --enable-shared-dricore option to configure. When enabled, DRI modules will link against a shared copy of the common mesa routines rather than statically linking these. This saves about 30MB on disc with a full complement of classic DRI drivers. v2: Only enable with a gcc-compatible compiler that handles rpath Handle DRI_CFLAGS without filter-out magic Build shared libraries with the full mklib voodoo Fix typos v3: Resolve conflicts with talloc removal patches Signed-off-by: Christopher James Halse Rogers <[email protected]>
* mesa: s/movzxw/movzwl/ in read_rgba_span_x86.SDimitry Andric2011-01-241-1/+1
| | | | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33386 NOTE: This is a candidate for the 7.9 and 7.10 branches Signed-off-by: Brian Paul <[email protected]>
* x86: Clean up header file inclusion in mmx.h.Vinson Lee2010-12-301-1/+3
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-133-19/+19
|
* x86: Silence unused variable warning on Mac OS X.Vinson Lee2010-09-171-0/+2
| | | | | Silences the following GCC warning on Mac OS X. x86/common_x86.c:58: warning: 'detection_debug' defined but not used
* mesa: Disable the debug spam for x86 CPU detection with a compile-time flag.Eric Anholt2010-08-251-7/+13
| | | | | I don't know of any problems with CPU detection in years. Don't spam the user that was just looking to enable assertions with this stuff.
* mesa: Move the x86 detection debug messages next to the detection.Eric Anholt2010-08-252-33/+39
|
* x86: Remove unnecessary header from sse.h.Vinson Lee2010-08-161-2/+0
|
* x86: Include missing headers in mmx.h.Vinson Lee2010-08-151-0/+3
| | | | | Include compiler.h for _ASMAPI symbol. Include mtypes.h for GLcontext symbol.
* x86: Remove unnecessary header from 3dnow.h.Vinson Lee2010-08-151-2/+0
|
* glapi: Move to src/mapi/.Chia-I Wu2010-05-071-1/+1
| | | | Move glapi to src/mapi/{glapi,es1api,es2api}.
* glapi: Move assembly dispatchers back into glapi/.Chia-I Wu2010-05-071-1316/+0
|
* glapi: regenerated files for GL_ARB_draw_instancedBrian Paul2010-04-041-70/+76
|
* glapi: regenerated files for EXT_transform_feedbackBrian Paul2010-04-021-14/+27
|
* glapi: Fix aliases to non-static functions.Chia-I Wu2010-03-211-4/+4
| | | | | | | The bug is triggered by 41a87a43e11c664935349f938022d58d3e22da4e. glBlitFramebuffer, for example, is an alias to the non-static glBlitFramebufferEXT. We should define glBlitFramebuffer as an alias to _dispatch_stub_NNN.
* glapi: Correctly generate static disatches for X86.Chia-I Wu2010-03-201-62/+4
| | | | | The entry point names, instead of the function name, should be used to test if the entry point should be statically dispatched.