aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* speculative fix for iosGravatar Brian Salomon2014-10-08
| | | | | | TBR= Review URL: https://codereview.chromium.org/637293003
* Make GM default to reseting gpu contexts on android.Gravatar bsalomon2014-10-08
| | | | | | TBR=mtklein@google.com Review URL: https://codereview.chromium.org/635293003
* Make the Sk GL context class an abstract base classGravatar kkinnunen2014-10-08
| | | | | | | | | | | | | | | | | | | | | Make the Sk GL context class, SkGLNativeContext, an abstract base class. Before, it depended on ifdefs to implement the platform dependent polymorphism. Move the logic to subclasses of the various platform implementations. This a step to enable Skia embedders to compile dm and bench_pictures. The concrete goal is to support running these test apps with Chromium command buffer. With this change, Chromium can implement its own version of SkGLNativeContext that uses command buffer, and host the implementation in its own repository. Implements the above by renaming the SkGLContextHelper to SkGLContext and removing the unneeded SkGLNativeContext. Also removes SkGLNativeContext::AutoRestoreContext functionality, it appeared to be unused: no use in Skia code, and no tests. BUG=skia:2992 Review URL: https://codereview.chromium.org/630843002
* Update SKP version to 120Gravatar borenet2014-10-07
| | | | | | | | Automatic commit by the RecreateSKPs bot. TBR= Review URL: https://codereview.chromium.org/637173002
* Cleanup of shader building systemGravatar joshualitt2014-10-07
| | | | | | | | | | | | | | | | | this is a huge refactor and cleanup of the gl shader building system in Skia. The entire shader building pipeline is now part of GrGLProgramCreator, which takes a gp, and some fps, and creates a program. I added some subclasses of GrGLProgram to handle the eccentricities of Nvpr/Nvpres. Outside of the builders folder and GrGLPrograms, this change is basically just a rename solo gp BUG=skia: Committed: https://skia.googlesource.com/skia/+/fe1233c3f12f81bb675718516bbb32f72af726ec Review URL: https://codereview.chromium.org/611653002
* Only use msaa target for blur mask when doAA is trueGravatar derekf2014-10-07
| | | | | | BUG=skia:2995 Review URL: https://codereview.chromium.org/639523002
* Revert of Cleanup of shader building system (patchset #25 id:470001 of ↵Gravatar joshualitt2014-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/611653002/) Reason for revert: Seems to have messed up windows 7 gms Original issue's description: > Cleanup of shader building system > > this is a huge refactor and cleanup of the gl shader building system in > Skia. The entire shader building pipeline is now part of > GrGLProgramCreator, which takes a gp, and some fps, and creates a > program. I added some subclasses of GrGLProgram to handle the > eccentricities of Nvpr/Nvpres. Outside of the builders folder > and GrGLPrograms, this change is basically just a rename > > > solo gp > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/fe1233c3f12f81bb675718516bbb32f72af726ec TBR=bsalomon@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/635533005
* Cleanup of shader building systemGravatar joshualitt2014-10-07
| | | | | | | | | | | | | | | this is a huge refactor and cleanup of the gl shader building system in Skia. The entire shader building pipeline is now part of GrGLProgramCreator, which takes a gp, and some fps, and creates a program. I added some subclasses of GrGLProgram to handle the eccentricities of Nvpr/Nvpres. Outside of the builders folder and GrGLPrograms, this change is basically just a rename solo gp BUG=skia: Review URL: https://codereview.chromium.org/611653002
* Revert "GrResourceCache2 manages scratch texture."Gravatar Brian Salomon2014-10-07
| | | | This reverts commit d14e1a27643125bfef37fa0ed314b64c1fae22b7.
* Stay in floats as much as possible in SkTileGrid, particularly in insert.Gravatar mtklein2014-10-07
| | | | | | | | | | | | | | SkTileGrid::insert() is about 15% of recording time before this CL, which reduces it to ~10%. Next steps are looking into some of the TODOs I've left myself, and vectorizing the math. Most of the win here comes from converting integer divisions into float multiplies. BUG=skia:1021 Review URL: https://codereview.chromium.org/615853007
* Update perspective GMs for dfpathsGravatar jvanverth2014-10-07
| | | | | | TBR=egdaniel@google.com Review URL: https://codereview.chromium.org/632363004
* Add baselines for dftext GM.Gravatar jvanverth2014-10-07
| | | | | | TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/638683002
* Add -Wno-invalid-offsetof to Mac and iOS builds too.Gravatar mtklein2014-10-07
| | | | | | | | | | | | We use this on Linux already, but for whatever reason wasn't a problem on iOS until using it in SkPaint. Mac 10.7 and 10.8 are showing this warning too, but seems -Werror is not enabled. CQ_EXTRA_TRYBOTS=tryserver.skia:Build-Mac10.7-Clang-Arm7-Release-iOS-Trybot BUG=skia: Review URL: https://codereview.chromium.org/637593002
* Add SkPaint::getHash().Gravatar mtklein2014-10-07
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/637583002
* Revert of gl programs rewrite (patchset #10 id:180001 of ↵Gravatar joshualitt2014-10-07
| | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/628633003/) Reason for revert: breaks angle bot Original issue's description: > gl programs rewrite > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/07a255310aca9f3e83bf741dc663a58818ad681c TBR=bsalomon@google.com,egdaniel@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/631183003
* gl programs rewriteGravatar joshualitt2014-10-07
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/628633003
* Fix for perspective GMs and df paths.Gravatar jvanverth2014-10-07
| | | | Review URL: https://codereview.chromium.org/636933003
* Fix perspective version of dftext GMGravatar jvanverth2014-10-07
| | | | Review URL: https://codereview.chromium.org/634923002
* GrResourceCache2 manages scratch texture.Gravatar bsalomon2014-10-07
| | | | | | BUG=skia:2889 Review URL: https://codereview.chromium.org/608883003
* Make createOptDrawState return NULL if we would end up not drawingGravatar egdaniel2014-10-07
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/630063002
* explicitly delete our c++ window on quitGravatar reed2014-10-07
| | | | | | | | BUG=skia: TBR= NOTRY=True Review URL: https://codereview.chromium.org/633923002
* Revert of Don't readback and reupload texture-backed bitmaps (patchset #1 ↵Gravatar bsalomon2014-10-07
| | | | | | | | | | | | | | | | | | id:1 of https://codereview.chromium.org/635573004/) Reason for revert: This fails on some Android devices, missing part of tileimagefilter GM which were previously triggering the readback/upload code path. Original issue's description: > Don't readback and reupload texture-backed bitmaps > > Committed: https://skia.googlesource.com/skia/+/b9ab5631703c258f1aae7a3ca1bb4b6596b5b42c TBR=robertphillips@google.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/632293002
* Added more msaa blurring rebaselines & a suppressionGravatar robertphillips2014-10-07
| | | | | | | | | | These are rebaselines for: Create MSAA render target for blur mask texture - https://codereview.chromium.org/616923004 BUG=skia:2995 TBR=bsalomon@google.com NOTRY=true Review URL: https://codereview.chromium.org/628813003
* GrContext::copyTexture->GrContext::copySurface.Gravatar bsalomon2014-10-07
| | | | | | | | | | | | Add a flush writes pixel ops flag. Add an explicit flush writes for GrSurface. BUG=skia:2977 Committed: https://skia.googlesource.com/skia/+/cf99b00980b6c9c557e71abf1a7c9f9b21217262 Review URL: https://codereview.chromium.org/622663002
* Don't readback and reupload texture-backed bitmapsGravatar bsalomon2014-10-07
| | | | Review URL: https://codereview.chromium.org/635573004
* Rebaseline multipicturedraw_biglayer_*Gravatar robertphillips2014-10-07
| | | | | | | TBR=reed@google.com NOTRY=true Review URL: https://codereview.chromium.org/635813003
* Remove suppressions in ignored-tests.txtGravatar robertphillips2014-10-07
| | | | | | | | | This should be safe after: Update suppressed baseline images - https://codereview.chromium.org/605973003/ TBR=reed@google.com NOTRY=true Review URL: https://codereview.chromium.org/628013003
* extra call to flush until brian can figure it outGravatar reed2014-10-07
| | | | | | | BUG=skia: TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/633643004
* Update SKP version to 119Gravatar borenet2014-10-07
| | | | | | | | Automatic commit by the RecreateSKPs bot. TBR= Review URL: https://codereview.chromium.org/635723002
* override applicationShouldTerminate so we can cleanup when we quitGravatar reed2014-10-07
| | | | | | | BUG=skia: TBR= Review URL: https://codereview.chromium.org/636723002
* Whitespace change to test CQGravatar rmistry2014-10-07
| | | | | | | NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/630093003
* Rebaseline after msaa blur changeGravatar bsalomon2014-10-06
| | | | | | | TBR=robertphillips@google.com NOTRY=true Review URL: https://codereview.chromium.org/631993002
* Update suppressed baseline imagesGravatar robertphillips2014-10-06
| | | | | | | | | | This updates the non-multipicturedraw GM images suppressed in: Don't turn on dither for saveLayers which have no paint - https://codereview.chromium.org/619363002/ TBR=reed@google.com NOTRY=true Review URL: https://codereview.chromium.org/605973003
* Reduce sizes in dftext GM on Android to match desktop better.Gravatar jvanverth2014-10-06
| | | | Review URL: https://codereview.chromium.org/630103003
* fix missing webtry output capture displayGravatar Greg Humphreys2014-10-06
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/628353002
* rework webtry css with compass and bootstrapGravatar Greg Humphreys2014-10-06
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/623173004
* add surfaceprops to SkWindow, and 'D' to toggle distancefieldfontsGravatar reed2014-10-06
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/631943002
* Add suppression for multipicturedraw_biglayer GMGravatar robertphillips2014-10-06
| | | | | | | TBR=reed@google.com NOTRY=true Review URL: https://codereview.chromium.org/631973002
* Fix some incorrect assumptions in GrLayerCache.cppGravatar robertphillips2014-10-06
| | | | Review URL: https://codereview.chromium.org/630173002
* Create MSAA render target for blur mask textureGravatar derekf2014-10-06
| | | | | | Original Author: Henry Song <henrysong@samsung.com> Review URL: https://codereview.chromium.org/616923004
* Plumb OptDrawState down to VertexShaderBuilderGravatar egdaniel2014-10-06
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/628293002
* Fix multipicturedraw_biglayer GMGravatar robertphillips2014-10-06
| | | | | | Having a layer is a prerequisite for having it be hoisted. Review URL: https://codereview.chromium.org/632743002
* Update baseline GM imagesGravatar robertphillips2014-10-06
| | | | | | | | | | | | This updates the multipicturedraw_* GM images for: Reduce overdraw in MultiPictureDraw Sierpinski GM - https://codereview.chromium.org/582633003/ Don't turn on dither for saveLayers which have no paint - https://codereview.chromium.org/619363002/ TBR=reed@google.com NOTRY=true Review URL: https://codereview.chromium.org/632703003
* Restore a really single-threaded mode to DM.Gravatar mtklein2014-10-06
| | | | | | | | | | | | | | | Used to be: 0 -> run on main thread plus an autodetected number of extra threads (default) N -> run on main thread plus N extra threads Now it's: -1 -> run on main thread plus an autodetected number of extra threads (default) 0 -> run on main thread N -> run on main thread plus N extra threads BUG=skia: Review URL: https://codereview.chromium.org/636593002
* implement some so we can test itGravatar reed2014-10-06
| | | | | | | NOTRY=True TBR= Review URL: https://codereview.chromium.org/629903004
* New baselinesGravatar robertphillips2014-10-06
| | | | | | | | | New baseline images for multipicturedraw_biglayer* GMs added in (Add a MultiPictureDraw GM to exercise layer clipping - https://codereview.chromium.org/617723004/). NOTRY=true TBR=reed@google.com Review URL: https://codereview.chromium.org/629293002
* Update fontcache expectationsGravatar jvanverth2014-10-06
| | | | | | TBR=reed@google.com Review URL: https://codereview.chromium.org/634623002
* Fix usage of SK_BUILD_* defines.Gravatar tfarina2014-10-06
| | | | | | | | | | | | | | | Since we just 'define' them, but not attribute anything to them, like '1' for example, cpp expands it to nothing and that breaks the "#if" clauses. To fix that, uses "#if defined(...)" which will correctly check if your macro name was defined or not. BUG=skia:2850 TEST=make most R=robertphillips@google.com Review URL: https://codereview.chromium.org/628763005
* a few more tweaks to the webtry setup docGravatar humper2014-10-06
| | | | | | | BUG=skia: TBR=tfarina Review URL: https://codereview.chromium.org/626623002
* add environment variable to webtry local run documentationGravatar Greg Humphreys2014-10-06
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/631693003