summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Add assert to check for null pointer dereference.Vinson Lee2010-02-211-2/+6
|
* draw: Remove dead code.Vinson Lee2010-02-211-7/+1
|
* i965g: Remove dead code.Vinson Lee2010-02-211-2/+0
|
* i965g: Fix assertions that were always true.Vinson Lee2010-02-211-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 Lee2010-02-211-1/+2
|
* i965g: Fix use of out-of-scope variable.Vinson Lee2010-02-211-8/+7
|
* st/egl: Disable SHM in ximage backend.Chia-I Wu2010-02-211-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 Lee2010-02-201-1/+1
|
* glsl/cl: Prevent possible string overflow.Vinson Lee2010-02-201-1/+2
|
* st/egl: Properly convert vrefresh to refresh rate.Chia-I Wu2010-02-211-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 Wu2010-02-211-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 Wu2010-02-211-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 Wu2010-02-211-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 Wu2010-02-211-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 Lee2010-02-201-0/+1
|
* Cygwin build fix: Fix linkageJon TURNEY2010-02-201-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 Lee2010-02-201-1/+1
|
* gamma: Add missing headers.Vinson Lee2010-02-2010-5/+12
|
* gamma: Remove unnecessary header.Vinson Lee2010-02-201-1/+0
|
* intel: Silence compiler format warnings.Vinson Lee2010-02-202-2/+2
|
* progs/redbook: Silence warn_unused_result warnings.Vinson Lee2010-02-203-9/+22
|
* tgsi: ifdef out unused function micro_sqrt.Vinson Lee2010-02-201-0/+2
|
* mesa: Silence compiler format warning.Vinson Lee2010-02-191-1/+1
|
* mesa: fix snprintf() typoBrian Paul2010-02-192-4/+4
|
* mesa: restore _mesa_snprintf() - it's needed for WindowsBrian Paul2010-02-1912-29/+45
| | | | This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2
* mesa: casts to silence new warnings from printf()Brian Paul2010-02-192-3/+3
|
* mesa: remove abs/negate from fetch_vector1ui()Brian Paul2010-02-191-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 buffersKristian Høgsberg2010-02-191-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 formatsMarek Olšák2010-02-191-2/+2
| | | | RB3D_COLORPITCH.COLORFORMAT.I8 stores the C2 component.
* Drop macro wrappers for the aligned memory functionsKristian Høgsberg2010-02-1918-48/+37
|
* progs/tests: new zbitmap.c test to exercize Z testing of glBitmapBrian Paul2010-02-194-0/+130
|
* progs/demos: sort filenamesBrian Paul2010-02-191-3/+3
|
* tgsi: Make more exec opcodes look pretty.Michal Krol2010-02-191-64/+20
|
* tgsi: Change prototypes of micro opcodes to explicitly indicates number of args.Michal Krol2010-02-191-164/+206
|
* tgsi: Rewrite exec implementations of NRM and NRM4.Michal Krol2010-02-191-61/+70
|
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-1999-1032/+951
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-19132-691/+624
|
* mesa: replace _mesa_bzero() with memset()Brian Paul2010-02-1917-42/+27
|
* mesa: replace old MEMSET macro with memsetBrian Paul2010-02-198-23/+20
|
* mesa: replace old MEMCPY macro with memcpyBrian Paul2010-02-1922-106/+104
|
* Remove _mesa_memcmp in favor of plain memcmp.Kenneth Graunke2010-02-196-20/+5
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_memset in favor of plain memset.Kenneth Graunke2010-02-1923-46/+26
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-1954-178/+159
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_atoi in favor of plain atoi.Kenneth Graunke2010-02-197-24/+14
|
* Remove _mesa_strncmp in favor of plain strncmp.Kenneth Graunke2010-02-196-18/+8
|
* Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke2010-02-1920-53/+39
|
* Remove _mesa_strlen in favor of plain strlen.Kenneth Graunke2010-02-1919-39/+29
|
* Remove _mesa_strncpy in favor of plain strncpy.Kenneth Graunke2010-02-195-13/+3
|
* Remove _mesa_strcpy in favor of plain strcpy.Kenneth Graunke2010-02-195-15/+5
|
* Remove _mesa_strncat in favor of plain strncat.Kenneth Graunke2010-02-193-18/+8
|