summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-10-30Fix some build warnings, mostly with XCB.Michel Dänzer
2007-10-30Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian
2007-10-30test glStencilFuncSeparateATI()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-29Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesaJesse Barnes
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-29Build xdemos programs by default on linux-driDan Nicholson
Since libglut is no longer hardcoded, we can build the xdemos programs so long as a GLX enabled libGL and libGLU have been built.
2007-10-29Remember to call XSync() before resetting X error handler.Chris Rankin
2007-10-29linux-dri-xcb: Fix undefined refs when linking with libGLDan Nicholson
GL_LIB_DEPS was missing -lXdamage and -lXfixes, which was causing linker errors when trying to build the programs.
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-29update APP_LIB_DEPS for static library configs (patch 3/3)Dan Nicholson
2007-10-29simplify APP_LIB_DEPS (patch 2/3)Dan Nicholson
2007-10-29specify app lib dependencies in Makefiles (patch 1/3)Dan Nicholson
2007-10-28Only set R_MODE with NV_point_spriteAlan Hourihane
2007-10-26configs: Fix linux-static to link correctlyDan Nicholson
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.
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-25Ignore new programsDan Nicholson
2007-10-25simplify/fix the ASM_FLAGS tests (bug 12931)Brian
2007-10-24added catamount-osmesa-pgi configAlex Neundorf
2007-10-24don't build x86, x86-64 dirs if not neededBrian
2007-10-24fix assorted bugs, works nowBrian
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
2007-10-23add directfb glut sources to tarballBrian
2007-10-22don't apply ColorMask to main gcBrian
2007-10-18glxinfo: Try creating a GLX context using an fbconfig if no visuals are ↵Kristian Høgsberg
available.
2007-10-18i915: Add some sanity checks to blit command debugging code.Michel Dänzer
2007-10-17Framework for supporting z24_s8 and z32 depth textures on r300.Ian Romanick
2007-10-17Initial support for ARB_depth_textureIan Romanick
Currently only GL_DEPTH_COMPONENT16 are supported. I don't know what the hardware bits are to select the other formats, but it shouldn't be too hard to figure out.
2007-10-17Support cards that have ARB_fp but not ARB_shadow.Ian Romanick
2007-10-17mga: Enable (trivial) support for GL_APPLE_vertex_array_object, bump DRIVER_DATEIan Romanick
2007-10-17mga: Enable (trivial) support for GL_EXT_gpu_program_parameters.Ian Romanick
2007-10-17pbutil: Do not require GLX_SGIX_pbuffer for fbconfig only-functions.Kristian Høgsberg
2007-10-17Replace repeat_remainder() with a simpler macro that just casts args to ↵Brian
unsigned.
2007-10-17Pull workaround for unset GLX_DRAWABLE_TYPE back in.Kristian Høgsberg
The old version just set GLX_DRAWABLE_TYPE to GLX_WINDOW_BIT for configs received through glXGetVisualConfigs and to GLX_WINDOW_BIT | GLX_PIXMAP_BIT for configs received as FBConfigs. The X server needs to send this info, but keep the workaround for now. Fixes #12835.
2007-10-17glxinfo: Also print number of fbconfigs.Kristian Høgsberg
2007-10-17Don't call the driver clear hook when the effective scissor rectangle is empty.Michel Dänzer
2007-10-17i915: Don't emit 'empty' blit rectangles.Michel Dänzer
The hardware seems to interpret them differently and produce unexpected results...
2007-10-17Fixup a couple of thinkos in glxinfo changes.Kristian Høgsberg
2007-10-16Handle fbconfigs and glx visuals separately.Kristian Høgsberg
The old implementation fetches fbconfigs or glx visuals once and assumes the list describes both fbconfigs and glx visuals. This patch splits it up and fetches visuals and fbconfigs in two steps and keep the two lists separate. A server could have no glx visuals or no glx fbconfigs and the old code wouldn't know the difference.
2007-10-16Implement support for printing glx fbconfigs in glxinfo.Kristian Høgsberg
2007-10-16glxinfo: Only print visuals that actually support GLX.Kristian Høgsberg
2007-10-16Replace symlink generation from i915 with files in intel/ and symlinks there.Eric Anholt