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

Issue 1010113004: Add GrRenderTarget parameter to GrTextContext::canDraw (Closed)

Created:
5 years, 9 months ago by Chris Dalton
Modified:
5 years, 9 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add more parameters to GrTextContext::canDraw Updates canDraw to accept all the same Skia/Gr objects as the drawText functions, since that information may very well be relevant in determining whether a context can draw. Also moves the onDrawTextBlob implementation directly into drawTextBlob. BUG=skia: Committed: https://skia.googlesource.com/skia/+/e68f7362b1e00e88688906de6384e4e5a83076d0

Patch Set 1 #

Total comments: 2

Patch Set 2 : More params #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -110 lines) Patch
M src/gpu/GrBitmapTextContext.h View 1 2 1 chunk +11 lines, -10 lines 0 comments Download
M src/gpu/GrBitmapTextContext.cpp View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.h View 1 2 1 chunk +11 lines, -10 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.cpp View 1 2 1 chunk +9 lines, -5 lines 0 comments Download
M src/gpu/GrStencilAndCoverTextContext.h View 1 2 1 chunk +11 lines, -10 lines 0 comments Download
M src/gpu/GrStencilAndCoverTextContext.cpp View 1 2 1 chunk +11 lines, -7 lines 0 comments Download
M src/gpu/GrTextContext.h View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M src/gpu/GrTextContext.cpp View 1 2 4 chunks +43 lines, -62 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
Chris Dalton
5 years, 9 months ago (2015-03-17 00:27:39 UTC) #2
vbuzinov
https://codereview.chromium.org/1010113004/diff/1/src/gpu/GrTextContext.cpp File src/gpu/GrTextContext.cpp (right): https://codereview.chromium.org/1010113004/diff/1/src/gpu/GrTextContext.cpp#newcode48 src/gpu/GrTextContext.cpp:48: do { Can we create a pipeline builder here ...
5 years, 9 months ago (2015-03-17 13:06:56 UTC) #3
bsalomon
https://codereview.chromium.org/1010113004/diff/1/src/gpu/GrTextContext.cpp File src/gpu/GrTextContext.cpp (right): https://codereview.chromium.org/1010113004/diff/1/src/gpu/GrTextContext.cpp#newcode48 src/gpu/GrTextContext.cpp:48: do { On 2015/03/17 13:06:56, vbuzinov wrote: > Can ...
5 years, 9 months ago (2015-03-17 14:45:48 UTC) #5
Chris Dalton
Right now each text context has its own pipeline builder object that it uses. I ...
5 years, 9 months ago (2015-03-17 19:46:36 UTC) #6
Chris Dalton
Ping! Do you think we can get a green light on this (simple) change, or ...
5 years, 9 months ago (2015-03-22 17:46:53 UTC) #7
bsalomon
On 2015/03/22 17:46:53, Chris Dalton wrote: > Ping! Do you think we can get a ...
5 years, 9 months ago (2015-03-24 15:35:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1010113004/20001
5 years, 9 months ago (2015-03-24 16:43:47 UTC) #10
commit-bot: I haz the power
Failed to apply patch for src/gpu/GrBitmapTextContext.h: While running git apply --index -3 -p1; error: patch ...
5 years, 9 months ago (2015-03-24 16:43:52 UTC) #12
Chris Dalton
Patch doesn't rebase trivially anymore
5 years, 9 months ago (2015-03-24 17:11:01 UTC) #13
Chris Dalton
This rebase is pretty big. Adding joshualitt@ to ok the text blob change.
5 years, 9 months ago (2015-03-24 20:15:17 UTC) #15
joshualitt
On 2015/03/24 20:15:17, Chris Dalton wrote: > This rebase is pretty big. Adding joshualitt@ to ...
5 years, 9 months ago (2015-03-24 20:17:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1010113004/40001
5 years, 9 months ago (2015-03-25 20:46:16 UTC) #19
commit-bot: I haz the power
5 years, 9 months ago (2015-03-25 21:02:41 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/e68f7362b1e00e88688906de6384e4e5a83076d0

Powered by Google App Engine
This is Rietveld 408576698