diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-12-01 17:38:57 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-12-01 17:46:34 +0800 |
commit | 04f342b4170366e417aa0c414cc536337270d3ab (patch) | |
tree | a74be041b3e62d44211b146181f3b4d1fc8a7d97 /src/gallium/state_trackers/vega/vg_context.h | |
parent | f8e0dd246b26281d31d4f37799985e27368ba2f4 (diff) |
st/vega: Delay blend texture creation until needed.
It is used for more advanced blending or mask update. It might not be
ever needed for some applications.
Diffstat (limited to 'src/gallium/state_trackers/vega/vg_context.h')
-rw-r--r-- | src/gallium/state_trackers/vega/vg_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vega/vg_context.h b/src/gallium/state_trackers/vega/vg_context.h index 5d0bca33c5..32996f4678 100644 --- a/src/gallium/state_trackers/vega/vg_context.h +++ b/src/gallium/state_trackers/vega/vg_context.h @@ -159,8 +159,8 @@ void vg_validate_state(struct vg_context *ctx); void vg_set_error(struct vg_context *ctx, VGErrorCode code); -void vg_prepare_blend_surface(struct vg_context *ctx); -void vg_prepare_blend_surface_from_mask(struct vg_context *ctx); +struct pipe_sampler_view *vg_prepare_blend_surface(struct vg_context *ctx); +struct pipe_sampler_view *vg_prepare_blend_surface_from_mask(struct vg_context *ctx); VGboolean vg_get_paint_matrix(struct vg_context *ctx, const struct matrix *paint_to_user, |