aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* remove duplicate impl for getFileName() on SkFDStreamGravatar reed@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7854 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed the hash key comparison function.Gravatar sugoi@google.com2013-02-25
| | | | | | Review URL: https://codereview.appspot.com/7378065 git-svn-id: http://skia.googlecode.com/svn/trunk@7853 2bbb7eff-a529-9590-31e7-b0007b416f81
* check-point: skiafy SkFontHost_fontconfig from chromeGravatar reed@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7852 2bbb7eff-a529-9590-31e7-b0007b416f81
* add --tmpDir foo option to tests, to allow unittests that want to write/read ↵Gravatar reed@google.com2013-02-25
| | | | | | | | | | files use tmpDir in SkStream tests git-svn-id: http://skia.googlecode.com/svn/trunk@7851 2bbb7eff-a529-9590-31e7-b0007b416f81
* Give GrDrawTarget a back ptr to its owning GrContext.Gravatar bsalomon@google.com2013-02-25
| | | | | | Review URL: https://codereview.appspot.com/7395055 git-svn-id: http://skia.googlecode.com/svn/trunk@7850 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add an SkSet class to be used by Pdf only, for now - reverted because of ↵Gravatar edisonn@google.com2013-02-25
| | | | | | triggering heap corruption on Win7, original coe review: https://codereview.appspot.com/6749054 git-svn-id: http://skia.googlecode.com/svn/trunk@7849 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't #include <unistd.h> if we're windowsGravatar reed@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7848 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't try to access filedescriptors on windowsGravatar reed@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7847 2bbb7eff-a529-9590-31e7-b0007b416f81
* move SkFDStream out of images into coreGravatar reed@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7846 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove bogus ability for creating an SkPicturePlayback to fail.Gravatar scroggo@google.com2013-02-25
| | | | | | | | | | | | | | | | | | | Change SkPicturePlayback::parseBufferTag to return void, since it can never return false. Change SkPicturePlayback::parseStreamTag to return void, since the only way it can return false is if parseBufferTag returns false, or if creating a sub picture failed, both of which are nonsensical. Due to the above, there is no reason for creating an SkPicturePlayback to fail, so remove the isValid parameter. Update subclasses in SkDebuggerGUI. Review URL: https://codereview.appspot.com/7388050 git-svn-id: http://skia.googlecode.com/svn/trunk@7844 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use size_t for rowBytes.Gravatar scroggo@google.com2013-02-25
| | | | | | | | | | | | | Previously, we were using uint32_t sometimes, int sometimes, and size_t sometimes. Switch to using size_t, since we are actually talking about a number of bytes. In copyPixelsTo, use 0 as a flag to use the internal rowBytes, which is more consistent with setConfig. Review URL: https://codereview.appspot.com/7370047 git-svn-id: http://skia.googlecode.com/svn/trunk@7843 2bbb7eff-a529-9590-31e7-b0007b416f81
* Always round text position correctly.Gravatar bungeman@google.com2013-02-25
| | | | | | | | | | | | | https://codereview.appspot.com/7383049/ Will require rebaseline of fontscaler GM. Must add SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX to Chromium until ~150 layout tests can be rebaselined. git-svn-id: http://skia.googlecode.com/svn/trunk@7842 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to test commit queueGravatar commit-bot@chromium.org2013-02-25
| | | | | | | | (SkipBuildbotRuns) Review URL: https://chromiumcodereview.appspot.com/12340051 git-svn-id: http://skia.googlecode.com/svn/trunk@7841 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed '#if with no expression' warning/errorGravatar robertphillips@google.com2013-02-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7840 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-02-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7839 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix debugger build.Gravatar scroggo@google.com2013-02-22
| | | | | | Review URL: https://codereview.appspot.com/7375050 git-svn-id: http://skia.googlecode.com/svn/trunk@7838 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SkSerializationHelpers.Gravatar scroggo@google.com2013-02-22
| | | | | | | | | | Move the function definition for EncodeBitmap to SkPicture, where InstallPixelRefProc has already moved (and where it is relevant). Review URL: https://codereview.appspot.com/7386053 git-svn-id: http://skia.googlecode.com/svn/trunk@7837 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2013-02-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7836 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create SkLazyPixelRef which performs lazy decoding.Gravatar scroggo@google.com2013-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new pixel ref behaves similarly to SkImageRef, with some key differences: It does not depend on the images project. It requires an SkImageCache, which handles allocation and caching of the pixel memory. It takes a function signature for decoding which decodes into already allocated pixel memory rather than into an SkBitmap. Add two implementations of SkImageCache: SkLruImageCache and SkAshmemImageCache. Replace SkSerializationHelpers::DecodeBitmap with SkPicture::InstallPixelRefProc, and update sites that referenced it. SkBitmapFactory now sets the pixel ref to a new object of the new class SkLazyPixelRef, provided it has an SkImageCache for caching. Provide an option to do lazy decodes in render_pictures and bench_pictures. SkPicture: Eliminate the default parameters in the constructor. If a proc for decoding bitmaps is installed, use it to decode any encoded data in subpictures. When parsing deserializing subpictures, check for success. When serializing subpictures, pass the picture's bitmap encoder to the subpicture's call to serialize. Update BitmapFactoryTest to test its new behavior. BUG=https://code.google.com/p/skia/issues/detail?id=1008 BUG=https://code.google.com/p/skia/issues/detail?id=1009 Review URL: https://codereview.appspot.com/7060052 git-svn-id: http://skia.googlecode.com/svn/trunk@7835 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix signed/unsigned comparison warnings in benchmain.cppGravatar bsalomon@google.com2013-02-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7833 2bbb7eff-a529-9590-31e7-b0007b416f81
* use DEF_GMGravatar reed@google.com2013-02-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7832 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable cpu-array dynamic vertex data on SGX.Gravatar bsalomon@google.com2013-02-22
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/7388045 git-svn-id: http://skia.googlecode.com/svn/trunk@7830 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove obsolete build flags:Gravatar reed@google.com2013-02-22
| | | | | | | | | | | | | SK_IGNORE_TRANS_CLAMP_FIX SK_IGNORE_1XN_BITMAP_OPT SK_IGNORE_CLIP_BUG_FIX SK_IGNORE_FAST_SCALEMATRIX_INVERT SK_IGNORE_QUAD_STROKE_FIX SK_IGNORE_MULTIPLY_XFERMODE_OPT SK_IGNORE_LARGE_DASH_OPT Review URL: https://codereview.appspot.com/7381050 git-svn-id: http://skia.googlecode.com/svn/trunk@7829 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GPU-less build of bench.Gravatar bsalomon@google.com2013-02-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7828 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GPU versions of benchs use the same canvas size as raster.Gravatar bsalomon@google.com2013-02-22
| | | | | | Review URL: https://codereview.appspot.com/7400049 git-svn-id: http://skia.googlecode.com/svn/trunk@7827 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix ChartBench crash.Gravatar bsalomon@google.com2013-02-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7826 2bbb7eff-a529-9590-31e7-b0007b416f81
* Avoid an unitialized warning on linux.Gravatar scroggo@google.com2013-02-22
| | | | | | Review URL: https://codereview.appspot.com/7378050 git-svn-id: http://skia.googlecode.com/svn/trunk@7825 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a warning on Android.Gravatar scroggo@google.com2013-02-22
| | | | | | | | | Only define/use haveBuffer in debug mode, since it's only used for assertions. Review URL: https://codereview.appspot.com/7384051 git-svn-id: http://skia.googlecode.com/svn/trunk@7824 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a warning on linux.Gravatar scroggo@google.com2013-02-22
| | | | | | Review URL: https://codereview.appspot.com/7392045 git-svn-id: http://skia.googlecode.com/svn/trunk@7823 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add chart bench.Gravatar bsalomon@google.com2013-02-22
| | | | | | Review URL: https://codereview.appspot.com/7368051 git-svn-id: http://skia.googlecode.com/svn/trunk@7821 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove obsolete build flag SK_IGNORE_CONVEX_QUAD_OPTGravatar reed@google.com2013-02-22
| | | | | | Review URL: https://codereview.appspot.com/7363046 git-svn-id: http://skia.googlecode.com/svn/trunk@7820 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove obsolete build flag SK_IGNORE_SETLINE_FIXGravatar reed@google.com2013-02-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7819 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove obsolete build flag SK_IGNORE_GRADIENT_DITHER_FIXGravatar reed@google.com2013-02-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7818 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-02-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7817 2bbb7eff-a529-9590-31e7-b0007b416f81
* Small adjustments to SkRectShaderImageFilter to follow up on original cl.Gravatar sugoi@google.com2013-02-21
| | | | | | Review URL: https://codereview.appspot.com/7377049 git-svn-id: http://skia.googlecode.com/svn/trunk@7816 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GM self-test expectations, mkIIGravatar borenet@google.com2013-02-21
| | | | | | Review URL: https://codereview.appspot.com/7393046 git-svn-id: http://skia.googlecode.com/svn/trunk@7815 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GM self-test expectationsGravatar borenet@google.com2013-02-21
| | | | | | Review URL: https://codereview.appspot.com/7386048 git-svn-id: http://skia.googlecode.com/svn/trunk@7814 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix ignored errors in GM when no reference images are providedGravatar borenet@google.com2013-02-21
| | | | | | Review URL: https://codereview.appspot.com/7400044 git-svn-id: http://skia.googlecode.com/svn/trunk@7813 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix warnings-as-errors on Mac10.6 and Win. Unreviewed.Gravatar senorblanco@chromium.org2013-02-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7811 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use CPU arrays for dynamic indices/vertices on ARM GPUs.Gravatar bsalomon@google.com2013-02-21
| | | | | | Review URL: https://codereview.appspot.com/7365047 git-svn-id: http://skia.googlecode.com/svn/trunk@7810 2bbb7eff-a529-9590-31e7-b0007b416f81
* New SkRectShaderImageFilter image filterGravatar sugoi@google.com2013-02-21
| | | | | | | | | This new changelist also introduces a new image filter called SkRectShaderImageFilter which is make to simply apply a shader on a region without using any inputs. TEST=Added ShaderImageFilter test Review URL: https://codereview.appspot.com/7300046 git-svn-id: http://skia.googlecode.com/svn/trunk@7808 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for vertex data rendered from CPU arrays.Gravatar bsalomon@google.com2013-02-21
| | | | | | Review URL: https://codereview.appspot.com/7380044 git-svn-id: http://skia.googlecode.com/svn/trunk@7807 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-02-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7803 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make ANGLE bot run only ANGLE configs in bench_picturesGravatar borenet@google.com2013-02-20
| | | | | | Review URL: https://codereview.appspot.com/7397043 git-svn-id: http://skia.googlecode.com/svn/trunk@7799 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrGLBufferImpl to unify implementation of GrGLVertexBuffer and ↵Gravatar bsalomon@google.com2013-02-20
| | | | | | | | GrGLIndexBuffer. Review URL: https://codereview.appspot.com/7346055 git-svn-id: http://skia.googlecode.com/svn/trunk@7798 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix compile errors in blur code on Windows.Gravatar jvanverth@google.com2013-02-20
| | | | | | | Various typecasts to remove warnings and get this code building on Windows. git-svn-id: http://skia.googlecode.com/svn/trunk@7797 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove blur radius reinterpretation for now to make rebaselining simpler and ↵Gravatar humper@google.com2013-02-20
| | | | | | | | | | avoid significant changes to webkit and JNI -- those come later BUG= Review URL: https://codereview.appspot.com/7391043 git-svn-id: http://skia.googlecode.com/svn/trunk@7795 2bbb7eff-a529-9590-31e7-b0007b416f81
* Complete the implementation of the faster blur; now supports all blur styles ↵Gravatar humper@google.com2013-02-20
| | | | | | | | and matches the boxfilter approximation visually. Also change the interpretation of the blur radius to be sigma/2; need to add SK_IGNORE_BLUR_RADIUS_CORRECTNESS to chromium GYP to avoid immediate layout test failures over there. Review URL: https://codereview.appspot.com/7307076 git-svn-id: http://skia.googlecode.com/svn/trunk@7793 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix compare of scalar against (int) kMaxTValue.Gravatar reed@google.com2013-02-20
| | | | | | | | | Also fix order of related compares, placing literal first. http://code.google.com/p/skia/issues/detail?id=1127 Review URL: https://codereview.appspot.com/7385043 git-svn-id: http://skia.googlecode.com/svn/trunk@7791 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2013-02-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7788 2bbb7eff-a529-9590-31e7-b0007b416f81