summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Finish up ATI_separate_stencilBrian2007-10-3014-1074/+1258
| | | | | | Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
* add missing _mesa_StencilFuncSeparateATI functionRoland Scheidegger2007-10-302-0/+77
|
* More vblank cleanups.Michel Dänzer2007-10-3026-129/+147
| | | | | | | | * Fix crash at context creation in most drivers supporting vblank. * Don't pass vblank sequence or flags to functions that get passed the drawable private already. * Attempt to initialize vblank related drawable private fields just once per drawable. May need more work in some drivers.
* [i915] Include header to pick up intel_ttm_bo_create_from_handle() proto.Eric Anholt2007-10-291-0/+1
|
* Merge branch 'origin'Eric Anholt2007-10-29128-726/+3181
|\
| * Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesaJesse Barnes2007-10-293-6/+8
| |\
| | * Build xdemos programs by default on linux-driDan Nicholson2007-10-292-4/+4
| | | | | | | | | | | | | | | Since libglut is no longer hardcoded, we can build the xdemos programs so long as a GLX enabled libGL and libGLU have been built.
| | * Remember to call XSync() before resetting X error handler.Chris Rankin2007-10-291-0/+1
| | |
| | * linux-dri-xcb: Fix undefined refs when linking with libGLDan Nicholson2007-10-291-2/+3
| | | | | | | | | | | | | | | GL_LIB_DEPS was missing -lXdamage and -lXfixes, which was causing linker errors when trying to build the programs.
| * | Refactor and fix core vblank supportJesse Barnes2007-10-2950-165/+332
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consolidate support for synchronizing to and retrieving vblank counters. Also fix the core vblank code to return monotonic MSC counters, which are required by some GLX extensions. Adding support for multiple pipes to a low level driver is fairly easy, the Intel 965 driver provides simple example code (see intel_buffers.c:intelWindowMoved()). The new code bumps the media stream counter extension version to 2 and adds a new getDrawableMSC callback. This callback takes a drawablePrivate pointer, which is used to calculate the MSC value seen by clients based on the actual vblank counter(s) returned from the kernel. The new drawable private fields are as follows: - vblSeq - used for tracking vblank counts for buffer swapping - vblFlags - flags (e.g. current pipe), updated by low level driver - msc_base - MSC counter from the last time the current pipe changed - vblank_base - kernel DRM vblank counter from the last time the pipe changed Using the above variables, the core vblank code (in vblank.c) can calculate a monotonic MSC value. The low level DRI drivers are responsible for updating the current pipe (by setting VBLANK_FLAG_SECONDARY for example in vblFlags) along with msc_base and vblank_base whenever the pipe associated with a given drawable changes (again, see intelWindowMoved for an example of this). Drivers should fill in the GetDrawableMSC DriverAPIRec field to point to driDrawableGetMSC32 and add code for pipe switching as outlined above to fully support the new scheme.
| * disable ctx->Driver.NewProgram() call in _mesa_new_program()Brian2007-10-291-0/+5
| | | | | | | | | | | | This was causing infinite recursive calls w/ software drivers. All vertex/fragment shaders should be allocated by calling ctx->Driver.NewProgram(), not by calling _mesa_new_program().
| * update APP_LIB_DEPS for static library configs (patch 3/3)Dan Nicholson2007-10-293-6/+3
| |
| * simplify APP_LIB_DEPS (patch 2/3)Dan Nicholson2007-10-291-2/+4
| |
| * specify app lib dependencies in Makefiles (patch 1/3)Dan Nicholson2007-10-2915-34/+55
| |
| * Only set R_MODE with NV_point_spriteAlan Hourihane2007-10-281-1/+2
| |
| * configs: Fix linux-static to link correctlyDan Nicholson2007-10-261-3/+2
| | | | | | | | | | | | The linux-static target was missing necessary libraries and hardcoding their location to /usr/X11R6/lib. This makes it comparable to the x86 and x86-64 static targets.
| * Merge branch '965-glsl'Zou Nan hai2007-10-2625-165/+1863
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c
| | * Non Square MatrixZou Nan hai2007-10-091-0/+2
| | |
| | * fix for prev commitZou Nan hai2007-10-091-2/+2
| | |
| | * INT supportZou Nan hai2007-10-091-3/+3
| | |
| | * shadow sampler fix.Zou Nan hai2007-10-092-1/+13
| | | | | | | | | | | | | | | 1. spec requite result (0, 0, 0, 1) instead of (0, 0, 0, 0) 2. support shadow sampler in simd8
| | * Only vertex program fix, bypass tnl vertex programZou Nan hai2007-10-082-2/+2
| | |
| | * fragment shader function call fix, gl_FragCoord fixZou Nan hai2007-09-302-3/+8
| | |
| | * support continue, fix conditionalZou Nan hai2007-09-293-2/+66
| | |
| | * fixZou Nan hai2007-09-281-2/+0
| | |
| | * support nested function call in pixel shaderZou Nan hai2007-09-282-11/+26
| | |
| | * handle INT op, still require high level handle of integer to be correctZou Nan hai2007-09-271-0/+22
| | |
| | * fix issue when only fragment shader or vertex shader is usedZou Nan hai2007-09-271-5/+12
| | |
| | * ARB_shader_object ARB_vertex_shader ARB_fragment_shader in 965-glsl branchZou Nan hai2007-09-181-0/+6
| | |
| | * fix double free in 965-glsl branchZou Nan hai2007-09-183-0/+6
| | |
| | * DDX DDY support, not very accurateZou Nan hai2007-07-243-1/+103
| | |
| | * Fix SOP in fragment shader, brick is ok now.Zou Nan hai2007-07-172-7/+5
| | |
| | * Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Zou Nan hai2007-07-17111-1300/+1721
| | |\ | | | | | | | | | | | | into 965-glsl
| | * | bumpmap sample is correct nowZou Nan hai2007-07-172-6/+5
| | | |
| | * | Use ProgramStringNotifyZou Nan hai2007-07-172-27/+2
| | | |
| | * | support "discard";Zou Nan hai2007-07-052-0/+16
| | | |
| | * | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Zou Nan hai2007-07-04392-23453/+26379
| | |\ \ | | | | | | | | | | | | | | | into 965-glsl
| | * | | fix issue with output as src register.Zou Nan hai2007-07-041-1/+1
| | | | |
| | * | | Fix a nasty bug...Zou Nan hai2007-07-031-6/+14
| | | | |
| | * | | support branch and loop in pixel shaderZou Nan hai2007-06-2117-112/+1365
| | | | | | | | | | | | | | | | | | | | most of the sample working with some small modification
| | * | | Support loop, conditional update fixZou Nan hai2007-05-091-10/+17
| | | | |
| | * | | support nested function callZou Nan hai2007-04-302-15/+17
| | | | | | | | | | | | | | | | | | | | else instruction fix.
| | * | | Initial 965 GLSL supportZou Nan hai2007-04-1215-75/+276
| | | | |
| * | | | use grep -qBrian2007-10-251-2/+2
| | | | |
| * | | | Ignore new programsDan Nicholson2007-10-253-0/+6
| | | | |
| * | | | simplify/fix the ASM_FLAGS tests (bug 12931)Brian2007-10-251-2/+2
| | | | |
| * | | | added catamount-osmesa-pgi configAlex Neundorf2007-10-242-0/+33
| | | | |
| * | | | don't build x86, x86-64 dirs if not neededBrian2007-10-241-2/+7
| | | | |
| * | | | fix assorted bugs, works nowBrian2007-10-241-12/+13
| | | | |
| * | | | add to gitBrian2007-10-242-0/+109
| | | | |