Roll Skia revision to 3f81f3703a68755c88f5cc4a87728b98f34c4cd4 (flutter/engine#3438)
This commit is contained in:
2
DEPS
2
DEPS
@@ -23,7 +23,7 @@ vars = {
|
||||
'skia_git': 'https://skia.googlesource.com',
|
||||
'github_git': 'https://github.com',
|
||||
'base_revision': 'b2412302ed4e45bfb47d7b5c0c3418077009e1ce',
|
||||
'skia_revision': '1c8e82b72bfeb1a02297688cf082c365b62705f7',
|
||||
'skia_revision': '3f81f3703a68755c88f5cc4a87728b98f34c4cd4',
|
||||
|
||||
# Note: When updating the Dart revision, ensure that all entries that are
|
||||
# dependencies of dart are also updated
|
||||
|
||||
@@ -151,9 +151,11 @@ void Stopwatch::Visualize(SkCanvas& canvas, const SkRect& rect) const {
|
||||
double sample_x =
|
||||
x + width * (static_cast<double>(current_sample_) / kMaxSamples) -
|
||||
sample_margin_width;
|
||||
canvas.drawRectCoords(sample_x, y, sample_x + width * sample_unit_width +
|
||||
sample_margin_width * 2,
|
||||
bottom, paint);
|
||||
|
||||
const auto marker_rect = SkRect::MakeLTRB(
|
||||
sample_x, y,
|
||||
sample_x + width * sample_unit_width + sample_margin_width * 2, bottom);
|
||||
canvas.drawRect(marker_rect, paint);
|
||||
}
|
||||
|
||||
CounterValues::CounterValues() : current_sample_(kMaxSamples - 1) {
|
||||
@@ -220,9 +222,10 @@ void CounterValues::Visualize(SkCanvas& canvas, const SkRect& rect) const {
|
||||
double sample_x =
|
||||
x + width * (static_cast<double>(current_sample_) / kMaxSamples) -
|
||||
sample_margin_width;
|
||||
canvas.drawRectCoords(sample_x, y, sample_x + width * sample_unit_width +
|
||||
sample_margin_width * 2,
|
||||
bottom, paint);
|
||||
const auto marker_rect = SkRect::MakeLTRB(
|
||||
sample_x, y,
|
||||
sample_x + width * sample_unit_width + sample_margin_width * 2, bottom);
|
||||
canvas.drawRect(marker_rect, paint);
|
||||
}
|
||||
|
||||
int64_t CounterValues::GetCurrentValue() const {
|
||||
|
||||
Reference in New Issue
Block a user