Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(634)

Issue 6499101: Put geometry on device, allow device to request linear masks. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by bungeman
Modified:
11 years, 3 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Put geometry on device, allow device to request linear masks.

Patch Set 1 #

Patch Set 2 : Also do the gamma correction on the GPU. #

Total comments: 2

Patch Set 3 : Checkpoint. #

Patch Set 4 : Checkpoint. #

Patch Set 5 : Checkpoint. #

Patch Set 6 : Checkpoint. #

Patch Set 7 : Checkpoint. #

Patch Set 8 : Checkpoint. #

Patch Set 9 : Checkpoint. #

Patch Set 10 : Checkpoint. #

Patch Set 11 : Move linear masks and gpu apply mask gamma to 6818058. #

Patch Set 12 : Just pass SkDevice through as it's own info object. #

Total comments: 2

Patch Set 13 : Rename and address comments. #

Total comments: 2

Patch Set 14 : Add comments and clarify some names. #

Patch Set 15 : Overly specific? #

Total comments: 6

Patch Set 16 : Address comments. #

Patch Set 17 : Clean up line-lengths. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -56 lines) Patch
M gyp/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -0 lines 0 comments Download
M include/core/SkDevice.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +38 lines, -0 lines 0 comments Download
A include/core/SkDeviceProperties.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +112 lines, -0 lines 0 comments Download
M include/core/SkFontHost.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +8 lines, -0 lines 0 comments Download
M include/core/SkPaint.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -2 lines 0 comments Download
M src/core/SkDevice.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +33 lines, -3 lines 0 comments Download
M src/core/SkDraw.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkGlyphCache.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -2 lines 0 comments Download
M src/core/SkPaint.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 15 chunks +50 lines, -42 lines 0 comments Download
M src/core/SkScalerContext.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -1 line 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M src/pdf/SkPDFFont.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M src/utils/SkDeferredCanvas.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 14
bungeman
The initial Patch Set 1 is a first stab at seeing what needs to change ...
11 years, 7 months ago (2012-09-12 19:11:08 UTC) #1
bungeman
So this still needs quite a bit of work, but I think the general idea ...
11 years, 7 months ago (2012-09-14 21:58:05 UTC) #2
reed1
https://codereview.appspot.com/6499101/diff/3001/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.appspot.com/6499101/diff/3001/include/core/SkDevice.h#newcode27 include/core/SkDevice.h:27: class SkGpuRenderTarget; If we're gonna have optional stuff, can ...
11 years, 7 months ago (2012-09-15 02:06:57 UTC) #3
bungeman
The changes for requesting linear masks and having the gpu do the work have moved ...
11 years, 6 months ago (2012-10-30 20:10:23 UTC) #4
bungeman
There was a desire expressed for an 'SkDeviceInfo' object to be passed through the layers ...
11 years, 5 months ago (2012-12-04 18:29:43 UTC) #5
reed1
can we do some nitty cleanup in Sk[Sub]PixelGeometry.h enums {}; fields; Possibly reorder enum values ...
11 years, 5 months ago (2012-12-07 21:06:34 UTC) #6
reed1
Not sure we should introduce device.h to scalercontext.h. Perhaps there we pass 2 parameters (geo ...
11 years, 5 months ago (2012-12-07 21:07:46 UTC) #7
bungeman
A lot of this is naming, and I'm not sure exactly what the names should ...
11 years, 5 months ago (2012-12-10 21:44:47 UTC) #8
reed1
SkPixelProperties instead of Image? Matches SkPixelGeometry and doesn't intrude on my sacred SkImage* domain. Any ...
11 years, 4 months ago (2012-12-11 22:02:29 UTC) #9
bungeman
This (Patch set 15) kind of throws being more generic out the window and makes ...
11 years, 3 months ago (2013-01-18 16:58:44 UTC) #10
reed1
I like the name (DeviceProperties) https://codereview.appspot.com/6499101/diff/65001/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.appspot.com/6499101/diff/65001/include/core/SkDevice.h#newcode60 include/core/SkDevice.h:60: SkDevice(SkBitmap::Config config, int width, ...
11 years, 3 months ago (2013-01-22 17:39:40 UTC) #11
bungeman
Reduced default parameters, clarified leaky, and MadeDefault(). https://codereview.appspot.com/6499101/diff/65001/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.appspot.com/6499101/diff/65001/include/core/SkDevice.h#newcode60 include/core/SkDevice.h:60: SkDevice(SkBitmap::Config config, ...
11 years, 3 months ago (2013-01-22 18:48:14 UTC) #12
reed1
lgtm
11 years, 3 months ago (2013-01-22 18:51:40 UTC) #13
bungeman
11 years, 3 months ago (2013-01-22 20:27:38 UTC) #14
Message was sent while issue was closed.
Committed revision 7317.

Fixes for VC++ and Android in revisions 7319 and 7322.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b