Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-02-22 | gallium: Remove bypass_vs_clip_and_viewport from rasteriser state. | Michal Krol | |
Needs testing. | |||
2010-02-22 | i965g: added missing texture cap queries | Brian Paul | |
2010-02-22 | i915g: added missing texture cap queries | Brian Paul | |
2010-02-22 | Revert "r300g: rebuild winsys/pipe buffer handling and add buffer map" | Dave Airlie | |
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 <airlied@redhat.com> | |||
2010-02-22 | r300g: rebuild winsys/pipe buffer handling and add buffer map | Dave Airlie | |
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 <airlied@redhat.com> | |||
2010-02-22 | r3OOg: support rendering of more than 65535 vertices per draw call (almost) | Marek Olšák | |
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. | |||
2010-02-21 | i965g: Fix memory leak. | Vinson Lee | |
2010-02-21 | r300g: Remove unnecessary header. | Vinson Lee | |
2010-02-21 | r300g: precompute framebuffer register values | Marek Olšák | |
2010-02-21 | r300g: add all missing colorbuffer formats | Marek Olšák | |
2010-02-21 | r300g: make r300_translate_texformat private | Marek Olšák | |
Unlikely to increase performance from inlining. And partially expose it through r300_is_sampler_format_supported. | |||
2010-02-21 | r300g: re-enable SRGB formats | Marek Olšák | |
Ouch. | |||
2010-02-21 | draw: Remove dead code. | Vinson Lee | |
2010-02-21 | i965g: Remove dead code. | Vinson Lee | |
2010-02-21 | i965g: Fix assertions that were always true. | Vinson Lee | |
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. | |||
2010-02-21 | i965g: Fix use of out-of-scope variable. | Vinson Lee | |
2010-02-21 | st/egl: Disable SHM in ximage backend. | Chia-I Wu | |
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. | |||
2010-02-21 | st/egl: Properly convert vrefresh to refresh rate. | Chia-I Wu | |
Some kernels have vrefresh = (refresh rate * 1000) while others don't. Use some heuristics here. | |||
2010-02-21 | st/egl: Enable extensions before adding configs. | Chia-I Wu | |
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. | |||
2010-02-21 | st/egl: Do not force validate when update_buffer is called. | Chia-I Wu | |
st/mesa was changed to call pipe_screen::update_buffer in st_validate_state. In most cases there is no need to validate. | |||
2010-02-21 | st/egl: Clean up DRI2 surface. | Chia-I Wu | |
Mainly to move the call to DRI2GetBuffers from dri2_surface_validate to the new dri2_surface_update_buffers. | |||
2010-02-21 | st/egl: Clean up ximage surface. | Chia-I Wu | |
Mainly to move buffer allocation code from ximage_surface_validate to the new ximage_surface_update_buffers. | |||
2010-02-20 | st/xlib: Add assert to check for null pointer dereference. | Vinson Lee | |
2010-02-20 | tgsi: ifdef out unused function micro_sqrt. | Vinson Lee | |
2010-02-19 | r300g: fix rendering into the L8 and A8 texture formats | Marek Olšák | |
RB3D_COLORPITCH.COLORFORMAT.I8 stores the C2 component. | |||
2010-02-19 | tgsi: Make more exec opcodes look pretty. | Michal Krol | |
2010-02-19 | tgsi: Change prototypes of micro opcodes to explicitly indicates number of args. | Michal Krol | |
2010-02-19 | tgsi: Rewrite exec implementations of NRM and NRM4. | Michal Krol | |
2010-02-19 | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | |
2010-02-19 | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | |
2010-02-19 | mesa: replace old MEMSET macro with memset | Brian Paul | |
2010-02-19 | mesa: replace old MEMCPY macro with memcpy | Brian Paul | |
2010-02-19 | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | |
This may break the SUNOS4 build, but it's no longer relevant. | |||
2010-02-19 | Remove _mesa_atoi in favor of plain atoi. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strcmp in favor of plain strcmp. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strncpy in favor of plain strncpy. | Kenneth Graunke | |
2010-02-19 | Revert "r300g: remove L8_UNORM from colorbuffer formats" | Corbin Simpson | |
This reverts commit fc427d23439a2702068209957f08990ea29fe21b. At least xorg uses this, and just because something is not used in OpenGL is *never* a valid reason to remove functionality from Gallium. If something lacks a test, go add a test, don't remove features. | |||
2010-02-19 | r300g: remove L8_UNORM from colorbuffer formats | Marek Olšák | |
Not renderable in OpenGL anyway. | |||
2010-02-18 | softpipe: fix depth testing problems | Brian Paul | |
The optimized Z-test functions assumed that the array of incoming quads are adjacent, but that's not always true. The fragment shader can cull intermediate quads, for example. Now these Z-test functions can cope with non-adjacent quads. A little bit of performance is probably lost, but it's probably not worth worring about. This fixes broken glBitmap() Z testing, among other things. (cherry picked from commit d437d905e6924ebc05ec9efe87e1e2c48d75bc13) | |||
2010-02-18 | softpipe: comments and whitespace fixes | Brian Paul | |
2010-02-18 | softpipe: const qualifiers, comments | Brian Paul | |
2010-02-18 | identity: Propagate api->name and api->driver_name up | Jakob Bornecrantz | |
2010-02-18 | trace: Propagate api->name up | Jakob Bornecrantz | |
2010-02-18 | pipebuffer: Include fenced buffer manager in build | Jakob Bornecrantz | |
2010-02-18 | Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)." | Francisco Jerez | |
We probably don't want to propagate this condition to the pipe driver, this reverts commit f455ca6490fcb65781b21f81c7117bd923e250d1 and the dri_update_buffer flush altogether until an agreement is reached. | |||
2010-02-17 | util: Fix typo of debug_dump_float_rgba_bmp. | Vinson Lee | |
2010-02-17 | svga: Silence uninitialized variable warnings. | Vinson Lee | |
2010-02-18 | r300g: add support for all missing non-FP sampler formats | Marek Olšák | |
The idea is to directly parse the format description in r300_translate_texformat and return ~0 if the format is unsupported. | |||
2010-02-18 | winsys/drm: Do not use --whole-archive in Makefile.egl. | Chia-I Wu | |
--whole-archive is not portable. Have the drivers reference _eglMain as a poor man's --whole-archive. | |||
2010-02-17 | st/dri2: Flush FRAME instead of RENDER_CACHE on buffer invalidation. | Francisco Jerez | |