Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [intel] Add some doxygen notes on what the bufmgr_fake block members mean. | Eric Anholt | 2007-11-16 | 1 | -2/+11 |
| | |||||
* | [intel] Add a simple relocation cache to the fake buffer manager. | Eric Anholt | 2007-11-16 | 1 | -35/+91 |
| | | | | | This is required for 965 performance, as it avoids a lot of repeated data uploads of the state caches due to surface offsets in them. | ||||
* | [intel] Assert against 0-sized buffers in dri_bufmgr_fake.c. | Eric Anholt | 2007-11-16 | 1 | -0/+4 |
| | | | | They shouldn't be created, and this often helps catch stupid issues. | ||||
* | [intel] Add support for multiple levels of relocation in bufmgr_fake. | Eric Anholt | 2007-11-16 | 2 | -73/+163 |
| | | | | | This is required for 965 support, which has relocations in other places than just the batchbuffer. | ||||
* | [i915] Push locking in intelClearWithTris down inside meta_draw_poly. | Eric Anholt | 2007-11-16 | 2 | -85/+72 |
| | | | | | | | | | 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. | ||||
* | fix bogus assumption if ddx has set up surface reg for z buffer | Roland Scheidegger | 2007-11-15 | 1 | -2/+1 |
| | | | | | | | | 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. | ||||
* | i965: correct the opcode of XY_SETUP_BLT_CMD. fix bug #12730 | Xiang, Haihao | 2007-11-12 | 1 | -1/+1 |
| | |||||
* | [i915] Remove old frontbuffer rotation hack. | Eric Anholt | 2007-11-09 | 11 | -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 Anholt | 2007-11-09 | 1 | -1/+1 |
| | |||||
* | [intel] Initialize a depth buffer if the visual has depth 24 but no stencil. | Eric Anholt | 2007-11-09 | 1 | -15/+28 |
| | |||||
* | [intel] Move over files that will be shared with 965-fbo work. | Eric Anholt | 2007-11-09 | 45 | -8055/+8072 |
| | |||||
* | code clean-ups, reformatting | Benno Schulenberg | 2007-11-09 | 1 | -11/+8 |
| | |||||
* | recreate from changed gl_API.xml | Roland Scheidegger | 2007-11-09 | 1 | -36/+12 |
| | |||||
* | fix Unichrome/Blender crash, bug 13142 | Benno Schulenberg | 2007-11-08 | 1 | -2/+4 |
| | |||||
* | r200: Re-expose SetTexOffset functionality. | Michel Dänzer | 2007-11-06 | 1 | -1/+7 |
| | | | | This seems to have been mismerged with the DRI interface changes. | ||||
* | r200: Fix SetTexOffset format for 16 bit pixmaps/textures. | Michel Dänzer | 2007-11-06 | 1 | -6/+6 |
| | | | | Use symbolic array indices to clarify. | ||||
* | Renamed the R300_VAP_UNKNOWN_221C to R300_VAP_CLIP_CNTL. | Oliver McFadden | 2007-11-05 | 5 | -10/+15 |
| | |||||
* | r300: initial user clipping for TCL paths | Dave Airlie | 2007-11-05 | 4 | -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 | ||||
* | fix typo | Brian | 2007-11-03 | 1 | -1/+1 |
| | |||||
* | r300: move more vap registers out of non tcl paths | Dave Airlie | 2007-11-03 | 3 | -14/+16 |
| | |||||
* | r300: fix misnumber register | Dave Airlie | 2007-11-03 | 1 | -1/+1 |
| | |||||
* | r300: fix texwrap border color | Dave Airlie | 2007-11-03 | 1 | -1/+1 |
| | |||||
* | nouveau: ppc, swap fragment programs on big endian systems. | Dave Airlie | 2007-11-01 | 3 | -5/+16 |
| | | | | Thanks to the PS3 RSX project for figuring this out. | ||||
* | i915: make i915 use the cached mappings for batch/buffer objects. | Dave Airlie | 2007-11-01 | 3 | -5/+4 |
| | | | | This should restore gears speed on 9xx hardware | ||||
* | Alias glStencilOpSeparateATI with glStencilOpSeparate. | Brian | 2007-10-30 | 1 | -9/+3 |
| | |||||
* | Finish up ATI_separate_stencil | Brian | 2007-10-30 | 1 | -0/+22 |
| | | | | | | Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c | ||||
* | More vblank cleanups. | Michel Dänzer | 2007-10-30 | 26 | -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 Anholt | 2007-10-29 | 1 | -0/+1 |
| | |||||
* | Merge branch 'origin' | Eric Anholt | 2007-10-29 | 76 | -334/+2302 |
|\ | |||||
| * | Refactor and fix core vblank support | Jesse Barnes | 2007-10-29 | 48 | -147/+293 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Merge branch '965-glsl' | Zou Nan hai | 2007-10-26 | 20 | -158/+1851 |
| |\ | | | | | | | | | | | | | | | | | | | 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 | 1 | -1/+1 |
| | | | |||||
| | * | 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 | 33 | -911/+1211 |
| | |\ | | | | | | | | | | | | | into 965-glsl | ||||
| | * | | Use ProgramStringNotify | Zou Nan hai | 2007-07-17 | 1 | -27/+0 |
| | | | | |||||
| | * | | 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 | 167 | -8355/+8203 |
| | |\ \ | | | | | | | | | | | | | | | | into 965-glsl |