summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* xdemos/glsync: Add swap interval support to glsync testJesse Barnes2010-01-081-3/+17
|
* DRI2/GLX: add INTEL_swap_event supportJesse Barnes2010-01-088-5/+193
| | | | | | | Add event support for the GLX swap buffers event, along with DRI2 protocol support for generating GLX swap buffers events in the direct rendered case. Signed-off-by: Jesse Barnes <[email protected]>
* DRI2: add SwapInterval supportJesse Barnes2010-01-086-9/+80
| | | | | | | | Add support for the DRI2SwapInterval protocol request. This allows direct rendered clients to control their swap interval per the SGI_swap_control extension. Signed-off-by: Jesse Barnes <[email protected]>
* DRI2: add OML_sync_control supportJesse Barnes2010-01-0812-185/+627
| | | | | | | | Add OML_sync_control support, along with a simple program for testing it. This means adding support for the DRI2GetMSC, DRI2WaitMSC and DRI2WaitSBC requests. Signed-off-by: Jesse Barnes <[email protected]>
* DRI2: add SwapBuffers supportJesse Barnes2010-01-087-3/+67
| | | | | | | | | | Support the new DRI2 protocol request, DRI2SwapBuffers, in both direct and indirect rendering context. This request allows the display server to optimize back->front swaps (e.g. through page flipping) and allows us to more easily support other GLX features like swap interval and the OML sync extension in DRI2. Signed-off-by: Jesse Barnes <[email protected]>
* fix overflowAlan Hourihane2010-01-041-1/+1
|
* 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 <[email protected]>
* 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 <[email protected]>.