summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-02-21draw: Remove dead code.Vinson Lee
2010-02-21i965g: Remove dead code.Vinson Lee
2010-02-21i965g: 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-21i965g: Fix use of out-of-scope variable.Vinson Lee
2010-02-21st/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-21st/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-21st/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-21st/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-21st/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-21st/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-20st/xlib: Add assert to check for null pointer dereference.Vinson Lee
2010-02-20tgsi: ifdef out unused function micro_sqrt.Vinson Lee
2010-02-19r300g: fix rendering into the L8 and A8 texture formatsMarek Olšák
RB3D_COLORPITCH.COLORFORMAT.I8 stores the C2 component.
2010-02-19tgsi: Make more exec opcodes look pretty.Michal Krol
2010-02-19tgsi: Change prototypes of micro opcodes to explicitly indicates number of args.Michal Krol
2010-02-19tgsi: Rewrite exec implementations of NRM and NRM4.Michal Krol
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19mesa: replace old MEMSET macro with memsetBrian Paul
2010-02-19mesa: replace old MEMCPY macro with memcpyBrian Paul
2010-02-19Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_atoi in favor of plain atoi.Kenneth Graunke
2010-02-19Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke
2010-02-19Remove _mesa_strncpy in favor of plain strncpy.Kenneth Graunke
2010-02-19Revert "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-19r300g: remove L8_UNORM from colorbuffer formatsMarek Olšák
Not renderable in OpenGL anyway.
2010-02-18softpipe: fix depth testing problemsBrian 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-18softpipe: comments and whitespace fixesBrian Paul
2010-02-18softpipe: const qualifiers, commentsBrian Paul
2010-02-18identity: Propagate api->name and api->driver_name upJakob Bornecrantz
2010-02-18trace: Propagate api->name upJakob Bornecrantz
2010-02-18pipebuffer: Include fenced buffer manager in buildJakob Bornecrantz
2010-02-18Revert "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-17util: Fix typo of debug_dump_float_rgba_bmp.Vinson Lee
2010-02-17svga: Silence uninitialized variable warnings.Vinson Lee
2010-02-18r300g: add support for all missing non-FP sampler formatsMarek 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-18winsys/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-17st/dri2: Flush FRAME instead of RENDER_CACHE on buffer invalidation.Francisco Jerez
2010-02-17llvmpipe: use ffs technique for full tiles alsoKeith Whitwell
Need to compute two masks here for full and partial 16x16 blocks. Gives a further good improvement for isosurf particularly: isosurf 97 -> 108 gears 597 -> 611
2010-02-17llvmpipe: rework do_block_16 to use bitmasks and ffsKeith Whitwell
Some nice speedups: gears: 547 -> 597 isosurf: 83 -> 98 Others like gloss unchanged. Could do further work in this direction.
2010-02-16nv40: Fix incorrect so_new() numbering.Francisco Jerez
2010-02-16nv40: Implement PIPE_CAP_MAX_COMBINED_SAMPLERS.Francisco Jerez
2010-02-16st/dri2: Use event-driven buffer validation.Francisco Jerez
2010-02-16nv50: use hw idx buffers where we canBen Skeggs
2010-02-16nouveau: fix for latest libdrmBen Skeggs
2010-02-15wgl: Be lenient when sharing contexts.José Fonseca
My first reading of MS docs was wrong. It says: All rendering contexts of a shared display list must use an identical pixel format. Otherwise the results depend on the implementation of OpenGL used. That is, it is OK to share contexts with different pixel formats. Adobe Premiere Pro tries to do that: share lists between a rgbx8 and a rgba8 pixel format.
2010-02-14draw: Add assert to check input of memcpy.Vinson Lee
2010-02-15r300g: fix the size of constant buffersMarek Olšák
4 more piglit tests pass, sweet.
2010-02-15python: Reconstruct blend state objects from binary blobs.José Fonseca
2010-02-15trace: Dump blend state as a binary blob.José Fonseca
Gallium interfaces are too fluid -- XML or not is just too much work trying to accommodate for differences in traces. SWIG generated bindings are also full of quirks, making unmarshalling the XML from too hard. Finally, this is the first step for faster tracing.