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

Side by Side Diff: skia/ext/analysis_canvas.h

Issue 2425323002: Abort canvas analysis after a few operations are rejected (Closed)
Patch Set: Update comments Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | skia/ext/analysis_canvas.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SKIA_EXT_ANALYSIS_CANVAS_H_ 5 #ifndef SKIA_EXT_ANALYSIS_CANVAS_H_
6 #define SKIA_EXT_ANALYSIS_CANVAS_H_ 6 #define SKIA_EXT_ANALYSIS_CANVAS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 int saved_stack_size_; 130 int saved_stack_size_;
131 int force_not_solid_stack_level_; 131 int force_not_solid_stack_level_;
132 int force_not_transparent_stack_level_; 132 int force_not_transparent_stack_level_;
133 133
134 bool is_forced_not_solid_; 134 bool is_forced_not_solid_;
135 bool is_forced_not_transparent_; 135 bool is_forced_not_transparent_;
136 bool is_solid_color_; 136 bool is_solid_color_;
137 SkColor color_; 137 SkColor color_;
138 bool is_transparent_; 138 bool is_transparent_;
139 int draw_op_count_; 139 int draw_op_count_;
140 int rejected_op_count_;
140 }; 141 };
141 142
142 } // namespace skia 143 } // namespace skia
143 144
144 #endif // SKIA_EXT_ANALYSIS_CANVAS_H_ 145 #endif // SKIA_EXT_ANALYSIS_CANVAS_H_
145 146
OLDNEW
« no previous file with comments | « no previous file | skia/ext/analysis_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698