aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Turn off timeIndividualTilesGravatar borenet@google.com2013-01-15
| | | | | | | The parser isn't working properly. Review URL: https://codereview.appspot.com/7100057 git-svn-id: http://skia.googlecode.com/svn/trunk@7183 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implementation of the displacement effect (both CPU and GPU)Gravatar sugoi@google.com2013-01-15
| | | | | | | TEST=Added new GM called "displacement" Review URL: https://codereview.appspot.com/7058075 git-svn-id: http://skia.googlecode.com/svn/trunk@7182 2bbb7eff-a529-9590-31e7-b0007b416f81
* To support alignment pragmas (for speed), we need to relax assumptions aboutGravatar reed@google.com2013-01-15
| | | | | | | | our sizeof. So rewrite operator= and copy-constructor to just copy individual fields. Review URL: https://codereview.appspot.com/7098063 git-svn-id: http://skia.googlecode.com/svn/trunk@7181 2bbb7eff-a529-9590-31e7-b0007b416f81
* dashing asPoints could draw excessively long first dashGravatar robertphillips@google.com2013-01-15
| | | | | | | | | | https://codereview.appspot.com/7098054/ Will require rebaselining of dashing gm. git-svn-id: http://skia.googlecode.com/svn/trunk@7177 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7176 2bbb7eff-a529-9590-31e7-b0007b416f81
* call endContext() if we have to return false from setContext(), to keep theGravatar mike@reedtribe.org2013-01-15
| | | | | | | | debugging fInSetContext flag up-to-date. git-svn-id: http://skia.googlecode.com/svn/trunk@7175 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warning on linuxGravatar humper@google.com2013-01-15
| | | | | | | | BUG= Review URL: https://codereview.appspot.com/7101058 git-svn-id: http://skia.googlecode.com/svn/trunk@7174 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7173 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix all the false --> NULL issues in the gradient codeGravatar humper@google.com2013-01-14
| | | | | | | | BUG= Review URL: https://codereview.appspot.com/7095056 git-svn-id: http://skia.googlecode.com/svn/trunk@7170 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove namespace qualifier for feof; it's making android unhappyGravatar humper@google.com2013-01-14
| | | | | | | | BUG= Review URL: https://codereview.appspot.com/7106048 git-svn-id: http://skia.googlecode.com/svn/trunk@7169 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a problem in the matrix convolution image filter exposed by ↵Gravatar senorblanco@chromium.org2013-01-14
| | | | | | | | | | https://code.google.com/p/skia/source/detail?r=7152: when offsetting texture coordinates in a GrEffect, take the origin of the source bitmap origin into account, and flip Y coordinates when we need to. NOTE: this will cause the matrixconvolution GM's to need to be rebaselined (again!). Review URL: https://codereview.appspot.com/7086054 git-svn-id: http://skia.googlecode.com/svn/trunk@7168 2bbb7eff-a529-9590-31e7-b0007b416f81
* another false --> NULL return fixGravatar humper@google.com2013-01-14
| | | | | | | | | | false --> NULL for failure return BUG= Review URL: https://codereview.appspot.com/7100052 git-svn-id: http://skia.googlecode.com/svn/trunk@7167 2bbb7eff-a529-9590-31e7-b0007b416f81
* false --> NULL for failure returnGravatar humper@google.com2013-01-14
| | | | | | | | BUG= Review URL: https://codereview.appspot.com/7096058 git-svn-id: http://skia.googlecode.com/svn/trunk@7165 2bbb7eff-a529-9590-31e7-b0007b416f81
* move template specializations to inline functions in the header to make ↵Gravatar humper@google.com2013-01-14
| | | | | | | | | | windows happy again BUG= Review URL: https://codereview.appspot.com/7099053 git-svn-id: http://skia.googlecode.com/svn/trunk@7164 2bbb7eff-a529-9590-31e7-b0007b416f81
* replace getline with fgets for portabilityGravatar humper@google.com2013-01-14
| | | | | | | | BUG= Review URL: https://codereview.appspot.com/7085058 git-svn-id: http://skia.googlecode.com/svn/trunk@7163 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove dynamic_cast because rtti is disabled on some platforms (but not all??)Gravatar humper@google.com2013-01-14
| | | | | | | | BUG= Review URL: https://codereview.appspot.com/7102056 git-svn-id: http://skia.googlecode.com/svn/trunk@7161 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix gcc buildGravatar humper@google.com2013-01-14
| | | | | | | | BUG= Review URL: https://codereview.appspot.com/7095055 git-svn-id: http://skia.googlecode.com/svn/trunk@7160 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX.Gravatar bungeman@google.com2013-01-14
| | | | | | | https://codereview.appspot.com/7070073/ git-svn-id: http://skia.googlecode.com/svn/trunk@7159 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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