90e89b366a7dc90111c861ba76c492ce1743a0d1 |
|
06-Jul-2017 |
Jim Van Verth <jvanverth@google.com> |
Add proper aliased support for SDF text Previously, when asked to render aliased text with distance fields, we would get the aliased glyph from the cache and then try to anti-alias the edge. This change instead grabs the anti-aliased glyph, then deliberately aliases the edge. Bug: chromium:707979 Change-Id: I05766af17d7ae58bca27aaffd9e08e5c586e789c Reviewed-on: https://skia-review.googlesource.com/21728 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
0c26a9dbd0b6546731df63c01411cb2aaa5ba236 |
|
06-Jul-2017 |
Brian Salomon <bsalomon@google.com> |
GR_TEST_UTILS fixes Fixes build of Skia lib when GR_TEST_UTILS=0 Makes GR_TEST_UTILS=0 for official builds Makes "Mini" builder bot exercise building GPU with is_official_build=true Bug: skia:6786 Change-Id: I6186683a3a216d2e779645bd9e8276a66bcff4d5 Reviewed-on: https://skia-review.googlesource.com/21524 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
fbcef6eb8abad142daf45418516550f7635b4a52 |
|
15-Jun-2017 |
Robert Phillips <robertphillips@google.com> |
Clean up GrResourceProvider usage The only substantive changes are the removal of GrProxy instantiation in: SkGpuBlurUtils::GaussianBlur GrSimpleTextureEffect::Make* Change-Id: I10970609693bd6ff5b3a3c21b41d82642bb277bc Reviewed-on: https://skia-review.googlesource.com/19965 Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
d3b65972aad96453ff4510caa3e25a2b847c6d1e |
|
22-Mar-2017 |
Brian Salomon <bsalomon@google.com> |
Mark overridden destructors with 'override' and remove 'virtual' This silences a new warning in clang 5.0 Change-Id: Ieb5b75a6ffed60107c3fd16075d2ecfd515b55e8 Reviewed-on: https://skia-review.googlesource.com/10006 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
296b1ccf9b8e9c8b945645efcbaa9c71c7135f58 |
|
15-Mar-2017 |
Robert Phillips <robertphillips@google.com> |
Retract GrContext from src/gpu/effects Change-Id: Iceb7263098286bafb2605ef17d1fe6bb25d71e97 Reviewed-on: https://skia-review.googlesource.com/9693 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
32f2818c9d10090efeea62ccc211d48a33322dfb |
|
28-Feb-2017 |
Robert Phillips <robertphillips@google.com> |
Clean up/remove unused GrFragmentProcessor-derived ctors This is the simple (i.e., non-TextureAdjuster) portion of: https://skia-review.googlesource.com/c/8823/ (Remove GrFragmentProcessor-derived class' GrTexture-based ctors) Change-Id: I8f673ebe922e03c69473c18c166bcf818507c662 Reviewed-on: https://skia-review.googlesource.com/8997 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
dbc8eeb592123619d9c5bb4b6c6225b9fd45d03b |
|
21-Feb-2017 |
Robert Phillips <robertphillips@google.com> |
Remove GrProcessorTestData's GrTextures (No longer) Blocked on: https://skia-review.googlesource.com/c/8450/ (Remove asTextureRef from SkSpecialImage & update effects accordingly (take 2)) This also (unfortunately) picks up a few straggling effects that didn't have a sk_sp<GrTextureProxy> factory. Change-Id: I5ce583a084aa8fe00e866eec1db90e2ec9dd2ab0 Reviewed-on: https://skia-review.googlesource.com/8500 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
bfd5183b9e039b50fb33441d1f90130b8eced80a |
|
04-Jan-2017 |
Brian Salomon <bsalomon@google.com> |
Removes tracking of whether color is ignored by XP. Removes the feedback to GrDrawOp via GrPipelineOptimizations. Change-Id: I3cb17cad41779af292a92385fcd5ac23ae5a1ffd Reviewed-on: https://skia-review.googlesource.com/6561 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
94efbf51f5a88d9e8aa961d3fbe38c5e335d6108 |
|
29-Nov-2016 |
Brian Salomon <bsalomon@google.com> |
Merge GrGLSLCaps into GrShaderCaps GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5121 Change-Id: If8d13638f80f42161cbc766a2666c5789e5772c8 Reviewed-on: https://skia-review.googlesource.com/5121 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
514baff8be7f71111aa7bfb9b099a096b31e16ec |
|
17-Nov-2016 |
Brian Salomon <bsalomon@google.com> |
Rename GrTextureParams to GrSamplerParams GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4965 Change-Id: I7d52e81c670e92ca96117284f44b274ce3cc3671 Reviewed-on: https://skia-review.googlesource.com/4965 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
0bbecb21ab82b3d742c491780bcc2e74be03efed |
|
17-Nov-2016 |
Brian Salomon <bsalomon@google.com> |
Rename GrTextureAccess to GrProcessor::TextureSampler. Renames vars and methods that used the work "access" to refer to this type. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4931 Change-Id: Ibcf488fbd445c5119fc13d190544cd98981bdbee Reviewed-on: https://skia-review.googlesource.com/4931 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
32d1e95ca593adfaa12bc48d4ac0d5501a4b2046 |
|
15-Sep-2016 |
bsalomon <bsalomon@google.com> |
Remove "f" suffix from literal in LCD DF text shader. Also improve DF GP names GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2340603003 Review-Url: https://codereview.chromium.org/2340603003
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
06ca8ec87cf6fab57cadd043a5ac18c4154a4129 |
|
09-Jun-2016 |
bungeman <bungeman@google.com> |
sk_sp for Ganesh. Convert use of GrFragmentProcessor, GrGeometryProcessor, and GrXPFactory to sk_sp. This clarifies ownership and should reduce reference count churn by moving ownership. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2041113004 Review-Url: https://codereview.chromium.org/2041113004
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
b461d3457567cf79a3efac3123c00f7afc37fecb |
|
13-Apr-2016 |
brianosman <brianosman@google.com> |
Rename lots of things from 'sRGB' to 'GammaCorrect', where appropriate Trying to be much more explicit about where we really mean sRGB as a format, and where we mean gamma-correct, as in: "not legacy behavior". Most of the changes to rendering behavior are dependent on the latter, so let's be precise. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1884873006 Review URL: https://codereview.chromium.org/1884873006
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
0586f5cc9713268238394411a5daa2c7758b092b |
|
12-Apr-2016 |
brianosman <brianosman@google.com> |
sRGB support for distance field text. Add a second distance field adjust table that only applies contrast, not fake-gamma correction. Store a flag in the batch at creation time, using the same logic we apply elsewhere (render target format, plus paint flags). That gets us close, but not as good as bitmap text. The final step is to use a linear step function (rather than smoothstep) to map distance to coverage, when we have sRGB output. Smoothstep's nonlinear response is actually doing some fake-gamma, so it ends up over-correcting when the output is already gamma-correct. Results are now very close between L32 (old table, smoothstep) and S32 (contrast-only table, linstep). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1885613002 Review URL: https://codereview.chromium.org/1885613002
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
9d524f22bfde5dc3dc8f48e1be39bdebd3bb0304 |
|
29-Mar-2016 |
halcanary <halcanary@google.com> |
Style bikeshed - remove extraneous whitespace GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1842753002 Review URL: https://codereview.chromium.org/1842753002
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
cf371bb41b4a0591347a076ce7d83336d4bbc6fb |
|
10-Mar-2016 |
jvanverth <jvanverth@google.com> |
Use correct gradient calculation for rotated distance fields. For all uniform scaled matrices, we were using the y coordinate of the y-direction gradient of the v texel space coordinate to scale the distance values. The problem is, if you rotate by 90 degrees this value becomes 0. The correct answer is to take the length of the y-direction gradient. BUG=skia:4864 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1776383002 Review URL: https://codereview.chromium.org/1776383002
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
53f26aa045d58feb9f2114f53629024bffe52dea |
|
10-Dec-2015 |
joshualitt <joshualitt@chromium.org> |
Remove uniform color for GrDistanceFieldGeoProc BUG=skia: Review URL: https://codereview.chromium.org/1512533003
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
d9d30f7b577711a200395f7b62acc0d82a19f9c3 |
|
08-Dec-2015 |
joshualitt <joshualitt@chromium.org> |
Allow LCD text to batch across colorchanges. This will always use color vertices, even when we can't batch across color changes BUG=skia: Review URL: https://codereview.chromium.org/1502253003
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
57d3b039c635945e1dc2fcbac3462ed8bfedb068 |
|
13-Nov-2015 |
egdaniel <egdaniel@google.com> |
Rename some processor functions from GL to GLSL TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1443743002
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
e659a581f63fdccb64dce2dc8a478cf56831feea |
|
13-Nov-2015 |
egdaniel <egdaniel@google.com> |
Move GrGLPrimitive/GeometryProc to GLSL BUG=skia: Review URL: https://codereview.chromium.org/1441683008
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
465283cdf98ed9ab5285ca7b9814e430fca1d452 |
|
11-Sep-2015 |
joshualitt <joshualitt@chromium.org> |
Remove batchtracker BUG=skia: Review URL: https://codereview.chromium.org/1332923003
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
385fe4d4b62d7d1dd76116dd570df3290a2f487b |
|
26-Aug-2015 |
halcanary <halcanary@google.com> |
Style Change: SkNEW->new; SkDELETE->delete DOCS_PREVIEW= https://skia.org/?cl=1316123003 Review URL: https://codereview.chromium.org/1316123003
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
b8c241ad099f3f0c2cbf3e7c10f5f6207175d490 |
|
19-May-2015 |
joshualitt <joshualitt@chromium.org> |
Preliminary attempt to remove batch tracker BUG=skia: Committed: https://skia.googlesource.com/skia/+/cbfe91d82500f4ae8c3ff7bd74b3021a4b89fd84 Review URL: https://codereview.chromium.org/1139723004
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
d3a560fa80bfb3e2d2e989f951bb3b1c52316654 |
|
19-May-2015 |
joshualitt <joshualitt@google.com> |
Revert of Preliminary attempt to remove batch tracker (patchset #3 id:40001 of https://codereview.chromium.org/1139723004/) Reason for revert: breaking bots Original issue's description: > Preliminary attempt to remove batch tracker > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/cbfe91d82500f4ae8c3ff7bd74b3021a4b89fd84 TBR=robertphillips@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1132323003
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
cbfe91d82500f4ae8c3ff7bd74b3021a4b89fd84 |
|
19-May-2015 |
joshualitt <joshualitt@chromium.org> |
Preliminary attempt to remove batch tracker BUG=skia: Review URL: https://codereview.chromium.org/1139723004
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
e578a95d3ab16544794b94da4e7ae13fc2ce6244 |
|
14-May-2015 |
joshualitt <joshualitt@chromium.org> |
Remove viewmatrix from GrGeometryProcessor base class BUG=skia: Review URL: https://codereview.chromium.org/1127953003
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
88c23fc6e8ed0243159fd17d815b4f813805647b |
|
13-May-2015 |
joshualitt <joshualitt@chromium.org> |
remove color from GrGeometryProcessor BUG=skia: Review URL: https://codereview.chromium.org/1140983002
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
1ba8cc9193f13a812401e14b8037fdcf3f3acbac |
|
13-May-2015 |
joshualitt <joshualitt@chromium.org> |
removing equality / compute invariant loops from GrGeometryProcessors BUG=skia: Committed: https://skia.googlesource.com/skia/+/ef292a0901205b9785a30daae2c036aa34a970ca Review URL: https://codereview.chromium.org/1111603004
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
50cb76b2bb0ffa607a1409f77be0ae7d64e31436 |
|
28-Apr-2015 |
joshualitt <joshualitt@google.com> |
Revert of removing equality / compute invariant loops from GrGeometryProcessors (patchset #2 id:20001 of https://codereview.chromium.org/1111603004/) Reason for revert: breaks gl programs Original issue's description: > removing equality / compute invariant loops from GrGeometryProcessors > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/ef292a0901205b9785a30daae2c036aa34a970ca TBR=bsalomon@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1110993002
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
ef292a0901205b9785a30daae2c036aa34a970ca |
|
28-Apr-2015 |
joshualitt <joshualitt@chromium.org> |
removing equality / compute invariant loops from GrGeometryProcessors BUG=skia: Review URL: https://codereview.chromium.org/1111603004
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
cfc18867d982119d9dc2888bf09f1093012daadd |
|
28-Apr-2015 |
jvanverth <jvanverth@google.com> |
Use GLSLCaps for creating processor keys and GLSL-specific programs Effectively all this does is future-proof any GLSL-specific code, as GLSLCaps is just a typedef of GLCaps. BUG=skia: Review URL: https://codereview.chromium.org/1109863004
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
221360a514fb4bfff5b461e83262306b2a0f36af |
|
15-Apr-2015 |
jvanverth <jvanverth@google.com> |
Real fix for the Mali bug. The dFdy(st.y) computation seems to be better than the dFdx(st.x) computation on the Mali, so using that. The end result should be about the same. BUG=skia:3528 Review URL: https://codereview.chromium.org/1082913006
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|
8ed3b9a386374d7996dfbe0c9de13b42f3dd245d |
|
09-Apr-2015 |
jvanverth <jvanverth@google.com> |
Rename DistanceFieldTextureEffect.{cpp,h} BUG=skia: Review URL: https://codereview.chromium.org/1073473005
/external/skia/src/gpu/effects/GrDistanceFieldGeoProc.h
|