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

Unified Diff: cc/playback/clip_display_item.h

Issue 2090203002: Remove antialiasing from views bounds rects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: std::max is bad apparently Created 4 years, 6 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 | « cc/blink/web_display_item_list_impl.cc ('k') | cc/playback/clip_display_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/clip_display_item.h
diff --git a/cc/playback/clip_display_item.h b/cc/playback/clip_display_item.h
index 249e30e98c7cd9de5a3c62d0d2efca43a7950285..6d7ad2976d1522757ed68954074e2c85542f7c2a 100644
--- a/cc/playback/clip_display_item.h
+++ b/cc/playback/clip_display_item.h
@@ -23,7 +23,8 @@ class ImageSerializationProcessor;
class CC_EXPORT ClipDisplayItem : public DisplayItem {
public:
ClipDisplayItem(const gfx::Rect& clip_rect,
- const std::vector<SkRRect>& rounded_clip_rects);
+ const std::vector<SkRRect>& rounded_clip_rects,
+ bool antialias);
explicit ClipDisplayItem(const proto::DisplayItem& proto);
~ClipDisplayItem() override;
@@ -41,10 +42,12 @@ class CC_EXPORT ClipDisplayItem : public DisplayItem {
private:
void SetNew(const gfx::Rect& clip_rect,
- const std::vector<SkRRect>& rounded_clip_rects);
+ const std::vector<SkRRect>& rounded_clip_rects,
+ bool antialias);
gfx::Rect clip_rect_;
std::vector<SkRRect> rounded_clip_rects_;
+ bool antialias_;
};
class CC_EXPORT EndClipDisplayItem : public DisplayItem {
« no previous file with comments | « cc/blink/web_display_item_list_impl.cc ('k') | cc/playback/clip_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698