aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Revert of remove unused (by clients) SkUnitMapper ↵Gravatar commit-bot@chromium.org2014-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/283273002/) Reason for revert: does not address all legacy callsites in chrome. e.g. [13:45:32.091872] ../../ui/native_theme/native_theme_base.cc:608:76: error: no matching function for call to ‘SkGradientShader::CreateLinear(SkPoint [3], SkColor [3], NULL, int, SkShader::TileMode, NULL)’ [13:45:32.091919] gradient_bounds, colors, NULL, 3, SkShader::kClamp_TileMode, NULL)); Original issue's description: > remove unused (by clients) SkUnitMapper > > BUG=skia: > > Committed: http://code.google.com/p/skia/source/detail?r=14761 R=robertphillips@google.com, scroggo@google.com, george@mozilla.com TBR=george@mozilla.com, robertphillips@google.com, scroggo@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Author: reed@google.com Review URL: https://codereview.chromium.org/287063009 git-svn-id: http://skia.googlecode.com/svn/trunk@14763 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebase for https://codereview.chromium.org/283803003/Gravatar commit-bot@chromium.org2014-05-16
| | | | | | | | | | | | | | NOTREECHECKS=True NOTRY=True R=bsalomon@google.com TBR=bsalomon@google.com BUG=skia: Author: egdaniel@google.com Review URL: https://codereview.chromium.org/291483008 git-svn-id: http://skia.googlecode.com/svn/trunk@14762 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unused (by clients) SkUnitMapperGravatar commit-bot@chromium.org2014-05-16
| | | | | | | | | | | BUG=skia: R=robertphillips@google.com, scroggo@google.com, george@mozilla.com Author: reed@google.com Review URL: https://codereview.chromium.org/283273002 git-svn-id: http://skia.googlecode.com/svn/trunk@14761 2bbb7eff-a529-9590-31e7-b0007b416f81
* Generate bench/Android.mk from gyp.Gravatar commit-bot@chromium.org2014-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, remove json functionality and do not depend on json. This allows us to build and run until solving skbug.com/2448. bench/DeferredSurfaceCopyBench.cpp: Include GrRenderTarget last, so SK_SUPPORT_GPU will be set properly. bench/ResultsWriter.h: bench/benchmain.cpp: Remove JSONResultsWriter when SK_BUILD_JSON_WRITER is not defined, which is the case for the Android framework build. gyp/bench.gyp: Depend on skia and cutils (for android_atomic_inc etc). gyp/common_conditions.gypi: Define SK_BUILD_JSON_WRITER when skia_build_json_writer is set. gyp/common_variables.gypi: Add a flag for skia_build_json_writer, and set it only when skia_android_framework is not set. gyp/jsoncpp.gyp: Do not build jsoncpp when skia_build_json_writer is not defined. include/utils/SkJSONCPP.h: Do not include json headers when SK_BUILD_JSON_WRITER is not defined. platform_tools/android/bin/gyp_to_android.py: Generate bench/Android.mk. platform_tools/android/gyp_gen/gypd_parser.py: Skip dest_dir when checking for include_dirs. platform_tools/android/gyp_gen/makefile_writer.py: Build bench/Android.mk when building external/skia. platform_tools/android/gyp_gen/tool_makefile_writer.py: Add a parameter for putting the binary into /data/local/tmp. BUG=skia:2447 BUG=skia:2448 R=halcanary@google.com, reed@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/282053002 git-svn-id: http://skia.googlecode.com/svn/trunk@14760 2bbb7eff-a529-9590-31e7-b0007b416f81
* DM: find max component differenceGravatar commit-bot@chromium.org2014-05-16
| | | | | | | | | | | | | So far unused except to back BitmapsEqual, but I want to play with it in CLs I'm working on. BUG=skia: R=reed@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/290043005 git-svn-id: http://skia.googlecode.com/svn/trunk@14759 2bbb7eff-a529-9590-31e7-b0007b416f81
* bench rebase after 1663d40Gravatar commit-bot@chromium.org2014-05-16
| | | | | | | | | | | | R=robertphillips@google.com TBR=robertphillips@google.com NOTRY=true Author: bensong@google.com Review URL: https://codereview.chromium.org/292503002 git-svn-id: http://skia.googlecode.com/svn/trunk@14758 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2014-05-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@14757 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add polyfill for pointer events, change code to handle both mouse and ↵Gravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | | | | | | pointer events equalls. Mobile first! BUG=skia: R=mtklein@google.com Author: jcgregorio@google.com Review URL: https://codereview.chromium.org/286913005 git-svn-id: http://skia.googlecode.com/svn/trunk@14756 2bbb7eff-a529-9590-31e7-b0007b416f81
* hack to expand 'pad' to account for very wide glyphsGravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | | BUG=crbug.com/373785 R=mtklein@google.com, robertphillips@google.com, bungeman@google.com, eae@chromium.org Author: reed@google.com Review URL: https://codereview.chromium.org/288923006 git-svn-id: http://skia.googlecode.com/svn/trunk@14755 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add lua scripts to scrape dashing infoGravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | | BUG=skia: R=reed@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/288883003 git-svn-id: http://skia.googlecode.com/svn/trunk@14754 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move skPaint2GrPaint to SkGr.h/cppGravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | | BUG=skia: R=bsalomon@google.com, brian@thesalomons.net, robertphillips@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/283803003 git-svn-id: http://skia.googlecode.com/svn/trunk@14753 2bbb7eff-a529-9590-31e7-b0007b416f81
* refactor DM::SetupBitmapGravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | | | | Seemed sort of repetitive. BUG=skia: R=reed@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/286993005 git-svn-id: http://skia.googlecode.com/svn/trunk@14752 2bbb7eff-a529-9590-31e7-b0007b416f81
* Factor out DumpRecord method from dump_record tool for later useGravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | R=mtklein@google.com Author: halcanary@google.com Review URL: https://codereview.chromium.org/282233003 git-svn-id: http://skia.googlecode.com/svn/trunk@14751 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SSE4 check to BlurImage optimization.Gravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | | | | | | Adds a build-time SSE4 check to SkBlurImage_opts_SSE2.cpp in the SkBoxBlur_SSE2 function. Signed-off-by: Henrik Smiding <henrik.smiding@intel.com> R=reed@google.com, mtklein@google.com, tomhudson@google.com, djsollen@google.com, joakim.landberg@intel.com, senorblanco@chromium.org Author: henrik.smiding@intel.com Review URL: https://codereview.chromium.org/281963002 git-svn-id: http://skia.googlecode.com/svn/trunk@14750 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag.Gravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | | | | | Neither Chrome nor Android uses this flag anymore. Make sure all constructors touched that only have one parameter are marked as 'explicit'. BUG=2187 R=scroggo@google.com, reed@google.com Author: dominikg@chromium.org Review URL: https://codereview.chromium.org/282203004 git-svn-id: http://skia.googlecode.com/svn/trunk@14749 2bbb7eff-a529-9590-31e7-b0007b416f81
* render_pictures: add --mismatchPath flagGravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | | | | When set, it will only write out images that don't match expectations. BUG=skia:1942 R=rmistry@google.com Author: epoger@google.com Review URL: https://codereview.chromium.org/283123002 git-svn-id: http://skia.googlecode.com/svn/trunk@14748 2bbb7eff-a529-9590-31e7-b0007b416f81
* delete no-longer-used update-doxygen.shGravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | | | BUG=skia:2470 NOTRY=True R=borenet@google.com Author: epoger@google.com Review URL: https://codereview.chromium.org/290033002 git-svn-id: http://skia.googlecode.com/svn/trunk@14747 2bbb7eff-a529-9590-31e7-b0007b416f81
* bench rebase after a1633daGravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | | | R=robertphillips@google.com TBR=robertphillips@google.com NOTRY=true Author: borenet@google.com Review URL: https://codereview.chromium.org/286073005 git-svn-id: http://skia.googlecode.com/svn/trunk@14746 2bbb7eff-a529-9590-31e7-b0007b416f81
* Always inline SkFloatToFixed_arm.Gravatar commit-bot@chromium.org2014-05-15
| | | | | | | | | | | | | | | We have "inline" assembly for speed on ARM, but the compiler when told to optimize for space wasn't inlining it, destroying any possible performance improvement. BUG=skbug:2550 R=mtklein@google.com, reed@google.com, tomhudson@google.com Author: tomhudson@chromium.org Review URL: https://codereview.chromium.org/281143002 git-svn-id: http://skia.googlecode.com/svn/trunk@14745 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2014-05-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@14744 2bbb7eff-a529-9590-31e7-b0007b416f81
* Effects on the paint also prevent layer merge optimization.Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | BUG=skia: R=robertphillips@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/287953002 git-svn-id: http://skia.googlecode.com/svn/trunk@14743 2bbb7eff-a529-9590-31e7-b0007b416f81
* DM: tweaksGravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | | | - translate filenames to task names instead of using a verbatim mode in WriteTask - add an option to write out only PNG data to the .png if you don't need -r to work BUG=skia: R=reed@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/288823002 git-svn-id: http://skia.googlecode.com/svn/trunk@14742 2bbb7eff-a529-9590-31e7-b0007b416f81
* comment out info4 test until Rob can fix itGravatar reed@google.com2014-05-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@14741 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline_server: apply ignored-tests.txt within rebaseline_server, not ↵Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | | | | | just on the bots (SkipBuildbotRuns) BUG=skia:2514 NOTREECHECKS=True NOTRY=True R=rmistry@google.com Author: epoger@google.com Review URL: https://codereview.chromium.org/287623006 git-svn-id: http://skia.googlecode.com/svn/trunk@14740 2bbb7eff-a529-9590-31e7-b0007b416f81
* DM: Add --skps.Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | | | | This does render_pictures, plus checks SkRecord optimizations. Disable an SkRecord optimization that draws several bot SKPs wrong. (To be investigated.) BUG=skia:2378 R=reed@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/270543004 git-svn-id: http://skia.googlecode.com/svn/trunk@14739 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove reference to (deleted) SkKernel33MaskFilterGravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | BUG=skia: R=caryclark@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/281163002 git-svn-id: http://skia.googlecode.com/svn/trunk@14738 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix goauth pathGravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | BUG=skia:2551 R=scroggo@google.com Author: borenet@google.com Review URL: https://codereview.chromium.org/288763002 git-svn-id: http://skia.googlecode.com/svn/trunk@14737 2bbb7eff-a529-9590-31e7-b0007b416f81
* update NeedsDeepCopyGravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | BUG=skia: R=mtklein@google.com, scroggo@google.com, dominikg@chromium.org Author: reed@google.com Review URL: https://codereview.chromium.org/289723002 git-svn-id: http://skia.googlecode.com/svn/trunk@14736 2bbb7eff-a529-9590-31e7-b0007b416f81
* bench rebase after 9f3b925Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | R=robertphillips@google.com TBR=robertphillips@google.com NOTRY=true Author: bensong@google.com Review URL: https://codereview.chromium.org/286823004 git-svn-id: http://skia.googlecode.com/svn/trunk@14735 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland the 4x -> 1x allocation from "4x allocation in PipeController is ↵Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | | probably overkill." BUG=372671 R=mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/283933002 git-svn-id: http://skia.googlecode.com/svn/trunk@14734 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add asADash to Lua for scrapingGravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | BUG=skia: R=robertphillips@google.com, reed@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/267423006 git-svn-id: http://skia.googlecode.com/svn/trunk@14733 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add warning about GOPATH to bug_chomper/run_server.shGravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | BUG=skia:2551 R=scroggo@google.com Author: borenet@google.com Review URL: https://codereview.chromium.org/285763003 git-svn-id: http://skia.googlecode.com/svn/trunk@14732 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland one more bug fix from "4x allocation in PipeController is probably ↵Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | | overkill.". BUG=372671 R=mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/285693007 git-svn-id: http://skia.googlecode.com/svn/trunk@14731 2bbb7eff-a529-9590-31e7-b0007b416f81
* arm64make script - fix error preventing Release testing.Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | R=scroggo@google.com, djsollen@google.com Author: halcanary@google.com Review URL: https://codereview.chromium.org/258323002 git-svn-id: http://skia.googlecode.com/svn/trunk@14730 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add CPU backing store for GrAtlas to reduce texture uploads.Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | | | | | | | This change creates a temporary copy of each GrPlot on the CPU side. As we add glyphs to a plot, a dirty rectangle is tracked, and just before we render text we upload all of the dirty areas to the atlas texture. Once a plot is nearly full, we assume that we may only be adding one or two glyphs before rendering, so we delete the CPU backing memory to save space, and upload directly. BUG=366225 R=robertphillips@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/269423007 git-svn-id: http://skia.googlecode.com/svn/trunk@14729 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow GrFontCache::dump() in all builds.Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | In testing Chrome last week, I discovered that dump() works fine in Release builds, so there's no reason to restrict it to Developer. R=robertphillips@google.com, egdaniel@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/286803002 git-svn-id: http://skia.googlecode.com/svn/trunk@14728 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland bug fixes from "4x allocation in PipeController is probably overkill."Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | BUG=372671 R=mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/283093002 git-svn-id: http://skia.googlecode.com/svn/trunk@14727 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stage fixes for underline position.Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | R=reed@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/271333002 git-svn-id: http://skia.googlecode.com/svn/trunk@14726 2bbb7eff-a529-9590-31e7-b0007b416f81
* Manually revert "4x allocation in PipeController is probably overkill."Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | | | | | This reverts commit 2d91efffdb57646a495de5bf859ff281ef86dd12. Conflicts: src/pipe/SkGPipeWrite.cpp BUG=372671 R=mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/277653004 git-svn-id: http://skia.googlecode.com/svn/trunk@14725 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add ownership dox for SkShader::asACompose.Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | | Supplement the comment added in http://code.google.com/p/skia/source/detail?r=14716 R=reed@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/288713002 git-svn-id: http://skia.googlecode.com/svn/trunk@14724 2bbb7eff-a529-9590-31e7-b0007b416f81
* By default, Chromium optimizes for size when compiling on Android.Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | | | Forcing the SkAlphaMulQ() function inline can yield as much as a 5-10% improvement in rasterization time for some of Chromium's telemetry tests on the Nexus 10, since it's in the inner loop of complex blends. R=mtklein@google.com, reed@google.com, tomhudson@google.com Author: tomhudson@chromium.org Review URL: https://codereview.chromium.org/283753003 git-svn-id: http://skia.googlecode.com/svn/trunk@14723 2bbb7eff-a529-9590-31e7-b0007b416f81
* Inline noop willFoo/didFoo into SkCanvas.h.Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | | | | | | | | | We've got our canvas subclasses all calling back up to these via INHERITED, all noops. That's fine but currently a little sad as they can't be optimized away without link-time optimization, which we and Chrome only do on Windows. We actually make a call for each of these today on non-Windows. So, move the empty implementations into the header so those chaining calls really can be optimized away. BUG=skia: R=reed@google.com, fmalita@google.com, mtklein@google.com, fmalita@chromium.org Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/287593005 git-svn-id: http://skia.googlecode.com/svn/trunk@14722 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update layer-pre-rendering for Chrome flagGravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | As currently plumbed into Chromium, EXPERIMENTAL_optimize can be called multiple times per picture. Additionally, Chromium generates a lot of pictures with no layers at all. R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/283703007 git-svn-id: http://skia.googlecode.com/svn/trunk@14721 2bbb7eff-a529-9590-31e7-b0007b416f81
* Ping MySQL every minute in an attempt to keep the connection alive.Gravatar commit-bot@chromium.org2014-05-14
| | | | | | | | | | | | | I've tried various MySQL server settings, and some TCP settings on the webtry server, none seem to keep the connection from hanging, so this is a brute-force solution. BUG=skia: R=mtklein@google.com Author: jcgregorio@google.com Review URL: https://codereview.chromium.org/286543003 git-svn-id: http://skia.googlecode.com/svn/trunk@14720 2bbb7eff-a529-9590-31e7-b0007b416f81
* Comment out call broken call to pushMatrix in LuaCanvasGravatar commit-bot@chromium.org2014-05-13
| | | | | | | | | | | BUG=skia: R=robertphillips@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/271533013 git-svn-id: http://skia.googlecode.com/svn/trunk@14719 2bbb7eff-a529-9590-31e7-b0007b416f81
* BugChomper: Get the oauth_client_secret from GSGravatar commit-bot@chromium.org2014-05-13
| | | | | | | | | | | | | | BUG=skia: NOTRY=true (SkipBuildbotRuns) R=jcgregorio@google.com Author: borenet@google.com Review URL: https://codereview.chromium.org/288593003 git-svn-id: http://skia.googlecode.com/svn/trunk@14718 2bbb7eff-a529-9590-31e7-b0007b416f81
* bench rebase after f71be96Gravatar commit-bot@chromium.org2014-05-13
| | | | | | | | | | | | R=robertphillips@google.com TBR=robertphillips@google.com NOTRY=true Author: borenet@google.com Review URL: https://codereview.chromium.org/276573012 git-svn-id: http://skia.googlecode.com/svn/trunk@14717 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add functions for inspecting SkShader.Gravatar commit-bot@chromium.org2014-05-13
| | | | | | | | | | | | | | | | | | | Add a function to inspect an SkShader to determine if it is an SkComposeShader. Add a virtual function for determining if an SkShader is a custom shader, which returns a custom set of information. The implementation is in Android, and this function is only defined if SK_BUILD_FOR_ANDROID_FRAMEWORK. BUG=b/10650594 R=reed@google.com, scroggo@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/282733005 git-svn-id: http://skia.googlecode.com/svn/trunk@14716 2bbb7eff-a529-9590-31e7-b0007b416f81
* BugChomper utility - rewrite in GoGravatar commit-bot@chromium.org2014-05-13
| | | | | | | | | | | BUG=skia: R=jcgregorio@google.com Author: borenet@google.com Review URL: https://codereview.chromium.org/274693002 git-svn-id: http://skia.googlecode.com/svn/trunk@14715 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed flaky testGravatar commit-bot@chromium.org2014-05-13
| | | | | | | | | | | BUG=skia: R=bensong@google.com Author: kelvinly@google.com Review URL: https://codereview.chromium.org/283713005 git-svn-id: http://skia.googlecode.com/svn/trunk@14714 2bbb7eff-a529-9590-31e7-b0007b416f81