summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2010-12-01st/vega: Create drawing surface mask as needed.Chia-I Wu
As the blend texture, a drawing surface mask is used when masking is enabled. It should be created as needed. s/alpha_mask/surface_mask/ to follow OpenVG 1.1 naming.
2010-12-01st/vega: Delay blend texture creation until needed.Chia-I Wu
It is used for more advanced blending or mask update. It might not be ever needed for some applications.
2010-12-01st/vega: Remove st_inlines.h.Chia-I Wu
Per b0427bedde80e3189524651a327235bdfddbc613.
2010-12-01st/vega: Simplify radial gradient.Chia-I Wu
Eight less instructions with comments.
2010-12-01st/vega: Fix degenerate paints.Chia-I Wu
Fix the case that the two points of a linear gradient coincide, or the case that the radius of a radial gradient is equal to or less than 0.
2010-12-01st/vega: Fix negated logic in image_draw.Chia-I Wu
A typo from last commit.
2010-12-01st/vega: Fix paint coordinates transformations.Chia-I Wu
Depending on whether vgDrawPath(mode), vgDrawImage, or vgDrawGlyph[s] is called, different paint-to-user and user-to-surface matrices should be used to derive the sample points for the paint. This fixes "paint" demo.
2010-12-01st/vega: Bump version to 1.1.Chia-I Wu
2010-12-01st/vega: Add color transformation support.Chia-I Wu
Per OpenVG 1.1. A new shader stage is added. It uses the first two constants of the fragment shader for color transformation parameters.
2010-12-01st/vega: More flexible shader selection.Chia-I Wu
Divide bits of VegaShaderType into 6 groups: paint, image, mask, fill, premultiply, and bw. Each group represents a stage. At most one shader from each group will be selected when constructing the final fragment shader.
2010-12-01st/vega: Revive mask layer support.Chia-I Wu
2010-12-01st/vega: Add primitive text support.Chia-I Wu
Optional features such as auth-hinting are not implemented. There is no anti-aliasing, and no effort is done to keep the glyph origin integral. So the text quality is poor.
2010-12-01st/vega: Make image_draw take a matrix.Chia-I Wu
2010-12-01st/vega: Make path_render and path_stroke take a matrix.Chia-I Wu
2010-12-01st/vega: Fix image sampler views for alpha-only formats.Chia-I Wu
For alpha-only VG formats, R = G = B = 1.0.
2010-12-01st/vega: Update to latest headers.Chia-I Wu
2010-12-01st/vega: Get rid of renderer_copy_texture.Chia-I Wu
2010-12-01st/vega: vg_copy_texture and vg_copy_surface should share code.Chia-I Wu
2010-12-01st/vega: Clean up renderer fields and functions.Chia-I Wu
2010-12-01st/vega: Clean up vg_context fields and functions.Chia-I Wu
2010-12-01st/vega: vg_manager should care about only the color buffer.Chia-I Wu
Move depth/stencil buffer, blend texture view, and alpha mask view creation to vg_context.c.
2010-12-01st/vega: Make shader_bind call into the renderer.Chia-I Wu
With this commit, the pipe states are entirely managed by the renderer. The rest of the code interfaces with the renderer instead of manipulating the states directly.
2010-12-01st/vega: Move g3d states to renderer.Chia-I Wu
Let vg_context focus on OpenVG states and renderer focus on gallium states.
2010-12-01st/vega: Use st_framebuffer for fb width/height.Chia-I Wu
This allows us to eventually make g3d states opaque.
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