aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/x86
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* APPLE_object_purgeable: autogenerated filesChris Wilson2010-03-041-10/+13
|
* Remove support for GCC older than 3.3.0Ian Romanick2010-03-031-1/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* glapi: drop SOLARIS_THREADSGeorge Sapountzis2010-03-011-1/+1
| | | | It seems that SOLARIS_THREADS is not used and does not work.
* glapi: GL_OES_EGL_image autogenerated filesKristian Høgsberg2010-02-241-0/+2
|
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* swrast/sse: Fix _mesa_sse_transform_pointsX_3d_no_rotPauli Nieminen2010-02-042-0/+2
| | | | | | | | | | | | PXOR user in code were causing the lowest SP float register to have NaN values which made all math operations in that slot fail. Correct istruction to clear float registers is XORPS which handles single precission floats correctly. Fixes progs/tests/fog in swrast SSE mode. Now the correct commit instead of 66d09e4a2a6b770ddb which is not even close of correct fix for the bug.
* Revert "mesa: fix transform_points_3d_no_rot using undefined values in %xmm0"Pauli Nieminen2010-02-042-2/+0
| | | | This reverts commit 4c31632817a0bde28ad6c9ee8032d838ce4b7bfb.
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-253-5/+5
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
| * x86: Do not build read_rgba_span_x86.S on Mac OS X.Vinson Lee2010-01-231-2/+2
| | | | | | | | | | read_rgba_span_x86.S uses the pseudo-ops .hidden and .type which are not recognized on Mac OS X.
| * x86: Do not use .hidden pseudo-op on Mac OS X.Vinson Lee2010-01-231-2/+2
| | | | | | | | The .hidden directive is an unknown pseudo-op on Mac OS X.
| * glapi: Do not use .type pseudo-op on Mac OS X.Vinson Lee2010-01-231-1/+1
| | | | | | | | The .type directive is an unknown pseudo-op on Mac OS X.