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

Issue 6818058: Gpu to apply mask gamma.

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

Description

Gpu to apply mask gamma.

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+517 lines, -15 lines) Patch
M gyp/gpu.gypi View 1 chunk +4 lines, -0 lines 0 comments Download
M include/core/SkDevice.h View 1 chunk +8 lines, -0 lines 0 comments Download
M include/core/SkPaint.h View 2 chunks +5 lines, -2 lines 1 comment Download
M include/gpu/GrTextContext.h View 3 chunks +7 lines, -1 line 1 comment Download
M include/gpu/SkGpuDevice.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkDraw.cpp View 2 chunks +4 lines, -2 lines 0 comments Download
M src/core/SkGlyphCache.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/core/SkPaint.cpp View 4 chunks +21 lines, -4 lines 1 comment Download
M src/gpu/GrTextContext.cpp View 3 chunks +13 lines, -2 lines 1 comment Download
M src/gpu/SkGpuDevice.cpp View 3 chunks +18 lines, -2 lines 1 comment Download
A src/gpu/effects/GrSingleTextureGammaEffect.h View 1 chunk +49 lines, -0 lines 3 comments Download
A src/gpu/effects/GrSingleTextureGammaEffect.cpp View 1 chunk +238 lines, -0 lines 0 comments Download
A src/gpu/gl/GrGLColorSpaceLuminance.h View 1 chunk +58 lines, -0 lines 0 comments Download
A src/gpu/gl/GrGLColorSpaceLuminance.cpp View 1 chunk +83 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 3
bungeman
Once the information is in GrTextContext everything is good. Getting that information is more difficult. ...
11 years, 6 months ago (2012-10-30 20:04:40 UTC) #1
bsalomon
Any idea what performance of the gamma text is like compared to the current code? ...
11 years, 6 months ago (2012-10-30 20:52:50 UTC) #2
reed1
11 years, 6 months ago (2012-10-30 21:09:34 UTC) #3
more and more, I think we should make a small struct that carries these
gamma/contrast/etc. parameters. No idea what to call it....
DeviceCharacteristics?

https://codereview.appspot.com/6818058/diff/1/include/core/SkPaint.h
File include/core/SkPaint.h (right):

https://codereview.appspot.com/6818058/diff/1/include/core/SkPaint.h#newcode967
include/core/SkPaint.h:967: 
So many default/bool parameters. Perhaps we can change these to internal enums
or something, so call sites are clearer.

https://codereview.appspot.com/6818058/diff/1/src/core/SkPaint.cpp
File src/core/SkPaint.cpp (right):

https://codereview.appspot.com/6818058/diff/1/src/core/SkPaint.cpp#newcode1682
src/core/SkPaint.cpp:1682: void SkScalerContext::PostMakeRec(const SkPaint&
paint, SkScalerContext::Rec* rec) {
Can we land this change first? (passing typeface to fonthost)

https://codereview.appspot.com/6818058/diff/1/src/gpu/SkGpuDevice.cpp
File src/gpu/SkGpuDevice.cpp (right):

https://codereview.appspot.com/6818058/diff/1/src/gpu/SkGpuDevice.cpp#newcode...
src/gpu/SkGpuDevice.cpp:1818: }
OK, now I'm sure we have too many bool params :)
Sign in to reply to this message.

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