summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-08xdemos/glsync: handle no sync method betterJesse Barnes
Print out count, finish rendering, etc. Makes the -sn option more useful.
2010-01-08xdemos/glsync: check glXMakeCurrent return valueJesse Barnes
Since this program is used for testing, catching this case can be helpful.
2010-01-08xdemos/glsync: Make glsync test draw a rectangleJesse Barnes
Doing simple buffer clears isn't enough to actually allocate render buffers, we need to do real drawing.
2010-01-08xdemos/glsync: Add swap interval support to glsync testJesse Barnes
2010-01-08DRI2/GLX: add INTEL_swap_event supportJesse Barnes
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 <jbarnes@virtuousgeek.org>
2010-01-08DRI2: add SwapInterval supportJesse Barnes
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 <jbarnes@virtuousgeek.org>
2010-01-08DRI2: add OML_sync_control supportJesse Barnes
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 <jbarnes@virtuousgeek.org>
2010-01-08DRI2: add SwapBuffers supportJesse Barnes
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 <jbarnes@virtuousgeek.org>
2010-01-04fix overflowAlan Hourihane
2010-01-04silence compiler warningAlan Hourihane
2010-01-04Fix testAlan Hourihane
2010-01-04r600: support vertex_array_bgraAndre Maasikas
Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
2010-01-03Only enable verbose NoOp dispatch if DEBUG is definedKristian Høgsberg
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%).
2010-01-03Noop dispatch: move warning code out of the generated functionsKristian Høgsberg
This reduces libGL size by 11% here, going from 360968 bytes to 320008 bytes.
2010-01-03Fix glut to work with -fvisibility=hiddenKristian Høgsberg
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.
2010-01-03Export a few glapi functions used by gallium and r300Kristian Høgsberg
Fixes breakage from -fvisibility-hidden commit.
2010-01-03Compile with -fvisibility-hidden by defaultKristian Høgsberg
We have all functions that need to be visible marked with PUBLIC and this is trimming around 4% off the DRI driver .so size.
2010-01-03mesa: fix blend enable/disable calls in meta.c codeFrancis Galiegue
Fixes regression in some DRI drivers since the GL_EXT_draw_buffers2 changes. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-02gallium: Hunt down all references to GALLIUM_AUXILIARY_DIRS.José Fonseca
2010-01-02autoconf: fix build breakageMarc Dietrich
2010-01-02mesa: added _mesa_GetBufferParameteri64v()Brian Paul
This is a new function in GL 3.2. No dispatch for this function yet.
2010-01-02scons: Build glew on all platforms.José Fonseca
It is required for progs.
2010-01-02scons: Update the MSVC SA to match latest scons code.José Fonseca
2010-01-02scons: Axe generic.py.José Fonseca
Progs are now built together with the rest so no longer needed.
2010-01-02scons: Put glut and glew shared libraries into build/xxx/bin or lib.José Fonseca
Use bin subdir for windows dlls, lib for unices.
2010-01-02python: Don't generate a import library for python module either.José Fonseca
2010-01-02i965: Add missing include.José Fonseca
2010-01-02scons: Remove duplicated code.José Fonseca
2010-01-02scons: Disable version symlinking for DLLs.José Fonseca
Fixes windows build.
2010-01-02gdi: Don't generate import libraries for opengl32.dll.José Fonseca
Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
2010-01-02scons: Fix glew build on MSVC.José Fonseca
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.
2010-01-02util: Silent potential loss of precision warnings.José Fonseca
Also ensure multiplication doesn't happen for negative numbers.
2010-01-01tgsi: Add missing semantic name in text parser.Igor Oliveira
2010-01-01r300: Fix scons build.José Fonseca
2010-01-01scons: Don't list cell as a driver.José Fonseca
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.
2010-01-01llvmpipe: Add missing include path.José Fonseca
The abscense was being masked previously.
2010-01-01gallium: Generate a single library for auxiliaries with Make too.José Fonseca
2010-01-01scons: Aggregate all tiny libraries in a single library.José Fonseca
Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
2010-01-01gallium: Remove the sct module.José Fonseca
Not used, and its functionality is now addressed by pipe_context::is_texture/buffer_referenced callbacks.
2010-01-01scons: Build progs together with everything else.José Fonseca
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
2010-01-01progs: Ignore derived files.José Fonseca
2010-01-01glsl: Ignore programs.José Fonseca
2010-01-01scons: Don't globally define WIN32_LEAN_AND_MEAN.José Fonseca
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.
2010-01-01mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.José Fonseca
2010-01-01mesa: Make condrender.[ch] prototypes match.José Fonseca
GLAPI on windows is more than "extern" -- it includes the --, so the mismatch between condrender.[ch] prototypes causes "different linkage" errors on windows.
2010-01-01scons: Expose convienience libraries to the host environment.José Fonseca
This fixes MinGW cross compilation build, recently broken due to the use of convenience libraries in the GLSL preprocessor.
2010-01-01glut: Silent the glut*_ATEXIT_HACK defined but not used warnings.José Fonseca
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.
2009-12-31nv50: small fix for handling "dangerous" swizzlesChristoph Bumiller
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul
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
2009-12-31mesa: remove a line of dead codeBrian Paul