summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2007-11-16[intel] Add support for multiple levels of relocation in bufmgr_fake.Eric Anholt
This is required for 965 support, which has relocations in other places than just the batchbuffer.
2007-11-16[i915] Push locking in intelClearWithTris down inside meta_draw_poly.Eric Anholt
The lock coverage and checks for cliprects were unneeded since the batchbuffer will have INTEL_BATCH_CLIPRECTS anyway. It appeared to be a leftover from intelClearWithBlit. This makes the locking requirements of i915 meta_draw_quad match i965 meta_draw_quad.
2007-11-15fix bogus assumption if ddx has set up surface reg for z bufferRoland Scheidegger
this is wrong since even if ddx has not set up a surface reg to cover the z buffer we should pretend it has on those rv100 chips since they presumably do not do z buffer tiling if not using hyperz, so we can use linear addressing just the same. Doesn't seem to fix #13080, but it's wrong anyway and the bug almost certainly broke newer non-tcl chips.
2007-11-15fix position invariant vertex programs for sw-tnlRoland Scheidegger
do the same math as for fixed function pipe, including user clip planes. (mostly resurrected from the dead t_vb_arbprogram.c code)
2007-11-12i965: correct the opcode of XY_SETUP_BLT_CMD. fix bug #12730Xiang, Haihao
2007-11-09[i915] Remove old frontbuffer rotation hack.Eric Anholt
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.
2007-11-09[intel] By default, output batchbuffer decode to stderr like other debug info.Eric Anholt
2007-11-09[intel] Initialize a depth buffer if the visual has depth 24 but no stencil.Eric Anholt
2007-11-09[intel] Move over files that will be shared with 965-fbo work.Eric Anholt
2007-11-09check for texture and renderbuffer in check_end_texture_render()Brian
2007-11-09code clean-ups, reformattingBenno Schulenberg
2007-11-09remove commented-out codeBenno Schulenberg
2007-11-09recreate from changed gl_API.xmlRoland Scheidegger
2007-11-09alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Roland Scheidegger
these should be the same functions (as per spec).
2007-11-08Prevent loss of vectorequiv information when an alias follows the function ↵Ian Romanick
being aliased.
2007-11-08fix Unichrome/Blender crash, bug 13142Benno Schulenberg
2007-11-06r200: Re-expose SetTexOffset functionality.Michel Dänzer
This seems to have been mismerged with the DRI interface changes.
2007-11-06r200: Fix SetTexOffset format for 16 bit pixmaps/textures.Michel Dänzer
Use symbolic array indices to clarify.
2007-11-05Renamed the R300_VAP_UNKNOWN_221C to R300_VAP_CLIP_CNTL.Oliver McFadden
2007-11-05r300: initial user clipping for TCL pathsDave Airlie
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
2007-11-05Check for NULL VB->EdgeFlag array.Brian
There might be a bug elsewhere, but this is a simple work-around for now. See bug 12614
2007-11-05fix mmx code (bug 12614)Brian
2007-11-03Fix mem leak in SSE code generation path (Michel Dänzer) and don't crash if ↵Brian
_mesa_exec_malloc() returns NULL. (picked from mesa_7_0_branch)
2007-11-03fix typoBrian
2007-11-03r300: move more vap registers out of non tcl pathsDave Airlie
2007-11-03r300: fix misnumber registerDave Airlie
2007-11-03r300: fix texwrap border colorDave Airlie
2007-11-01remove dead code in _mesa_new_program()Brian
2007-11-01nouveau: ppc, swap fragment programs on big endian systems.Dave Airlie
Thanks to the PS3 RSX project for figuring this out.
2007-11-01i915: make i915 use the cached mappings for batch/buffer objects.Dave Airlie
This should restore gears speed on 9xx hardware
2007-10-31check for count==0 in _mesa_validate_DrawArrays()Brian
2007-10-31Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-10-30Fix some build warnings, mostly with XCB.Michel Dänzer
2007-10-30Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian
2007-10-30Finish up ATI_separate_stencilBrian
Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
2007-10-30add missing _mesa_StencilFuncSeparateATI functionRoland Scheidegger
2007-10-30More vblank cleanups.Michel Dänzer
* 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.
2007-10-29[i915] Include header to pick up intel_ttm_bo_create_from_handle() proto.Eric Anholt
2007-10-29Merge branch 'origin'Eric Anholt
2007-10-29Refactor and fix core vblank supportJesse Barnes
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.
2007-10-29disable ctx->Driver.NewProgram() call in _mesa_new_program()Brian
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().
2007-10-28Only set R_MODE with NV_point_spriteAlan Hourihane
2007-10-26Merge branch '965-glsl'Zou Nan hai
Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c
2007-10-25use grep -qBrian
2007-10-25simplify/fix the ASM_FLAGS tests (bug 12931)Brian
2007-10-24don't build x86, x86-64 dirs if not neededBrian
2007-10-24add to gitBrian
2007-10-24Implement gl_PointCoord attribute for GLSL fragment shaders.Brian
Contains the normalized fragment position within a point sprite.
2007-10-23properly init dst reg's CondMask/Swizzle fieldsBrian
2007-10-23bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many ↵Brian
instructions