summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
AgeCommit message (Collapse)Author
2010-03-09Merge branch 'gallium-vertexelementcso'Roland Scheidegger
Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_draw_upload.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state_derived.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_clear.c
2010-03-09gallium: don't use flexible array members in drivers for vertex elements csoRoland Scheidegger
While this c99 feature should work with most compilers, valgrind doesn't really like it, and this only really saves some memory, we don't do this in similar occasions (like the blend state) neither.
2010-03-09Squashed commit of gallium-no-texture-blanketKeith Whitwell
commit f90b3f01af82b9522067b1824e21709a6fb2d3af Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:39:44 2010 +0000 gallium: remove p_screen::surface_buffer_create This isn't very useful without texture_blanket(), which has also been removed. Note that this function hasn't been removed from the old pipe_winsys (u_simple_screen) still used internally by some drivers (eg softpipe). commit 6c462de39a4b9980a5f034a95e580efdfcb8173b Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:27:40 2010 +0000 egl/x11: disable texture_blanket usage commit b42da9160df9f47224e5b3291b972f41767aa6e5 Merge: 4be2436 3ca9336 Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:27:24 2010 +0000 Merge commit 'origin/master' into gallium-no-texture-blanket Conflicts: src/gallium/drivers/svga/svga_screen_texture.c commit 4be2436316929e3dfc55bc34d810920c06556b66 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 4 14:59:26 2010 +0000 gallium: remove texture blanket call No longer needed, except for nouveau and egl/xll/native_ximage.c. Fix for nouveau is to keep the call, but move it to an internal function within nouveau. Fix for that egl/x11 relies on gallium-sw-api branch or its successor. commit 69b6764330367d63c237d0bde9fb96435d0e0257 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 4 13:35:16 2010 +0000 drm_api: wrap comment
2010-03-09llvmpipe: quads never provoke the first vertexMarek Olšák
2010-03-08llvmpipe/gallivm: checkpoint: array of pointers to mipmap levelsBrian Paul
Change the texture data_ptr from just a single image pointer to an array of image pointers, indexed by mipmap level. We'll use this for mipmap filtering. For now, the mipmap level is hard-coded to zero.
2010-03-08llvmpipe: define max texture levelsBrian Paul
2010-03-08llvmpipe: rewrap for 80 columnsBrian Paul
2010-03-08Merge commit 'origin/gallium-winsys-handle-rebased'Keith Whitwell
2010-03-05llvmpipe: added code to set texture depth, max mipmap levels infoBrian Paul
2010-03-05llvmpipe: add pipe_thread_wait() callsBrian Paul
Wait for threads to exit before cleaning up per-thread data. Fixes hang on context destruction with glean makeCurrent test. See fd.o bug 26536.
2010-03-04llvmpipe: new commentBrian Paul
2010-03-03llvmpipe: Store the original triangle coordinates in the debug build.José Fonseca
For debugging purposes only.
2010-03-03llvmpipe: Ensure context is flushed when destroying shaders.José Fonseca
2010-03-03llvmpipe: Linux is no longer a dependency. Llvmpipe builds and runs fine on ↵José Fonseca
windows too.
2010-03-03llvmpipe: Centralize LLVM initialization.José Fonseca
2010-03-03llvmpipe: Update for lp_bld_init.h rename.José Fonseca
2010-03-02Merge branch 'gallium-format-cleanup'José Fonseca
2010-03-02llvmpipe: remove some ifdefsKeith Whitwell
No longer any need to protect expensive asserts with #ifdef DEBUG.
2010-03-02llvmpipe: reorganize transfer usageKeith Whitwell
Move transfer creation and mapping to the "scene" object, and out of the rasterizer. The rasterizer operates on already-mapped framebuffers only, and no longer needs a screen or context pointer. The scene object has access to a pipe_context, and this reorg prepares for moving transfer functionality from the screen to the context.
2010-03-01llvmpipe: Rename pipe formats.José Fonseca
2010-03-01llvmpipe: adapt to new vertex element csoRoland Scheidegger
2010-03-01gallium: Reorg texture usage flagsJakob Bornecrantz
Introduce a new shared usage and rename primary to scanout. The display target usage is more of a windows concept and doesn't mean the same thing as shared. Display target means that the surface should be presentable, for softpipe this means that it should be backed by a hardware buffer.
2010-03-01llvmpipe: Don't mention deprecated drivers=trace option.José Fonseca
Now trace always built.
2010-02-26util: Code generate functions to pack and unpack a single pixel.José Fonseca
Should work correctly for all pixel formats except SRGB formats. Generated code made much simpler by defining the pixel format as a C structure. For example this is the generated structure for PIPE_FORMAT_B6UG5SR5S_NORM: union util_format_b6ug5sr5s_norm { uint16_t value; struct { int r:5; int g:5; unsigned b:6; } chan; }; Not used everywhere yet because it seems compiled code is slower than bitshift arithmetic by some misterious reason. So we should generate bitshift arithmetic at least for the simple UNORM pixel formats.
2010-02-26util: Factor some code into u_format_parse.pyJosé Fonseca
2010-02-26util: Use python names consistent with u_format.hJosé Fonseca
2010-02-26llvmpipe: Fix lp_tile_r5g6b5_unorm_write_4ub.José Fonseca
Was using 32bit integer pointers instead of 16bits.
2010-02-26llvmpipe: Fix scons dependencies.José Fonseca
2010-02-24llvmpipe: clean up rasterization threads upon context destructionBrian Paul
Fixes glean hang, bug 26536.
2010-02-24llvmpipe: more lp_rasterizer_task parameter passingBrian Paul
2010-02-24llvmpipe: pass fewer parameters to rasterization functionsBrian Paul
2010-02-24llvmpipe: added some assertionsBrian Paul
2010-02-24llvmpipe: SRGB textures not supported yetBrian Paul
2010-02-24llvmpipe: vertex shader textures not supported yetBrian Paul
2010-02-24llvmpipe: Update for UTIL_FORMAT_LAYOUT_xxx changes.José Fonseca
2010-02-24llvmpipe: Fix breakeage.José Fonseca
Due to the u_format.csv changes the unrolled code generator was being used for formats it didn't support. Bring some bugfixes from u_format_access.py too.
2010-02-24llvmpipe: Handle correctly 24bit formats.José Fonseca
2010-02-24llvmpipe: Kill unused UTIL_FORMAT_LAYOUT_SCALAR.José Fonseca
2010-02-23llvmpipe: add lp_tile_image.c to sourcesBrian Paul
2010-02-23llvmpipe: whole image tile/untile functionsBrian Paul
2010-02-23llvmpipe: remove Z16 format override hackBrian Paul
2010-02-23llvmpipe: Z16 format is not supportedBrian Paul
2010-02-23llvmpipe: added assertions to verify that scene is emptyBrian Paul
2010-02-23llvmpipe: added some assertionsBrian Paul
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-14llvmpipe: Silence unused value warning.Vinson Lee
2010-02-14llvmpipe: s/debug_dump_/util_dump_/José Fonseca
2010-02-14llvmpipe: Use util_format_name().José Fonseca
2010-02-13llvmpipe: Silence uninitialized variable warning.Vinson Lee