aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* rebaseline_server: stop catching KeyboardInterrupt (ctrl-C)Gravatar commit-bot@chromium.org2013-12-19
| | | | | | | | | | | | | | (SkipBuildbotRuns) NOTRY=True NOTREECHECKS=True R=rmistry@google.com TBR=rmistry Author: epoger@google.com Review URL: https://codereview.chromium.org/115863003 git-svn-id: http://skia.googlecode.com/svn/trunk@12783 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updated GLintptr and GLsizeiptr to be the appropriate types on 64 bit ↵Gravatar robertphillips@google.com2013-12-19
| | | | | | | | | | Windows (Take 2) https://codereview.chromium.org/118533003/ git-svn-id: http://skia.googlecode.com/svn/trunk@12781 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline medium quality downscale images after mipmap changeGravatar bsalomon@google.com2013-12-19
| | | | | | Review URL: https://codereview.chromium.org/113803004 git-svn-id: http://skia.googlecode.com/svn/trunk@12780 2bbb7eff-a529-9590-31e7-b0007b416f81
* Provide last resort for fCapHeight in ↵Gravatar bungeman@google.com2013-12-19
| | | | | | | | | | | | | | SkFontHost_FreeType::onGetAdvancedTypefaceMetrics. This was a pre-existing issue, but r12689 uncovered it in more cases. Since there was no last resort, fonts without a cap height used uninitialized data as their cap height here. R=robertphillips@google.com Review URL: https://codereview.chromium.org/114773004 git-svn-id: http://skia.googlecode.com/svn/trunk@12779 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline_server: add more timing and progress info to server-side logGravatar commit-bot@chromium.org2013-12-19
| | | | | | | | | | | | | | (SkipBuildbotRuns) BUG=skia:1941 NOTRY=True NOTREECHECKS=True R=bsalomon@google.com Author: epoger@google.com Review URL: https://codereview.chromium.org/105213007 git-svn-id: http://skia.googlecode.com/svn/trunk@12777 2bbb7eff-a529-9590-31e7-b0007b416f81
* create tools/tests/run_all.py to run all our Python self-tests within toolsGravatar commit-bot@chromium.org2013-12-19
| | | | | | | | | | | | | | | | Eventually, we want all of these self-tests to be written in Python; this change makes it easier for us to add new Python self-tests, and discourages the addition of bash self-tests. BUG=skia:677,skia:1943 NOTRY=True R=rmistry@google.com, scroggo@google.com Author: epoger@google.com Review URL: https://codereview.chromium.org/112163004 git-svn-id: http://skia.googlecode.com/svn/trunk@12775 2bbb7eff-a529-9590-31e7-b0007b416f81
* Accept displacement with no displacement inputGravatar commit-bot@chromium.org2013-12-19
| | | | | | | | | | | BUG= R=senorblanco@google.com, senorblanco@chromium.org, sugoi@google.com, bsalomon@google.com, bsalomon@chromium.org Author: sugoi@chromium.org Review URL: https://codereview.chromium.org/104853005 git-svn-id: http://skia.googlecode.com/svn/trunk@12773 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline for Nexus7 tile multithreads config. Widens the range for benched ↵Gravatar commit-bot@chromium.org2013-12-19
| | | | | | | | | | | | | calculated from average. BUG= R=robertphillips@google.com Author: bensong@google.com Review URL: https://codereview.chromium.org/118593002 git-svn-id: http://skia.googlecode.com/svn/trunk@12772 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add detection of mip supportGravatar commit-bot@chromium.org2013-12-19
| | | | | | | | | | R=robertphillips@google.com, jvanverth@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/102853005 git-svn-id: http://skia.googlecode.com/svn/trunk@12771 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move distance field font code into GrDistanceFieldTextContext.Gravatar commit-bot@chromium.org2013-12-19
| | | | | | | | | | | | | | This avoids the SkDraw path and renders the distance field glyphs directly from GrDistanceFieldTextContext. It also disables LCD, subpixel and autohinting, and removes the supporting code when rendering DF fonts. R=reed@google.com, bsalomon@google.com, robertphillips@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/85653004 git-svn-id: http://skia.googlecode.com/svn/trunk@12770 2bbb7eff-a529-9590-31e7-b0007b416f81
* New baselines for xfermodeimagefilter post-r12652.Gravatar senorblanco@chromium.org2013-12-19
| | | | | | | | | TBR=reed@google.com BUG= Review URL: https://codereview.chromium.org/118803003 git-svn-id: http://skia.googlecode.com/svn/trunk@12769 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix win buildGravatar reed@google.com2013-12-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@12768 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unused SkFixed and SkFract functionsGravatar reed@google.com2013-12-19
| | | | | | | | | BUG= R=caryclark@google.com Review URL: https://codereview.chromium.org/113873008 git-svn-id: http://skia.googlecode.com/svn/trunk@12767 2bbb7eff-a529-9590-31e7-b0007b416f81
* Yet another round of valgrind suppressionsGravatar robertphillips@google.com2013-12-19
| | | | | | | | https://codereview.chromium.org/116053004/ git-svn-id: http://skia.googlecode.com/svn/trunk@12766 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add cast to fix Win* compile complaint/failureGravatar commit-bot@chromium.org2013-12-19
| | | | | | | | | | | R=tomhudson@google.com, reed@google.com TBR=tomhudson@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/100313005 git-svn-id: http://skia.googlecode.com/svn/trunk@12764 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-12-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@12763 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r12758 (Updated GLintptr and GLsizeiptr to be the appropriate types ↵Gravatar robertphillips@google.com2013-12-18
| | | | | | on 64 bit Windows (Take 2) - https://codereview.chromium.org/118533003) due to Chromium-side compilation issues git-svn-id: http://skia.googlecode.com/svn/trunk@12762 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update expectations for r12729Gravatar vandebo@chromium.org2013-12-18
| | | | | | | | | | "[PDF] Fix clipping in xfermode improvement." TBR=bungeman@google.com Review URL: https://codereview.chromium.org/112343007 git-svn-id: http://skia.googlecode.com/svn/trunk@12761 2bbb7eff-a529-9590-31e7-b0007b416f81
* Get rid of DEFINE_TESTCLASS() macro.Gravatar tfarina@chromium.org2013-12-18
| | | | | | | | | | | | | Remaining tests were rewrite to use DEF_TEST() macro instead. This fixes the FIXME in TestClassDef.h BUG=None TEST=tests R=mtklein@google.com Review URL: https://codereview.chromium.org/114563003 git-svn-id: http://skia.googlecode.com/svn/trunk@12760 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SkBitmapAlphaThresholdShaderGravatar commit-bot@chromium.org2013-12-18
| | | | | | | | | | R=bsalomon@google.com Author: zork@chromium.org Review URL: https://codereview.chromium.org/108653012 git-svn-id: http://skia.googlecode.com/svn/trunk@12759 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updated GLintptr and GLsizeiptr to be the appropriate types on 64 bit ↵Gravatar commit-bot@chromium.org2013-12-18
| | | | | | | | | | | | | | | | Windows (Take 2) Requires changes from https://codereview.chromium.org/99053007/ before this can be rolled in Chromium DEPS. If this begins breaking the build due to an early roll, please contact bajones@chromium.org before reverting. BUG=326382 R=bsalomon@chromium.org TBR=bsalomon@chromium.org Author: bajones@chromium.org Review URL: https://codereview.chromium.org/118533003 git-svn-id: http://skia.googlecode.com/svn/trunk@12758 2bbb7eff-a529-9590-31e7-b0007b416f81
* Android now uses Harfbuzz-NG. No need to keep code specific to the old ↵Gravatar commit-bot@chromium.org2013-12-18
| | | | | | | | | | | | version of Harfbuzz around! R=scroggo@google.com, reed@google.com, bungeman@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/107663012 git-svn-id: http://skia.googlecode.com/svn/trunk@12756 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix off-by-one error with rotated HQ scalingGravatar commit-bot@chromium.org2013-12-18
| | | | | | | | | | | BUG= R=reed@google.com Author: humper@google.com Review URL: https://codereview.chromium.org/118193005 git-svn-id: http://skia.googlecode.com/svn/trunk@12755 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add cast to fix Win* compile complaint/failureGravatar robertphillips@google.com2013-12-18
| | | | | | | | https://codereview.chromium.org/100313005/ git-svn-id: http://skia.googlecode.com/svn/trunk@12750 2bbb7eff-a529-9590-31e7-b0007b416f81
* Address memory leak in SkScaledImageCacheGravatar robertphillips@google.com2013-12-18
| | | | | | | | https://codereview.chromium.org/107443009/ git-svn-id: http://skia.googlecode.com/svn/trunk@12749 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert of https://codereview.chromium.org/93703004/Gravatar commit-bot@chromium.org2013-12-18
| | | | | | | | | | | | | | | Reason for revert: Test failures R=scroggo@google.com, djsollen@google.com, reed@google.com, halcanary@google.com TBR=djsollen@google.com, halcanary@google.com, reed@google.com, scroggo@google.com NOTREECHECKS=true NOTRY=true Author: robertphillips@google.com Review URL: https://codereview.chromium.org/103753007 git-svn-id: http://skia.googlecode.com/svn/trunk@12747 2bbb7eff-a529-9590-31e7-b0007b416f81
* Expose more SkPaint fields in Lua API.Gravatar commit-bot@chromium.org2013-12-18
| | | | | | | | | | | | Adds getters (but not setters) for most SkPaint fields. R=reed@google.com, robertphillips@google.com, tomhudson@google.com Author: tomhudson@chromium.org Review URL: https://codereview.chromium.org/105143009 git-svn-id: http://skia.googlecode.com/svn/trunk@12746 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add Options to SkDecodingImageGenerator, simplify API.Gravatar halcanary@google.com2013-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation: We want to remove redundant classes from Skia. To that end we want to remove SkImageRef and its subclasses and replace their uses with SkDiscardablePixelRef + SkDecodingImageGenerator. Since Android uses SkImageRef, we need to make sure that SkDecodingImageGenerator allows all of the settings that Android exposes in BitmapFactory.Options. To that end, we have created an Options struct for the SkDecodingImageGenerator which lets the client of the generator set sample size, dithering, and bitmap config. We have made the SkDecodingImageGenerator constructor private and replaced the SkDecodingImageGenerator::Install functions with a SkDecodingImageGenerator::Create functions (one for SkData and one for SkStream) which now take a SkDecodingImageGenerator::Options struct. Also added a ImageDecoderOptions test which loops through a list of sets of options and tries them on a set of 5 small encoded images. Also updated several users of SkDecodingImageGenerator::Install to follow new call signature - gm/factory.cpp, LazyDecodeBitmap.cpp, and PictureTest.cpp, CachedDecodingPixelRefTest.cpp. We also added a new ImprovedBitmapFactory Test which simulates the exact function that Android will need to modify to use this, installPixelRef() in BitmapFactory. R=reed@google.com, scroggo@google.com Review URL: https://codereview.chromium.org/93703004 git-svn-id: http://skia.googlecode.com/svn/trunk@12744 2bbb7eff-a529-9590-31e7-b0007b416f81
* Suppress questionable gpu errorsGravatar robertphillips@google.com2013-12-18
| | | | | | | | https://codereview.chromium.org/118283002/ git-svn-id: http://skia.googlecode.com/svn/trunk@12743 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update bench pictures to time image decode & upload costsGravatar robertphillips@google.com2013-12-18
| | | | | | | | https://codereview.chromium.org/117583002/ git-svn-id: http://skia.googlecode.com/svn/trunk@12742 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaselining displacement gmsGravatar commit-bot@chromium.org2013-12-18
| | | | | | | | | | | | | Rebaseline needed because of changes made in https://codereview.chromium.org/101623007/ BUG= R=senorblanco@chromium.org, senorblanco@google.com, bsalomon@google.com, bsalomon@chromium.org, sugoi@google.com Author: sugoi@chromium.org Review URL: https://codereview.chromium.org/101643003 git-svn-id: http://skia.googlecode.com/svn/trunk@12741 2bbb7eff-a529-9590-31e7-b0007b416f81
* replace SkScalarMulRound(a,b) with SkScalarRountToInt(a*b)Gravatar reed@google.com2013-12-18
| | | | | | | | | BUG= R=sugoi@google.com Review URL: https://codereview.chromium.org/111393010 git-svn-id: http://skia.googlecode.com/svn/trunk@12740 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline_server: write JSON files using Unix line endings, even on WindowsGravatar commit-bot@chromium.org2013-12-18
| | | | | | | | | | | | | | (SkipBuildbotRuns) BUG=skia:1815 NOTRY=True NOTREECHECKS=True R=bsalomon@google.com, epoger@google.com Author: epoger@gmail.com Review URL: https://codereview.chromium.org/117783004 git-svn-id: http://skia.googlecode.com/svn/trunk@12739 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split atomic and mutex implementations and make inlinable.Gravatar bungeman@google.com2013-12-18
| | | | | | | | | | | | | | | | | | | | | | | Skia cannot use Chromium's implementation of mutex (Lock) due to static initializers. However, we would like to be able to use Chromium's implementation of atomics. This motivates the split of implementation. Skia's atomic and mutex calls should be inlinable, especially the atomics. These calls often compile down to very few instructions, and we currently have the overhead of a function call. This motivates the header implementation. There is still a desire for the build system to select the implementation, so the SK_XXX_PLATFORM_H pattern for header files is introduced. This allows the build system to control which platform specific header files are chosen. The Chromium side changes (most of which will need to go in before this change can be found at https://codereview.chromium.org/19477005/ . The Chromium side changes after this lands can be seen at https://codereview.chromium.org/98073013 . Review URL: https://codereview.chromium.org/19808007 git-svn-id: http://skia.googlecode.com/svn/trunk@12738 2bbb7eff-a529-9590-31e7-b0007b416f81
* SamplePicture no longer uses SkImageRefGravatar halcanary@google.com2013-12-18
| | | | | | | | | | | | | | | Motivation: in an attempt to simplify life, we are depricating SkImageRef and its subclasses. To that end, SamplePicture will now use SkDiscardablePixelRef. Also, fixed missing resource. BUG= R=scroggo@google.com Review URL: https://codereview.chromium.org/116423006 git-svn-id: http://skia.googlecode.com/svn/trunk@12737 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adjusts Ubuntu bench multi_4_threads values. Widens range to cope with the ↵Gravatar commit-bot@chromium.org2013-12-18
| | | | | | | | | | | | | new average instead of 25th. BUG= R=robertphillips@google.com Author: bensong@google.com Review URL: https://codereview.chromium.org/108653014 git-svn-id: http://skia.googlecode.com/svn/trunk@12736 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-12-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@12734 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove last remnant of SK_SCALAR_IS_FIXED codeGravatar reed@google.com2013-12-18
| | | | | | | | | | move SkScalarMean into its only caller, reducing out public API exposure BUG= Review URL: https://codereview.chromium.org/117133004 git-svn-id: http://skia.googlecode.com/svn/trunk@12733 2bbb7eff-a529-9590-31e7-b0007b416f81
* move SkScalarMean into its only caller, reducing out public API exposureGravatar reed@google.com2013-12-18
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/117973002 git-svn-id: http://skia.googlecode.com/svn/trunk@12732 2bbb7eff-a529-9590-31e7-b0007b416f81
* move SkScalarLog2 into its only client, in a move to reduce our public API ↵Gravatar reed@google.com2013-12-18
| | | | | | | | | | surface area BUG= Review URL: https://codereview.chromium.org/93643004 git-svn-id: http://skia.googlecode.com/svn/trunk@12731 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a setTimer() function.Gravatar commit-bot@chromium.org2013-12-18
| | | | | | | | | | | | | Seemed simple, but required adding a Global class that contains all the global state (instance and context) for our running V8 instance. Also moved canvas.inval to be just inval() at the global level. BUG= R=robertphillips@google.com Author: jcgregorio@google.com Review URL: https://codereview.chromium.org/103143009 git-svn-id: http://skia.googlecode.com/svn/trunk@12730 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix clipping in xfermode improvement.Gravatar commit-bot@chromium.org2013-12-17
| | | | | | | | | | | | | | In some cases, the wrong clip (src clip instead of initial clip) was used. Switch almost exclusively to initial clip because it is safe and generates a smaller result. BUG=chromium:328009 R=reed@google.com, bungeman@google.com Author: vandebo@chromium.org Review URL: https://codereview.chromium.org/116423004 git-svn-id: http://skia.googlecode.com/svn/trunk@12729 2bbb7eff-a529-9590-31e7-b0007b416f81
* add virtual destructor for SkExample to fix build error.Gravatar commit-bot@chromium.org2013-12-17
| | | | | | | | | | | | | The original SkExample have virtual function draw(), but have no virtual destructor. This may lead to memory leak when free the instance of derived class of SkExample. The latest skia code show error when build SkiaExamples by "ninja -C out/Release SkiaExamples": error: ‘class SkExample’ has virtual functions and accessible non-virtual destructor. R=caryclark@google.com Author: yunchao.he@intel.com Review URL: https://codereview.chromium.org/98463013 git-svn-id: http://skia.googlecode.com/svn/trunk@12728 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing valgrind errorGravatar commit-bot@chromium.org2013-12-17
| | | | | | | | | | | | | After an error in the stream prevented the deserialization of SkRect members, there was no check to see if there was an error state before testing the validity of these uninitialized SkRect members. Added the check to fix the valgrind error. BUG= R=robertphillips@google.com, sugoi@google.com Author: sugoi@chromium.org Review URL: https://codereview.chromium.org/114493005 git-svn-id: http://skia.googlecode.com/svn/trunk@12727 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove bleed from ignored-tests.txtGravatar bsalomon@google.com2013-12-17
| | | | | | | | BUG=skia:1880 Review URL: https://codereview.chromium.org/103213011 git-svn-id: http://skia.googlecode.com/svn/trunk@12726 2bbb7eff-a529-9590-31e7-b0007b416f81
* Mark bleed gpu as ignore failure on Xoom (Release version)Gravatar bsalomon@google.com2013-12-17
| | | | | | | | BUG=skia:1938 Review URL: https://codereview.chromium.org/117633002 git-svn-id: http://skia.googlecode.com/svn/trunk@12725 2bbb7eff-a529-9590-31e7-b0007b416f81
* Mark bleed gpu as ignore failure on XoomGravatar bsalomon@google.com2013-12-17
| | | | | | | | BUG=skia:1938 Review URL: https://codereview.chromium.org/116093005 git-svn-id: http://skia.googlecode.com/svn/trunk@12724 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed more fuzzer issuesGravatar commit-bot@chromium.org2013-12-17
| | | | | | | | | | | | | | | | - Added the "isAvailable" function to check how much bytes are remaining in the stream before doing potentially large mallocs. That way, we can signal a bad stream instead of crashing. - Added data validation in SkImageInfo.cpp - Added NULL pointer check in displacement - Modified the fuzzer for randomized bitmap types BUG=328934,329254 R=senorblanco@google.com, senorblanco@chromium.org, reed@google.com, sugoi@google.com Author: sugoi@chromium.org Review URL: https://codereview.chromium.org/116773002 git-svn-id: http://skia.googlecode.com/svn/trunk@12723 2bbb7eff-a529-9590-31e7-b0007b416f81
* Mark 8888/565 bleed GMS as ignore-failureGravatar bsalomon@google.com2013-12-17
| | | | | | | | BUG=skia:1934 Review URL: https://codereview.chromium.org/117563003 git-svn-id: http://skia.googlecode.com/svn/trunk@12722 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adjusts Win7 bench tile_256x256_multi_4_threads. Using 8f4d230.Gravatar commit-bot@chromium.org2013-12-17
| | | | | | | | | | | BUG= R=robertphillips@google.com Author: bensong@google.com Review URL: https://codereview.chromium.org/117523002 git-svn-id: http://skia.googlecode.com/svn/trunk@12721 2bbb7eff-a529-9590-31e7-b0007b416f81