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

Issue 2837273003: ShapeDetection: use makeNonTextureImage() to support texture-backed sources (Closed)

Created:
3 years, 8 months ago by mcasas
Modified:
3 years, 8 months ago
Reviewers:
emircan
CC:
chromium-reviews, haraken, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ShapeDetection: use makeNonTextureImage() to support texture-backed sources In certain cases (as reported in the bug) the SkImage used for detection happens to be texture-backed. This CL uses makeNonTextureImage() which solves this problem while doing nothing when the SkImage is not texture backed (i.e. is raster). BUG=714927 Review-Url: https://codereview.chromium.org/2837273003 Cr-Commit-Position: refs/heads/master@{#467192} Committed: https://chromium.googlesource.com/chromium/src/+/d7d447a09a95eb7ad399eb8512f677a66e127d69

Patch Set 1 #

Patch Set 2 : removed unused specific ImagBitmap case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -11 lines) Patch
M third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp View 1 1 chunk +5 lines, -11 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
mcasas
emircan@ tiny CL, PTAL
3 years, 8 months ago (2017-04-25 21:59:38 UTC) #3
emircan
lgtm
3 years, 8 months ago (2017-04-25 22:27:59 UTC) #4
emircan
On 2017/04/25 22:27:59, emircan wrote: > lgtm After offline discussion ps#2 lgtm. Using makeNonTextureImage() eliminates ...
3 years, 8 months ago (2017-04-25 23:02:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2837273003/20001
3 years, 8 months ago (2017-04-26 00:37:17 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 01:18:31 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d7d447a09a95eb7ad399eb8512f6...

Powered by Google App Engine
This is Rietveld 408576698