aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gmmain.cpp
Commit message (Collapse)AuthorAge
* add --match to the help textGravatar reed@google.com2011-07-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1946 2bbb7eff-a529-9590-31e7-b0007b416f81
* reenable rotated freetype fix, but behind #ifndef ↵Gravatar reed@google.com2011-07-25
| | | | | | | | | | | | SK_IGNORE_ROTATED_FREETYPE_FIX, so chrome can disable it for now. add --match foo to gm/ so you can run just tests that substring match your pattern (foo) git-svn-id: http://skia.googlecode.com/svn/trunk@1945 2bbb7eff-a529-9590-31e7-b0007b416f81
* flip Y in uploads to bottom-up textures (and add gm test)Gravatar bsalomon@google.com2011-07-18
| | | | | | | | Review URL: http://codereview.appspot.com/4756043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1882 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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
* 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
* 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
* 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
* -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
* 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
* 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
* 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
* [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
* 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 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
* add gpu to the default makefileGravatar reed@google.com2010-12-23
| | | | | | | | move skia-gpu files into skia/src/gpu git-svn-id: http://skia.googlecode.com/svn/trunk@653 2bbb7eff-a529-9590-31e7-b0007b416f81
* -d dir will write out a difference-bitmap for each compare that failesGravatar reed@google.com2010-12-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@644 2bbb7eff-a529-9590-31e7-b0007b416f81
* add option to write PDFs from gmGravatar reed@google.com2010-12-20
| | | | | | | | fix some compile warnings (reorder initializers, init local ptr) git-svn-id: http://skia.googlecode.com/svn/trunk@642 2bbb7eff-a529-9590-31e7-b0007b416f81
* dump message confirming read or write directoryGravatar reed@android.com2010-12-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@634 2bbb7eff-a529-9590-31e7-b0007b416f81
* use genericRGB space to ensure that we decode exactly the pixels we encodeGravatar reed@android.com2009-07-08
| | | | | | | | add -r option to gm to read and compare against known images git-svn-id: http://skia.googlecode.com/svn/trunk@256 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm -w 'directory' now works for recording the master imagesGravatar reed@android.com2009-06-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@229 2bbb7eff-a529-9590-31e7-b0007b416f81
* almost there on gm (need to fix image writes/reads/compares)Gravatar reed@android.com2009-06-21
| | | | | | | | | move SkAutoGraphics into SkGraphics.h add [] operators to SkString git-svn-id: http://skia.googlecode.com/svn/trunk@228 2bbb7eff-a529-9590-31e7-b0007b416f81
* more progress on golden-master test suite (not finished yet)Gravatar reed@android.com2009-06-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@227 2bbb7eff-a529-9590-31e7-b0007b416f81
* checkpoint for golden master suite (gm)Gravatar reed@android.com2009-06-10
git-svn-id: http://skia.googlecode.com/svn/trunk@208 2bbb7eff-a529-9590-31e7-b0007b416f81