summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: fix loop over mipmap levelsBrian Paul2010-03-101-1/+1
|
* Merge commit 'origin/master' into gallium-sw-api-2Keith Whitwell2010-03-104-17/+43
|\
| * llvmpipe: Cope with null Vertex element cso.José Fonseca2010-03-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | CSO can often be null. For example: 1. at initialization 2. using an util module (u_blit) right after initialization (it will push state and pop the previous null state) 3. at shutdown time (state shouldn't be bound when being destroyed) Glean was hitting 2.
| * Merge branch 'gallium-vertexelementcso'Roland Scheidegger2010-03-094-17/+42
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * gallium: don't use flexible array members in drivers for vertex elements csoRoland Scheidegger2010-03-092-2/+2
| | | | | | | | | | | | | | | | | | 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.
| | * llvmpipe: adapt to new vertex element csoRoland Scheidegger2010-03-014-17/+42
| | |
* | | ws/xlib: remove self-knowledge about users of xlib winsysKeith Whitwell2010-03-093-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Several software rasterizers can make use of this winsys, but there isn't any reason why the winsys itself should know about them. This change moves that information into the libgl-xlib target. Need to fix up other targets making use of this winsys.
* | | Merge commit 'origin/master' into gallium-sw-api-2Keith Whitwell2010-03-099-174/+119
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_winsys.h src/gallium/state_trackers/egl/common/egl_g3d.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/egl/x11/native_ximage.c
| * | Squashed commit of gallium-no-texture-blanketKeith Whitwell2010-03-092-51/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f90b3f01af82b9522067b1824e21709a6fb2d3af Author: Keith Whitwell <[email protected]> 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 <[email protected]> Date: Mon Mar 8 14:27:40 2010 +0000 egl/x11: disable texture_blanket usage commit b42da9160df9f47224e5b3291b972f41767aa6e5 Merge: 4be2436 3ca9336 Author: Keith Whitwell <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Thu Mar 4 13:35:16 2010 +0000 drm_api: wrap comment
| * | llvmpipe: quads never provoke the first vertexMarek Olšák2010-03-091-93/+36
| | |
| * | llvmpipe/gallivm: checkpoint: array of pointers to mipmap levelsBrian Paul2010-03-084-17/+33
| | | | | | | | | | | | | | | | | | | | | 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.
| * | llvmpipe: define max texture levelsBrian Paul2010-03-082-5/+9
| | |
| * | llvmpipe: rewrap for 80 columnsBrian Paul2010-03-081-9/+13
| | |
| * | Merge commit 'origin/gallium-winsys-handle-rebased'Keith Whitwell2010-03-081-1/+2
| |\ \
| | * | gallium: Reorg texture usage flagsJakob Bornecrantz2010-03-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | llvmpipe: added code to set texture depth, max mipmap levels infoBrian Paul2010-03-054-5/+23
| | | |
| * | | llvmpipe: add pipe_thread_wait() callsBrian Paul2010-03-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | llvmpipe: new commentBrian Paul2010-03-041-0/+4
| | | |
* | | | gallium: fix llvmpipe after winsys moveKeith Whitwell2010-03-045-4/+8
| | | |
* | | | softpipe: rework to use the llvmpipe winsysKeith Whitwell2010-03-046-138/+14
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Promote the llvmpipe winsys more or less unchanged to state_trackers/sw_winsys.h. Some minor breakages: - softpipe::texture_blanket is broken, but scheduled for removal anyway. - haven't fixed up g3vdl yet.
* | | llvmpipe: Store the original triangle coordinates in the debug build.José Fonseca2010-03-032-0/+13
| | | | | | | | | | | | For debugging purposes only.
* | | llvmpipe: Ensure context is flushed when destroying shaders.José Fonseca2010-03-031-0/+7
| | |
* | | llvmpipe: Linux is no longer a dependency. Llvmpipe builds and runs fine on ↵José Fonseca2010-03-031-2/+0
| | | | | | | | | | | | windows too.
* | | llvmpipe: Centralize LLVM initialization.José Fonseca2010-03-032-4/+3
| | |
* | | llvmpipe: Update for lp_bld_init.h rename.José Fonseca2010-03-031-1/+1
| | |
* | | Merge branch 'gallium-format-cleanup'José Fonseca2010-03-021-24/+24
|\ \ \
| * | | llvmpipe: Rename pipe formats.José Fonseca2010-03-011-24/+24
| |/ /
* | | llvmpipe: remove some ifdefsKeith Whitwell2010-03-021-5/+0
| | | | | | | | | | | | No longer any need to protect expensive asserts with #ifdef DEBUG.
* | | llvmpipe: reorganize transfer usageKeith Whitwell2010-03-028-324/+379
|/ / | | | | | | | | | | | | | | | | 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.
* | llvmpipe: Don't mention deprecated drivers=trace option.José Fonseca2010-03-011-2/+2
| | | | | | | | Now trace always built.
* | util: Code generate functions to pack and unpack a single pixel.José Fonseca2010-02-262-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | util: Factor some code into u_format_parse.pyJosé Fonseca2010-02-261-2/+2
| |
* | util: Use python names consistent with u_format.hJosé Fonseca2010-02-261-35/+35
| |
* | llvmpipe: Fix lp_tile_r5g6b5_unorm_write_4ub.José Fonseca2010-02-261-1/+2
| | | | | | | | Was using 32bit integer pointers instead of 16bits.
* | llvmpipe: Fix scons dependencies.José Fonseca2010-02-261-0/+6
| |
* | llvmpipe: clean up rasterization threads upon context destructionBrian Paul2010-02-242-0/+18
| | | | | | | | Fixes glean hang, bug 26536.
* | llvmpipe: more lp_rasterizer_task parameter passingBrian Paul2010-02-244-114/+89
| |
* | llvmpipe: pass fewer parameters to rasterization functionsBrian Paul2010-02-243-15/+9
| |
* | llvmpipe: added some assertionsBrian Paul2010-02-241-0/+5
| |
* | llvmpipe: SRGB textures not supported yetBrian Paul2010-02-241-1/+0
| |
* | llvmpipe: vertex shader textures not supported yetBrian Paul2010-02-241-1/+1
| |
* | llvmpipe: Update for UTIL_FORMAT_LAYOUT_xxx changes.José Fonseca2010-02-242-7/+5
| |
* | llvmpipe: Fix breakeage.José Fonseca2010-02-241-24/+13
| | | | | | | | | | | | | | 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.
* | llvmpipe: Handle correctly 24bit formats.José Fonseca2010-02-241-44/+46
| |
* | llvmpipe: Kill unused UTIL_FORMAT_LAYOUT_SCALAR.José Fonseca2010-02-241-4/+2
| |
* | llvmpipe: add lp_tile_image.c to sourcesBrian Paul2010-02-232-0/+2
| |
* | llvmpipe: whole image tile/untile functionsBrian Paul2010-02-232-0/+183
| |
* | llvmpipe: remove Z16 format override hackBrian Paul2010-02-231-6/+0
| |
* | llvmpipe: Z16 format is not supportedBrian Paul2010-02-231-0/+4
| |
* | llvmpipe: added assertions to verify that scene is emptyBrian Paul2010-02-232-0/+5
| |