aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-11-10 22:16:06 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-11-10 22:16:06 +0000
commit0ba52fcf93d52a3f230d1f185eea0c8719c176fb (patch)
tree93d61122085e5686c25db94a2a1677abf9a84dd1 /include/gpu
parentc4ff22a2965616629765b8ffe0e58f6d05f92fa3 (diff)
Filter out draws to non-PMA configs that won't blend correctly
Review URL: http://codereview.appspot.com/5376059/ git-svn-id: http://skia.googlecode.com/svn/trunk@2665 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/GrTypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h
index 1986a4e75f..e5908de4e0 100644
--- a/include/gpu/GrTypes.h
+++ b/include/gpu/GrTypes.h
@@ -269,7 +269,9 @@ static inline int GrMaskFormatBytesPerPixel(GrMaskFormat format) {
/**
* Pixel configurations.
* Unpremultiplied configs are intended for conversion out from skia. They are
- * not supported as input (e.g. drawBitmap or a bitmap shader).
+ * not supported as input (e.g. drawBitmap or a bitmap shader). When used a
+ * render target config only draws that use blend coeffs 1,0 (AKA src-mode)
+ * will succeed.
*/
enum GrPixelConfig {
kUnknown_GrPixelConfig,