Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl: Some per-driver data should be per-display. | Chia-I Wu | 2009-08-18 | 13 | -95/+138 |
| | | | | | | | Move some fields of _EGLDriver to _EGLDisplay. It also becomes unnecessary to pass _EGLDisplay to drivers when _eglMain is called. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Change the way drivers are loaded. | Chia-I Wu | 2009-08-18 | 6 | -103/+199 |
| | | | | | | | | | Driver is chosen and preloaded when eglGetDisplay is called. Later when eglInitialize is called, the same driver is matched to initialize the display. Also, add new, but unused, hooks to EGLDriver to allow a driver to probe a display or unload itself. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Overhaul driver API. | Chia-I Wu | 2009-08-18 | 25 | -884/+898 |
| | | | | | | | | | | | | The motivation is so that drivers do not need to look up and check for bad display, context, and etc. It also becomes unnecessary for drivers to call the link functions. This commit makes eglapi.[ch] do the lookup and check. As a result, the driver API is overhauled, and almost all sources and drivers need update. The updates are mainly find and replace with human brains. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | r600: fix build | Dave Airlie | 2009-08-18 | 3 | -1/+4 |
| | |||||
* | r300: remove warning introduced with OQ | Dave Airlie | 2009-08-18 | 1 | -1/+0 |
| | |||||
* | radeon/r200: fix build after OQ commits | Dave Airlie | 2009-08-18 | 5 | -3/+7 |
| | |||||
* | r300: OQ rework | Dave Airlie | 2009-08-18 | 16 | -299/+381 |
| | | | | | | | | | | | | Move to common code base so radeon/r200 can add support for this. Make OQ start a state emitted like all normal state, and make no-tcl flushing work in proper places. Really need a generic post emit space reservation mechanism like max_state so we can reserve some space for the emit this code passes demos/arbocclude, piglit occlusion query and glean occlusion query with TCL and NO-TCL on my rv530. | ||||
* | r300: fix missing BEGIN/END batches | Dave Airlie | 2009-08-18 | 1 | -0/+2 |
| | |||||
* | r300: fix big endian build | Dave Airlie | 2009-08-18 | 1 | -0/+1 |
| | |||||
* | gallium: memset() tgsi_exec_machine to all zeros in tgsi_exec_machine_create() | Brian Paul | 2009-08-17 | 1 | -8/+2 |
| | | | | This fixes invalid values for CondStackTop, LoopStackTop, etc. | ||||
* | r600: fix counting error after the last commit | Alex Deucher | 2009-08-17 | 1 | -1/+1 |
| | |||||
* | r600: make sure the number of indices is valid | Alex Deucher | 2009-08-17 | 1 | -1/+54 |
| | | | | | | make sure the number of indices is valid for the requested prim type. glxgears sends invalid quad strips with only 2 indices for example. | ||||
* | radeon: remove RADEON_DEBUG_BO stuff | Alex Deucher | 2009-08-17 | 10 | -237/+16 |
| | | | | | This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build. | ||||
* | nv50: remove a few cases of directly casting struct pipe_context | Maarten Maathuis | 2009-08-17 | 2 | -3/+3 |
| | |||||
* | nv50: borrow some flushing code from the ddx | Maarten Maathuis | 2009-08-17 | 1 | -3/+11 |
| | | | | | - This fixes neverball corruption. - I'm unsure about what we're actually flushing here. | ||||
* | gallium: Make PIPE_TRANSFER_{READ,WRITE,READ_WRITE} bitmask friendly. | Maarten Maathuis | 2009-08-17 | 1 | -3/+3 |
| | |||||
* | nv50: whitespace fixes and deobfuscation | Maarten Maathuis | 2009-08-17 | 9 | -69/+85 |
| | |||||
* | cell: fix incorrect pipe_transfer tests | Brian Paul | 2009-08-17 | 1 | -2/+4 |
| | | | | The value is an enum, not a bitmask. | ||||
* | r300: split vbo rendering with big drawarray case | Jerome Glisse | 2009-08-17 | 1 | -4/+15 |
| | | | | | Split vbo rendering when the number of elements requested by drawarrays is bigger than 65536. | ||||
* | nv50: fix stencil state | Christoph Bumiller | 2009-08-17 | 1 | -6/+6 |
| | | | | | | | It's the front stencil methods that have contiguous offsets, not the back ones. Unfortunately the names in the header still have FRONT/BACK reversed, so I'm using hex values until it gets updated. | ||||
* | radeon: turn off bo debugging | Dave Airlie | 2009-08-17 | 1 | -1/+1 |
| | |||||
* | r300: disable ZTOP only when occlusion queries are used | Maciej Cencora | 2009-08-16 | 1 | -1/+3 |
| | |||||
* | Merge branch 'oq' | Maciej Cencora | 2009-08-16 | 14 | -11/+361 |
|\ | |||||
| * | r300: enable ARB_occlusion_query | Maciej Cencora | 2009-08-15 | 1 | -0/+8 |
| | | | | | | | | | | Supported only on HW with TCL block and with proper radeon drm. Required minimum radeon drm version is 1.30 or KMS. | ||||
| * | radeon: add flag for drm OQ support | Maciej Cencora | 2009-08-15 | 2 | -5/+8 |
| | | |||||
| * | r300: temporary occlusion query hack | Maciej Cencora | 2009-08-15 | 1 | -1/+1 |
| | | |||||
| * | r300: clear not_flushed OQ list after flush | Maciej Cencora | 2009-08-15 | 3 | -4/+15 |
| | | |||||
| * | r300/oq: add some debugging info | Maciej Cencora | 2009-08-15 | 1 | -0/+21 |
| | | |||||
| * | r300: add occlusion queries support | Maciej Cencora | 2009-08-15 | 8 | -1/+308 |
| | | | | | | | | | | | | | | TODO: - use proper interface for checking if bo is idle when it's available - disable ZTOP only when needed - make it work under KMS | ||||
* | | nv50: avoid a NULL-ptr dereference when the pipe context changes | Maarten Maathuis | 2009-08-15 | 1 | -1/+26 |
| | | | | | | | | - We cannot assume all state objects are present when the pipe context changes. | ||||
* | | nv50: align registers used with TEX to 4 | Christoph Bumiller | 2009-08-15 | 1 | -1/+2 |
|/ | | | | | | | | The TEX instruction is passed the first index of a contiguous range of 4 TEMP registers that contain coordinates / LOD and, after execution, the texel values. It seems the first index is required to be a multiple of 4 on some (older ?) cards. | ||||
* | radeon space: realign with drm space check code | Dave Airlie | 2009-08-15 | 1 | -1/+1 |
| | |||||
* | r300: fixup space checks since VBO code | Dave Airlie | 2009-08-15 | 1 | -16/+9 |
| | | | | Hopefully this gets the ordering correct so the space checks don't fail. | ||||
* | r300: add just in case warn I don't think this can actually happen | Dave Airlie | 2009-08-15 | 1 | -0/+5 |
| | |||||
* | radeon: enable vertex splitting for IBs | Dave Airlie | 2009-08-15 | 2 | -13/+47 |
| | | | | | | Based on Maciej's code, just fixed up the alignments for INDX_BUFFER ut2004 runs AS-Convoy | ||||
* | i965: disable bounds checking on arrays with stride 0 | Roland Scheidegger | 2009-08-15 | 1 | -1/+1 |
| | | | | | | | | if stride is 0 we cannot use count as max index for bounds checking, since the hardware will simply return 0 as data for indices failing bounds check. If stride is 0 any index should be valid hence simply disable bounds checking in this case. This fixes bugs introduced with e643bc5fc7afb563028f5a089ca5e38172af41a8. | ||||
* | i965: Add support for GL_ARB_seamless_cube_map | Ian Romanick | 2009-08-14 | 2 | -17/+28 |
| | |||||
* | Regenerate files for GL_ARB_seamless_cube_map | Ian Romanick | 2009-08-14 | 2 | -328/+342 |
| | |||||
* | Infrastructure for GL_ARB_seamless_cube_map | Ian Romanick | 2009-08-14 | 7 | -0/+34 |
| | |||||
* | Regenerate files for GL_APPLE_flush_buffer_range | Ian Romanick | 2009-08-14 | 9 | -3395/+3675 |
| | |||||
* | Merge branch 'vbo_clean' | Maciej Cencora | 2009-08-15 | 13 | -334/+621 |
|\ | | | | | | | | | Conflicts: src/mesa/drivers/dri/r300/r300_draw.c | ||||
| * | r300: mark VBO buffer objects as persistent | Maciej Cencora | 2009-08-15 | 1 | -3/+6 |
| | | |||||
| * | r300: unmap buffer objects after usage | Maciej Cencora | 2009-08-14 | 1 | -1/+11 |
| | | |||||
| * | r300: remove broken vertex splitting | Maciej Cencora | 2009-08-14 | 2 | -13/+5 |
| | | | | | | | | Revert to previous behaviour of dropping to big render operations. | ||||
| * | r300: rework index buffer setup | Maciej Cencora | 2009-08-14 | 3 | -119/+126 |
| | | | | | | | | Copy elements directly to DMA bo to get rid of one memcpy, and prepare for using VBOs for index buffer. | ||||
| * | r300: remove unused software TNL path | Maciej Cencora | 2009-08-14 | 4 | -118/+6 |
| | | | | | | | | This doesn't remove software TCL path - so RS480 and RS690 work as before. | ||||
| * | r300: use VBOs for vertex attributes | Maciej Cencora | 2009-08-14 | 3 | -84/+187 |
| | | |||||
| * | r300: add required symlinks | Maciej Cencora | 2009-08-14 | 2 | -0/+2 |
| | | | | | | | | Reported by adamk on #radeon | ||||
| * | radeon: handle debug versions of radeon_bo_open | Maciej Cencora | 2009-08-14 | 1 | -1/+10 |
| | | |||||
| * | radeon: add VBO support (not enabled yet) | Maciej Cencora | 2009-08-14 | 3 | -1/+271 |
| | |