aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* [g3dvl] fix power_of_two buffer with/height handlingChristian König2011-03-201-2/+8
|
* Merge remote branch 'origin/master' into pipe-videoChristian König2011-03-1938-212/+171
|\ | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_asm.c src/gallium/tests/unit/SConscript
| * st/dri: fix warning: ‘bind’ may be used uninitialized in this functionMarek Olšák2011-03-121-1/+1
| |
| * st/python: Remove flags from flush function.Vinson Lee2011-03-111-1/+1
| |
| * st/python: Remove the geom_flags param from is_format_supported.Vinson Lee2011-03-111-4/+2
| |
| * st/python: Clean up fence_finish.Vinson Lee2011-03-111-1/+1
| |
| * gallium: remove flags from the flush functionMarek Olšák2011-03-1115-41/+28
| | | | | | | | | | | | | | | | | | | | The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement.
| * gallium: remove the geom_flags param from is_format_supportedMarek Olšák2011-03-1115-49/+46
| |
| * gallium: cleanup fence_signalled and fence_finishMarek Olšák2011-03-118-9/+9
| | | | | | | | So that they don't have the driver-specific param and return type.
| * gallium: kill is_resource_referencedMarek Olšák2011-03-112-20/+0
| | | | | | | | Only st/xorg used it and even incorrectly with regards to pipelined transfers.
| * swrastg: Add __DRI_TEX_BUFFER supportAdam Jackson2011-03-111-0/+1
| | | | | | | | | | | | | | Without this, EXT_texture_from_pixmap is trivially broken. With it, it's merely subtly broken. Signed-off-by: Adam Jackson <[email protected]>
| * vega: remove unused pipe varBrian Paul2011-03-111-1/+0
| |
| * st/vega: remove unnecessary flushesMarek Olšák2011-03-113-14/+0
| | | | | | | | I don't see a reason we need them.
| * wgl: Force framebuffer validation on glViewport.José Fonseca2011-03-091-1/+13
| |
| * st/python: Add timeout parameter to fence_finish.Vinson Lee2011-03-081-1/+1
| | | | | | | | | | | | This is a follow-up to commit b39bccbd4ed71e9585da4cf5acf7b887b2e90899. Fixes Linux SCons build.
| * gallium: add timeout parameter to fence_finishMarek Olšák2011-03-088-9/+15
| | | | | | | | | | This is a follow-up to the ARB_sync patch for st/mesa and completes the ARB_sync implementation.
| * st/glx: whitespace, 80-column fixesBrian Paul2011-03-071-35/+50
| |
| * st/wgl: No need to initialize OneTimeLock anymore.José Fonseca2011-03-061-6/+0
| |
* | vdpau: fix formating and idention of surface.cChristian König2011-03-191-127/+112
| |
* | vdpau: make indention and formating more saneChristian König2011-03-1911-658/+615
| |
* | vdpau: merge fixes for vdpau state trackerChristian König2011-03-192-59/+62
| |
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-03-051-1/+1
|\|
| * egl/wayland: Move wayland-egl into a subdirBenjamin Franzke2011-03-041-1/+1
| | | | | | | | | | This hopefully fixes wayland-egl's dependency resolution for autogenerated wayland-drm headers.
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-03-0316-28/+259
|\|
| * egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke2011-03-012-0/+2
| |
| * st/egl: Implement swapbuffer throttlingThomas Hellstrom2011-03-013-4/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When doing copy swapbuffers using drm, throttle on outstanding copy operations. Introduces a new environment variable, EGL_THROTTLE_FENCES that the user can use to indicate the desired number of outstanding swapbuffers, or disable throttling using EGL_THROTTLE_FENCES=0. This can and perhaps should be extended to the pageflip case as well, since with some hardware pageflips can be pipelined. In case the pageflip syncs, the throttle operation will be a no-op anyway. Update copyright notices. Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/egl/drm: Rework swapbuffersThomas Hellstrom2011-03-012-7/+32
| | | | | | | | | | | | | | | | Use the pageflip ioctl when available. Otherwise, or when the backbuffer contents need to be preserved, fall back to a copy operation. Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/egl: Add a helper to perform a copy swap on a resource surfaceThomas Hellstrom2011-03-012-0/+45
| | | | | | | | | | | | | | The copy swap can be used when we need to preserve the contents of the back buffer or when there is no way to do native page-flipping. Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/egl: Move the copy context to the native display structureThomas Hellstrom2011-03-019-20/+39
| | | | | | | | | | | | | | | | This makes it usable also for native helpers. Also add inline functions to access the context and to uninit the native display structure. Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/dri: one more missing array sizeDave Airlie2011-03-011-0/+1
| | | | | | | | | | | | whats one more between friends. again bnf on irc.
| * st/dri: fix missing array size init.Dave Airlie2011-03-011-0/+1
| | | | | | | | | | | | Init array size to 1, reported by bnf on irc.
| * egl/st: add array size initialisorDave Airlie2011-03-011-0/+1
| | | | | | | | reported by bnf on irc.
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-02-2447-277/+1488
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript src/gallium/drivers/r600/r600_asm.c src/gallium/drivers/r600/r600_asm.h src/gallium/drivers/r600/r600_shader.c src/gallium/drivers/r600/r600_state_inlines.h src/gallium/drivers/r600/r600_texture.c
| * st/dri: Track drawable context bindingsJakob Bornecrantz2011-02-204-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needs to track this ourself since because we get into a race condition with the dri_util.c code on make current when rendering to the front buffer. This is what happens: Old context is rendering to the front buffer. App calls MakeCurrent with a new context. dri_util.c sets drawable->driContextPriv to the new context and then calls the driver make current. st/dri make current flushes the old context, which calls back into st/dri via the flush frontbuffer hook. st/dri calls dri loader flush frontbuffer, which calls invalidate buffer on the drawable into st/dri. This is where things gets wrong. st/dri grabs the context from the dri drawable (which now points to the new context) and calls invalidate framebuffer to the new context which has not yet set the new drawable as its framebuffers since we have not called make current yet, it asserts.
| * st/python: add usage parameter to pipe_buffer_createVinson Lee2011-02-152-2/+3
| | | | | | | | | | | | This is a follow-up to commit eafb7f234d11a290b00dcaf5492b9bdad1cf5148. Fixes Linux SCons build.
| * gallium: add usage parameter to pipe_buffer_createMarek Olšák2011-02-153-2/+6
| | | | | | | | | | And set a reasonable buffer usage flag everywhere instead of just PIPE_USAGE_DEFAULT.
| * st/python: remove pipe_vertex_buffer::max_indexVinson Lee2011-02-141-3/+0
| | | | | | | | This is a follow-up to commit cdca3c58aa2d9549f5188910e2a77b438516714f.
| * gallium: remove pipe_vertex_buffer::max_indexMarek Olšák2011-02-143-4/+0
| | | | | | | | | | This is redundant to pipe_draw_info::max_index and doesn't really fit in the optimizations I plan.
| * gallium: always save and restore vertex buffers using cso_cacheMarek Olšák2011-02-142-4/+4
| |
| * st/egl wayland: Sync front buffer releaseBenjamin Franzke2011-02-102-1/+33
| |
| * st/dri: Set render_buffer in dri_fill_st_visualBenjamin Franzke2011-02-101-2/+4
| | | | | | | | | | st/mesa/st_managaer.c needs render_buffer in order to determinde which buffer should be rendered to.
| * st/dri: img_from_renderbuf: Fix incorrect usage of dri_context()Benjamin Franzke2011-02-101-1/+1
| |
| * st/dri: Fix surfaceless gl using contexts with previous bound surfacesBenjamin Franzke2011-02-101-2/+6
| | | | | | | | | | | | | | | | | | | | | | ctx->dPriv might be != NULL then draw which is NULL is accessed: struct dri_drawable *draw = dri_drawable(driDrawPriv); [..] if (ctx->dPriv != driDrawPriv) { ctx->dPriv = driDrawPriv; draw->texture_stamp = driDrawPriv->lastStamp - 1; }
| * st/egl wayland: Set color_format according to wl_visualBenjamin Franzke2011-02-101-5/+6
| |
| * st/egl: Fix platform selectionBenjamin Franzke2011-02-081-0/+1
| | | | | | | | | | A break for case _EGL_PLATFORM_X11 is missing. introduced by: 381ea0d67a6d84a34d23571c49bbf4339ffda364
| * st/egl: Add wayland platformBenjamin Franzke2011-02-075-0/+715
| |
| * st/egl: drm_image: Check for MESA_drm_imageBenjamin Franzke2011-02-071-2/+2
| | | | | | | | | | MESA_drm_image isnt limited to drm platform, others can enable the extension too.
| * st/egl: native_helper: Add resource_surface_import_resourceBenjamin Franzke2011-02-072-0/+13
| |
| * st/dri: Implement dri2::{Allocate,Release}BufferBenjamin Franzke2011-02-072-0/+111
| |
| * st/vega: Disable blending when the paint is opaque.Chia-I Wu2011-01-308-5/+37
| | | | | | | | | | | | | | When the paint is opaque (currently, solid color with alpha 1.0f), no blending is needed for VG_BLEND_SRC_OVER. This eliminates the serious performance hit introduced by 859106f196ade77f59f8787b071739901cd1a843 for a common scenario.