Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-29 | Merge branch 'origin' | Eric Anholt | |
2007-10-29 | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa | Jesse Barnes | |
2007-10-29 | Refactor and fix core vblank support | Jesse 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-29 | Remember to call XSync() before resetting X error handler. | Chris Rankin | |
2007-10-29 | disable 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-28 | Only set R_MODE with NV_point_sprite | Alan Hourihane | |
2007-10-26 | Merge 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-25 | use grep -q | Brian | |
2007-10-25 | simplify/fix the ASM_FLAGS tests (bug 12931) | Brian | |
2007-10-24 | don't build x86, x86-64 dirs if not needed | Brian | |
2007-10-24 | add to git | Brian | |
2007-10-24 | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | |
Contains the normalized fragment position within a point sprite. | |||
2007-10-23 | properly init dst reg's CondMask/Swizzle fields | Brian | |
2007-10-23 | bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many ↵ | Brian | |
instructions | |||
2007-10-22 | don't apply ColorMask to main gc | Brian | |
2007-10-18 | i915: Add some sanity checks to blit command debugging code. | Michel Dänzer | |
2007-10-17 | Framework for supporting z24_s8 and z32 depth textures on r300. | Ian Romanick | |
2007-10-17 | Initial support for ARB_depth_texture | Ian 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-17 | mga: Enable (trivial) support for GL_APPLE_vertex_array_object, bump DRIVER_DATE | Ian Romanick | |
2007-10-17 | mga: Enable (trivial) support for GL_EXT_gpu_program_parameters. | Ian Romanick | |
2007-10-17 | Replace repeat_remainder() with a simpler macro that just casts args to ↵ | Brian | |
unsigned. | |||
2007-10-17 | Pull 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-17 | Don't call the driver clear hook when the effective scissor rectangle is empty. | Michel Dänzer | |
2007-10-17 | i915: Don't emit 'empty' blit rectangles. | Michel Dänzer | |
The hardware seems to interpret them differently and produce unexpected results... | |||
2007-10-16 | Handle 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-16 | Replace symlink generation from i915 with files in intel/ and symlinks there. | Eric Anholt | |
2007-10-16 | i915: Make sure extensions that require TTM actually work. | Michel Dänzer | |
2007-10-16 | i915: fixup TTM interfaces to follow drm changes | Dave Airlie | |
2007-10-16 | i915: Re-enable __DRItexOffsetExtension. | Michel Dänzer | |
This seems to have got lost somehow during the recent DRI interface changes. | |||
2007-10-15 | fix fog, rescale_normals bugs (from gallium branch) | Brian | |
2007-10-15 | Roll back premature version bump. | Kristian Høgsberg | |
2007-10-15 | Dont add fbconfigs to array that we didn't allocate for. | Kristian Høgsberg | |
2007-10-15 | faster write_rgba_span_front() | Andreas Micheler | |
2007-10-14 | typo | George Sapountzis | |
2007-10-14 | Drop include "dri_interface.h" from xf86dri.h | George Sapountzis | |
Thanks to dri2, xf86dri no longer uses __DRI types. | |||
2007-10-13 | Uncomment GLX_SGIX_pbuffer definition. | Kristian Høgsberg | |
2007-10-13 | Get the width and height from the attrib list in glXCreatePbuffer. | Kristian Høgsberg | |
2007-10-12 | Merge branch 'dri2' | Kristian Høgsberg | |
Conflicts: src/mesa/drivers/dri/i915/intel_screen.c | |||
2007-10-12 | Merge branch 'master' into i915-superioctl | Dave Airlie | |
2007-10-12 | i915: only enable TTM path if drm minor is > 11 for superioctl | Dave Airlie | |
2007-10-12 | dri: remove ttm common code since superioctl is device specific | Dave Airlie | |
2007-10-12 | i915: fixup reloc header defines | Dave Airlie | |
2007-10-11 | Drop no longer implemented MESA allocate extension from i915. | Kristian Høgsberg | |
2007-10-11 | remove unneeded cast | Brian | |
2007-10-11 | Add a version field to __DRIextension. | Kristian Høgsberg | |
2007-10-11 | Move new texOffset extension to the new extension mechanism. | Kristian Høgsberg | |
2007-10-11 | Convert a left-over private void * to __DRIcontext *. | Kristian Høgsberg | |
2007-10-11 | Move enabling of DRI extensions into glxextensions.c | Kristian Høgsberg | |
2007-10-11 | Remove now unused getProcAddress from DRIinterfaceMethods. | Kristian Høgsberg | |
2007-10-11 | Add a DRI_ReadDrawable marker extension to signal read drawable capability. | Kristian Høgsberg | |