A better HW Bitmap uploader
Move all HW bitmap upload operations off of RenderThread.
Ensure EGL context outlives all upload requests
Bug: 79250950
Test: builds, boots, systrace is good, CTS bitmap tests pass
Change-Id: I5ace6c516d33b1afdf1a407cd8b183f6b60c22c1
diff --git a/libs/hwui/Outline.h b/libs/hwui/Outline.h
index 4ddacc8..f1c3803 100644
--- a/libs/hwui/Outline.h
+++ b/libs/hwui/Outline.h
@@ -42,9 +42,8 @@
mBounds.set(left, top, right, bottom);
mRadius = radius;
-
// Reuse memory if previous outline was the same shape (rect or round rect).
- if ( mPath.countVerbs() > 10) {
+ if (mPath.countVerbs() > 10) {
mPath.reset();
} else {
mPath.rewind();