summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* i965: correct the opcode of XY_SETUP_BLT_CMD. fix bug #12730Xiang, Haihao2007-11-121-1/+1
|
* [i915] Remove old frontbuffer rotation hack.Eric Anholt2007-11-0911-564/+8
| | | | | | This was replaced in previous releases of xserver/dri/libGL by reporting the damage to the frontbuffer so that the server and driver could handle it appropriately.
* [intel] By default, output batchbuffer decode to stderr like other debug info.Eric Anholt2007-11-091-1/+1
|
* [intel] Initialize a depth buffer if the visual has depth 24 but no stencil.Eric Anholt2007-11-091-15/+28
|
* [intel] Move over files that will be shared with 965-fbo work.Eric Anholt2007-11-0945-8055/+8072
|
* check for texture and renderbuffer in check_end_texture_render()Brian2007-11-091-2/+1
|
* code clean-ups, reformattingBenno Schulenberg2007-11-091-11/+8
|
* remove commented-out codeBenno Schulenberg2007-11-091-110/+7
|
* recreate from changed gl_API.xmlRoland Scheidegger2007-11-0912-1441/+1115
|
* alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Roland Scheidegger2007-11-097-244/+132
| | | | these should be the same functions (as per spec).
* Prevent loss of vectorequiv information when an alias follows the function ↵Ian Romanick2007-11-081-43/+48
| | | | being aliased.
* fix Unichrome/Blender crash, bug 13142Benno Schulenberg2007-11-081-2/+4
|
* Fix compilation for !GLX_DIRECT_RENDERING.Kristian Høgsberg2007-11-064-68/+83
|
* Remove a couple of "deprecated" fields from __GLXcontextRec.Kristian Høgsberg2007-11-064-38/+28
| | | | | The __GLXcontextRec struct is internal to the libGL implementation. No point in "deprecating", just get rid of it.
* Don't return 0 in a void function.Kristian Høgsberg2007-11-061-2/+2
|
* r200: Re-expose SetTexOffset functionality.Michel Dänzer2007-11-061-1/+7
| | | | This seems to have been mismerged with the DRI interface changes.
* r200: Fix SetTexOffset format for 16 bit pixmaps/textures.Michel Dänzer2007-11-061-6/+6
| | | | Use symbolic array indices to clarify.
* Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.Kristian Høgsberg2007-11-061-1/+1
|
* Renamed the R300_VAP_UNKNOWN_221C to R300_VAP_CLIP_CNTL.Oliver McFadden2007-11-055-10/+15
|
* r300: initial user clipping for TCL pathsDave Airlie2007-11-054-1/+84
| | | | | I've no idea if this code might break something or how it should interact with vertex shaders, it makes the clip demo work for me
* Lookup visual in visual list, not fbconfig list.Kristian Høgsberg2007-11-051-11/+15
| | | | Also, handle visual not found error case by throwing X error.
* Filter both visuals and fbconfigs against driver supported configs.Kristian Høgsberg2007-11-051-6/+3
|
* Check for NULL VB->EdgeFlag array.Brian2007-11-051-8/+10
| | | | | There might be a bug elsewhere, but this is a simple work-around for now. See bug 12614
* fix mmx code (bug 12614)Brian2007-11-051-8/+8
|
* Fix mem leak in SSE code generation path (Michel Dänzer) and don't crash if ↵Brian2007-11-033-13/+31
| | | | | | _mesa_exec_malloc() returns NULL. (picked from mesa_7_0_branch)
* fix typoBrian2007-11-031-1/+1
|
* r300: move more vap registers out of non tcl pathsDave Airlie2007-11-033-14/+16
|
* r300: fix misnumber registerDave Airlie2007-11-031-1/+1
|
* r300: fix texwrap border colorDave Airlie2007-11-031-1/+1
|
* remove dead code in _mesa_new_program()Brian2007-11-011-7/+0
|
* nouveau: ppc, swap fragment programs on big endian systems.Dave Airlie2007-11-013-5/+16
| | | | Thanks to the PS3 RSX project for figuring this out.
* i915: make i915 use the cached mappings for batch/buffer objects.Dave Airlie2007-11-013-5/+4
| | | | This should restore gears speed on 9xx hardware
* check for count==0 in _mesa_validate_DrawArrays()Brian2007-10-311-2/+3
|
* Fix some build warnings, mostly with XCB.Michel Dänzer2007-10-303-7/+111
|
* Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian2007-10-3013-283/+168
|
* 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-2994-576/+2697
|\
| * Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesaJesse Barnes2007-10-291-0/+1
| |\
| | * Remember to call XSync() before resetting X error handler.Chris Rankin2007-10-291-0/+1
| | |
| * | Refactor and fix core vblank supportJesse Barnes2007-10-2949-164/+319
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
| * Only set R_MODE with NV_point_spriteAlan Hourihane2007-10-281-1/+2
| |
| * Merge branch '965-glsl'Zou Nan hai2007-10-2623-159/+1855
| |\ | | | | | | | | | | | | | | | | | | 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