Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util/blitter: Fix the viewport transformation for Z coordinates | Marek Olšák | 2010-03-02 | 1 | -2/+2 |
| | | | | | When clearing buffers, the depth is specified in the range [0, 1] and should be passed through blitter "as is". | ||||
* | r300: Save viewport and clip states before invoking blitter. | Michal Krol | 2010-03-01 | 3 | -0/+10 |
| | |||||
* | util: Fix u_blitter setup code after bypass_vs_clip_and_viewport removal. | Michal Krol | 2010-03-01 | 2 | -11/+51 |
| | | | | Not tested. | ||||
* | util: Fix blitter vertex and viewport setup. | Michal Krol | 2010-02-25 | 1 | -6/+21 |
| | |||||
* | st/mesa: Reset clip state when clearing with quads. | Michal Krol | 2010-02-24 | 2 | -1/+6 |
| | |||||
* | util: Reset clip state when doing blitting. | Michal Krol | 2010-02-24 | 2 | -1/+11 |
| | |||||
* | st/mesa: Use cso context to manage clip state. | Michal Krol | 2010-02-24 | 1 | -1/+3 |
| | |||||
* | cso: Track clip state with cso context. | Michal Krol | 2010-02-24 | 2 | -0/+67 |
| | |||||
* | gallium: Remove bypass_vs_clip_and_viewport from rasteriser state. | Michal Krol | 2010-02-22 | 25 | -412/+271 |
| | | | | Needs testing. | ||||
* | i965g: added missing texture cap queries | Brian Paul | 2010-02-22 | 1 | -0/+4 |
| | |||||
* | i915g: added missing texture cap queries | Brian Paul | 2010-02-22 | 1 | -0/+4 |
| | |||||
* | st/mesa: change viewport Z scale/bias for glBitmap/glDrawPixels | Brian Paul | 2010-02-22 | 2 | -4/+10 |
| | | | | | | | This fixes incorrect Z position of glBitmap, glDraw/CopyPixels for the svga driver. Now we use 0.5, 0.5 as is typical for ordinary 3D rendering. (cherry picked from commit bcd561c66777e58dbb29a573c4d2279772bac6c5) | ||||
* | st/mesa: Add checks for ST_SURFACE_x vs MESA_BUFFER_x | Brian Paul | 2010-02-22 | 2 | -1/+9 |
| | | | | | | | The ST_SURFACE_x values should match the Mesa BUFFER_x values. Added some assertions to prevent future mix-ups. (cherry picked from commit 13cbb5fff68ef8831230638e9f0b29a217750e9d) | ||||
* | mesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH. | Brian Paul | 2010-02-22 | 1 | -1/+1 |
| | | | | | | Some st functions assume that they are identical. (cherry picked from commit 9d17ad2891b58de9e33e943ff918a678c6a3c2bd) | ||||
* | intel: assert that we do not overflow the batch buffer. | Chris Wilson | 2010-02-22 | 1 | -1/+2 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | i915: Fix logic !gen >= 3 | Chris Wilson | 2010-02-22 | 1 | -1/+1 |
| | | | | | | | The effect of this was that all objects were aligned to 128 bytes on all generations, rather than just gen2. Signed-off-by: Chris Wilson <[email protected]> | ||||
* | i915: Remove superfluous MI_NOOP from vertex emission | Chris Wilson | 2010-02-22 | 1 | -2/+1 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | intel: Check that we have a bufmgr or bail out when initializing the context. | Chris Wilson | 2010-02-22 | 1 | -0/+4 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | Revert "r300g: rebuild winsys/pipe buffer handling and add buffer map" | Dave Airlie | 2010-02-22 | 23 | -1247/+347 |
| | | | | | | | | | | This reverts commit fff5be8e7b4557c221f2425dcafc2e7cbbba76ba. Probably went too soon with this, dileX reported OA not working for him it works here fine, but the optimisations I wanted aren't working properly yet so I'll fix that now. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: rebuild winsys/pipe buffer handling and add buffer map | Dave Airlie | 2010-02-22 | 23 | -347/+1247 |
| | | | | | | | | | | | | | This creates a cleaner winsys and drop the simple screen stuff. It makes r300g use pb_bufmgr structs and adds usage of the cached bufmgr for vertex/index buffers. It also avoids mapping too often. I'm not 100% sure this is perfect but it won't find its own bugs. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r3OOg: support rendering of more than 65535 vertices per draw call (almost) | Marek Olšák | 2010-02-22 | 2 | -29/+83 |
| | | | | | | | | | | The path for VAP_ALT_NUM_VERTICES is also in place (and tested) but not enabled by default due to the missing support of this reg in the upstream kernel. Also, a non-zero BUFFER_BASE in the INDX_BUFFER packet3 hangs the machine. Am I missing something? Because of this, only draw_arrays can render more than 65535 vertices without the use of VAP_ALT_NUM_VERTICES. | ||||
* | i965g: Fix memory leak. | Vinson Lee | 2010-02-21 | 1 | -1/+2 |
| | |||||
* | st/mesa: Fix memory leak on out-of-memory error path. | Vinson Lee | 2010-02-21 | 1 | -1/+3 |
| | |||||
* | r300g: Remove unnecessary header. | Vinson Lee | 2010-02-21 | 1 | -1/+0 |
| | |||||
* | Link egl progs to libm as necessary. | Ray Kohler | 2010-02-22 | 1 | -4/+4 |
| | | | | Signed-off-by: Ray Kohler <[email protected]> | ||||
* | r300g: precompute framebuffer register values | Marek Olšák | 2010-02-21 | 6 | -220/+250 |
| | |||||
* | r300g: add all missing colorbuffer formats | Marek Olšák | 2010-02-21 | 2 | -83/+165 |
| | |||||
* | r300g: make r300_translate_texformat private | Marek Olšák | 2010-02-21 | 3 | -235/+246 |
| | | | | | | Unlikely to increase performance from inlining. And partially expose it through r300_is_sampler_format_supported. | ||||
* | r300g: re-enable SRGB formats | Marek Olšák | 2010-02-21 | 1 | -1/+2 |
| | | | | Ouch. | ||||
* | mesa: Add assert to check for null pointer dereference. | Vinson Lee | 2010-02-21 | 1 | -2/+6 |
| | |||||
* | draw: Remove dead code. | Vinson Lee | 2010-02-21 | 1 | -7/+1 |
| | |||||
* | i965g: Remove dead code. | Vinson Lee | 2010-02-21 | 1 | -2/+0 |
| | |||||
* | i965g: Fix assertions that were always true. | Vinson Lee | 2010-02-21 | 1 | -4/+10 |
| | | | | | | | | | The surface_format field is 9 bits wide which has a maximum value of 511. BRW_SURFACEFORMAT_INVALID has a value of 4095 which exceeds the width of the surface_format field. This patch asserts that the format is not BRW_SURFACEFORMAT_INVALID before assignment to the surface_format field. | ||||
* | glsl/cl: Prevent possible buffer overflow. | Vinson Lee | 2010-02-21 | 1 | -1/+2 |
| | |||||
* | i965g: Fix use of out-of-scope variable. | Vinson Lee | 2010-02-21 | 1 | -8/+7 |
| | |||||
* | st/egl: Disable SHM in ximage backend. | Chia-I Wu | 2010-02-21 | 1 | -3/+10 |
| | | | | | | With pipe_screen::update_buffer being called in st_validate_state, it is likely that softpipe will flush tile caches to a detached SHM segment. Disable SHM for now until a better solution is found. | ||||
* | radeon: Silence compiler format warning. | Vinson Lee | 2010-02-20 | 1 | -1/+1 |
| | |||||
* | glsl/cl: Prevent possible string overflow. | Vinson Lee | 2010-02-20 | 1 | -1/+2 |
| | |||||
* | st/egl: Properly convert vrefresh to refresh rate. | Chia-I Wu | 2010-02-21 | 1 | -1/+4 |
| | | | | | Some kernels have vrefresh = (refresh rate * 1000) while others don't. Use some heuristics here. | ||||
* | st/egl: Enable extensions before adding configs. | Chia-I Wu | 2010-02-21 | 1 | -6/+6 |
| | | | | | | | Configs are validated before added. The validation depends on the extensions available. If configs are added before enabling extensions, configs with EGL_SCREEN_SURFACE_MESA bit set will never pass the validation for example. | ||||
* | st/egl: Do not force validate when update_buffer is called. | Chia-I Wu | 2010-02-21 | 1 | -6/+0 |
| | | | | | st/mesa was changed to call pipe_screen::update_buffer in st_validate_state. In most cases there is no need to validate. | ||||
* | st/egl: Clean up DRI2 surface. | Chia-I Wu | 2010-02-21 | 1 | -130/+182 |
| | | | | | Mainly to move the call to DRI2GetBuffers from dri2_surface_validate to the new dri2_surface_update_buffers. | ||||
* | st/egl: Clean up ximage surface. | Chia-I Wu | 2010-02-21 | 1 | -61/+109 |
| | | | | | Mainly to move buffer allocation code from ximage_surface_validate to the new ximage_surface_update_buffers. | ||||
* | st/xlib: Add assert to check for null pointer dereference. | Vinson Lee | 2010-02-20 | 1 | -0/+1 |
| | |||||
* | Cygwin build fix: Fix linkage | Jon TURNEY | 2010-02-20 | 1 | -1/+8 |
| | | | | | | | | | | | | Fix the way we make static convenience libraries, such as libmesa.a, to be the same as linux etc. Putting archives inside archives doesn't make the objects inside the archive linkable, so use expand_archives() to get all the objects inside an archive out again before linking. Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | gamma: Silence uninitialized variable warnings. | Vinson Lee | 2010-02-20 | 1 | -1/+1 |
| | |||||
* | gamma: Add missing headers. | Vinson Lee | 2010-02-20 | 10 | -5/+12 |
| | |||||
* | gamma: Remove unnecessary header. | Vinson Lee | 2010-02-20 | 1 | -1/+0 |
| | |||||
* | intel: Silence compiler format warnings. | Vinson Lee | 2010-02-20 | 2 | -2/+2 |
| | |||||
* | progs/redbook: Silence warn_unused_result warnings. | Vinson Lee | 2010-02-20 | 3 | -9/+22 |
| |