summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2010-12-01st/vega: Delay fb state update to vg_validate_state.Chia-I Wu
vg_manager_validate_framebuffer should mark the fb dirty and have vg_validate_state call cso_set_framebuffer. Rename VIEWPORT_DIRTY to FRAMEBUFFER_DIRTY.
2010-12-01st/vega: Add POLYGON_STENCIL and POLYGON_FILL renderer state.Chia-I Wu
The states are designated for polygon filling. Polygon filling is a two-pass process utilizing the stencil buffer. polygon_fill and polygon_array_fill functions are updated to make use of the state.
2010-12-01st/vega: Use the renderer for vgMask.Chia-I Wu
vgMask renders to the alpha mask with special fragment shaders. The operation can be supported by switching the renderer to FILTER state.
2010-12-01st/vega: Add FILTER renderer state for image filtering.Chia-I Wu
The state is designated to perform image filtering. execute_filter is updated to make use of the state.
2010-12-01st/vega: Add CLEAR renderer state for vgClear.Chia-I Wu
This state provides the ability to clear rectangles of the framebuffer to the specified color, honoring scissoring. vegaClear is updated to make use of the state.
2010-12-01st/vega: Add SCISSOR renderer state.Chia-I Wu
The state can be used to set rectangles of the depth buffer to 0.0f. update_clip_state is changed to use the state for scissor update.
2010-12-01st/vega: Add DRAWTEX renderer state.Chia-I Wu
This state provides glDrawTex-like function. It can be used for vgSetPixels. Rather than modifying every user of the renderer, this commit instead modifies renderer_copy_surface to use DRAWTEX or COPY state internally depending on whether the destination is the framebuffer.
2010-12-01st/vega: Overhaul renderer with renderer states.Chia-I Wu
Renderer states are high-level states to perform specific tasks. The renderer is initially in INIT state. In that state, the renderer is used for OpenVG pipeline. This commit adds a new COPY state to the renderer. The state is used for copying between two pipe resources using textured drawing. It can be used for vgCopyImage, for example. Rather than modifying every user of the renderer, this commit instead modifies renderer_copy_texture to use the COPY state internally.
2010-11-30wgl: More complete WGL_ARB_pbuffer support.José Fonseca
2010-11-30wgl: Stub WGL_ARB_pbuffer support.José Fonseca
See http://www.opengl.org/registry/specs/ARB/wgl_pbuffer.txt
2010-11-25st/vega: Fix a typo in EXTENDED_BLENDER_OVER_FUNC.Chia-I Wu
The typo was introduced by commit 231d5457b275c1d9bbeff14165cf3da33dda176b.
2010-11-25st/vega: No flipping in vg_prepare_blend_surface.Chia-I Wu
The blend sampler view is addressed with unnormalized coordinates in the fragment shader. It should have the same orientation as the surface does.
2010-11-25st/vega: Masks and surfaces should share orientation.Chia-I Wu
The alpha mask is addressed with unnormalized coordinates in the fragment shader. It should have the same orientation as the surface does. This fixes "mask" OpenVG demo.
2010-11-25st/vega: Fix a crash with empty paths.Chia-I Wu
2010-11-24st/xorg: Add a function to flush pending rendering and damageThomas Hellstrom
This is needed to properly sync with host side rendering. For example, make sure we flush colorkey painting before updating the overlay. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-21st/vega: Fix vgReadPixels with a subrectangle.Chia-I Wu
Fix a crash when the subrectangle is not inside the fb. Fix wrong pipe transfer when sx > 0 or sy + height != fb->height. This fixes "readpixels" demo.
2010-11-21st/vega: Set wrap_r for mask and blend samplers.Chia-I Wu
These two samplers use non-normalized texture coordinates. wrap_r cannot be PIPE_TEX_WRAP_REPEAT (the default). This fixes sp_tex_sample.c:1790:get_linear_unorm_wrap: Assertion `0' failed assertion failure.
2010-11-21st/vega: vegaLookupSingle should validate the state.Chia-I Wu
Fix "lookup" demo crash.
2010-11-18st/glx: Replace MESA_VERSION_STRING by xmesa_get_name.Chia-I Wu
xmesa_get_name returns the name of the st_api, which is the same as MESA_VERSION_STRING.
2010-11-18st/wgl: Use st_context_iface::share for DrvShareLists.Chia-I Wu
2010-11-18gallium: Add st_api::name.Chia-I Wu
It is the name of the rendering API. This field is informative.
2010-11-18st/vega: Do not wait NULL fences.Chia-I Wu
2010-11-10st/dri: Add support for surfaceless current contexts.Chia-I Wu
Tested with Wayland.
2010-11-09st/egl: Fix build for include files in nonstandard placesThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-05scons: Unify state tracker SConscriptsJakob Bornecrantz
2010-11-05scons: Move dependancy checks to the main gallium scons fileJakob Bornecrantz
2010-11-05scons: DetabifyJakob Bornecrantz
Drivers scons files for a later time
2010-11-03st/xorg: Detect libkms with scons too.José Fonseca
2010-11-03st/xorg: Add missing \n to error message.José Fonseca
2010-11-03egl/gdi: fix typo: xsurf->gsurfBrian Paul
2010-11-03st/egl: Use native_display_buffer for EGL_MESA_drm_image.Chia-I Wu
native_display_buffer is just a wrapper to resource_{from,get}_handle for drm backend.
2010-11-03st/egl: Add native_display_buffer interface.Chia-I Wu
The interface is a wrapper to pipe_screen::resource_from_handle and pipe_screen::resource_get_handle. A winsys handle is platform-dependent.
2010-11-03st/egl: Add extern "C" wrapper to native.h.Chia-I Wu
This allows a backend to be written in C++.
2010-11-03st/egl: Add support for EGL_MATCH_NATIVE_PIXMAP.Chia-I Wu
Added for completeness. It makes sense to have such mechanism, but I am not aware of any user of that..
2010-11-03st/egl: Add support for swap interval and swap behavior.Chia-I Wu
The value of EGL_MAX_SWAP_INTERVAL and whether EGL_SWAP_BEHAVIOR_PRESERVED_BIT is set will depend on the native backend used.
2010-11-03st/egl: Remove flush_frontbuffer and swap_buffers.Chia-I Wu
They are deprecated by native_surface::present and there is no user of them.
2010-11-03d3d1x: Use native_surface::present.Chia-I Wu
Replace native_surface::flush_frontbuffer and native_surface::swap_buffers calls by native_surface::present calls.
2010-11-03st/egl: Use native_surface::present callback.Chia-I Wu
Replace native_surface::flush_frontbuffer and native_surface::swap_buffers calls by native_surface::present calls.
2010-11-03st/egl: Add native_surface::present callback.Chia-I Wu
The callback presents the given attachment to the native engine. It allows the swap behavior and interval to be controlled. It will replace native_surface::flush_frontbuffer and native_surface::swap_buffers shortly.
2010-11-02st/vega: Remove unnecessary headers.Vinson Lee
2010-11-01scons: Disable python state tracker when swig is not present.José Fonseca
2010-11-01scons: Revamp how to specify targets to build.José Fonseca
Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
2010-11-01st/egl image: multiply drm buf-stride with blocksizeBenjamin Franzke
[olv: formatted for 80-column wrapping]
2010-10-23st/egl: Use resource reference count for egl_g3d_sync.Chia-I Wu
2010-10-23egl: Use reference counting to replace IsLinked or IsBound.Chia-I Wu
Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update _eglBindContext and drivers to do reference counting.
2010-10-23st/egl: Fix native_mode refresh mode.Chia-I Wu
Define the unit to match _EGLMode's.
2010-10-23egl: Fix _eglModeLookup.Chia-I Wu
Internally a mode belongs to a screen. But functions like eglGetModeAttribMESA treat a mode as a display resource: a mode can be looked up without a screen. Considering how KMS works, it is better to stick to the current implementation. To properly support looking up a mode without a screen, this commit assigns each mode (of all screens) a unique ID.
2010-10-23egl: Minor changes to the _EGLScreen interface.Chia-I Wu
Make _eglInitScreen take a display and rename _eglAddScreen to _eglLinkScreen. Remove unused functions.
2010-10-23egl: Minor changes to the _EGLConfig interface.Chia-I Wu
Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean ups.
2010-10-22egl: Parse image attributes with _eglParseImageAttribList.Chia-I Wu
Avoid code duplications.