aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAge
* regression unittest for the fix in rev. 3558 (handling nan in antihairpaths)Gravatar reed@google.com2012-03-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3562 2bbb7eff-a529-9590-31e7-b0007b416f81
* Code changes for ANGLE GL interface. .gyp file changes will be delivered later.Gravatar robertphillips@google.com2012-03-28
| | | | | | | | http://codereview.appspot.com/5940046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3519 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create macro for registering classes for deserializationGravatar djsollen@google.com2012-03-26
| | | | | | Review URL: https://codereview.appspot.com/5909063 git-svn-id: http://skia.googlecode.com/svn/trunk@3494 2bbb7eff-a529-9590-31e7-b0007b416f81
* restore line accidentally deleted in MatrixTest.cpp in r3491Gravatar bsalomon@google.com2012-03-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3492 2bbb7eff-a529-9590-31e7-b0007b416f81
* Another fix for fixed point (nan == nan in fixed pt)Gravatar bsalomon@google.com2012-03-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3491 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix test to use the flattenable writer class instead ofGravatar djsollen@google.com2012-03-26
| | | | | | | flattening the object directly. Review URL: https://codereview.appspot.com/5901059 git-svn-id: http://skia.googlecode.com/svn/trunk@3490 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SkMatrix::cheapEqualTo, use in Gr codeGravatar bsalomon@google.com2012-03-26
| | | | | | | | Review URL: http://codereview.appspot.com/5865057/ git-svn-id: http://skia.googlecode.com/svn/trunk@3488 2bbb7eff-a529-9590-31e7-b0007b416f81
* Glyph advances from generateAdvance do not always match generateMetrics results.Gravatar bungeman@google.com2012-03-23
| | | | | | | http://codereview.appspot.com/5841071/ git-svn-id: http://skia.googlecode.com/svn/trunk@3480 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix clang compilation warningGravatar bsalomon@google.com2012-03-22
| | | | | | | | | Submitted on behalf of Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/5833045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3472 2bbb7eff-a529-9590-31e7-b0007b416f81
* Upstream changes from Android repository.Gravatar djsollen@google.com2012-03-21
| | | | | | Review URL: https://codereview.appspot.com/5752055 git-svn-id: http://skia.googlecode.com/svn/trunk@3449 2bbb7eff-a529-9590-31e7-b0007b416f81
* Compile with c++0x.Gravatar bungeman@google.com2012-03-19
| | | | | | | http://codereview.appspot.com/5841074/ git-svn-id: http://skia.googlecode.com/svn/trunk@3434 2bbb7eff-a529-9590-31e7-b0007b416f81
* Close a couple of minor memory leaks, add a valgrind suppression file toGravatar tomhudson@google.com2012-03-15
| | | | | | | | | | mute complaints about apparent driver bugs. http://codereview.appspot.com/5837046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3406 2bbb7eff-a529-9590-31e7-b0007b416f81
* unittest for kUTF32_TextEncodingGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3390 2bbb7eff-a529-9590-31e7-b0007b416f81
* promote floats to scalars for the fixed-point buildGravatar reed@google.com2012-03-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3370 2bbb7eff-a529-9590-31e7-b0007b416f81
* add unittest for rev. 3366 -- clipping antihairlinesGravatar reed@google.com2012-03-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3367 2bbb7eff-a529-9590-31e7-b0007b416f81
* If we try to clip against a path and the path only contains a rect, treat it ↵Gravatar tomhudson@google.com2012-03-09
| | | | | | | | | | | | | | as a clip against a rect. (Works around a performance issue: JavaScript Canvas2D API only provides canvas.clipPath(), and we don't optimize path clips nearly as much as we can rects; this shows up more in Ganesh than in the software rasterizer.) http://codereview.appspot.com/5795044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3355 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix copy paste error in test ref counting.Gravatar vandebo@chromium.org2012-03-05
| | | | | | | | TBR=reed@google.com Review URL: https://codereview.appspot.com/5727066 git-svn-id: http://skia.googlecode.com/svn/trunk@3320 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix name objects containing characters > 0x80 and add a test.Gravatar vandebo@chromium.org2012-03-05
| | | | | | | | This fixes chrome bug http://crbug.com/115258 Review URL: https://codereview.appspot.com/5726048 git-svn-id: http://skia.googlecode.com/svn/trunk@3319 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove fragile assertGravatar reed@google.com2012-02-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3286 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix edgecase in chopcubic where we computed duplicate tvaluesGravatar reed@google.com2012-02-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3285 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix bug and add test for aaclip when blitV is calledGravatar reed@google.com2012-02-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3281 2bbb7eff-a529-9590-31e7-b0007b416f81
* Modify SkDeferredCanvas so that it uses its inherited SkCanvas to track ↵Gravatar junov@chromium.org2012-02-24
| | | | | | | | | | | | | | matrix and clipping state Removed 'virtual' from a few canvas methods that no longer need it thanks to this change. BUG=http://code.google.com/p/skia/issues/detail?id=506 TEST=Canvas unit test REVIEW=http://codereview.appspot.com/5697052/ git-svn-id: http://skia.googlecode.com/svn/trunk@3261 2bbb7eff-a529-9590-31e7-b0007b416f81
* reverting r3257 because of gm failure.Gravatar junov@chromium.org2012-02-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3258 2bbb7eff-a529-9590-31e7-b0007b416f81
* Modify SkDeferredCanvas so that it uses its inherited SkCanvas to track ↵Gravatar junov@chromium.org2012-02-24
| | | | | | | | | | | | | | matrix and clipping state Removed 'virtual' from a few canvas methods that no longer need it thanks to this change. BUG=http://code.google.com/p/skia/issues/detail?id=506 TEST=Canvas unit test REVIEW=http://codereview.appspot.com/5697052/ git-svn-id: http://skia.googlecode.com/svn/trunk@3256 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for crash in SkDeferredCanvas when optional SkPaint argument is NULLGravatar junov@chromium.org2012-02-23
| | | | | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=505 TEST=Canvas unit test REVIEW=http://codereview.appspot.com/5699054/ git-svn-id: http://skia.googlecode.com/svn/trunk@3246 2bbb7eff-a529-9590-31e7-b0007b416f81
* always allocate (only) the width of the clip for the AA row, since it willGravatar reed@google.com2012-02-23
| | | | | | | | | | already be clamped to 32K (our impl limit at the moment.) add unittest to confirm this fix git-svn-id: http://skia.googlecode.com/svn/trunk@3242 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix memory leak in GetTableData() and add unittests for itGravatar reed@google.com2012-02-23
| | | | | | Review URL: https://codereview.appspot.com/5693048 git-svn-id: http://skia.googlecode.com/svn/trunk@3239 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't require tableCount>0 since some platform fonts may not support thatGravatar reed@google.com2012-02-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3238 2bbb7eff-a529-9590-31e7-b0007b416f81
* GPU device preserves pixel values across read/write/read of unpremul pixel ↵Gravatar bsalomon@google.com2012-02-23
| | | | | | | | | | values Review URL: http://codereview.appspot.com/5695047/ git-svn-id: http://skia.googlecode.com/svn/trunk@3237 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove 'OS/2' table from known-sizes, since its size is not always the sameGravatar reed@google.com2012-02-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3236 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing Canvas unit test to correctly verify object flattening in SkPictureGravatar junov@chromium.org2012-02-23
| | | | | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=507 TEST=Canvas unit test REVIEW=http://codereview.appspot.com/5685082/ git-svn-id: http://skia.googlecode.com/svn/trunk@3235 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix line endings.Gravatar bsalomon@google.com2012-02-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3234 2bbb7eff-a529-9590-31e7-b0007b416f81
* add unittest for FontHost (just tables at the moment)Gravatar reed@google.com2012-02-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3233 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disabling failing unit test on linuxGravatar junov@chromium.org2012-02-22
| | | | | | | | | | TBR=reed TEST=unit test CanvasTest BUG=http://code.google.com/p/skia/issues/detail?id=507 git-svn-id: http://skia.googlecode.com/svn/trunk@3229 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding more unit testing for SkCanvas and derived classes.Gravatar junov@chromium.org2012-02-22
| | | | | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=481 REVIEW=http://codereview.appspot.com/5674077/ TEST=unit test CanvasTest git-svn-id: http://skia.googlecode.com/svn/trunk@3228 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change append to appendf for call sites with no format arguments.Gravatar vandebo@chromium.org2012-02-21
| | | | | | | | Original CL: http://codereview.appspot.com/5685062/ Review URL: https://codereview.appspot.com/5686059 git-svn-id: http://skia.googlecode.com/svn/trunk@3225 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r3036. This change breaks loading images asGravatar caryclark@google.com2012-02-17
| | | | | | | | | described in Chromium issue 114107. The Chromium break may be fixed by WebKit patch 78239, at which time this patch can be reapplied. Review URL: https://codereview.appspot.com/5675077 git-svn-id: http://skia.googlecode.com/svn/trunk@3219 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn off test in fixed pt build.Gravatar bsalomon@google.com2012-02-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3217 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make cross_prod used in SkPath::cheapComputeDirection fallback to double ↵Gravatar bsalomon@google.com2012-02-17
| | | | | | computation when result is 0. Verbal LGTM from reed. git-svn-id: http://skia.googlecode.com/svn/trunk@3216 2bbb7eff-a529-9590-31e7-b0007b416f81
* aaclip needs to handle paths with holesGravatar reed@google.com2012-02-16
| | | | | | Review URL: https://codereview.appspot.com/5671066 git-svn-id: http://skia.googlecode.com/svn/trunk@3209 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move GL-specific include files to their own subdirectory, to betterGravatar tomhudson@google.com2012-02-14
| | | | | | | | | | | coexist alongside D3D backend. Requires gyp change. http://codereview.appspot.com/5665045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3185 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding missing SkIntToScalar to resolve DeferredCanvas unit test failures ↵Gravatar junov@chromium.org2012-02-13
| | | | | | | | | | | with fixed-point build TBR=reed TEST=DeferredCanvas unit test git-svn-id: http://skia.googlecode.com/svn/trunk@3182 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding API and unit testing for deferred canvas clearing/purgingGravatar junov@chromium.org2012-02-13
| | | | | | | | | REVIEW=http://codereview.appspot.com/5646057/ TEST=DeferredCanvas unit test git-svn-id: http://skia.googlecode.com/svn/trunk@3181 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add two files missed in r3165; most critically the gyp!Gravatar tomhudson@google.com2012-02-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3166 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix dumb error of starting loop with 0 instead of 1 that uses shift to ↵Gravatar bsalomon@google.com2012-02-10
| | | | | | increment. git-svn-id: http://skia.googlecode.com/svn/trunk@3163 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrGLContextInfoGravatar bsalomon@google.com2012-02-10
| | | | | | | | Review URL: http://codereview.appspot.com/5653060/ git-svn-id: http://skia.googlecode.com/svn/trunk@3162 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn on read pixels test for raster backendGravatar bsalomon@google.com2012-02-09
| | | | | | | | Review URL: http://codereview.appspot.com/5643070/ git-svn-id: http://skia.googlecode.com/svn/trunk@3156 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing backing store access in SkDeferredCanvas.Gravatar junov@chromium.org2012-02-07
| | | | | | | | | | | | Chromium CL required for rolling skia DEPS past this change is posted here: https://chromiumcodereview.appspot.com/9341003/ BUG=http://code.google.com/p/skia/issues/detail?id=475 REVIEW=http://codereview.appspot.com/5626047/ TEST=DeferredCanvas unit test git-svn-id: http://skia.googlecode.com/svn/trunk@3147 2bbb7eff-a529-9590-31e7-b0007b416f81
* add additional tests for path direction with multiple pts on y-maxGravatar reed@google.com2012-01-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3121 2bbb7eff-a529-9590-31e7-b0007b416f81
* use contour with global ymax to determine directionGravatar reed@google.com2012-01-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3110 2bbb7eff-a529-9590-31e7-b0007b416f81