aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* Fix GPU-less build.Gravatar bsalomon@google.com2013-01-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7224 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix missing "class" in friend decls in GrEffect.hGravatar bsalomon@google.com2013-01-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7223 2bbb7eff-a529-9590-31e7-b0007b416f81
* Wrap GrEffects in GrEffectPtr.Gravatar bsalomon@google.com2013-01-16
| | | | | | | | | This is the first step towards automatic recycling of scratch resouces in the cache via ref-cnts. R=robertphillips@google.com Review URL: https://codereview.appspot.com/7092061 git-svn-id: http://skia.googlecode.com/svn/trunk@7222 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove legacy build-flags for drawBitmapRectGravatar reed@google.com2013-01-16
| | | | | | | add SkRect::isetWH() Review URL: https://codereview.appspot.com/7127045 git-svn-id: http://skia.googlecode.com/svn/trunk@7221 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert change 7218Gravatar edisonn@google.com2013-01-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7220 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add option to ignore small pixel diffs for --validate. By default, right now ↵Gravatar edisonn@google.com2013-01-16
| | | | | | | | we will default to max diff of 256, which means that for now we report all pixels that are not as expected and we do not error out. Ideally we will decrease the value of max diff to something that does not have visual impact, e.g. 10, then we will report small changes with the intensity under 10, but we will error out for anything larger. Review URL: https://codereview.appspot.com/7139043 git-svn-id: http://skia.googlecode.com/svn/trunk@7218 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to trigger doxygen uploadGravatar rmistry@google.com2013-01-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7217 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to trigger uploads after skia-autogen resetGravatar borenet@google.com2013-01-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7216 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7215 2bbb7eff-a529-9590-31e7-b0007b416f81
* better quick fix for GM self-test: ignore instance-counting lines in Debug ↵Gravatar epoger@google.com2013-01-16
| | | | | | | | | output BUG=http://code.google.com/p/skia/issues/detail?id=1068 Review URL: https://codereview.appspot.com/7127044 git-svn-id: http://skia.googlecode.com/svn/trunk@7214 2bbb7eff-a529-9590-31e7-b0007b416f81
* quick fix for GM self-test failures after r7206Gravatar epoger@google.com2013-01-16
| | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=1068 Review URL: https://codereview.appspot.com/7131043 git-svn-id: http://skia.googlecode.com/svn/trunk@7213 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add VALIDATE_FAILURE_IS_A_TOOL_FAILURE to specify whether a failure in ↵Gravatar reed@google.com2013-01-15
| | | | | | | | | | | validation means the tool should return failure or not. For now it is not defined, which means any failed pixels are still reported to stdout, but the tool does not return an error, allowing the bots to go green (until we can fix these failures). Review URL: https://codereview.appspot.com/7105056 git-svn-id: http://skia.googlecode.com/svn/trunk@7211 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix busted texture coords in GrGLBlendEffect.Gravatar bsalomon@google.com2013-01-15
| | | | | | Review URL: https://codereview.appspot.com/7095062 git-svn-id: http://skia.googlecode.com/svn/trunk@7209 2bbb7eff-a529-9590-31e7-b0007b416f81
* Have drawBitmapRectToRect devolve to drawBitmap if it can (to avoid creatingGravatar reed@google.com2013-01-15
| | | | | | | | | a bitmap-shader, which is slower when the matrix is nearly translate-only). SK_IGNORE_DRAWBITMAPRECT_AS_DRAWBITMAP will disable this if needed. Review URL: https://codereview.appspot.com/7100058 git-svn-id: http://skia.googlecode.com/svn/trunk@7208 2bbb7eff-a529-9590-31e7-b0007b416f81
* Re-enable inst counting in debug builds.Gravatar bsalomon@google.com2013-01-15
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/7098066 git-svn-id: http://skia.googlecode.com/svn/trunk@7206 2bbb7eff-a529-9590-31e7-b0007b416f81
* add LF at end of fileGravatar reed@google.com2013-01-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7205 2bbb7eff-a529-9590-31e7-b0007b416f81
* add LF at end of file to fix warningGravatar reed@google.com2013-01-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7204 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r7198 until I can fix ↵Gravatar epoger@google.com2013-01-15
| | | | | | | | https://code.google.com/p/skia/issues/detail?id=1067 Review URL: https://codereview.appspot.com/7124043 git-svn-id: http://skia.googlecode.com/svn/trunk@7203 2bbb7eff-a529-9590-31e7-b0007b416f81
* add benches for drawBitmapRectToRect with slight scale/translateGravatar reed@google.com2013-01-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7202 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added print out of SkShader information to debuggerGravatar robertphillips@google.com2013-01-15
| | | | | | | | https://codereview.appspot.com/7105045/ git-svn-id: http://skia.googlecode.com/svn/trunk@7201 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: use new Expectations struct instead of comparison bitmapsGravatar epoger@google.com2013-01-15
| | | | | | Review URL: https://codereview.appspot.com/7088044 git-svn-id: http://skia.googlecode.com/svn/trunk@7198 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update gm self-test results to expect new runtime config debug messageGravatar epoger@google.com2013-01-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7197 2bbb7eff-a529-9590-31e7-b0007b416f81
* Separate our jsoncpp dependency from Chromium's jsoncpp overrides.Gravatar epoger@google.com2013-01-15
| | | | | | | BUG=https://code.google.com/p/skia/issues/detail?id=909 Review URL: https://codereview.appspot.com/7098047 git-svn-id: http://skia.googlecode.com/svn/trunk@7187 2bbb7eff-a529-9590-31e7-b0007b416f81
* Unreviewed mac build fix : Removing unused variableGravatar sugoi@google.com2013-01-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7186 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added missing include in non GPU case.Gravatar sugoi@google.com2013-01-15
| | | | | | Review URL: https://codereview.appspot.com/7093067 git-svn-id: http://skia.googlecode.com/svn/trunk@7185 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix bug in cubic-clipper (SkEdgeClipper). When we chop the cubic on Top/BottomGravatar reed@google.com2013-01-15
| | | | | | | | | | | | | | | | | of the cliprect, we (correctly) clamp the Y coordinate of the control-point right next to the on-curve point that was chopped (this ensures we don't go slightly outside of the clip-rect due to imperfect T value calculation). However, the code was also clamping the other control-point as well, resulting in warping the cubic, which could sometimes force it outside of the clip. The fix is to just remove the line of code that clampped the 2nd control-point. unittest added to reproduce a test cubic that triggered an assert, due to the cubic being outside of the cliprect. The test (w/o the fix) will assert in a SK_DEBUG build. Review URL: https://codereview.appspot.com/7100056 git-svn-id: http://skia.googlecode.com/svn/trunk@7184 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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