summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-03-08gallivm: fix a crash by making sure we set the has_mask flag correctlyZack Rusin
2010-03-08gallium: remove xlib_driver::display_surfaceKeith Whitwell
Just use flush_frontbuffer directly. The flush_frontbuffer routine has been somewhat devalued recently, but it is actually just the right interface for our needs. It is in pipe_screen, meaning that any wrapping (eg trace module) will get properly unwrapped before we try and use the pipe_surface argument for real. If a particular co-state-tracker needs to implement this itself, it should organize a way to allow the winsys to call back up to its level, rather than hijacking the driver-supplied implementation.
2010-03-08gallium: make it workKeith Whitwell
2010-03-08gallium: introduce target directoryKeith Whitwell
Currently there are still at least two functions bundled up inside the winsys concept: a) that of a backend resource manager, sometimes capable of performing present() operations, b) the initialization code/routine for the whole driver stack. The inclusion of (b) makes it difficult to share implementations of (a) between different drivers. For instance, a clean xlib winsys could be of use for software-rasterized VG, GLES, EGL, etc, stacks. But that is only true as long as there is no dependency from the winsys to higher level code, as would be the case when we include (b) in this component. This change creates a new gallium/targets subtree, specifically for implementing the glue needed to build individual driver stacks, and moves that code out of a single example winsys, namely xlib. Other drivers continue to build unchanged, but hopefully can migrate to this structure over time.
2010-03-08Merge branch '7.8'Brian Paul
2010-03-08softpipe: zero-out entire clear_flags array in sp_tile_cache_flush_clear()Brian Paul
Before, we only cleared the flags for the active tiles (the ones inside the framebuffer bound). The problem is if we later bound a different, larger surface to the tile cache we'd have some stale clear-flags still set (and mistakenly clear some tiles in the new surface). Fixes fd.o bug 26932.
2010-03-08ws/xlib: remove dead filesKeith Whitwell
2010-03-08ws/xlib: fixup softpipe buildKeith Whitwell
2010-03-08winsys/xlib: remove dependency on glx/x11 state trackerKeith Whitwell
Introduce xlib_drawable struct, pass this down to winsys instead of having it use the internal data structures from glx/x11
2010-03-08ws/xlib: remove redundant declarationsKeith Whitwell
2010-03-08winsys/xlib: sketch of cell supportKeith Whitwell
2010-03-08Merge commit 'origin/gallium-winsys-handle-rebased'Keith Whitwell
2010-03-08r300g: fix updating the tiling flags for the framebuffer stateMarek Olšák
2010-03-08r300g: remove unnecessary state emissions and clean upMarek Olšák
2010-03-08st/vega: Fix OpenVG demo segfaults.Chia-I Wu
When the paint is color, paint_bind_samplers binds a dummy sampler without a texture. It causes demos requiring a sampler (those use a mask or an image) to crash.
2010-03-07r300g: fix DRM errorsMarek Olšák
2010-03-07r300g: disable macrotiling when the texture height is smaller than a macrotileMarek Olšák
Otherwise incorrect rendering occurs (no idea why).
2010-03-07r300g: enable micro- and macrotiling for all textures and renderbuffersMarek Olšák
2010-03-07r300g: add ability to tile/detile textures using blit during transfersMarek Olšák
2010-03-07r300g: move r300_transfer to separate filesMarek Olšák
2010-03-06gallivm: Initialize variables for default cases.Vinson Lee
Fixes use of uninitialized variables in non-debug builds.
2010-03-07r300g: disable emitting the HWTCL-related state when SWTCL is in useMarek Olšák
Now SWTCL renders at least "something", we're close...
2010-03-07r300g: resurrect r300_emit_vertex_buffer for SWTCLMarek Olšák
Taken over from c9928ac3ee5dc0d10127388f9312779a6c59da7c.
2010-03-07r300g: validate buffers when using SWTCLMarek Olšák
2010-03-07r300g: share the VS-output-mapping state with SWTCLMarek Olšák
And associated cleanups.
2010-03-07r300g: abort if FS compilation fails on non-debug buildsMarek Olšák
2010-03-06r300g: minor cleanups after the no-rhw mergeMarek Olšák
2010-03-06r300g: clamp vertex max index according to currently bound buffersMarek Olšák
2010-03-06util: Use bitshift arithmetic to unpack pixels.José Fonseca
All test cases pass now.
2010-03-06util: Move the format tests cases here so that they can be easily shared.José Fonseca
2010-03-06util: Several fixes to clamping and test.José Fonseca
All tests pass here except util_format_b5g5r5a1_unorm_unpack_4ub, due to apparently a gcc 4.4.3 bug.
2010-03-06util: Fix the maximum value computation for SSCALED channels.José Fonseca
2010-03-06util: Add a new flag, for formats that can be described as a bitmask.José Fonseca
2010-03-06util: Add the shortened format name to the description.José Fonseca
2010-03-06gallivm: Add some notes about sampler static state construction.José Fonseca
Recover some logic to make state canonical, although it is admittedly very shy compared with what could be done. We really need an helper module to make state canonical.
2010-03-06gallivm: Answer question/comment.José Fonseca
This reverts commit 71c05689528d7987bfb99c3afe04e456887bc7b7.
2010-03-06gallivm: Add a placeholder for TGSI_FILE_PREDICATE registers.José Fonseca
2010-03-06gallivm: Integrate udis86 on scons builds.José Fonseca
2010-03-06gallivm: Generate valid IR for LLVM 2.7.José Fonseca
The signatures for pack intrinsics were made more consistent in this version.
2010-03-05gallivm: checkpoint: code gen for mipmap selectionBrian Paul
2010-03-05llvmpipe: added code to set texture depth, max mipmap levels infoBrian Paul
2010-03-05gallivm: added methods for getting texture depth, num mipmap levelsBrian Paul
2010-03-05gallivm: checkpoint: texture LOD computation code genBrian Paul
2010-03-05gallivm: added field for sampler lodBrian 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-05gallium/docs: document additional wrap mode restrictionsBrian Paul
2010-03-05gallivm: minor arithmetic improvementsBrian Paul
2010-03-05gallivm: implement non-normalized texture wrap modesBrian Paul
Note that only the PIPE_TEX_WRAP_CLAMP,CLAMP_TO_EDGE,CLAMP_TO_BORDER modes work with non-normalized texcoords.
2010-03-05softpipe: implement PIPE_TEX_WRAP_CLAMP_TO_EDGE for unorm texture samplingBrian Paul
CLAMP_TO_BORDER and CLAMP_TO_EDGE were doing the same thing.
2010-03-05nouveau: s/TEXTURE_USAGE_PRIMARY/TEXTURE_USAGE_SCANOUTChristoph Bumiller