aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Replace SkPicture(SkStream) constructors with a factory.Gravatar scroggo@google.com2013-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SkPicture: Remove the constructors which take an SkStream as an argument. Rather than having to check a variable for success, the factory will return NULL on failure. Add a protected function for determining if an SkStream is an SKP to share code with SkTimedPicture. In the factory, check for a NULL SkStream. Use a default decoder (from BUG: https://code.google.com/p/skia/issues/detail?id=1325) SkDebuggerGUI: Call SkPicture::CreateFromStream when necessary. Write a factory for creating SkTimedPictures and use it. Use the factory throughout tools. Add include/lazy to utils and effects gyp include_dirs so SkPicture.h can reference SkImageDecoder.h which references SkBitmapFactory.h (in include/lazy). Changes code Chromium uses, so this will require a temporary Skia and then a change to Chromium to use the new Skia code. TODO: Create a decoder that does nothing to be used by pinspect, lua pictures, etc, and allow it to not assert in SkOrderedReadBuffer. R=reed@google.com Review URL: https://codereview.chromium.org/17113004 git-svn-id: http://skia.googlecode.com/svn/trunk@9822 2bbb7eff-a529-9590-31e7-b0007b416f81
* Skip the TIMESTAMP file.Gravatar scroggo@google.com2013-06-28
| | | | | | | | | | | Allows run_decoding_tests.py to pass the name of the folder, so Android will not fail on account of the long adb command. R=borenet@google.com Review URL: https://codereview.chromium.org/18175008 git-svn-id: http://skia.googlecode.com/svn/trunk@9817 2bbb7eff-a529-9590-31e7-b0007b416f81
* use width() instead of fWidth to get int valueGravatar reed@google.com2013-06-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9816 2bbb7eff-a529-9590-31e7-b0007b416f81
* add bitmap::eraseAreaGravatar reed@google.com2013-06-28
| | | | | | | | | BUG= R=scroggo@google.com Review URL: https://codereview.chromium.org/18029021 git-svn-id: http://skia.googlecode.com/svn/trunk@9815 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add flag bits for partial GrContext resetGravatar bsalomon@google.com2013-06-28
| | | | | | | | | | | BUG=248728 R=bsalomon@google.com Committed: https://code.google.com/p/skia/source/detail?r=9802 Review URL: https://codereview.chromium.org/17027003 git-svn-id: http://skia.googlecode.com/svn/trunk@9814 2bbb7eff-a529-9590-31e7-b0007b416f81
* more work on pdf fonts, more to comeGravatar edisonn@google.com2013-06-28
| | | | | | Review URL: https://codereview.chromium.org/18117005 git-svn-id: http://skia.googlecode.com/svn/trunk@9813 2bbb7eff-a529-9590-31e7-b0007b416f81
* GPU "fix" for thin stroked rectsGravatar robertphillips@google.com2013-06-28
| | | | | | | | https://codereview.chromium.org/17845003/ git-svn-id: http://skia.googlecode.com/svn/trunk@9812 2bbb7eff-a529-9590-31e7-b0007b416f81
* Print the file being deserialized before deserializing.Gravatar scroggo@google.com2013-06-28
| | | | | | | | | | That way it is easier to tell which file failed. R=edisonn@google.com Review URL: https://codereview.chromium.org/18219002 git-svn-id: http://skia.googlecode.com/svn/trunk@9811 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make implicit cast explicit to fix r9807 on gcc.Gravatar bungeman@google.com2013-06-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9809 2bbb7eff-a529-9590-31e7-b0007b416f81
* Minimal changes for SampleApp to eb HiDPI aware on Mac.Gravatar bungeman@google.com2013-06-28
| | | | | | | | R=caryclark@google.com Review URL: https://codereview.chromium.org/18055009 git-svn-id: http://skia.googlecode.com/svn/trunk@9807 2bbb7eff-a529-9590-31e7-b0007b416f81
* add point of interest APIGravatar zachr@google.com2013-06-28
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/18176005 git-svn-id: http://skia.googlecode.com/svn/trunk@9806 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 9802 breacking tests on some configsGravatar edisonn@google.com2013-06-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9805 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix OpenCL memory leakGravatar zachr@google.com2013-06-28
| | | | | | | | R=djsollen@google.com Review URL: https://codereview.chromium.org/18051004 git-svn-id: http://skia.googlecode.com/svn/trunk@9804 2bbb7eff-a529-9590-31e7-b0007b416f81
* add yee's perceptual metricGravatar zachr@google.com2013-06-28
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/18066004 git-svn-id: http://skia.googlecode.com/svn/trunk@9803 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add flag bits for partial GrContext resetGravatar bsalomon@google.com2013-06-28
| | | | | | | | | BUG=248728 R=bsalomon@google.com Review URL: https://codereview.chromium.org/17027003 git-svn-id: http://skia.googlecode.com/svn/trunk@9802 2bbb7eff-a529-9590-31e7-b0007b416f81
* Clang has stricter checking for conversion to a null pointer. In C++11 ↵Gravatar commit-bot@chromium.org2013-06-28
| | | | | | | | | | | | mode, false will produce an error if it is used in a place that expects a pointer. Change these cases to NULL. R=reed@google.com, robertphillips@google.com Author: rtrieu@google.com Review URL: https://chromiumcodereview.appspot.com/18118004 git-svn-id: http://skia.googlecode.com/svn/trunk@9800 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-06-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9799 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add expectations files for skimage.Gravatar scroggo@google.com2013-06-27
| | | | | | | | | These were downloaded from Google Storage after being generated by the build bots. Review URL: https://codereview.chromium.org/18117006 git-svn-id: http://skia.googlecode.com/svn/trunk@9798 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix run_decoding_tests on xoom.Gravatar scroggo@google.com2013-06-27
| | | | | | | | | | | | | | | | | Builder Test-Android-Xoom-Tegra2-Arm7-Debug fails run_decoding_tests due to a couple of images. Add a way in skimage to ignore failures if an image is expected to fail. Add an expectations file for xoom that includes ignore-failure for the two files which are failing. I have created https://code.google.com/p/skia/issues/detail?id=1382 to track the fact that these images fail to decode, despite the bot showing green. R=borenet@google.com Review URL: https://codereview.chromium.org/18023008 git-svn-id: http://skia.googlecode.com/svn/trunk@9797 2bbb7eff-a529-9590-31e7-b0007b416f81
* more work on pdf fonts, more to comeGravatar edisonn@google.com2013-06-27
| | | | | | Review URL: https://codereview.chromium.org/18117005 git-svn-id: http://skia.googlecode.com/svn/trunk@9796 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SK_DEBUG_PATH_REFGravatar commit-bot@chromium.org2013-06-27
| | | | | | | | | | R=bungeman@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/18029006 git-svn-id: http://skia.googlecode.com/svn/trunk@9795 2bbb7eff-a529-9590-31e7-b0007b416f81
* add command line flagsGravatar zachr@google.com2013-06-27
| | | | | | | | | BUG= R=djsollen@google.com Review URL: https://codereview.chromium.org/17885003 git-svn-id: http://skia.googlecode.com/svn/trunk@9794 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add MD5 support when syncing debug files and option to just start gdbserverGravatar djsollen@google.com2013-06-27
| | | | | | | | R=borenet@google.com Review URL: https://codereview.chromium.org/17910006 git-svn-id: http://skia.googlecode.com/svn/trunk@9791 2bbb7eff-a529-9590-31e7-b0007b416f81
* Basic load base font when specified in a FontDescriptor. basic load of ↵Gravatar edisonn@google.com2013-06-27
| | | | | | | | TrueType font (FontFile2) Review URL: https://codereview.chromium.org/18059003 git-svn-id: http://skia.googlecode.com/svn/trunk@9788 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to trigger rebuilds after master restart.Gravatar borenet@google.com2013-06-27
| | | | | | | | Unreviewed. Review URL: https://codereview.chromium.org/18058002 git-svn-id: http://skia.googlecode.com/svn/trunk@9787 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-06-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9786 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for crbug/253460 (generatePath crashing on Windows).Gravatar bungeman@google.com2013-06-26
| | | | | | | | | | Sometimes GetGlyphOutlineW returns a number larger than BUFFERSIZE even if BUFFERSIZE > 0. It was previously expected that GetGlyphOutlineW would always return GDI_ERROR in this case. git-svn-id: http://skia.googlecode.com/svn/trunk@9785 2bbb7eff-a529-9590-31e7-b0007b416f81
* Alias deref -> unref. This allows Skia objects to be held by WTF::RefPtrGravatar commit-bot@chromium.org2013-06-26
| | | | | | | | | | | | | | | | | | | | smart pointers without need for another smart pointer type. Note that the semantics of SkRefCnt match those WTF expects. In particular, newly created objects have refcount 1 and objects are deallocated at refcount 0. This seems like a better fit than the AddRef/Release alises which exist for scoped_ptr (but seem unused). BUG=254509 R=reed@google.com Author: jbroman@chromium.org Review URL: https://chromiumcodereview.appspot.com/17880003 git-svn-id: http://skia.googlecode.com/svn/trunk@9784 2bbb7eff-a529-9590-31e7-b0007b416f81
* struct != class, even in a friend forward declareGravatar reed@google.com2013-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9783 2bbb7eff-a529-9590-31e7-b0007b416f81
* move legacy mipmap apis to private, save one that is currently called by ↵Gravatar reed@google.com2013-06-26
| | | | | | chrome. It will go soon... git-svn-id: http://skia.googlecode.com/svn/trunk@9782 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SK_IGNORE_MAC_TEXT_BOUNDS_FIX workaround.Gravatar commit-bot@chromium.org2013-06-26
| | | | | | | | | | | | Now that SK_IGNORE_MAC_TEXT_BOUNDS_FIX is no longer used in Chromium, we can remove the code. R=bungeman@gmail.com Author: fmalita@chromium.org Review URL: https://chromiumcodereview.appspot.com/17886002 git-svn-id: http://skia.googlecode.com/svn/trunk@9781 2bbb7eff-a529-9590-31e7-b0007b416f81
* ignore pyc files.Gravatar bsalomon@google.com2013-06-26
| | | | | | | | R=bungeman@google.com Review URL: https://codereview.chromium.org/17845007 git-svn-id: http://skia.googlecode.com/svn/trunk@9778 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change undefined SkGpuRenderTarget and SkGpuTexture forward declares to ↵Gravatar commit-bot@chromium.org2013-06-26
| | | | | | | | | | | | GrRenderTarget and GrTexture. R=robertphillips@google.com, reed@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/17269003 git-svn-id: http://skia.googlecode.com/svn/trunk@9775 2bbb7eff-a529-9590-31e7-b0007b416f81
* add globbing util functionGravatar zachr@google.com2013-06-26
| | | | | | | | R=djsollen@google.com Review URL: https://codereview.chromium.org/17881002 git-svn-id: http://skia.googlecode.com/svn/trunk@9774 2bbb7eff-a529-9590-31e7-b0007b416f81
* refactoring for pdf viewer libGravatar edisonn@google.com2013-06-26
| | | | | | Review URL: https://codereview.chromium.org/17856004 git-svn-id: http://skia.googlecode.com/svn/trunk@9773 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a new GM for very thin stroke widthsGravatar robertphillips@google.com2013-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9770 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix PathRefDebugRef (SK_DEBUG_PATH_REF) case for SkPath copy constructor.Gravatar bungeman@google.com2013-06-26
| | | | | | Review URL: https://codereview.chromium.org/17902003 git-svn-id: http://skia.googlecode.com/svn/trunk@9768 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove RLE config from debugger tooGravatar edisonn@google.com2013-06-26
| | | | | | Review URL: https://codereview.chromium.org/17857003 git-svn-id: http://skia.googlecode.com/svn/trunk@9766 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix build break, remove "RLE" from gConfigNames tooGravatar edisonn@google.com2013-06-26
| | | | | | Review URL: https://codereview.chromium.org/17893004 git-svn-id: http://skia.googlecode.com/svn/trunk@9765 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove kRLE_Index8_Config from SkBitmapGravatar reed@google.com2013-06-26
| | | | | | | | | BUG= R=djsollen@google.com Review URL: https://codereview.chromium.org/17740003 git-svn-id: http://skia.googlecode.com/svn/trunk@9764 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9763 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "avoid AntiFrameRect when strokeSize is too small. Workaround for ↵Gravatar reed@google.com2013-06-26
| | | | | | | | skbug/1368" This reverts commit b70c77bb33495b5956550b39d479cf9b911d6114. git-svn-id: http://skia.googlecode.com/svn/trunk@9762 2bbb7eff-a529-9590-31e7-b0007b416f81
* avoid AntiFrameRect when strokeSize is too small. Workaround for skbug/1368Gravatar reed@google.com2013-06-25
| | | | | | | | | BUG= R=robertphillips@google.com Review URL: https://codereview.chromium.org/17739003 git-svn-id: http://skia.googlecode.com/svn/trunk@9761 2bbb7eff-a529-9590-31e7-b0007b416f81
* add removed file by mistakeGravatar edisonn@google.com2013-06-25
| | | | | | Review URL: https://codereview.chromium.org/17739006 git-svn-id: http://skia.googlecode.com/svn/trunk@9760 2bbb7eff-a529-9590-31e7-b0007b416f81
* move kConfigCount out of Config enum, so we don't pullute type-checkingGravatar reed@google.com2013-06-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9759 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add folders for skimage expectations, plus one setGravatar scroggo@google.com2013-06-25
| | | | | | | | | | | | | | | | Expectations json files will be stored here for running skimage. Once we move to git, this directory will be at a higher level, but keeping here for now for simplicity. (SkipBuildbotRuns) BUG=https://code.google.com/p/skia/issues/detail?id=1241 R=borenet@google.com Review URL: https://codereview.chromium.org/17737002 git-svn-id: http://skia.googlecode.com/svn/trunk@9758 2bbb7eff-a529-9590-31e7-b0007b416f81
* Basic support for Type3 Fonts in Pdf + various refactoringsGravatar edisonn@google.com2013-06-25
| | | | | | Review URL: https://codereview.chromium.org/17748002 git-svn-id: http://skia.googlecode.com/svn/trunk@9757 2bbb7eff-a529-9590-31e7-b0007b416f81
* dump strokeWidth in SkDumpCanvasGravatar reed@google.com2013-06-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9756 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disable Goma for ChromeOS buildGravatar borenet@google.com2013-06-25
| | | | | | | | | | | Doesn't work on VMs. (RunBuilders:Build-Ubuntu12-GCC-x86-Debug-Alex,Build-Ubuntu12-GCC-x86-Release-Alex) R=djsollen@google.com Review URL: https://codereview.chromium.org/17688005 git-svn-id: http://skia.googlecode.com/svn/trunk@9754 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove no longer needed stuff from chromeos build script, always run gypGravatar commit-bot@chromium.org2013-06-25
| | | | | | | | | | | | (RunBuilders:Test-ChromeOS-Alex-GMA3150-x86-Debug,Test-ChromeOS-Alex-GMA3150-x86-Release,Perf-ChromeOS-Alex-GMA3150-x86-Release) R=djsollen@google.com Author: borenet@google.com Review URL: https://chromiumcodereview.appspot.com/17684002 git-svn-id: http://skia.googlecode.com/svn/trunk@9752 2bbb7eff-a529-9590-31e7-b0007b416f81