aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Create a scanline decoder without creating a codecGravatar scroggo2015-08-04
| | | | | | | | | | | | | | Prior to this CL, if a client wanted to decode scanlines, they had to create an SkCodec in order to get an SkScanlineDecoder. This introduces complications if input data is not easily shared between the two objects. Instead, add methods to SkScanlineDecoder for creating a new one from input data, and remove the creation functions from SkCodec. Update DM and tests. Review URL: https://codereview.chromium.org/1267583002
* Add cheat sheet to wrangler docGravatar joshualitt2015-08-04
| | | | | | | | | BUG=skia: NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1264313003 TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1264313003
* Port SkBlurImage opts to SkOpts.Gravatar mtklein2015-08-04
| | | | | | | | | | | | +268 -535 lines I also rearranged the code a little bit to encapsulate itself better, mostly replacing static helper functions with lambdas. This also let me merge the SSE2 and SSE4.1 code paths. BUG=skia:4117 Review URL: https://codereview.chromium.org/1264103004
* Revert "Implement caching of filled paths in the tessellated path renderer."Gravatar mtklein2015-08-04
| | | | | | | | | | | | | | | | | | This reverts commit 468dfa72eb6694145487be17876804dfca3b7adb. This CL caused signficant GM diffs. Revert "Fix resource cache test." This reverts commit b001c41ed37d2018d38ce787b412ed741585d75d. Revert "Fix SkData leaks at GrResourceKey::setCustomData() call sites." This reverts commit c369348aa596d7be05c9ce0ca5d349e5d1903789. These CLs depend on the first one. BUG=skia: TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1260363007
* update image bench to test gpu and cpu images against raster surfaceGravatar reed2015-08-04
| | | | | | | BUG=513695 TBR= Review URL: https://codereview.chromium.org/1261043003
* cache private readback for gpu-imagesGravatar reed2015-08-04
| | | | | | | | | | | | Does not try to cache calls to readPixels at the moment: - not triggered by drawing - not clear if we want to perform any pixel transformations (that readPixels allows) on the GPU or CPU Can consider that another time. BUG=513695 Review URL: https://codereview.chromium.org/1262923003
* Remove IGNORE_ROT_AA_RECT_OPT flagGravatar robertphillips2015-08-04
| | | | | | It looks like the positive version was added (SHADER_AA_FILL_RECT) but the negative version wasn't removed. Review URL: https://codereview.chromium.org/1271903003
* Added registerChild; transforms, textures, glKey automatically handled.Gravatar wangyix2015-08-04
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1266633003
* Fix SkData leaks at GrResourceKey::setCustomData() call sites.Gravatar Stephen White2015-08-03
| | | | | | | BUG=skia: TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1270103003 .
* Revert of SkCanvas::onDrawPicture() quick-reject (patchset #3 id:40001 of ↵Gravatar mtklein2015-08-03
| | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1264133003/ ) Reason for revert: webkit_unit_tests :( Original issue's description: > SkCanvas::onDrawPicture() quick-reject > > R=reed@google.com,mtklein@google.com > > Committed: https://skia.googlesource.com/skia/+/48ed62b29d45e42b971aac8858da06781c93e6d7 TBR=reed@google.com,fmalita@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1273433002
* SkCanvas::onDrawPicture() quick-rejectGravatar fmalita2015-08-03
| | | | | | R=reed@google.com,mtklein@google.com Review URL: https://codereview.chromium.org/1264133003
* remove flags that control no codeGravatar reed2015-08-03
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1259653004
* Fix elliptical rrect clip shaders for large radii on devices with mediumpGravatar bsalomon2015-08-03
| | | | | | BUG=chromium:426217 Review URL: https://codereview.chromium.org/1256353004
* add bench for gpu-image -> cpu-surfaceGravatar reed2015-08-03
| | | | | | | BUG=513695 TBR= Review URL: https://codereview.chromium.org/1261663004
* Fix resource cache test.Gravatar Stephen White2015-08-03
| | | | | | TBR=bsalomon@chromium.org Review URL: https://codereview.chromium.org/1257253007 .
* Implement caching of filled paths in the tessellated path renderer.Gravatar senorblanco2015-08-03
| | | | | | | | | | | | | | | | | | | | | | | Paths are cached as tessellated triangle meshes in vertex buffers on the GPU. Stroked paths are not (yet) cached. Paths containing no curved segments (linear paths) are reused at all scales. Paths containing curved segments are reused within a scale tolerance threshold. In order to invalidate the cache when an SkPath is changed or deleted, this required implementing genID change notification in SkPath. This is modelled almost exactly on SkPixelRef::GenIDChangeListener. However, It does not currently implement the check for unique genIDs, so notifiers will fire when the first instance of an SkPathRef using a given genID is destroyed. Another caveat is that you cannot successfully add a change notifier to an empty path, since it uses the "canonical" empty path which is never modified or destroyed. For this reason, we prevent adding listeners to it. BUG=skia:4121,skia:4122, 497403 DOCS_PREVIEW= https://skia.org/?cl=1114353004 Review URL: https://codereview.chromium.org/1114353004
* remove getdevice guard for androidGravatar reed2015-08-03
| | | | | | | BUG=skia: NOTRY=True Review URL: https://codereview.chromium.org/1266363002
* Use new API everywhere for GrDefaultGeoProcFactoryGravatar joshualitt2015-08-03
| | | | | | | | BUG=skia: Committed: https://skia.googlesource.com/skia/+/801823b3d825d96baadeb9077c5ed1a8ada05cf2 Review URL: https://codereview.chromium.org/1261083003
* Missing overrides for Sinks in HWUI.Gravatar mtklein2015-08-03
| | | | | | | | See crrev.com/1263113002 BUG=skia:4138 Review URL: https://codereview.chromium.org/1263143004
* Add abliity to set textblob cache budget to GrContextGravatar joshualitt2015-08-03
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1264283002
* Update assert to allow config conversion effect for all configs when not ↵Gravatar bsalomon2015-08-03
| | | | | | | | premul/unpremuling TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/1258763006
* Revert of Use new API everywhere for GrDefaultGeoProcFactory (patchset #5 ↵Gravatar joshualitt2015-08-03
| | | | | | | | | | | | | | | | | | | | | | id:80001 of https://codereview.chromium.org/1261083003/) Reason for revert: breaking things Original issue's description: > Use new API everywhere for GrDefaultGeoProcFactory > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/801823b3d825d96baadeb9077c5ed1a8ada05cf2 TBR=robertphillips@google.com,bsalomon@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1264283004
* Use new API everywhere for GrDefaultGeoProcFactoryGravatar joshualitt2015-08-03
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1261083003
* add missing commaGravatar Derek Sollenberger2015-08-03
| | | | Review URL: https://codereview.chromium.org/1268483003 .
* Update NulCanvas so everything builds.Gravatar bungeman2015-08-03
| | | | | | SkNulCanvas.h is out of date, so the 'all' target fails. Review URL: https://codereview.chromium.org/1270633004
* Documentation: SkPathEffectGravatar halcanary2015-08-03
| | | | | | | NOTRY=true DOCS_PREVIEW= https://skia.org/user/api/skpaint?cl=1269563008 Review URL: https://codereview.chromium.org/1269563008
* fix tests for android framework buildGravatar djsollen2015-08-03
| | | | Review URL: https://codereview.chromium.org/1263243003
* Add BW masks to random scaler contextGravatar joshualitt2015-08-01
| | | | | | | | | TBR=bsalomon@google.com BUG=skia: Committed: https://skia.googlesource.com/skia/+/a4a530614e9ba856aac3f16c29683e6a2a9153d9 Review URL: https://codereview.chromium.org/1270793003
* Revert of Add BW masks to random scaler context (patchset #1 id:1 of ↵Gravatar joshualitt2015-08-01
| | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1270793003/) Reason for revert: breaks mac Original issue's description: > Add BW masks to random scaler context > > TBR=bsalomon@google.com > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/a4a530614e9ba856aac3f16c29683e6a2a9153d9 TBR=joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1264843003
* Add BW masks to random scaler contextGravatar joshualitt2015-08-01
| | | | | | | TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1270793003
* adding gm to use random scaler contextGravatar joshualitt2015-08-01
| | | | | | | | BUG=skia: Committed: https://skia.googlesource.com/skia/+/853336c532504b3436d7dcbf252419f00c79066d Review URL: https://codereview.chromium.org/1268853008
* remove now-dead flagsGravatar reed2015-08-01
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1258963005
* Fix no-gpu debugger.Gravatar bungeman2015-07-31
| | | | Review URL: https://codereview.chromium.org/1262723005
* Move strike to subrun in GrAtlasTextContextGravatar joshualitt2015-07-31
| | | | | | | | BUG=skia: Committed: https://skia.googlesource.com/skia/+/77d89f7dd243a17452d3a5f16a98622993e6bdd9 Review URL: https://codereview.chromium.org/1257253005
* C API: remove dead code, simplify boilerplateGravatar halcanary2015-07-31
| | | | Review URL: https://codereview.chromium.org/1261953006
* Revert of adding gm to use random scaler context (patchset #4 id:60001 of ↵Gravatar joshualitt2015-07-31
| | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1268853008/) Reason for revert: breaking bots Original issue's description: > adding gm to use random scaler context > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/853336c532504b3436d7dcbf252419f00c79066d TBR=bsalomon@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1259033004
* disable SkOpts on x86 iOS (simulator)Gravatar mtklein2015-07-31
| | | | | | | | TBR= BUG=skia: Review URL: https://codereview.chromium.org/1266443006
* adding gm to use random scaler contextGravatar joshualitt2015-07-31
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1268853008
* Fix straggling SK_VIRTUAL_CONSTRAINT_TYPEsGravatar scroggo2015-07-31
| | | | | | | | | These were removed with crrev.com/1239193002, but a few were missed in files that are only build on Android framework. Brings the Android build one step closer to building. Review URL: https://codereview.chromium.org/1268603003
* Revert of Move strike to subrun in GrAtlasTextContext (patchset #3 id:40001 ↵Gravatar joshualitt2015-07-31
| | | | | | | | | | | | | | | | | | | | | | of https://codereview.chromium.org/1257253005/) Reason for revert: breaking bots Original issue's description: > Move strike to subrun in GrAtlasTextContext > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/77d89f7dd243a17452d3a5f16a98622993e6bdd9 TBR=bsalomon@google.com,robertphillips@google.com,jvanverth@google.com,joshualitt@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1266253002
* Move SkOpts.h back to src/core.Gravatar mtklein2015-07-31
| | | | | | | | | | | The Chrome opts targets (sse2, ssse3, sse41, etc) don't have include/private on their include path. This should unblock the roll. TBR=reed@google.com BUG=skia:4117 Review URL: https://codereview.chromium.org/1268853007
* Some cleanup in GrTextureProvider and GrResourceProvider.Gravatar bsalomon2015-07-31
| | | | Review URL: https://codereview.chromium.org/1261643004
* Move strike to subrun in GrAtlasTextContextGravatar joshualitt2015-07-31
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1257253005
* C API: add sk_xfermode.h, impl, testGravatar halcanary2015-07-31
| | | | Review URL: https://codereview.chromium.org/1242403005
* Speculative fix for http://crbug.com/515966Gravatar bsalomon2015-07-31
| | | | | | BUG=chromium:515966 Review URL: https://codereview.chromium.org/1268723005
* Documentation spelling errorGravatar halcanary2015-07-31
| | | | | | | | BUG=skia:4157 NOTRY=true TBR= Review URL: https://codereview.chromium.org/1267843002
* Documentation: SkXfermode::ModeGravatar halcanary2015-07-31
| | | | | | | | BUG=skia:4157 NOTRY=true DOCS_PREVIEW= https://skia.org/user/api/skpaint?cl=1270643004 Review URL: https://codereview.chromium.org/1270643004
* Another small fix to GrFontScalerGravatar joshualitt2015-07-31
| | | | | | | TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1261433006
* Remove unnecessary virtual destructor on SkTArrayGravatar bsalomon2015-07-31
| | | | Review URL: https://codereview.chromium.org/1259143006
* Port SkXfermode opts to SkOpts.hGravatar mtklein2015-07-31
| | | | | | | | | | | | | Renames Sk4pxXfermode.h to SkXfermode_opts.h, and refactors it a tiny bit internally. This moves xfermode optimization from being "compile-time everywhere but NEON" to simply "runtime everywhere". I don't anticipate any effect on perf or correctness. BUG=skia:4117 Review URL: https://codereview.chromium.org/1264543006