Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [i915] Include header to pick up intel_ttm_bo_create_from_handle() proto. | Eric Anholt | 2007-10-29 | 1 | -0/+1 |
| | |||||
* | Merge branch 'origin' | Eric Anholt | 2007-10-29 | 94 | -576/+2697 |
|\ | |||||
| * | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa | Jesse Barnes | 2007-10-29 | 1 | -0/+1 |
| |\ | |||||
| | * | Remember to call XSync() before resetting X error handler. | Chris Rankin | 2007-10-29 | 1 | -0/+1 |
| | | | |||||
| * | | Refactor and fix core vblank support | Jesse Barnes | 2007-10-29 | 49 | -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() | Brian | 2007-10-29 | 1 | -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_sprite | Alan Hourihane | 2007-10-28 | 1 | -1/+2 |
| | | |||||
| * | Merge branch '965-glsl' | Zou Nan hai | 2007-10-26 | 23 | -159/+1855 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c | ||||
| | * | Non Square Matrix | Zou Nan hai | 2007-10-09 | 1 | -0/+2 |
| | | | |||||
| | * | fix for prev commit | Zou Nan hai | 2007-10-09 | 1 | -2/+2 |
| | | | |||||
| | * | INT support | Zou Nan hai | 2007-10-09 | 1 | -3/+3 |
| | | | |||||
| | * | shadow sampler fix. | Zou Nan hai | 2007-10-09 | 2 | -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 program | Zou Nan hai | 2007-10-08 | 2 | -2/+2 |
| | | | |||||
| | * | fragment shader function call fix, gl_FragCoord fix | Zou Nan hai | 2007-09-30 | 2 | -3/+8 |
| | | | |||||
| | * | support continue, fix conditional | Zou Nan hai | 2007-09-29 | 3 | -2/+66 |
| | | | |||||
| | * | fix | Zou Nan hai | 2007-09-28 | 1 | -2/+0 |
| | | | |||||
| | * | support nested function call in pixel shader | Zou Nan hai | 2007-09-28 | 2 | -11/+26 |
| | | | |||||
| | * | handle INT op, still require high level handle of integer to be correct | Zou Nan hai | 2007-09-27 | 1 | -0/+22 |
| | | | |||||
| | * | fix issue when only fragment shader or vertex shader is used | Zou Nan hai | 2007-09-27 | 1 | -5/+12 |
| | | | |||||
| | * | ARB_shader_object ARB_vertex_shader ARB_fragment_shader in 965-glsl branch | Zou Nan hai | 2007-09-18 | 1 | -0/+6 |
| | | | |||||
| | * | fix double free in 965-glsl branch | Zou Nan hai | 2007-09-18 | 3 | -0/+6 |
| | | | |||||
| | * | DDX DDY support, not very accurate | Zou Nan hai | 2007-07-24 | 3 | -1/+103 |
| | | | |||||
| | * | Fix SOP in fragment shader, brick is ok now. | Zou Nan hai | 2007-07-17 | 1 | -2/+4 |
| | | | |||||
| | * | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵ | Zou Nan hai | 2007-07-17 | 103 | -1266/+1601 |
| | |\ | | | | | | | | | | | | | into 965-glsl | ||||
| | * | | Use ProgramStringNotify | Zou Nan hai | 2007-07-17 | 2 | -27/+2 |
| | | | | |||||
| | * | | support "discard"; | Zou Nan hai | 2007-07-05 | 2 | -0/+16 |
| | | | | |||||
| | * | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵ | Zou Nan hai | 2007-07-04 | 327 | -22370/+18524 |
| | |\ \ | | | | | | | | | | | | | | | | into 965-glsl | ||||
| | * | | | fix issue with output as src register. | Zou Nan hai | 2007-07-04 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Fix a nasty bug... | Zou Nan hai | 2007-07-03 | 1 | -6/+14 |
| | | | | | |||||
| | * | | | support branch and loop in pixel shader | Zou Nan hai | 2007-06-21 | 12 | -100/+1346 |
| | | | | | | | | | | | | | | | | | | | | most of the sample working with some small modification | ||||
| | * | | | Support loop, conditional update fix | Zou Nan hai | 2007-05-09 | 1 | -10/+17 |
| | | | | | |||||
| | * | | | support nested function call | Zou Nan hai | 2007-04-30 | 2 | -15/+17 |
| | | | | | | | | | | | | | | | | | | | | else instruction fix. | ||||
| | * | | | Initial 965 GLSL support | Zou Nan hai | 2007-04-12 | 15 | -75/+276 |
| | | | | | |||||
| * | | | | use grep -q | Brian | 2007-10-25 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | simplify/fix the ASM_FLAGS tests (bug 12931) | Brian | 2007-10-25 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | don't build x86, x86-64 dirs if not needed | Brian | 2007-10-24 | 1 | -2/+7 |
| | | | | | |||||
| * | | | | add to git | Brian | 2007-10-24 | 2 | -0/+109 |
| | | | | | |||||
| * | | | | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | 2007-10-24 | 6 | -53/+85 |
| | | | | | | | | | | | | | | | | | | | | Contains the normalized fragment position within a point sprite. | ||||
| * | | | | properly init dst reg's CondMask/Swizzle fields | Brian | 2007-10-23 | 2 | -5/+5 |
| | | | | | |||||
| * | | | | bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many ↵ | Brian | 2007-10-23 | 1 | -4/+7 |
| | | | | | | | | | | | | | | | | | | | | instructions | ||||
| * | | | | don't apply ColorMask to main gc | Brian | 2007-10-22 | 1 | -7/+6 |
| | | | | | |||||
| * | | | | i915: Add some sanity checks to blit command debugging code. | Michel Dänzer | 2007-10-18 | 1 | -16/+21 |
| | | | | | |||||
| * | | | | Framework for supporting z24_s8 and z32 depth textures on r300. | Ian Romanick | 2007-10-17 | 2 | -6/+49 |
| | | | | | |||||
| * | | | | Initial support for ARB_depth_texture | Ian Romanick | 2007-10-17 | 4 | -2/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | | mga: Enable (trivial) support for GL_APPLE_vertex_array_object, bump DRIVER_DATE | Ian Romanick | 2007-10-17 | 2 | -1/+3 |
| | | | | | |||||
| * | | | | mga: Enable (trivial) support for GL_EXT_gpu_program_parameters. | Ian Romanick | 2007-10-17 | 1 | -3/+5 |
| | | | | | |||||
| * | | | | Replace repeat_remainder() with a simpler macro that just casts args to ↵ | Brian | 2007-10-17 | 1 | -13/+6 |
| | | | | | | | | | | | | | | | | | | | | unsigned. | ||||
| * | | | | Pull workaround for unset GLX_DRAWABLE_TYPE back in. | Kristian Høgsberg | 2007-10-17 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | | Don't call the driver clear hook when the effective scissor rectangle is empty. | Michel Dänzer | 2007-10-17 | 1 | -1/+3 |
| | | | | | |||||
| * | | | | i915: Don't emit 'empty' blit rectangles. | Michel Dänzer | 2007-10-17 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | The hardware seems to interpret them differently and produce unexpected results... |