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

Issue 14160005: Track the region where text is painted. (Closed)

Created:
7 years, 8 months ago by alokp
Modified:
7 years, 7 months ago
CC:
blink-reviews, pdr, jamesr, Stephen Chennney, f(malita), jchaffraix+rendering, eae, leviw_travelin_and_unemployed
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : rebase with TOT #

Total comments: 10

Patch Set 3 : addressed comments #

Patch Set 4 : implemented TextRun wrapper #

Total comments: 4

Patch Set 5 : rebase with TOT #

Patch Set 6 : fixed build on win and mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+257 lines, -154 lines) Patch
M Source/WebKit/chromium/src/WebFontImpl.cpp View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
M Source/WebKit/chromium/tests/GraphicsContextTest.cpp View 1 2 3 4 4 chunks +9 lines, -7 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.cpp View 1 2 3 4 2 chunks +9 lines, -6 lines 0 comments Download
M Source/core/platform/chromium/PopupListBox.cpp View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/Font.h View 1 2 3 4 chunks +10 lines, -9 lines 0 comments Download
M Source/core/platform/graphics/Font.cpp View 1 2 3 2 chunks +10 lines, -15 lines 0 comments Download
M Source/core/platform/graphics/FontFastPath.cpp View 1 2 3 6 chunks +14 lines, -18 lines 0 comments Download
M Source/core/platform/graphics/GraphicsContext.h View 1 2 3 4 6 chunks +18 lines, -6 lines 0 comments Download
M Source/core/platform/graphics/GraphicsContext.cpp View 1 2 3 4 7 chunks +26 lines, -9 lines 0 comments Download
M Source/core/platform/graphics/TextRun.h View 1 2 3 3 chunks +16 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/chromium/FontChromiumWin.cpp View 1 2 3 4 5 6 chunks +10 lines, -10 lines 0 comments Download
M Source/core/platform/graphics/chromium/UniscribeHelper.h View 1 2 chunks +5 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/chromium/UniscribeHelper.cpp View 1 2 3 4 2 chunks +6 lines, -3 lines 0 comments Download
M Source/core/platform/graphics/harfbuzz/FontHarfBuzz.cpp View 1 2 3 4 5 chunks +11 lines, -12 lines 0 comments Download
M Source/core/platform/graphics/mac/FontComplexTextMac.cpp View 1 2 3 4 5 2 chunks +9 lines, -9 lines 0 comments Download
M Source/core/platform/graphics/mac/FontMac.cpp View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/platform/graphics/skia/SkiaFontWin.h View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/skia/SkiaFontWin.cpp View 1 2 3 4 8 chunks +13 lines, -9 lines 0 comments Download
M Source/core/rendering/EllipsisBox.cpp View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 1 2 3 4 3 chunks +19 lines, -8 lines 0 comments Download
M Source/core/rendering/RenderEmbeddedObject.cpp View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/rendering/RenderFileUploadControl.cpp View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderImage.cpp View 1 2 3 1 chunk +8 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderListBox.cpp View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/rendering/RenderListMarker.cpp View 1 2 3 4 2 chunks +17 lines, -9 lines 0 comments Download
M Source/core/rendering/svg/SVGInlineTextBox.cpp View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
alokp
Plumb text-rect (a loose rect-bound for text which is already available to Blink) all the ...
7 years, 8 months ago (2013-04-18 20:51:27 UTC) #1
eseidel
Seems OK. It's unfortunate that this has to pipe this arg everywhere. I wonder if ...
7 years, 8 months ago (2013-04-18 21:04:38 UTC) #2
alokp
I like the idea of TextRun wrapper. Can you elaborate on draw-request/arg-wrapper abstractions? Ideas to ...
7 years, 8 months ago (2013-04-18 22:22:37 UTC) #3
alokp
eseidel: Would you like to see the TextRun wrapper done in this patch? bungeman: Could ...
7 years, 8 months ago (2013-04-26 16:37:08 UTC) #4
bungeman-chromium
On 2013/04/26 16:37:08, Alok Priyadarshi wrote: > eseidel: Would you like to see the TextRun ...
7 years, 8 months ago (2013-04-26 16:58:29 UTC) #5
alokp
I added TextRunPaintInfo, a wrapper for TextRun, which is plumbed up to the Font class. ...
7 years, 7 months ago (2013-04-30 23:44:58 UTC) #6
alokp
Eric/Ben: Ping!
7 years, 7 months ago (2013-05-06 18:50:05 UTC) #7
bungeman-skia
7 years, 7 months ago (2013-05-06 19:29:04 UTC) #8
bungeman-chromium
https://codereview.chromium.org/14160005/diff/19001/Source/core/platform/graphics/Font.h File Source/core/platform/graphics/Font.h (right): https://codereview.chromium.org/14160005/diff/19001/Source/core/platform/graphics/Font.h#newcode179 Source/core/platform/graphics/Font.h:179: void drawGlyphs(GraphicsContext*, const SimpleFontData*, const GlyphBuffer&, int from, int ...
7 years, 7 months ago (2013-05-06 19:30:43 UTC) #9
alokp
https://codereview.chromium.org/14160005/diff/19001/Source/core/platform/graphics/Font.h File Source/core/platform/graphics/Font.h (right): https://codereview.chromium.org/14160005/diff/19001/Source/core/platform/graphics/Font.h#newcode179 Source/core/platform/graphics/Font.h:179: void drawGlyphs(GraphicsContext*, const SimpleFontData*, const GlyphBuffer&, int from, int ...
7 years, 7 months ago (2013-05-06 20:39:54 UTC) #10
bungeman-chromium
I don't want to hold this up just for something were not working on right ...
7 years, 7 months ago (2013-05-06 21:02:31 UTC) #11
alokp
eseidel: does it look any better? https://codereview.chromium.org/14160005/diff/19001/Source/core/platform/graphics/Font.h File Source/core/platform/graphics/Font.h (right): https://codereview.chromium.org/14160005/diff/19001/Source/core/platform/graphics/Font.h#newcode179 Source/core/platform/graphics/Font.h:179: void drawGlyphs(GraphicsContext*, const ...
7 years, 7 months ago (2013-05-06 22:12:34 UTC) #12
eseidel
lgtm Seems totally reasonable to me.
7 years, 7 months ago (2013-05-08 19:32:00 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alokp@chromium.org/14160005/19001
7 years, 7 months ago (2013-05-08 19:32:09 UTC) #14
commit-bot: I haz the power
Failed to apply patch for Source/WebKit/chromium/src/WebFontImpl.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-08 19:32:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alokp@chromium.org/14160005/34001
7 years, 7 months ago (2013-05-10 02:26:34 UTC) #16
commit-bot: I haz the power
Retried try job too often on mac_layout for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout&number=1635
7 years, 7 months ago (2013-05-10 08:39:21 UTC) #17
alokp
7 years, 7 months ago (2013-05-10 16:22:29 UTC) #18
Message was sent while issue was closed.
Committed patchset #6 manually as r150096 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698