aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Runtime configuration system for skia. This will allow developers to ↵Gravatar humper@google.com2013-01-14
| | | | | | | | control settings at launch time without relying on compile-time flags or recompilation. It can be used to turn features on and off, as well as to control numeric quantities to 'tune' algorithms. Once I make sure it's working across all platforms I'll send out a quick tutorial on its use. Review URL: https://codereview.appspot.com/7098051 git-svn-id: http://skia.googlecode.com/svn/trunk@7158 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SkScalerContextRec::getMatrixFrom2x2 more direct.Gravatar bungeman@google.com2013-01-14
| | | | | | | https://codereview.appspot.com/7070072/ git-svn-id: http://skia.googlecode.com/svn/trunk@7157 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix uninitialized memory issueGravatar robertphillips@google.com2013-01-14
| | | | | | | | https://codereview.appspot.com/7085055/ git-svn-id: http://skia.googlecode.com/svn/trunk@7156 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change SkAutoTUnref usageGravatar robertphillips@google.com2013-01-14
| | | | | | | | https://codereview.appspot.com/7094054/ git-svn-id: http://skia.googlecode.com/svn/trunk@7155 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix debug build after r7153 (removed param referenced in assertion)Gravatar bsalomon@google.com2013-01-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7154 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change signature of SkShader::asNewEffect(), implement for SkBitmapProcShader.Gravatar bsalomon@google.com2013-01-14
| | | | | | Review URL: https://codereview.appspot.com/7086051 git-svn-id: http://skia.googlecode.com/svn/trunk@7153 2bbb7eff-a529-9590-31e7-b0007b416f81
* Changing imageFilter GM tests to use drawBitmap instead of drawSpriteGravatar junov@chromium.org2013-01-14
| | | | | | | The motivation is be able to test the filters with scaled SkPicture playback in isolation from the issues that surround usage of drawSprite Review URL: https://codereview.appspot.com/7060071 git-svn-id: http://skia.googlecode.com/svn/trunk@7152 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use the NDK's cpu-features library when building skia for Chromium/Android.Gravatar digit@google.com2013-01-14
| | | | | | | | | | | | | | | | | | | | This patch ensures that when Skia is built for Chromium, it will always use the Android NDK's cpu-features helper library to detect NEON at runtime. This is needed because sandboxed Chromium renderer processes cannot access /proc, and the probing performed in SkUtilsArm.cpp will never work. As such, the NEON code paths will never be used even when the device supports them. Chromium has special code that ensures that the browser process passes the CPU features flags to every renderer process, but Skia needs to use android_getCpuFeatures() to get them. See http://crbug.com/164154 for full details. Review URL: https://codereview.appspot.com/7102045 git-svn-id: http://skia.googlecode.com/svn/trunk@7149 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix typo bug caught by mac warn-as-error (= should have been &=).Gravatar bsalomon@google.com2013-01-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7148 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement getConstantColorComponents() for matrix convolution.Gravatar bsalomon@google.com2013-01-11
| | | | | | | R=senorblanco@chromium.org Review URL: https://codereview.appspot.com/7092047 git-svn-id: http://skia.googlecode.com/svn/trunk@7146 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrEffect::updateKnownColorComponents(). It is used to determine whether ↵Gravatar bsalomon@google.com2013-01-11
| | | | | | | | the output of an effect has a constant output value for r,g,b, or a. Review URL: https://codereview.appspot.com/7064057 git-svn-id: http://skia.googlecode.com/svn/trunk@7144 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding commandline option to gm to make it write image results for tests ↵Gravatar junov@chromium.org2013-01-11
| | | | | | | | that fails due to pixel mismatches. Review URL: https://codereview.appspot.com/7100043 git-svn-id: http://skia.googlecode.com/svn/trunk@7143 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix leaks in blurrect benchs and gm.Gravatar bsalomon@google.com2013-01-11
| | | | | | Review URL: https://codereview.appspot.com/7071060 git-svn-id: http://skia.googlecode.com/svn/trunk@7142 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable per-tile logging in bench_picturesGravatar borenet@google.com2013-01-11
| | | | | | | | | - Modify bench_pictures buildstep to translate "key: True" --> "--key" rather than requiring "key: value" --> "--key value" - Add whacky TileArgs helper which includes "timeIndividualTiles: True" Review URL: https://codereview.appspot.com/7092046 git-svn-id: http://skia.googlecode.com/svn/trunk@7141 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add option to render PDFs to memory only.Gravatar edisonn@google.com2013-01-11
| | | | | | Review URL: https://codereview.appspot.com/7097045 git-svn-id: http://skia.googlecode.com/svn/trunk@7140 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkImageDecoder_WIC should work on Win7 with Win8 SDK.Gravatar bungeman@google.com2013-01-11
| | | | | | | https://codereview.appspot.com/7099044/ git-svn-id: http://skia.googlecode.com/svn/trunk@7139 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix typo, report in validate diff teh value of the pixel, not the address of ↵Gravatar edisonn@google.com2013-01-11
| | | | | | the pixel. git-svn-id: http://skia.googlecode.com/svn/trunk@7135 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaselined webpage image GMs for ['base-macmini'] on Google Storage.Gravatar rmistry@google.com2013-01-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7130 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GrEffect::textureAccess non-virtual. Require subclasses to append their ↵Gravatar bsalomon@google.com2013-01-11
| | | | | | | | GrTAs. Review URL: https://codereview.appspot.com/7062063 git-svn-id: http://skia.googlecode.com/svn/trunk@7129 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove non-destructive playback from GrIODB.Gravatar bsalomon@google.com2013-01-11
| | | | | | Review URL: https://codereview.appspot.com/7057070 git-svn-id: http://skia.googlecode.com/svn/trunk@7128 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7127 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to trigger rebuildsGravatar rmistry@google.com2013-01-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7126 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rename onFilterImageGPU to filterImageGPU(), to match skia convention. No ↵Gravatar senorblanco@chromium.org2013-01-10
| | | | | | | | | | change in functionality. (Note that this does mean that clients must override onFilterImage() to implement the raster path, but filterImageGPU() to implement the GPU path.) Review URL: https://codereview.appspot.com/7058078 git-svn-id: http://skia.googlecode.com/svn/trunk@7123 2bbb7eff-a529-9590-31e7-b0007b416f81
* DirectWrite generatePath must transform the path by the current matrix.Gravatar bungeman@google.com2013-01-10
| | | | | | | | | https://codereview.appspot.com/7061061/ This will require at least the shadertext2 gm for DirectWrite to be rebaselined. git-svn-id: http://skia.googlecode.com/svn/trunk@7121 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add display of more SkPaint fields in DebuggerGravatar robertphillips@google.com2013-01-10
| | | | | | | | https://codereview.appspot.com/7060063/ git-svn-id: http://skia.googlecode.com/svn/trunk@7120 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: if no readPath is given, report all tests as "missing reference image" ↵Gravatar epoger@google.com2013-01-10
| | | | | | | | instead of "passed" Review URL: https://codereview.appspot.com/7070066 git-svn-id: http://skia.googlecode.com/svn/trunk@7119 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix assertion caused by change in 7117.Gravatar bungeman@google.com2013-01-10
| | | | | | | | | SkRect::intersect returns false if either rectange is empty. SkCanvas::quickReject returns true if an empty rectange is entirely contained within the clip bounds. git-svn-id: http://skia.googlecode.com/svn/trunk@7118 2bbb7eff-a529-9590-31e7-b0007b416f81
* Properly reject clipped out draws in BBox pictures.Gravatar bungeman@google.com2013-01-10
| | | | | | | | https://codereview.appspot.com/7057065/ git-svn-id: http://skia.googlecode.com/svn/trunk@7117 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-test: update expected dashing2.png images (in inputs/ dir) to ↵Gravatar epoger@google.com2013-01-10
| | | | | | | | | reflect new behavior TBR=reed1 Review URL: https://codereview.appspot.com/7068060 git-svn-id: http://skia.googlecode.com/svn/trunk@7116 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update order in third_party/externals svn:externals property to match DEPS.Gravatar bungeman@google.com2013-01-10
| | | | | | | With the previous order a clean svn checkout fails to pull jsoncpp correctly. git-svn-id: http://skia.googlecode.com/svn/trunk@7115 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove default clip/drawstate in GrIODB.Gravatar bsalomon@google.com2013-01-10
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/7070064 git-svn-id: http://skia.googlecode.com/svn/trunk@7114 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7113 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix incorrect sample cnt assertGravatar bsalomon@google.com2013-01-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7112 2bbb7eff-a529-9590-31e7-b0007b416f81
* Ensure that SkMemoryStream does not crash dereferencing fData.Gravatar scroggo@google.com2013-01-09
| | | | | | | | | | | | SkMemoryStream attempts to dereference fData in multiple places. Instead of allowing it to be NULL, resulting in a crash, set it to SkData::NewEmpty(). Add a test for SkStream that will crash when its SkData is set to NULL. Review URL: https://codereview.appspot.com/7061059 git-svn-id: http://skia.googlecode.com/svn/trunk@7111 2bbb7eff-a529-9590-31e7-b0007b416f81
* This takes the convex path tesselator from the Android code and hooks it into aGravatar jvanverth@google.com2013-01-09
| | | | | | | | | | | GrPathRenderer. GrAndroidPathRenderer is activated by gyp flag 'skia_android_path_rendering'. A few changes to get this to work: - Had to change SkPaint* param to SkStrokeRec& in ConvexPathVertices() - Had to copy the vertex buffer created by the Android code to GrDrawTarget-generated vertex buffer, and convert float alpha to GrColor for AA paths git-svn-id: http://skia.googlecode.com/svn/trunk@7110 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add clear after each image save, so that GPU images won't end up ↵Gravatar jvanverth@google.com2013-01-09
| | | | | | progressively compositing on top of one another. git-svn-id: http://skia.googlecode.com/svn/trunk@7108 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix iOS build after adding modifierKeys to click eventsGravatar reed@google.com2013-01-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7107 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaselined webpage image GMs for ['base-shuttle-win7-intel-angle'] on ↵Gravatar rmistry@google.com2013-01-09
| | | | | | Google Storage. git-svn-id: http://skia.googlecode.com/svn/trunk@7100 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7099 2bbb7eff-a529-9590-31e7-b0007b416f81
* speculative change to speedup blurrect bench for large radius, to see if the ↵Gravatar mike@reedtribe.org2013-01-09
| | | | | | bots are timing out git-svn-id: http://skia.googlecode.com/svn/trunk@7098 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn off WarnAsError when building ANGLE projects on windows.Gravatar bsalomon@google.com2013-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7096 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn off warnings-as-error on 64bit windows build due to many size_t-related ↵Gravatar bsalomon@google.com2013-01-08
| | | | | | warnings. git-svn-id: http://skia.googlecode.com/svn/trunk@7095 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable warnings-as-errors on Windows.Gravatar bsalomon@google.com2013-01-08
| | | | | | Review URL: https://codereview.appspot.com/7066054 git-svn-id: http://skia.googlecode.com/svn/trunk@7094 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: remove --diffPath option and all other pixel diff functionality.Gravatar epoger@google.com2013-01-08
| | | | | | | | If you want pixel diffs, you need to run skdiff instead; from now on, gm will only tell you WHETHER the images differed (not HOW they differed). Review URL: https://codereview.appspot.com/7064047 git-svn-id: http://skia.googlecode.com/svn/trunk@7093 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix signed/unsigned comparison in PictureTest.cppGravatar bsalomon@google.com2013-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7092 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaselined webpage image GMs for ['base-android-xoom'] on Google Storage.Gravatar rmistry@google.com2013-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7091 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaselined webpage image GMs for %s on Google Storage.Gravatar rmistry@google.com2013-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7090 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaselined webpage image GMs for %s on Google Storage.Gravatar rmistry@google.com2013-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7089 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix signed/unsigned comparison warning in PictureTest.cppGravatar bsalomon@google.com2013-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7088 2bbb7eff-a529-9590-31e7-b0007b416f81
* translate modifier keys for xeventsGravatar reed@google.com2013-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7087 2bbb7eff-a529-9590-31e7-b0007b416f81