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

Issue 1470103002: Clarify when oval & rrects get devolved to paths in SkGpuDevice/GrDrawContext boundary (Closed)

Created:
5 years, 1 month ago by robertphillips
Modified:
5 years ago
Reviewers:
egdaniel, egdaniel1, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Clarify when oval & rrects get devolved to paths in SkGpuDevice/GrDrawContext boundary The GrDrawContext drawOval and drawRRect methods are only called from SkGpuDevice so there is no value in delaying the conversion to a path when dashing is involved. Committed: https://skia.googlesource.com/skia/+/514450cb695279e44af8b30c19e9d866e2eeb818

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -45 lines) Patch
M src/gpu/GrDrawContext.cpp View 2 chunks +2 lines, -14 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 4 chunks +15 lines, -31 lines 1 comment Download

Messages

Total messages: 19 (10 generated)
robertphillips
5 years, 1 month ago (2015-11-23 22:54:06 UTC) #3
robertphillips
5 years, 1 month ago (2015-11-23 22:55:02 UTC) #5
egdaniel
lgtm
5 years, 1 month ago (2015-11-23 23:17:31 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1470103002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1470103002/1
5 years, 1 month ago (2015-11-23 23:18:41 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/4465)
5 years, 1 month ago (2015-11-23 23:19:33 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1470103002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1470103002/1
5 years ago (2015-11-24 12:58:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1470103002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1470103002/1
5 years ago (2015-11-24 13:04:24 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/514450cb695279e44af8b30c19e9d866e2eeb818
5 years ago (2015-11-24 13:36:04 UTC) #16
reed1
5 years ago (2015-11-24 14:42:29 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/1470103002/diff/1/src/gpu/SkGpuDevice.cpp
File src/gpu/SkGpuDevice.cpp (right):

https://codereview.chromium.org/1470103002/diff/1/src/gpu/SkGpuDevice.cpp#new...
src/gpu/SkGpuDevice.cpp:570: if (paint.getMaskFilter() || paint.getPathEffect())
{
I wonder if a brief comment would help here. Is this because fDrawContext
ignores those two effects? If so, could that be a predicate on fDrawContext?

bool DrawContext::CanApplyToRRect(paint) ?

Powered by Google App Engine
This is Rietveld 408576698