summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|
* Remove _mesa_strstr in favor of plain strstr.Kenneth Graunke2010-02-195-23/+13
|
* Revert "r300g: remove L8_UNORM from colorbuffer formats"Corbin Simpson2010-02-191-0/+1
| | | | | | | | 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.
* gamma: s#colormac.h#main/colormac.h#Vinson Lee2010-02-196-6/+6
|
* gamma: s/gammacontext.h/gamma_context.h/Vinson Lee2010-02-1914-14/+14
|
* egl: Silence warnings when compiled with -pedantic.Chia-I Wu2010-02-194-4/+10
| | | | Just follow gcc's advices here.
* egl: Silence warnings in check/return macros.Chia-I Wu2010-02-191-139/+147
| | | | | | The macros give warnings when compiled with -pedantic. This commit is based on a patch by Brian Paul, with minor changes to add do {} while(0) and rename the check macros.
* r300g: remove L8_UNORM from colorbuffer formatsMarek Olšák2010-02-191-1/+0
| | | | Not renderable in OpenGL anyway.
* softpipe: fix depth testing problemsBrian Paul2010-02-181-36/+53
| | | | | | | | | | | | | 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)
* st/mesa: added some bitmap debug code (disabled)Brian Paul2010-02-181-0/+22
|
* softpipe: comments and whitespace fixesBrian Paul2010-02-181-7/+8
|
* softpipe: const qualifiers, commentsBrian Paul2010-02-181-3/+3
|
* identity: Propagate api->name and api->driver_name upJakob Bornecrantz2010-02-181-0/+2
|
* trace: Propagate api->name upJakob Bornecrantz2010-02-181-0/+1
|
* pipebuffer: Include fenced buffer manager in buildJakob Bornecrantz2010-02-181-0/+1
|
* i915: update render buffers at prepare_render timeJesse Barnes2010-02-181-0/+1
| | | | | We need to do this before we emit any state dependent on the current render buffers.
* mesa: silence mklib output for libglapi.c as for other targetsBrian Paul2010-02-181-1/+1
|
* swrast: fix left side clippingBrian Paul2010-02-181-3/+36
| | | | | | | Fixes bug 26623. Original patch was submitted by Mathias Frohlich and modified by Brian. (cherry picked from commit 7c34c237a2f6732b2c013543523617e375c1f534)
* Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)."Francisco Jerez2010-02-182-6/+8
| | | | | | 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.
* intel: Include main/hash.h using "" instead of <>Kristian Høgsberg2010-02-181-1/+1
|
* st/mesa: always call FLUSH_CURRENT before st->pipe->flush()Keith Whitwell2010-02-181-2/+1
| | | | | | Undoes part of commit f455ca6 which would permit pipe->flush() to be called while the VBO module still had its buffers mapped. Some drivers care deeply about this. Sorry for not spotting this earlier.
* util: Fix typo of debug_dump_float_rgba_bmp.Vinson Lee2010-02-171-1/+1
|
* svga: Silence uninitialized variable warnings.Vinson Lee2010-02-171-0/+6
|
* r300g: add support for all missing non-FP sampler formatsMarek Olšák2010-02-183-124/+234
| | | | | The idea is to directly parse the format description in r300_translate_texformat and return ~0 if the format is unsupported.
* winsys/drm: Do not use --whole-archive in Makefile.egl.Chia-I Wu2010-02-187-8/+19
| | | | | --whole-archive is not portable. Have the drivers reference _eglMain as a poor man's --whole-archive.
* intel: Implement the DRI2 invalidate function properlyKristian Høgsberg2010-02-1716-48/+79
| | | | | | | | | | | | | | | | | | | This uses a stamp mechanisms to mark the DRI drawable as invalid. Instead of immediately updating the buffers we just bump the drawable stamp and call out to DRI2GetBuffers "later". "Later" used to be at LOCK_HARDWARE time, and this patch brings back callouts at the points where we used to call LOCK_HARDWARE. A new function, intel_prepare_render(), is called where we used to call LOCK_HARDWARE, and if the buffers are invalid, we call out to DRI2GetBuffers there. This lets us invalidate buffers only when notified instead of on every glViewport() call. If the loader calls the DRI invalidate entrypoint, we disable viewport triggered buffer invalidation. Additionally, we can clean up the old viewport mechanism a bit, since we can just invalidate the buffers and not worry about reentrancy and whatnot.
* dri/nouveau: Some multithreaded rendering fixes.Francisco Jerez2010-02-1718-1278/+1124
|
* st/dri2: Flush FRAME instead of RENDER_CACHE on buffer invalidation.Francisco Jerez2010-02-171-2/+2
|