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

Issue 344793003: Stop using (deprecated) getTotalClip (Closed)

Created:
6 years, 6 months ago by reed1
Modified:
6 years, 6 months ago
Reviewers:
f(malita), reed2
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Stop using (deprecated) getTotalClip patch from issue 342553006 BUG= android failures unrelated to this CL NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278613

Patch Set 1 #

Total comments: 6

Patch Set 2 : account for clip_bounds offset #

Total comments: 4

Patch Set 3 : zero the offset in the on-screen case #

Patch Set 4 : simplify matrix, eliminate need for clipping #

Total comments: 1

Patch Set 5 : release before overwriting bitmapOffset_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -41 lines) Patch
M skia/ext/skia_utils_mac.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M skia/ext/skia_utils_mac.mm View 1 2 3 4 3 chunks +28 lines, -41 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
reed1
6 years, 6 months ago (2014-06-19 14:36:19 UTC) #1
f(malita)
https://codereview.chromium.org/344793003/diff/1/skia/ext/skia_utils_mac.mm File skia/ext/skia_utils_mac.mm (right): https://codereview.chromium.org/344793003/diff/1/skia/ext/skia_utils_mac.mm#newcode376 skia/ext/skia_utils_mac.mm:376: const SkIPoint& pt = device->getOrigin(); Nit: maybe inline this ...
6 years, 6 months ago (2014-06-19 15:15:47 UTC) #2
reed1
https://codereview.chromium.org/344793003/diff/1/skia/ext/skia_utils_mac.mm File skia/ext/skia_utils_mac.mm (right): https://codereview.chromium.org/344793003/diff/1/skia/ext/skia_utils_mac.mm#newcode376 skia/ext/skia_utils_mac.mm:376: const SkIPoint& pt = device->getOrigin(); On 2014/06/19 15:15:46, Florin ...
6 years, 6 months ago (2014-06-19 16:40:54 UTC) #3
reed1
ptal
6 years, 6 months ago (2014-06-19 17:55:28 UTC) #4
f(malita)
I'm a bit worried about test coverage: there's SkiaUtilsMacTest::RunBitLockerTest() but it seems to only exercise ...
6 years, 6 months ago (2014-06-19 18:39:54 UTC) #5
reed1
https://codereview.chromium.org/344793003/diff/20001/skia/ext/skia_utils_mac.mm File skia/ext/skia_utils_mac.mm (right): https://codereview.chromium.org/344793003/diff/20001/skia/ext/skia_utils_mac.mm#newcode385 skia/ext/skia_utils_mac.mm:385: bitmap_.lockPixels(); On 2014/06/19 18:39:54, Florin Malita wrote: > bitmapOffset_.setZero(); ...
6 years, 6 months ago (2014-06-19 18:57:19 UTC) #6
reed1
ptal
6 years, 6 months ago (2014-06-19 20:39:29 UTC) #7
f(malita)
lgtm https://codereview.chromium.org/344793003/diff/60001/skia/ext/skia_utils_mac.mm File skia/ext/skia_utils_mac.mm (right): https://codereview.chromium.org/344793003/diff/60001/skia/ext/skia_utils_mac.mm#newcode378 skia/ext/skia_utils_mac.mm:378: bitmapOffset_.set(clip_bounds.x(), clip_bounds.y()); I think this needs to happen ...
6 years, 6 months ago (2014-06-19 20:58:42 UTC) #8
reed1
On 2014/06/19 20:58:42, Florin Malita wrote: > lgtm > > https://codereview.chromium.org/344793003/diff/60001/skia/ext/skia_utils_mac.mm > File skia/ext/skia_utils_mac.mm (right): ...
6 years, 6 months ago (2014-06-19 20:59:47 UTC) #9
reed1
The CQ bit was checked by reed@google.com
6 years, 6 months ago (2014-06-19 21:23:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reed@google.com/344793003/80001
6 years, 6 months ago (2014-06-19 21:24:57 UTC) #11
reed2
The CQ bit was unchecked by reed@chromium.org
6 years, 6 months ago (2014-06-20 02:24:17 UTC) #12
reed2
The CQ bit was checked by reed@chromium.org
6 years, 6 months ago (2014-06-20 02:24:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reed@google.com/344793003/80001
6 years, 6 months ago (2014-06-20 02:25:22 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 05:23:11 UTC) #15
Message was sent while issue was closed.
Change committed as 278613

Powered by Google App Engine
This is Rietveld 408576698