summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* Move the remaining format pf_get_* functions to u_format.h.Michal Krol2009-12-172-9/+10
| | | | | Previously they depended on format blocks, but after removing those they started depending on format encoding.
* Merge branch 'master' into pipe-format-simplifyMichal Krol2009-12-1731-263/+292
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/auxiliary/draw/draw_pipe_pstipple.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/cell/ppu/cell_texture.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_tile_cache.c src/gallium/drivers/svga/svga_state_vs.c src/gallium/include/pipe/p_format.h src/gallium/state_trackers/dri/dri_drawable.c src/gallium/state_trackers/egl/egl_surface.c src/gallium/state_trackers/python/p_device.i src/gallium/state_trackers/python/st_softpipe_winsys.c src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/image.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/vg_tracker.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_buffer.c src/gallium/winsys/egl_xlib/sw_winsys.c src/gallium/winsys/g3dvl/xlib/xsp_winsys.c src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c src/gallium/winsys/gdi/gdi_softpipe_winsys.c src/gallium/winsys/xlib/xlib_cell.c src/gallium/winsys/xlib/xlib_llvmpipe.c src/gallium/winsys/xlib/xlib_softpipe.c src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_texture.c
| * Merge branch 'mesa_7_7_branch'Brian Paul2009-12-114-68/+86
| |\ | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c
| | * st/xorg: fix yv12 plus some cleanups in the upload codeZack Rusin2009-12-101-57/+70
| | |
| | * st/xorg: enable yv12 for xvZack Rusin2009-12-101-1/+4
| | |
| | * st/xorg: Add enter/leave vt hooks for winsysJakob Bornecrantz2009-12-042-0/+8
| | |
| | * st/xorg: Fix leave enter vt cycle in crtc codeJakob Bornecrantz2009-12-041-4/+3
| | |
| | * st/xorg: New libkms destroy apiJakob Bornecrantz2009-12-042-7/+5
| | |
| * | Merge branch 'gallium-strict-aliasing'Roland Scheidegger2009-12-082-55/+138
| |\ \
| | * | gallium: fix more potential strict aliasing issuesRoland Scheidegger2009-12-081-54/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, gcc man page warns that union a_union { int i; double d; }; int f() { double d = 3.0; return ((union a_union *) &d)->i; } "might" not be ok (why not?), even though it doesn't seem to generate any warnings. Hence don't use this and do the extra step to actually use assignment to get the values in/out of the union. This changes parts of 3456f9149b3009fcfce80054759d05883d3c4ee5.
| | * | gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safeRoland Scheidegger2009-12-071-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use pointer to union instead of void pointer. gcc complained a lot, depending what the pointer originally actually was. Looks like it's in fact maybe legal to cast for instance uint pointers to union pointers as long as union contains a uint type, hence use this with some callers, other just use union util_color in the first place.
| | * | gallium: fix remaining users of pipe_reference functionRoland Scheidegger2009-12-031-1/+2
| | | |
| * | | st/xvmc: No more pf_get_block().Younes Manton2009-12-051-6/+5
| | | |
| * | | vega: fix missing includeRoland Scheidegger2009-12-041-0/+1
| | | |
| * | | Merge branch 'gallium-noblocks'Roland Scheidegger2009-12-0424-97/+38
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
| | * | | fixups for interface changes (mostly state trackers)Roland Scheidegger2009-11-3024-97/+38
| | | | |
| * | | | Merge branch 'mesa_7_7_branch'Jakob Bornecrantz2009-12-025-38/+21
| |\ \ \ \ | | |_|/ / | |/| | / | | | |/ | | |/|
| | * | st/xorg: Create winsys hooks that we call intoJakob Bornecrantz2009-12-012-0/+11
| | | |
| | * | wgl: Call st_swapbuffers instead of st_notify_swapbuffers.José Fonseca2009-12-023-38/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will get single buffer, double buffer, and joint single/double buffer (typical in CAD applications) done right, at least as far as the frambuffer is concerned. There are still problems with multiple contexts using the same framebuffer because st_framebuffer_* calls assume the framebuffer is bound to a single context.
* | | | Remove remaining pipe format utility functions.Michal Krol2009-12-082-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2(). Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values: UNKNOWN = TYPE_VOID UNORM = TYPE_UNSIGNED + LAYOUT_ARITH SNORM = TYPE_SIGNED + LAYOUT_ARITH FIXED = TYPE_FIXED FLOAT = TYPE_FLOAT USCALED = TYPE_UNSIGNED + LAYOUT_ARRAY SSCALED = TYPE_SIGNED + LAYOUT_ARRAY SRGB = TYPE_COLORSPACE_SRGB
* | | | Move pf_get_component_bits() to u_format auxiliary module.Michal Krol2009-12-033-9/+11
| | | |
* | | | Move pf_get_block() to u_format auxiliary module.Michal Krol2009-12-0316-17/+31
| | | |
* | | | Move pf_is_depth_stencil() to u_format auxiliary module.Michal Krol2009-12-032-2/+3
|/ / /
* | | st/xorg: fix merge droppingsKeith Whitwell2009-12-012-68/+0
| | | | | | | | | | | | These were stranded in emacs and not saved before committing.
* | | Merge commit 'origin/tgsi-simplify-ext'Keith Whitwell2009-12-0161-77/+77
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_vs.c
| * | | vega: Update shader headers.Michal Krol2009-11-273-14/+14
| | | | | | | | | | | | | | | | Drop the 1.1 version suffix.
| * | | python/tests: Update shader headers.Michal Krol2009-11-2758-63/+63
| | | | | | | | | | | | | | | | Drop the 1.1 version suffix.
* | | | Merge commit 'origin/mesa_7_7_branch'Keith Whitwell2009-12-0114-701/+951
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/svga/svga_screen_texture.c src/gallium/state_trackers/xorg/xorg_composite.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/main/texgetimage.c src/mesa/main/version.h
| * | | st/xorg: proper fix for compositing after rounding upKeith Whitwell2009-11-276-21/+65
| | | | | | | | | | | | | | | | | | | | | | | | Basically don't round up shared textures. This fixes compiz, but I'm afraid that rounding up texture sizes here in the driver is doomed, as it will inevitably break texture wrap modes.
| * | | Revert "st/xorg: fix composite after texture size changes"Keith Whitwell2009-11-272-38/+10
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 124ae596806f1a77af46f1f0e446d448da6e953a. Pushed by mistake
| * | | st/xorg: fix composite after texture size changesKeith Whitwell2009-11-272-10/+38
| | | |
| * | | wgl: Fix copy'n'paste typo in comment.José Fonseca2009-11-271-1/+1
| | | |
| * | | st/xorg: speculatively round textures up to nearest POTKeith Whitwell2009-11-271-0/+18
| | | | | | | | | | | | | | | | | | | | I'm not sure if this is a great change, but helps with caching. Probably we want to turn this on/off on a driver-by-driver basis.
| * | | st/xorg: free last fenceKeith Whitwell2009-11-271-0/+4
| | | |
| * | | st/xorg: Use pipe clear hook for solid fills of whole pixmaps.Michel Dänzer2009-11-261-0/+6
| | | | | | | | | | | | | | | | Can give a little boost e.g. for anti-aliased text rendering.
| * | | st/xorg: Make sure DRI2 blits use GPU copy contents even for software fallback.Michel Dänzer2009-11-261-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes 3D apps not updating with a non-GL compositing manager and Option "2DAccel" "off". Also clean up a little pixmap vs. drawable mess.
| * | | st/xorg: fix refcounting bugs introduced in earlier commitKeith Whitwell2009-11-262-0/+5
| | | |
| * | | st/xorg: formattingKeith Whitwell2009-11-261-9/+9
| | | | | | | | | | | | | | | | This directory needs indent run over it.
| * | | st/xorg: remove debugging flushKeith Whitwell2009-11-261-1/+0
| | | | | | | | | | | | | | | | | | | | Accidentally committed in 7fbdbad5c02e3d5bfbf0e641e2aec224e39fa974 ('st/xorg: consolidate some dest surface state setting')
| * | | st/xorg: render throttling in block handlerKeith Whitwell2009-11-263-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to the classic swapbuffer throttling in GL drivers, put an upper bound on the number of outstanding chunks of rendering the state tracker can generate -- where calling the block handler denotes a chunk. Currently that number is set at around 4 "chunks", but could be tweaked up or down. If a better measure for the amount of outstanding rendering is found, that would be fine too. As it stands, this improves interactivity by preventing the X server from queueing up arbitary amounts of rendering.
| * | | st/xorg: split copy operation into prepare/copy/done phasesKeith Whitwell2009-11-265-128/+102
| | | | | | | | | | | | | | | | Any high-overhead one-off tasks are moved into the prepare hook.
| * | | st/xorg: don't set up constant buffer for non-xv fragment shadersKeith Whitwell2009-11-262-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | These currently don't reference any constants. Can add this back if newer shaders need them, but in the meantime don't create a new constant buffer every time we do a blit.
| * | | st/xorg: split up shared Done callKeith Whitwell2009-11-263-53/+99
| | | | | | | | | | | | | | | | | | | | | | | | The two users of composite (Composite and Solid) now call a new xorg_composite_done() from their Done functions, while CopyDone is directly implemented on top of xorg_renderer.c.
| * | | st/xorg: set up rasterizer state in initKeith Whitwell2009-11-263-17/+8
| | | |
| * | | st/xorg: remove redundant clipping codeKeith Whitwell2009-11-261-120/+0
| | | |
| * | | st/xorg: don't bother with cso save and restore in copy funcKeith Whitwell2009-11-261-19/+0
| | | |
| * | | st/xorg: consolidate some dest surface state settingKeith Whitwell2009-11-265-105/+50
| | | |
| * | | st/xorg: Pass mode types from the kernel to XJakob Bornecrantz2009-11-241-1/+5
| | | |
| * | | st/xorg: Add libkms integrationJakob Bornecrantz2009-11-244-122/+353
| | | |
| * | | st/xorg: Touch up xorg_crtc.cJakob Bornecrantz2009-11-241-0/+6
| | | |