summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-04-27gallium/docs: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.José Fonseca
2010-04-27tgsi: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.José Fonseca
2010-04-27r300: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.José Fonseca
2010-04-27cell: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.José Fonseca
2010-04-27svga: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.José Fonseca
2010-04-27gallivm: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.José Fonseca
2010-04-27llvmpipe: remove lp_scene_map_buffers(), lp_scene_unmap_buffers()Brian Paul
2010-04-27llvmpipe: implement max scene sizeBrian Paul
When the size of the scene (binned data plus referenced resources/textures) exceeds LP_MAX_SCENE_SIZE flush/render the scene. This could be improved in various ways but is a good start. Fixes piglit streaming-texture-leak test.
2010-04-27llvmpipe: added llvmpipe_resource_size()Brian Paul
2010-04-27llvmpipe: comment-out unused field for nowBrian Paul
2010-04-27llvmipe: update commentsBrian Paul
2010-04-27mesa: move/rename is_depth_or_stencil_format()Brian Paul
Put it with other, similar functions.
2010-04-27st/mesa: rename var and update st_choose_format() commentsBrian Paul
2010-04-27st/mesa: call is_format_supported() for compressed formatsBrian Paul
These compressed format switch cases shouldn't be hit if we don't support the compressed texture extensions, but let's be safe and ask the driver if they're supported as we do in other cases.
2010-04-27st/mesa: 80-column wrappingBrian Paul
2010-04-27st/mesa: try to get actual compressed format for GL_COMPRESSED_RGB[A] formatsBrian Paul
2010-04-27st/mesa: fix strides in (de)compress_image() functionsBrian Paul
Mipmap generation for compressed textures works now.
2010-04-27util: fix assorted problems in the image packing functionsBrian Paul
2010-04-27gallivm: Disable llvm.cos.v4f32 and llvm.sin.v4f32 instrinsics on Windows.José Fonseca
Runtime linking doesn't quite work. Just comment then out for now to prevent crashes. These will go away in the future because calling 4 times CRT's cosf()/sinf() is over-precise and under-performing.
2010-04-27gallivm: Ensure all allocas are in the first block.José Fonseca
Refactor the code to make this easier.
2010-04-27i965g: Fix scons build of winsysJakob Bornecrantz
2010-04-27st/dri: Don't check for null when user ensures non-nullJakob Bornecrantz
2010-04-27dri_util: Assume error checking is done properly in glXMakeCurrentJakob Bornecrantz
In short what the code did before: __DRIscreen *psp = NULL; if (pcp) psp = pcp->psb; assert(psp); if (psp->stuff) other_stuff(); return psb->even_more(pcp); Remove all that stupid checking which still segfaults/asserts later on and just do what we do in driUnbindContext. Also limited testing show libGL never call driUnbindContext or driBindContext with cPriv == NULL.
2010-04-27st/dri: Use flush function of old context not newJakob Bornecrantz
2010-04-27r300g: fix mipmapped texture3D size calculationMarek Olšák
I accidentally inverted the condition. :( Broken since the commit 2579fe4044012a552c8be222ffae76b48de13592. FDO bug #27851.
2010-04-27r300g: compensate for non-atomized emit_query_end in the CSMarek Olšák
And reserve a little more space just in case.
2010-04-27nvfx: Move src/gallium/drivers to beginning of SCons include path.Vinson Lee
libdrm-2.4.20 and earlier include the nouveau/nouveau_class.h header. A later version of libdrm will not ship this header. Mesa also has this header at src/gallium/drivers. The symbol NV34TCL_VTXFMT_TYPE_HALF is needed by nvfx_vbo.c. This symbol is not in the libdrm copy of the header but is in the Mesa copy of the header. This patch moves src/gallium/drivers to the beginning of the include paths such that when building on hosts with libdrm-2.4.20 or ealier the build uses the copy in Mesa.
2010-04-26mesa: start adding GL 3.1 signed normalized texture formatsBrian Paul
2010-04-27r300g: reserve CS space for index offsetMarek Olšák
This has caused CS overflow since the commit 671f1e1229877d459cfd76e2cf5ea89c8d881036. TA3D works here again.
2010-04-26llvmpipe: Remove unused variable.Vinson Lee
2010-04-27r300g: add support for more unaligned vertex formatsMarek Olšák
An aligned stride is still needed for it to work. I am slowly approaching the Sauerbraten milestone!
2010-04-27r300g: setup PSC first, then align vertex formatsMarek Olšák
This allows us to put correct swizzles for undefined components in PSC.
2010-04-27r300g: set undefined vertex swizzles to (0,0,0,1) respectivelyMarek Olšák
2010-04-26draw/llvm: implement fetch elts pathsZack Rusin
we were only running the llvm paths when the input elts were linear, now we can handle abritrary fetch elts arrays. we do this by generating two paths - linear and fetch_elts one and just selecting the right one at run time.
2010-04-26r600: add support for more rendering formatsAlex Deucher
2010-04-26r300g: disable point sprites (again)Marek Olšák
They cause lockups. The users doesn't seem to like them.
2010-04-26r300g: fix warnings when printing uint64_tMarek Olšák
Though not nice, this is the correct way.
2010-04-26r300g: fix warnings by using the const qualifierMarek Olšák
See also the libdrm commit af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.
2010-04-26r300g: use CS_OUT_TABLE betterMatt Turner
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-04-26r600: avoid setting invalid bit on r7xx for blitsAlex Deucher
2010-04-26gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOPAlan Hourihane
2010-04-26draw: Always use the llvm middle end when available & enabled.José Fonseca
2010-04-26svga: Pass-through max_index to translate.José Fonseca
2010-04-26draw: Pass-through pipe_buffer::max_index to translate.José Fonseca
max_index must be observed to prevent crashes due to bad index data. I've been using this patch for some time without regressions. Some places, where we use internal vertex buffer, it is not entirely clear what max_index should be, so passing just ~0 to avoid regressions for now.
2010-04-26translate: Take and respect a max_index argument.José Fonseca
2010-04-26r300g: Rudimentary stats, printed on exit.Corbin Simpson
Whoo!
2010-04-26r300g: Add stats debug flag.Corbin Simpson
2010-04-26r600: enable VERT_RESULT_PSIZ - makes point size & attenuation workAndre Maasikas
doc additions: shader export ARRAY_BASE for EXPORT_POS: 60 is position, 61 is misc vec(VS_OUT_MISC_VEC - used here), 62, 63 are clip distance vectors(VS_OUT_CCDIST#) sorry for formating - there seem to be so many different styles in r600
2010-04-26r600: adjust point sprites after 911fa4a4a1Andre Maasikas
there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i]
2010-04-26os: Check for spurious wakeups in pipe_barrier_wait.Vinson Lee
The POSIX function pthread_cond_wait can have spurious wakeups when waiting on a condition variable. Add a 64-bit counter that is incremented whenever the barrier becomes full. A woken thread checks the counter. If the counter has not changed then it has been spuriously woken and goes back to sleep. If the counter has changed then it was properly signaled and exits the barrier. Tested on Mac OS X. This patch was based on ideas from Luca Barbieri.