summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-01-08intel/DRI2: add DRI2flushExtension support with invalidate hookHEADmasterKristian Høgsberg5-17/+44
Needed to support the SwapBuffers code properly. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
2010-01-08xdemos/glsync: handle no sync method betterJesse Barnes1-8/+4
Print out count, finish rendering, etc. Makes the -sn option more useful.
2010-01-08xdemos/glsync: check glXMakeCurrent return valueJesse Barnes1-1/+5
Since this program is used for testing, catching this case can be helpful.
2010-01-08xdemos/glsync: Make glsync test draw a rectangleJesse Barnes1-34/+49
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 Barnes1-3/+17
2010-01-08DRI2/GLX: add INTEL_swap_event supportJesse Barnes8-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 <jbarnes@virtuousgeek.org>
2010-01-08DRI2: add SwapInterval supportJesse Barnes6-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 <jbarnes@virtuousgeek.org>
2010-01-08DRI2: add OML_sync_control supportJesse Barnes12-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 <jbarnes@virtuousgeek.org>
2010-01-08DRI2: add SwapBuffers supportJesse Barnes7-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 <jbarnes@virtuousgeek.org>
2010-01-04fix overflowAlan Hourihane1-1/+1
2010-01-04silence compiler warningAlan Hourihane1-2/+2
2010-01-04Fix testAlan Hourihane1-2/+2
2010-01-04r600: support vertex_array_bgraAndre Maasikas5-6/+25
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øgsberg1-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%).
2010-01-03Noop dispatch: move warning code out of the generated functionsKristian Høgsberg1-21/+7
This reduces libGL size by 11% here, going from 360968 bytes to 320008 bytes.
2010-01-03Fix glut to work with -fvisibility=hiddenKristian Høgsberg11-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.
2010-01-03Export a few glapi functions used by gallium and r300Kristian Høgsberg3-7/+7
Fixes breakage from -fvisibility-hidden commit.
2010-01-03Compile with -fvisibility-hidden by defaultKristian Høgsberg1-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.
2010-01-03mesa: fix blend enable/disable calls in meta.c codeFrancis Galiegue1-6/+16
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é Fonseca4-7/+0
2010-01-02autoconf: fix build breakageMarc Dietrich1-1/+1
2010-01-02mesa: added _mesa_GetBufferParameteri64v()Brian Paul2-0/+45
This is a new function in GL 3.2. No dispatch for this function yet.
2010-01-02scons: Build glew on all platforms.José Fonseca1-3/+0
It is required for progs.
2010-01-02scons: Update the MSVC SA to match latest scons code.José Fonseca3-41/+153
2010-01-02scons: Axe generic.py.José Fonseca1-486/+0
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é Fonseca2-17/+23
Use bin subdir for windows dlls, lib for unices.
2010-01-02python: Don't generate a import library for python module either.José Fonseca1-0/+2
2010-01-02i965: Add missing include.José Fonseca1-0/+2
2010-01-02scons: Remove duplicated code.José Fonseca1-31/+0
2010-01-02scons: Disable version symlinking for DLLs.José Fonseca1-6/+10
Fixes windows build.
2010-01-02gdi: Don't generate import libraries for opengl32.dll.José Fonseca1-0/+2
Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
2010-01-02scons: Fix glew build on MSVC.José Fonseca1-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.
2010-01-02util: Silent potential loss of precision warnings.José Fonseca1-3/+2
Also ensure multiplication doesn't happen for negative numbers.
2010-01-01tgsi: Add missing semantic name in text parser.Igor Oliveira1-0/+1
2010-01-01r300: Fix scons build.José Fonseca3-4/+11
2010-01-01scons: Don't list cell as a driver.José Fonseca1-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.
2010-01-01llvmpipe: Add missing include path.José Fonseca1-0/+2
The abscense was being masked previously.
2010-01-01gallium: Generate a single library for auxiliaries with Make too.José Fonseca17-339/+181
2010-01-01scons: Aggregate all tiny libraries in a single library.José Fonseca23-290/+196
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é Fonseca7-657/+1
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é Fonseca17-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
2010-01-01progs: Ignore derived files.José Fonseca2-0/+9
2010-01-01glsl: Ignore programs.José Fonseca1-0/+5
2010-01-01scons: Don't globally define WIN32_LEAN_AND_MEAN.José Fonseca3-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.
2010-01-01mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.José Fonseca1-0/+2
2010-01-01mesa: Make condrender.[ch] prototypes match.José Fonseca1-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.
2010-01-01scons: Expose convienience libraries to the host environment.José Fonseca4-218/+203
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é Fonseca1-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.
2009-12-31nv50: small fix for handling "dangerous" swizzlesChristoph Bumiller1-1/+1
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul84-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