aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* Remove include of stdlib.h from SkTypes.h.Gravatar bungeman2015-08-26
| | | | | | | | | | | | | | | Unfortunately, immintrin.h (which is also included by SkTypes) includes xmmintrin.h which includes mm_malloc.h which includes stdlib.h for malloc even though, from the implementation, it is difficult to see why. Fortunately, arm_neon.h does not seem to be involved in such shenanigans, so building for Android will keep things sane. TBR=reed@google.com Doesn't change Skia API, just moves an include. Review URL: https://codereview.chromium.org/1313203003
* Skip scaled_tilemodes_npot on Galaxy S4Gravatar borenet2015-08-25
| | | | | | | | It's hanging. BUG=skia:3932 Review URL: https://codereview.chromium.org/1318503003
* Add buildbot_spec info for Appurify botGravatar borenet2015-08-24
| | | | | | BUG=skia:4093 Review URL: https://codereview.chromium.org/1296593003
* GMs: change some GMs to use SkImage over SkBitmapGravatar halcanary2015-08-21
| | | | | | | | Also, add GetResourceAsImage() to Resources.h Motivation: test drawImage() as much as we test drawBitmap() Review URL: https://codereview.chromium.org/1306133003
* Use static_assert instead of SK_COMPILE_ASSERT.Gravatar bungeman2015-08-20
| | | | | | | Now that static_assert is allowed, there is no need to use a non- standard compile time assertion Review URL: https://codereview.chromium.org/1306443004
* Move SkTemplates.h to private.Gravatar bungeman2015-08-19
| | | | | | | | SkTemplates.h contains a number of Skia specific utilities which are not designed for external use. In addition to reducing the external support burden, this will allow Skia to freely refactor this file. Review URL: https://codereview.chromium.org/1272293004
* unsigned -> int for counts and indices in picture-related codeGravatar mtklein2015-08-19
| | | | | | | | also, (C) BUG=skia: Review URL: https://codereview.chromium.org/1300163002
* Adding sucessful exit message to VisualBenchGravatar joshualitt2015-08-19
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1287763004
* Fix VS 2015 buildGravatar bsalomon2015-08-19
| | | | | | TBR=robertphillips@google.com Review URL: https://codereview.chromium.org/1297283003
* Try enabling all nanobenches on Nexus7Gravatar egdaniel2015-08-18
| | | | | | BUG=skia:2774 Review URL: https://codereview.chromium.org/1290223005
* Add skeleton json support to visualbenchGravatar joshualitt2015-08-18
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1298213002
* Update BUILD.public a bit.Gravatar mtklein2015-08-18
| | | | | | | | | | | | | - SSE2 files are unfortunately now mixed-case, _SSE2 or _sse2. - Adds lists for SSSE3 and SSE4 files. - Remove SkDocument_PDF_None.cpp - Remove a few more references to animator. - Exclude private headers from HDRS. - Formatting and notes. BUG=skia: Review URL: https://codereview.chromium.org/1298003007
* Clean up BUILD_simulator.pyGravatar halcanary2015-08-18
| | | | Review URL: https://codereview.chromium.org/1298813002
* Reland of Fix a few bugs in the google3 sync scripts. (patchset #1 id:1 of ↵Gravatar benjaminwagner2015-08-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1295213002/ ) Reason for revert: Retry. Original issue's description: > Revert of Fix a few bugs in the google3 sync scripts. (patchset #1 id:1 of https://codereview.chromium.org/1291343006/ ) > > Reason for revert: > MacMini buildbots were unable to apply the patch. > fatal: Could not parse object '18af0a0080cc2b2b3464292d35a0886cdade551f'. > http://build.chromium.org/p/client.skia/builders/Test-Mac10.9-Clang-MacMini6.2-CPU-AVX-x86_64-Release/builds/1580 > http://build.chromium.org/p/client.skia/builders/Test-Mac10.9-Clang-MacMini6.2-CPU-AVX-x86_64-Debug/builds/1474 > http://build.chromium.org/p/client.skia/builders/Test-Mac10.9-Clang-MacMini6.2-GPU-HD4000-x86_64-Release/builds/1566 > http://build.chromium.org/p/client.skia/builders/Perf-Mac10.9-Clang-MacMini6.2-GPU-HD4000-x86_64-Release/builds/1480 > http://build.chromium.org/p/client.skia/builders/Perf-Mac10.9-Clang-MacMini6.2-CPU-AVX-x86_64-Release/builds/1456 > http://build.chromium.org/p/client.skia/builders/Test-Mac10.9-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug/builds/1364 > > > Original issue's description: > > Fix a few bugs in the google3 sync scripts. > > > > BUG=skia: > > > > Committed: https://skia.googlesource.com/skia/+/18af0a0080cc2b2b3464292d35a0886cdade551f > > TBR=mtklein@google.com > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/e349d6b92574c1b0acdb4ba1ed8ff905ea830131 TBR=mtklein@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1284093003
* Move normal map creation methods to sk_toolsGravatar robertphillips2015-08-17
| | | | | | Split off of https://codereview.chromium.org/1261433009/ (Add SkCanvas::drawLitAtlas call) Review URL: https://codereview.chromium.org/1298763002
* Add a simple script to simulate BUILD file glob() expansion.Gravatar mtklein2015-08-17
| | | | | | | | | | This lets us test changes to BUILD.public. This is not yet automated in any way. My hope is to trigger it quietly via the presubmit for any CL that adds or removes a file, or changes BUILD.public. BUG=skia: Review URL: https://codereview.chromium.org/1290833003
* Revert of Fix a few bugs in the google3 sync scripts. (patchset #1 id:1 of ↵Gravatar benjaminwagner2015-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1291343006/ ) Reason for revert: MacMini buildbots were unable to apply the patch. fatal: Could not parse object '18af0a0080cc2b2b3464292d35a0886cdade551f'. http://build.chromium.org/p/client.skia/builders/Test-Mac10.9-Clang-MacMini6.2-CPU-AVX-x86_64-Release/builds/1580 http://build.chromium.org/p/client.skia/builders/Test-Mac10.9-Clang-MacMini6.2-CPU-AVX-x86_64-Debug/builds/1474 http://build.chromium.org/p/client.skia/builders/Test-Mac10.9-Clang-MacMini6.2-GPU-HD4000-x86_64-Release/builds/1566 http://build.chromium.org/p/client.skia/builders/Perf-Mac10.9-Clang-MacMini6.2-GPU-HD4000-x86_64-Release/builds/1480 http://build.chromium.org/p/client.skia/builders/Perf-Mac10.9-Clang-MacMini6.2-CPU-AVX-x86_64-Release/builds/1456 http://build.chromium.org/p/client.skia/builders/Test-Mac10.9-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug/builds/1364 Original issue's description: > Fix a few bugs in the google3 sync scripts. > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/18af0a0080cc2b2b3464292d35a0886cdade551f TBR=mtklein@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1295213002
* Fix a few bugs in the google3 sync scripts.Gravatar benjaminwagner2015-08-17
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1291343006
* Add files added to Skia HEAD in google3 to the Git repo.Gravatar benjaminwagner2015-08-17
| | | | | | | | LICENSE is modified in google3 to mention some code copied from other projects. BUG=skia: Review URL: https://codereview.chromium.org/1291603003
* SkScaledCodec classGravatar emmaleer2015-08-14
| | | | | | | | | | | | | | | | | | | | | | | | This class does scaling by using a scanlineDecoder. getScanlines and skipScanlines are used for y sampling, the swizzler is used for x sampling this class is currently only working for png and jpeg images I will update other Codec types to work soon For SkJpegCodec to implement width wise swizzling it now uses a swizzler. I ran performance tests on this change. Here are the performance test results: https://docs.google.com/a/google.com/spreadsheets/d/1D7-Q_GXD_dI68LZO005NNvb8Wq2Ee0wEBEPG72671yw/edit?usp=sharing BUG=skia: Committed: https://skia.googlesource.com/skia/+/0944100ac89f797714eeae0cf2875e2335ff52ee Committed: https://skia.googlesource.com/skia/+/d518ea7927f9f4e0ed5b4134d1b4f48243855a47 Committed: https://skia.googlesource.com/skia/+/b157917507d4f7d2651f0aeb566d31603cc02240 Review URL: https://codereview.chromium.org/1260673002
* Add tools/ubsan.supp.Gravatar Mike Klein2015-08-05
| | | | | | | | Should unbreak TSAN bots. BUG=skia: Review URL: https://codereview.chromium.org/1272213003 .
* buildbot_spec: Add configuration, do_*_steps, upload_*_results, more envGravatar borenet2015-07-30
| | | | | | | NOTRY=true BUG=skia:4132 Review URL: https://codereview.chromium.org/1258193004
* buildbot_spec.py: Include dm_flags and nanobench_flagsGravatar borenet2015-07-29
| | | | | | | | | Eventually I'll want to merge them into this file, but not just yet. NOTRY=true BUG=skia:4132 Review URL: https://codereview.chromium.org/1257933003
* buildbot_spec.py: Add Android/ChromeOS device info, add builder_cfg dictGravatar borenet2015-07-29
| | | | | | | NOTRY=true BUG=skia:4132 Review URL: https://codereview.chromium.org/1269543002
* Add builder_spec.pyGravatar borenet2015-07-29
| | | | | | | | | | | Works like dm_flags.py and nanobench_flags.py; adds things like GYP_DEFINES, additional environment variables, and build targets. Required copying builder_name_schema from the tools/build repo. BUG=skia:4132 Review URL: https://codereview.chromium.org/1265623002
* Allow Srcs to veto Sinks based on their broad type.Gravatar mtklein2015-07-29
| | | | | | | | | | | | | | | | | This breaks Sinks down into three auto-detected types: - GPU: anything that requests to be run in the GPU enclave - Vector: anything that writes to the stream instead of the bitmap - Raster: everything else Some examples: gpu -> GPU, msaa16 -> GPU, 8888 -> raster, pdf -> vector, svg -> vector, pipe-8888 -> raster, tiles_rt-gpu -> GPU This lets image decoding sinks veto non-raster backends explicitly, and can let particular GMs veto GPU or non-GPU sinks as they like. BUG=skia: Review URL: https://codereview.chromium.org/1239953004
* rename portable_typeface_always to portable_typefaceGravatar caryclark2015-07-24
| | | | | | TBR=reed@google.com Review URL: https://codereview.chromium.org/1257773002
* make fontscalar gammatext lcdtext typeface verttext2 gm portableGravatar caryclark2015-07-24
| | | | | | | | | Pass generic font names to tool util function to generate platform specific fonts and gm test output by unique name. R=bungeman@google.com Review URL: https://codereview.chromium.org/1256903002
* fix typeface leakGravatar caryclark2015-07-23
| | | | | | TBR=bungeman@google.com Review URL: https://codereview.chromium.org/1239303003
* fix typoGravatar caryclark2015-07-23
| | | | | | TBR=reed@google.com Review URL: https://codereview.chromium.org/1245993003
* Coverage: add a trace for not_covered_lines per fileGravatar borenet2015-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example output: { "build_number": "2", "gitHash": "71f5db892ee7ed9fbb573da28ccb906e18ba24a4", "key": { "arch": "x86_64", "compiler": "Clang", "configuration": "Coverage", "cpu_or_gpu": "CPU", "cpu_or_gpu_value": "AVX2", "model": "GCE", "os": "Ubuntu" }, "results": { "dm_DMGpuSupport_h": { "coverage": { "lines_not_covered": 6, "options": { "dir": "dm", "fullname": "dm/DMGpuSupport.h", "source_type": "coverage" }, "percent": 33.33333333333333 } }, "dm_DMJsonWriter_cpp": { ...... BUG=skia:2430 Review URL: https://codereview.chromium.org/1246043002
* make color emoji gm portableGravatar caryclark2015-07-21
| | | | | | R=bungeman@google.com Review URL: https://codereview.chromium.org/1248703004
* Skip imagefiltersclipped GM on Galaxy S4Gravatar borenet2015-07-21
| | | | | | BUG=skia:4079 Review URL: https://codereview.chromium.org/1250473005
* Generate platform specific fontmgr gm.Gravatar caryclark2015-07-20
| | | | | | | | | | | | | | | The gm output on different font platforms is so different that comparing images in Gold has little value. Separate the images by appending platform information to the gm name to group somewhat similar images together. Note that this does not attempt to make sure that all images generated by Gold are nearly pixel identical; it only reduces the number of nonsensical comparisons. R=bungeman@google.com Review URL: https://codereview.chromium.org/1245643002
* Split llvm_coverage_run into two scriptsGravatar borenet2015-07-20
| | | | | | | | | ... One for running to generate the coverage data, another to parse the data into various formats. NOTRY=true BUG=skia:2430 Review URL: https://codereview.chromium.org/1239963002
* Some cleanups of VisualBenchGravatar joshualitt2015-07-17
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1240633005
* llvm_coverage_build: Use CC and CXX variables by defaultGravatar borenet2015-07-17
| | | | | | | NOTRY=true BUG=skia:2430 Review URL: https://codereview.chromium.org/1242573003
* Fix visual bench memory leakGravatar joshualitt2015-07-16
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1239103002
* Small fix for visualbenchGravatar joshualitt2015-07-16
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1237563005
* Stop running image tests on msaa.Gravatar scroggo2015-07-16
| | | | | | | | | | | | | | | Blacklist all image tests on msaa. We do not run them anyway (since they will not do anything interestingly different from drawing to the raster backend) - we early exit from Src::draw(), but we still need to create a render target that matches the size of the image (when not blacklisted). Remove the more specific blacklist of a particular image, which is covered by this one. BUG=skia:4045 Review URL: https://codereview.chromium.org/1234313006
* Coverage script: fix missing dataGravatar borenet2015-07-16
| | | | | | BUG=skia:2430 Review URL: https://codereview.chromium.org/1242023002
* Match works correctly on visualbenchGravatar joshualitt2015-07-15
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1234123004
* llvm-coverage script: respect SKIA_OUTGravatar borenet2015-07-15
| | | | | | | NOTRY=true BUG=skia:2430 Review URL: https://codereview.chromium.org/1239803002
* Fix VisualBench to hold onto a surfaceGravatar joshualitt2015-07-15
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1236723003
* Fixed valgrind issues with libjpeg-turboGravatar msarett2015-07-14
| | | | | | | | | | | The fixes are in the updated libjpeg-turbo repository pulled in by DEPS. The fixes are detailed in the linked skia bug. To summarize briefly, we now use calloc() instead of malloc(). BUG=skia:4030 Review URL: https://codereview.chromium.org/1237213004
* Fix up -Winconsistent-missing-overrideGravatar mtklein2015-07-13
| | | | | | | | | | | | | | (and a couple presubmit fixes) This allows us to turn back on -Werror for LLVM coverage builds, and more generally supports building with Clang 3.7. No public API changes. TBR=reed@google.com BUG=skia: Review URL: https://codereview.chromium.org/1232463006
* add runtime option to provide data->imagegenerator factoryGravatar reed2015-07-09
| | | | | | BUG=skia: Review URL: https://codereview.chromium.org/1229933003
* Temporarily suppress valgrind errors in tip of tree libjpeg-turboGravatar msarett2015-07-09
| | | | | | BUG=skia:4030 Review URL: https://codereview.chromium.org/1231613004
* Add tools/flatten to flatten nested pictures in .skps.Gravatar mtklein2015-07-08
| | | | | | | | | Tested by running on skps/sp_desk_nytimes.skp. The output .skp had no nested draw picture calls, and the files were both 9.3M. BUG=skia: Review URL: https://codereview.chromium.org/1221303020
* fix pathops battle testGravatar caryclark2015-07-07
| | | | | | | | | | The intermediate subtraction threw away bits causing the subsequent cross product to fail. Defer the bit truncation until after the vector is computed. TBR=reed@google.com Review URL: https://codereview.chromium.org/1226933003