diff options
author | Romain Guy <romainguy@android.com> | 2010-10-13 21:31:28 -0700 |
---|---|---|
committer | Romain Guy <romainguy@android.com> | 2010-10-13 21:31:28 -0700 |
commit | 4afdf666fdb034834c48445570ed9d6f4133fc71 (patch) | |
tree | a957f9f7fc930ac5e7eed44b8849ecee9794c6ab /libs/hwui/ProgramCache.cpp | |
parent | 1b422d8cd8ed83b79e977a3afb99969cea4a6700 (diff) |
Color filters were ignored by the program cache fast path.
Change-Id: I08f2f02d356234a674be778d088e0558fd49c849
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
-rw-r--r-- | libs/hwui/ProgramCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/ProgramCache.cpp b/libs/hwui/ProgramCache.cpp index 1eac2393422e..3cd85c8d3b5f 100644 --- a/libs/hwui/ProgramCache.cpp +++ b/libs/hwui/ProgramCache.cpp @@ -417,7 +417,7 @@ String8 ProgramCache::generateFragmentShader(const ProgramDescription& descripti } // Optimization for common cases - if (!blendFramebuffer) { + if (!blendFramebuffer && description.colorOp == ProgramDescription::kColorNone) { bool fast = false; const bool noShader = !description.hasGradient && !description.hasBitmap; |