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

Issue 975533004: BrowserFontResource should not push opacity info to Blink (Closed)

Created:
5 years, 9 months ago by f(malita)
Modified:
5 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

BrowserFontResource should not push opacity info to Blink Blink's opacity & LCD logic is being removed - instead this is to be handled by setting appropriate SkSurfaceProps onto the target canvas. Unfortunately that's not directly applicable to BrowserFontResource_Trusted::DrawTextAt/DrawTextToCanvas because the API allows different opacity flags to be specified for different calls directed to the same canvas. We work around by disabling LCD text at the last stage, using a temporary SkCanvas. BUG=430617 R=reed@google.com,piman@chromium.org Committed: https://crrev.com/34483e90726bc4537a746e2b49f3f47a2991a88f Cr-Commit-Position: refs/heads/master@{#319645}

Patch Set 1 #

Total comments: 1

Patch Set 2 : v2 - temp canvas instead of draw filter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -7 lines) Patch
M content/child/browser_font_resource_trusted.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M content/child/browser_font_resource_trusted.cc View 1 3 chunks +24 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
f(malita)
Requires http://crrev.com/971133002
5 years, 9 months ago (2015-03-03 01:54:51 UTC) #1
reed1
lgtm /w comment suggestion https://codereview.chromium.org/975533004/diff/1/content/child/browser_font_resource_trusted.cc File content/child/browser_font_resource_trusted.cc (right): https://codereview.chromium.org/975533004/diff/1/content/child/browser_font_resource_trusted.cc#newcode419 content/child/browser_font_resource_trusted.cc:419: destination->save(); save(); // will be ...
5 years, 9 months ago (2015-03-03 15:04:42 UTC) #2
f(malita)
Uploaded v2 which uses a temp canvas instead of a draw filter.
5 years, 9 months ago (2015-03-04 16:34:47 UTC) #4
reed1
lgtm
5 years, 9 months ago (2015-03-04 20:19:58 UTC) #5
f(malita)
+piman for content. The Blink API shim has landed and rolled - this is good ...
5 years, 9 months ago (2015-03-05 14:54:11 UTC) #7
f(malita)
On 2015/03/05 14:54:11, f(malita) wrote: > +piman for content. > > The Blink API shim ...
5 years, 9 months ago (2015-03-09 14:43:17 UTC) #10
Avi (use Gerrit)
lgtm stampity stamp
5 years, 9 months ago (2015-03-09 15:09:36 UTC) #11
f(malita)
On 2015/03/09 15:09:36, Avi wrote: > lgtm > > stampity stamp Thanks!
5 years, 9 months ago (2015-03-09 15:10:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/975533004/20001
5 years, 9 months ago (2015-03-09 15:10:26 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-09 16:01:28 UTC) #15
commit-bot: I haz the power
5 years, 9 months ago (2015-03-09 16:02:30 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/34483e90726bc4537a746e2b49f3f47a2991a88f
Cr-Commit-Position: refs/heads/master@{#319645}

Powered by Google App Engine
This is Rietveld 408576698