summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-04141-639/+634
| | | | | | | | | As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
* Check for libdrm_$chipset.pc when neededKristian Høgsberg2010-01-044-11/+27
| | | | | | This adds missing pkg-config lookup for intel and moves the radeon lookup into a case...esac so it's only looked up when one or more of the radeon drivers are enabled.
* silence compiler warningAlan Hourihane2010-01-041-2/+2
|
* Fix testAlan Hourihane2010-01-041-2/+2
|
* r600: support vertex_array_bgraAndre Maasikas2010-01-045-6/+25
| | | | | Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
* Only enable verbose NoOp dispatch if DEBUG is definedKristian Høgsberg2010-01-031-2/+19
| | | | | | | | By default we generate a function per GL entry point to warn if it's called without a context set. This is to allow the function to print it's name in the warning. By using a generic function that doesn't print the function name in the non-DEBUG case, we reduce libGL size from 320008 bytes to 283144 bytes (11%).
* Noop dispatch: move warning code out of the generated functionsKristian Høgsberg2010-01-031-21/+7
| | | | | This reduces libGL size by 11% here, going from 360968 bytes to 320008 bytes.
* Fix glut to work with -fvisibility=hiddenKristian Høgsberg2010-01-0311-2/+20
| | | | | | | The GLUTAPI #define used in the header file to mark the font structs visible wasn't kicking in because of the #define glutBitmap9By15 XXX prior to #include <GL/glut.h>. High quality code... worked around by copying the GLUTAPI specifier to the invidual C files.
* Export a few glapi functions used by gallium and r300Kristian Høgsberg2010-01-033-7/+7
| | | | Fixes breakage from -fvisibility-hidden commit.
* Compile with -fvisibility-hidden by defaultKristian Høgsberg2010-01-031-1/+1
| | | | | We have all functions that need to be visible marked with PUBLIC and this is trimming around 4% off the DRI driver .so size.
* mesa: fix blend enable/disable calls in meta.c codeFrancis Galiegue2010-01-031-6/+16
| | | | | | Fixes regression in some DRI drivers since the GL_EXT_draw_buffers2 changes. Signed-off-by: Brian Paul <brianp@vmware.com>
* gallium: Hunt down all references to GALLIUM_AUXILIARY_DIRS.José Fonseca2010-01-024-7/+0
|
* autoconf: fix build breakageMarc Dietrich2010-01-021-1/+1
|
* mesa: added _mesa_GetBufferParameteri64v()Brian Paul2010-01-022-0/+45
| | | | This is a new function in GL 3.2. No dispatch for this function yet.
* scons: Build glew on all platforms.José Fonseca2010-01-021-3/+0
| | | | It is required for progs.
* scons: Update the MSVC SA to match latest scons code.José Fonseca2010-01-023-41/+153
|
* scons: Axe generic.py.José Fonseca2010-01-021-486/+0
| | | | Progs are now built together with the rest so no longer needed.
* scons: Put glut and glew shared libraries into build/xxx/bin or lib.José Fonseca2010-01-022-17/+23
| | | | Use bin subdir for windows dlls, lib for unices.
* python: Don't generate a import library for python module either.José Fonseca2010-01-021-0/+2
|
* i965: Add missing include.José Fonseca2010-01-021-0/+2
|
* scons: Remove duplicated code.José Fonseca2010-01-021-31/+0
|
* scons: Disable version symlinking for DLLs.José Fonseca2010-01-021-6/+10
| | | | Fixes windows build.
* gdi: Don't generate import libraries for opengl32.dll.José Fonseca2010-01-021-0/+2
| | | | | Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
* scons: Fix glew build on MSVC.José Fonseca2010-01-021-14/+19
| | | | | | | | The environment for building the DLL needs to be quite different from the environment for building the programs, in order to get the dllexport/dllimport attribute done currectly. I don't know how MinGW managed to build the programs, but MS linker refuses to link symbols with mismatching attributes.
* util: Silent potential loss of precision warnings.José Fonseca2010-01-021-3/+2
| | | | Also ensure multiplication doesn't happen for negative numbers.
* tgsi: Add missing semantic name in text parser.Igor Oliveira2010-01-011-0/+1
|
* r300: Fix scons build.José Fonseca2010-01-013-4/+11
|
* scons: Don't list cell as a driver.José Fonseca2010-01-011-1/+1
| | | | | Cell driver's SConscript never got written, and it is not trivial one to write, so don't accept cell in the driver option to avoid confusion.
* llvmpipe: Add missing include path.José Fonseca2010-01-011-0/+2
| | | | The abscense was being masked previously.
* gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-0117-339/+181
|
* scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-0123-290/+196
| | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* gallium: Remove the sct module.José Fonseca2010-01-017-657/+1
| | | | | Not used, and its functionality is now addressed by pipe_context::is_texture/buffer_referenced callbacks.
* scons: Build progs together with everything else.José Fonseca2010-01-0117-314/+180
| | | | | | | | This is a substantial reorganization, This particular commit enables: - building the progs for unices platforms - glew is now built as a shared library (it is the default, and it is inconvenient and pointless to shift away from that default) - all progs get built by default
* progs: Ignore derived files.José Fonseca2010-01-012-0/+9
|
* glsl: Ignore programs.José Fonseca2010-01-011-0/+5
|
* scons: Don't globally define WIN32_LEAN_AND_MEAN.José Fonseca2010-01-013-5/+2
| | | | | | | | Some of the demo progams legitimately need the functionality that's disabled by WIN32_LEAN_AND_MEAN. Instead the solution should be to define WIN32_LEAN_AND_MEAN just before including windows.h on a case by case basis.
* mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.José Fonseca2010-01-011-0/+2
|
* mesa: Make condrender.[ch] prototypes match.José Fonseca2010-01-011-2/+2
| | | | | | GLAPI on windows is more than "extern" -- it includes the --, so the mismatch between condrender.[ch] prototypes causes "different linkage" errors on windows.
* scons: Expose convienience libraries to the host environment.José Fonseca2010-01-014-218/+203
| | | | | This fixes MinGW cross compilation build, recently broken due to the use of convenience libraries in the GLSL preprocessor.
* glut: Silent the glut*_ATEXIT_HACK defined but not used warnings.José Fonseca2010-01-011-6/+3
| | | | | | There are two ways to silent this: put inline keyword, or reimplement the hack as a #define. inline keyword actually varies slightly with compiler so I've opted by the latter.
* nv50: small fix for handling "dangerous" swizzlesChristoph Bumiller2009-12-311-1/+1
|
* Merge branch 'mesa_7_7_branch'Brian Paul2009-12-3184-429/+844
|\ | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
| * swrast: use different temp array in _swrast_get_dest_rgba()Brian Paul2009-12-311-7/+3
| | | | | | | | | | When using multiple color drawbuffers with blending/logicop/masking we were overwriting color values which we still needed.
| * mesa: Silence unused variable warning.Vinson Lee2009-12-311-0/+1
| |
| * progs/glsl: Provide a better fix for fgets warning.Vinson Lee2009-12-301-5/+2
| |
| * st/mesa: add PIPE_FORMAT_Z24S8_UNORM in st_get_format_info()Brian Paul2009-12-291-1/+2
| | | | | | | | | | Fixes progs/demos/fbotexture on Nouveau. Patch submitted by Luca Barbieri <luca@luca-barbieri.com>.
| * glu/sgi: Initialize members of struct O_nurbssurface.Vinson Lee2009-12-291-1/+1
| |
| * tdfx: Silence uninitialized variable warning.Vinson Lee2009-12-291-1/+1
| |
| * progs/glsl: Silence compiler warnings.Vinson Lee2009-12-292-10/+3
| |
| * glu/sgi: Silence warn_unused_result warnings.Vinson Lee2009-12-291-9/+19
| |