aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
Commit message (Collapse)AuthorAge
* Change true and false to 1 and 0 in macros that are used to conditionally ↵Gravatar bsalomon@google.com2011-06-29
| | | | | | | | | | compile code. Review URL: http://codereview.appspot.com/4664056/ git-svn-id: http://skia.googlecode.com/svn/trunk@1762 2bbb7eff-a529-9590-31e7-b0007b416f81
* create bitmaps from pdf output for comparison purposes (mac only at the moment)Gravatar reed@google.com2011-06-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1745 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create new lcdtext page within gmGravatar epoger@google.com2011-06-28
| | | | | | | | http://codereview.appspot.com/4654071 git-svn-id: http://skia.googlecode.com/svn/trunk@1736 2bbb7eff-a529-9590-31e7-b0007b416f81
* add test for degenerate 2point gradients (needs pdf and gpu fixes)Gravatar reed@google.com2011-06-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1727 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove drawShape from canvas apiGravatar reed@google.com2011-06-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1723 2bbb7eff-a529-9590-31e7-b0007b416f81
* roll back r1705Gravatar epoger@google.com2011-06-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1715 2bbb7eff-a529-9590-31e7-b0007b416f81
* replace detach/getStream apis on dynamicwstream with SkDataGravatar reed@google.com2011-06-24
| | | | | | | | http://codereview.appspot.com/4657046/ git-svn-id: http://skia.googlecode.com/svn/trunk@1714 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add additional source types to xfer mode test.Gravatar vandebo@chromium.org2011-06-24
| | | | | | Review URL: http://codereview.appspot.com/4589051 git-svn-id: http://skia.googlecode.com/svn/trunk@1705 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable gpu tests when scalar==fixed,Gravatar reed@google.com2011-06-20
| | | | | | | | add baselines for fixedpoint strokes gm git-svn-id: http://skia.googlecode.com/svn/trunk@1651 2bbb7eff-a529-9590-31e7-b0007b416f81
* addGravatar mike@reedtribe.org2011-06-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1645 2bbb7eff-a529-9590-31e7-b0007b416f81
* -replay tests are only run if forward rendering succeeded.Gravatar tomhudson@google.com2011-06-17
| | | | | | | | | | | -serialize tests are only run if previous test (either -replay or forward rendering) succeeded. The results of -replay and -serialize are compared against the output of forward rendering. git-svn-id: http://skia.googlecode.com/svn/trunk@1626 2bbb7eff-a529-9590-31e7-b0007b416f81
* make SkDevice constructors explicit between offscreen and on/directGravatar reed@google.com2011-06-16
| | | | | | | | http://codereview.appspot.com/4632044/ git-svn-id: http://skia.googlecode.com/svn/trunk@1620 2bbb7eff-a529-9590-31e7-b0007b416f81
* Increase compatibility with clang, mostly around SK_RESTRICT.Gravatar tomhudson@google.com2011-06-15
| | | | | | | | Attempting to fix up our use of __restrict__ so Chrome can enable it. git-svn-id: http://skia.googlecode.com/svn/trunk@1597 2bbb7eff-a529-9590-31e7-b0007b416f81
* delete all old (non-Gyp) buildfilesGravatar epoger@google.com2011-06-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1583 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update baselines for linux-fixed. Make shader text sample/GM work with ↵Gravatar bsalomon@google.com2011-06-14
| | | | | | scalar=fixed. git-svn-id: http://skia.googlecode.com/svn/trunk@1577 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix text-as-path with skshader on gpuGravatar bsalomon@google.com2011-06-13
| | | | | | | | Review URL: http://codereview.appspot.com/4576057/ git-svn-id: http://skia.googlecode.com/svn/trunk@1575 2bbb7eff-a529-9590-31e7-b0007b416f81
* When user specifies an output path with -w, only output files from mainGravatar tomhudson@google.com2011-06-09
| | | | | | | | | | | render (don't output -replay and -serialize files into separate directories). If main render fails, don't test -replay or -serialize. Also fix misnamed variable, line-wrap. git-svn-id: http://skia.googlecode.com/svn/trunk@1560 2bbb7eff-a529-9590-31e7-b0007b416f81
* make --replay be the default. Now --noreplay will disable testing through a ↵Gravatar reed@google.com2011-05-26
| | | | | | picture git-svn-id: http://skia.googlecode.com/svn/trunk@1437 2bbb7eff-a529-9590-31e7-b0007b416f81
* retool without shapes, which are broken/experimentalGravatar reed@google.com2011-05-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1436 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove self-modifying matrix code, which can't work with pictures, and will ↵Gravatar reed@google.com2011-05-26
| | | | | | be removed from shapes api soon git-svn-id: http://skia.googlecode.com/svn/trunk@1434 2bbb7eff-a529-9590-31e7-b0007b416f81
* dynamically allocate the pixels, so they can be referened when drawn into a ↵Gravatar reed@google.com2011-05-26
| | | | | | picture git-svn-id: http://skia.googlecode.com/svn/trunk@1433 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebase GM tool for SKIA_SCALAR=fixedGravatar epoger@google.com2011-05-24
| | | | | | | | http://codereview.appspot.com/4559041 git-svn-id: http://skia.googlecode.com/svn/trunk@1408 2bbb7eff-a529-9590-31e7-b0007b416f81
* Warn when an SkScalar is passed into SkIntToScalar() (converted twice)Gravatar epoger@google.com2011-05-24
| | | | | | | | http://codereview.appspot.com/4548051/ git-svn-id: http://skia.googlecode.com/svn/trunk@1405 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix gm tests for fixed point.Gravatar bungeman@google.com2011-05-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1389 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix clipping in StrokeRectGM test for fixed point.Gravatar bungeman@google.com2011-05-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1388 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix assertion failure in Skia_Linux_Fixed_Debug buildGravatar epoger@google.com2011-05-19
| | | | | | | | http://codereview.appspot.com/4556043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1381 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix tests with incorrect swizzle.Gravatar bungeman@google.com2011-05-18
| | | | | | | http://codereview.appspot.com/4552046/ git-svn-id: http://skia.googlecode.com/svn/trunk@1367 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed color bleeding issue when drawing a sub region of a bitmap with ↵Gravatar junov@google.com2011-05-16
| | | | | | | | | | | filtering enabled. Problem was resolved by adding the notion of a custom texture domain in generated shaders, when necessary. git-svn-id: http://skia.googlecode.com/svn/trunk@1337 2bbb7eff-a529-9590-31e7-b0007b416f81
* PDF Device should report non-transformed size for width and height.Gravatar ctguil@chromium.org2011-04-29
| | | | | | Review URL: http://codereview.appspot.com/4435074 git-svn-id: http://skia.googlecode.com/svn/trunk@1217 2bbb7eff-a529-9590-31e7-b0007b416f81
* Propagate return values from compare() up to main() so we can return 0 if allGravatar tomhudson@google.com2011-04-26
| | | | | | | | | | tests succeed, -1 if any tests fail. (This will allow the automated test infrastructure to run GM.) Because we haven't implemented it on some architectures, not creating a GPU context is not considered a failure. git-svn-id: http://skia.googlecode.com/svn/trunk@1196 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allocate a bitmap on the stack in xfermodes.cpp to work around a limitationGravatar tomhudson@google.com2011-04-26
| | | | | | | | in SkPicture. git-svn-id: http://skia.googlecode.com/svn/trunk@1190 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix default value of doSerialize parameter (oops!).Gravatar tomhudson@google.com2011-04-26
| | | | | | | | | | | Change suffixes on auxiliary output directories to match names of flags (-replay and -serialize). Add to output messages an indication of whether this error occurred during -replay or -serialize (no indication == standard rendering). git-svn-id: http://skia.googlecode.com/svn/trunk@1185 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add command-line parameters to control execution of SkPicture tests; defaultGravatar tomhudson@google.com2011-04-25
| | | | | | | | | to off. Emergency commit to fix broken test harness manually reviewed by reed@. git-svn-id: http://skia.googlecode.com/svn/trunk@1177 2bbb7eff-a529-9590-31e7-b0007b416f81
* Extends gm to test SkPicture replay and serialization.Gravatar tomhudson@google.com2011-04-25
| | | | | | | | | | Adds usage, fixes coding style violations. http://codereview.appspot.com/4440063 git-svn-id: http://skia.googlecode.com/svn/trunk@1171 2bbb7eff-a529-9590-31e7-b0007b416f81
* Generalize the flip origin argument to the PDF device constructor.Gravatar vandebo@chromium.org2011-04-11
| | | | | | | | | | | The argument still has a default value that does what most users will want, but provides more flexibility. Chrome will use this change to support an initial translation of the origin to simulate a margin and to scale the entire content (needed on Windows). When landing to Chrome, this will need http://codereview.chromium.org/6820038 Review URL: http://codereview.appspot.com/4373052 git-svn-id: http://skia.googlecode.com/svn/trunk@1111 2bbb7eff-a529-9590-31e7-b0007b416f81
* add pathfill gm sampleGravatar reed@google.com2011-04-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1098 2bbb7eff-a529-9590-31e7-b0007b416f81
* add strokerects to gmGravatar reed@google.com2011-04-04
| | | | | | | | output current bench settings git-svn-id: http://skia.googlecode.com/svn/trunk@1040 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add complex clip gm sample and cleanup unused headers/code in SampleComplexClipGravatar bsalomon@google.com2011-03-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@919 2bbb7eff-a529-9590-31e7-b0007b416f81
* use new high-quality blur in samplesGravatar reed@google.com2011-02-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@819 2bbb7eff-a529-9590-31e7-b0007b416f81
* [Committed on behalf of junov@chromium.org]Gravatar senorblanco@chromium.org2011-02-18
| | | | | | | | | | | | | | | Fixed rendering of shadows under bitmaps. Added an option to SkBlurMask to produce higher quality blurs. The HQ blur option is propagated through SkBlurDrawLooper so that it can be invoked by WebKit for drawing shadows. Added a shadow rendering test to gm. Bugs fixed: 146, 150 Related Chromium bugs: 11153, 42654 Code review: http://codereview.appspot.com/4174049 git-svn-id: http://skia.googlecode.com/svn/trunk@818 2bbb7eff-a529-9590-31e7-b0007b416f81
* add test for pointsGravatar reed@google.com2011-02-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@806 2bbb7eff-a529-9590-31e7-b0007b416f81
* add test for poly2polyGravatar reed@google.com2011-02-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@805 2bbb7eff-a529-9590-31e7-b0007b416f81
* add new test for blursGravatar reed@google.com2011-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@803 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Improve PDF support in gm.Gravatar vandebo@chromium.org2011-02-03
| | | | | | | | Currently gm ends up writing the same PDF four times. This fixes that problem, making PDF a first class citizen and providing a better framework for additional backends. Read support for PDF is still missing though. Review URL: http://codereview.appspot.com/4130045 git-svn-id: http://skia.googlecode.com/svn/trunk@759 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings, including using GrTCast<> to go from &Obj -> uint32_t*Gravatar reed@google.com2011-01-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@732 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add shaded text sample and gm test.Gravatar bsalomon@google.com2011-01-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@725 2bbb7eff-a529-9590-31e7-b0007b416f81
* add new 2nd argument for rendertarget to SkGpuCanvasGravatar reed@google.com2011-01-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@707 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix refcount bug - as picture gets referenced by canvas when canvas is aGravatar reed@google.com2011-01-12
| | | | | | | | | | picture-recording canvas, so it can't live on the stack. Probably a bug: nested pictures should probably ref some internal impl, so that callers can be free to use the stack when they want to. git-svn-id: http://skia.googlecode.com/svn/trunk@687 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix build for linuxGravatar reed@google.com2010-12-23
| | | | | | | | partial impl for GPU on linux (need getProcAddress and SkEGLContext) git-svn-id: http://skia.googlecode.com/svn/trunk@661 2bbb7eff-a529-9590-31e7-b0007b416f81
* add gpu to gm toolGravatar reed@google.com2010-12-23
| | | | | | | | add pass-through read/write pixels API to canvas git-svn-id: http://skia.googlecode.com/svn/trunk@660 2bbb7eff-a529-9590-31e7-b0007b416f81