aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/include/GrTexture.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-15 19:09:25 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-15 19:09:25 +0000
commit080773ca79cbdc230730d295441255e9254d76a6 (patch)
tree549239db566093d9f0a7743f6e67471931142f4e /gpu/include/GrTexture.h
parentdc008e17104fc544d2b80c09c9835cf173c25b50 (diff)
Add blend constant color and use it for lcd text common case (no fancy blend or shaded text)
Review URL: http://codereview.appspot.com/4274057/ git-svn-id: http://skia.googlecode.com/svn/trunk@941 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/include/GrTexture.h')
-rw-r--r--gpu/include/GrTexture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/include/GrTexture.h b/gpu/include/GrTexture.h
index 666aa570f8..0a65ff75ce 100644
--- a/gpu/include/GrTexture.h
+++ b/gpu/include/GrTexture.h
@@ -89,6 +89,7 @@ public:
};
static size_t BytesPerPixel(PixelConfig);
static bool PixelConfigIsOpaque(PixelConfig);
+ static bool PixelConfigIsAlphaOnly(PixelConfig);
protected:
GrTexture(int width,