Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: src/core/SkAAClip.h

Issue 1893433002: In SkDraw::drawRect, use SkPath for huge rects. Base URL: https://skia.googlesource.com/skia@fixed-assert
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkScalar.h ('k') | src/core/SkAAClip.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkAAClip.h
diff --git a/src/core/SkAAClip.h b/src/core/SkAAClip.h
index 7b29ef142aa090951aa7c06f0ffbed5b7c257fcb..b6855b834074e34423bb8213a33ab9dd32d2a445 100644
--- a/src/core/SkAAClip.h
+++ b/src/core/SkAAClip.h
@@ -63,6 +63,7 @@ public:
bool quickContains(const SkIRect& r) const {
return this->quickContains(r.fLeft, r.fTop, r.fRight, r.fBottom);
}
+ bool quickContains(const SkRect& r) const;
const uint8_t* findRow(int y, int* lastYForRow = nullptr) const;
const uint8_t* findX(const uint8_t data[], int x, int* initialCount = nullptr) const;
« no previous file with comments | « include/core/SkScalar.h ('k') | src/core/SkAAClip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698