summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r3OOg: support rendering of more than 65535 vertices per draw call (almost)Marek Olšák2010-02-222-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 Lee2010-02-211-1/+2
|
* r300g: Remove unnecessary header.Vinson Lee2010-02-211-1/+0
|
* r300g: precompute framebuffer register valuesMarek Olšák2010-02-216-220/+250
|
* r300g: add all missing colorbuffer formatsMarek Olšák2010-02-212-83/+165
|
* r300g: make r300_translate_texformat privateMarek Olšák2010-02-213-235/+246
| | | | | | Unlikely to increase performance from inlining. And partially expose it through r300_is_sampler_format_supported.
* r300g: re-enable SRGB formatsMarek Olšák2010-02-211-1/+2
| | | | Ouch.
* 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.
* 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.
* 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
|
* tgsi: ifdef out unused function micro_sqrt.Vinson Lee2010-02-201-0/+2
|
* r300g: fix rendering into the L8 and A8 texture formatsMarek Olšák2010-02-191-2/+2
| | | | RB3D_COLORPITCH.COLORFORMAT.I8 stores the C2 component.
* 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-194-10/+10
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-192-16/+16
|
* mesa: replace old MEMSET macro with memsetBrian Paul2010-02-191-1/+1
|
* mesa: replace old MEMCPY macro with memcpyBrian Paul2010-02-191-1/+1
|
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-191-2/+2
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_atoi in favor of plain atoi.Kenneth Graunke2010-02-191-2/+2
|
* Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke2010-02-191-6/+6
|
* Remove _mesa_strncpy in favor of plain strncpy.Kenneth Graunke2010-02-191-1/+1
|
* 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.
* 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)
* 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
|
* Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)."Francisco Jerez2010-02-181-2/+0
| | | | | | 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.
* 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.
* st/dri2: Flush FRAME instead of RENDER_CACHE on buffer invalidation.Francisco Jerez2010-02-171-2/+2
|
* llvmpipe: use ffs technique for full tiles alsoKeith Whitwell2010-02-171-45/+70
| | | | | | | | 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
* llvmpipe: rework do_block_16 to use bitmasks and ffsKeith Whitwell2010-02-171-27/+41
| | | | | | | | Some nice speedups: gears: 547 -> 597 isosurf: 83 -> 98 Others like gloss unchanged. Could do further work in this direction.
* nv40: Fix incorrect so_new() numbering.Francisco Jerez2010-02-161-1/+1
|
* nv40: Implement PIPE_CAP_MAX_COMBINED_SAMPLERS.Francisco Jerez2010-02-161-0/+2
|
* st/dri2: Use event-driven buffer validation.Francisco Jerez2010-02-163-4/+27
|