Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | tgsi: ifdef out unused function micro_sqrt. | Vinson Lee | 2010-02-20 | 1 | -0/+2 |
| | |||||
* | mesa: Silence compiler format warning. | Vinson Lee | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | mesa: fix snprintf() typo | Brian Paul | 2010-02-19 | 2 | -4/+4 |
| | |||||
* | mesa: restore _mesa_snprintf() - it's needed for Windows | Brian Paul | 2010-02-19 | 12 | -29/+45 |
| | | | | This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2 | ||||
* | mesa: casts to silence new warnings from printf() | Brian Paul | 2010-02-19 | 2 | -3/+3 |
| | |||||
* | mesa: remove abs/negate from fetch_vector1ui() | Brian Paul | 2010-02-19 | 1 | -14/+1 |
| | | | | | | This function is only used for the NV unpack instructions. Negate/abs make no sense and removing the code fixes Windows compiler warnings. Found by Karl Schultz. | ||||
* | intel: Set buffer stamp before getting new buffers | Kristian Høgsberg | 2010-02-19 | 1 | -1/+5 |
| | | | | | | | This way, if we get an invalidate as we update the buffers, we don't clobber the drawable stamp and ignore the invalidate. Pointed-out-by: Francisco Jerez | ||||
* | r300g: fix rendering into the L8 and A8 texture formats | Marek Olšák | 2010-02-19 | 1 | -2/+2 |
| | | | | RB3D_COLORPITCH.COLORFORMAT.I8 stores the C2 component. | ||||
* | Drop macro wrappers for the aligned memory functions | Kristian Høgsberg | 2010-02-19 | 18 | -48/+37 |
| | |||||
* | progs/tests: new zbitmap.c test to exercize Z testing of glBitmap | Brian Paul | 2010-02-19 | 4 | -0/+130 |
| | |||||
* | progs/demos: sort filenames | Brian Paul | 2010-02-19 | 1 | -3/+3 |
| | |||||
* | tgsi: Make more exec opcodes look pretty. | Michal Krol | 2010-02-19 | 1 | -64/+20 |
| | |||||
* | tgsi: Change prototypes of micro opcodes to explicitly indicates number of args. | Michal Krol | 2010-02-19 | 1 | -164/+206 |
| | |||||
* | tgsi: Rewrite exec implementations of NRM and NRM4. | Michal Krol | 2010-02-19 | 1 | -61/+70 |
| | |||||
* | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | 2010-02-19 | 99 | -1032/+951 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 132 | -691/+624 |
| | |||||
* | mesa: replace _mesa_bzero() with memset() | Brian Paul | 2010-02-19 | 17 | -42/+27 |
| | |||||
* | mesa: replace old MEMSET macro with memset | Brian Paul | 2010-02-19 | 8 | -23/+20 |
| | |||||
* | mesa: replace old MEMCPY macro with memcpy | Brian Paul | 2010-02-19 | 22 | -106/+104 |
| | |||||
* | Remove _mesa_memcmp in favor of plain memcmp. | Kenneth Graunke | 2010-02-19 | 6 | -20/+5 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. |