aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
Commit message (Collapse)AuthorAge
* Revert r4259Gravatar borenet@google.com2012-06-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4260 2bbb7eff-a529-9590-31e7-b0007b416f81
* Serialize by DefaultGravatar borenet@google.com2012-06-15
| | | | | | | | - doSerialize is true by default - "--serialize" flag replaced by "--noserialize" Review URL: https://codereview.appspot.com/6274045 git-svn-id: http://skia.googlecode.com/svn/trunk@4259 2bbb7eff-a529-9590-31e7-b0007b416f81
* Version 2 of the Instance Counting system. This one simplifies the print out ↵Gravatar robertphillips@google.com2012-06-13
| | | | | | | | | | of information. http://codereview.appspot.com/6296069/ git-svn-id: http://skia.googlecode.com/svn/trunk@4255 2bbb7eff-a529-9590-31e7-b0007b416f81
* Compiler complaints + some minor cleanupGravatar robertphillips@google.com2012-06-12
| | | | | | | | http://codereview.appspot.com/6295070/ git-svn-id: http://skia.googlecode.com/svn/trunk@4238 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split GrContext's AA Rect drawing methods into helper classGravatar robertphillips@google.com2012-06-12
| | | | | | | | http://codereview.appspot.com/6300070/ git-svn-id: http://skia.googlecode.com/svn/trunk@4233 2bbb7eff-a529-9590-31e7-b0007b416f81
* Better fix for rev. 4214 (inverse-fill and clipping). This fix avoids changingGravatar reed@google.com2012-06-11
| | | | | | | | the actual clipping bounds, which caused tiny differences in the scan converter. Also adding a gm (which I should have the first time.) Review URL: https://codereview.appspot.com/6297073 git-svn-id: http://skia.googlecode.com/svn/trunk@4227 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add the ability to specify config to GM.Gravatar scroggo@google.com2012-06-07
| | | | | | | | | | | | | Code adapted from bench. To specify a config, add -config <configName1>|<configName2> etc to the command line. To find the valid names (which can depend on flags passed in), use -h or --help. Review URL: https://codereview.appspot.com/6297053 git-svn-id: http://skia.googlecode.com/svn/trunk@4205 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move clientID into texture descGravatar robertphillips@google.com2012-06-07
| | | | | | | | http://codereview.appspot.com/6305044/ git-svn-id: http://skia.googlecode.com/svn/trunk@4201 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add tiled rendering as an option to GM.Gravatar scroggo@google.com2012-06-06
| | | | | | | | | | | Use an SkGPipe to play back drawing into tiles. This will help us to debug differences in drawing while tiled. Pass --tiledPipe to gm to use the tiled pipe. Review URL: https://codereview.appspot.com/6295050 git-svn-id: http://skia.googlecode.com/svn/trunk@4199 2bbb7eff-a529-9590-31e7-b0007b416f81
* Search and replace change. Some Gr enum value names didn't have a "Gr" in ↵Gravatar bsalomon@google.com2012-06-06
| | | | | | | | | | | their suffix. Verbal LGTM from TomH git-svn-id: http://skia.googlecode.com/svn/trunk@4198 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add new gradient to support HTML Canvas2D two-point-radial-gradient. Ours isGravatar reed@google.com2012-06-06
| | | | | | | | | | | | called (for now at least) TwoPointConical, to distinguish it from the existing one (TwoPointRadial), and to reflect its odd behavior where it draws transparent outside the boundary of the "cone" between the two circles. This impl is unsupported by GPU and Printing at the moment, and Chrome does not yet invoke it. Review URL: https://codereview.appspot.com/6299051 git-svn-id: http://skia.googlecode.com/svn/trunk@4197 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reenable running samplerstress GM in pipe mode.Gravatar scroggo@google.com2012-06-06
| | | | | | | | | It was disabled because samplerstress did was not registered for flattening. Now that it is, do not skip it when running GM in pipe mode. Review URL: https://codereview.appspot.com/6305057 git-svn-id: http://skia.googlecode.com/svn/trunk@4196 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in gmGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6305046 git-svn-id: http://skia.googlecode.com/svn/trunk@4185 2bbb7eff-a529-9590-31e7-b0007b416f81
* Instance counting for SkRefCnt-derived objects (w/ CanvasTest fix)Gravatar robertphillips@google.com2012-06-05
| | | | | | | | http://codereview.appspot.com/6242070/ git-svn-id: http://skia.googlecode.com/svn/trunk@4170 2bbb7eff-a529-9590-31e7-b0007b416f81
* temporary:Gravatar reed@google.com2012-06-05
| | | | | | | | | - suppress PDF for twopointradial GM until we fix its assert/failure (vandebo) - detect divide-by-zero and abort for now (reed) git-svn-id: http://skia.googlecode.com/svn/trunk@4165 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting r4162Gravatar robertphillips@google.com2012-06-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4164 2bbb7eff-a529-9590-31e7-b0007b416f81
* add gm (no images yet) for two-point-radial gradientsGravatar reed@google.com2012-06-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4163 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added instance counting system for SkRefCnt-derived objectsGravatar robertphillips@google.com2012-06-05
| | | | | | | | http://codereview.appspot.com/6242070/ git-svn-id: http://skia.googlecode.com/svn/trunk@4162 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed flattening of SkStippleMaskFilterGravatar robertphillips@google.com2012-06-05
| | | | | | | | http://codereview.appspot.com/6279052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4154 2bbb7eff-a529-9590-31e7-b0007b416f81
* change gm to use concat instead of setMatrix, so we don't trash the caller ifGravatar reed@google.com2012-06-04
| | | | | | | | it was recorded into a picture. git-svn-id: http://skia.googlecode.com/svn/trunk@4147 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove mutable apis on SkColorMatrixFilter, must use constructor.Gravatar reed@google.com2012-06-04
| | | | | | | | | | fix flattening to not write function-ptrs (no go for serialization), so we store the raw float values now. Slight change to GM/DRT images for GPU possible. Just rebaseline. Review URL: https://codereview.appspot.com/6273052 git-svn-id: http://skia.googlecode.com/svn/trunk@4143 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn off pipe playback in GM by default.Gravatar scroggo@google.com2012-06-04
| | | | | | | Works for me, but not on all platforms. Review URL: https://codereview.appspot.com/6293043 git-svn-id: http://skia.googlecode.com/svn/trunk@4140 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make the GM tool run GMs through an SkGPipe.Gravatar scroggo@google.com2012-06-04
| | | | | | | | | | | | Add pipe to core gyp project. Do not run samplerstress through the pipe, since its custom MaskFilter will not draw correctly. Fix an assert in SkGPipeWrite when writing a typeface. Review URL: https://codereview.appspot.com/6276044 git-svn-id: http://skia.googlecode.com/svn/trunk@4139 2bbb7eff-a529-9590-31e7-b0007b416f81
* add -wp option to write serialized pictures to the specified directoryGravatar mike@reedtribe.org2012-06-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4131 2bbb7eff-a529-9590-31e7-b0007b416f81
* Converted AAClips SampleApp slide to GM:simpleaaclipGravatar robertphillips@google.com2012-05-22
| | | | | | | | http://codereview.appspot.com/6220043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4025 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove bogus nearlyzero checksGravatar reed@google.com2012-05-21
| | | | | | Review URL: https://codereview.appspot.com/6213060 git-svn-id: http://skia.googlecode.com/svn/trunk@4014 2bbb7eff-a529-9590-31e7-b0007b416f81
* add dashing2 gm to exercise dashing on curves and polygonsGravatar reed@google.com2012-05-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3997 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix type errors and a few warnings for Visual Studio 2010 64-bit build.Gravatar tomhudson@google.com2012-05-17
| | | | | | | | | | | | We're still far from 64b statically safe, mostly around SkReader32.h and the address-alignment code in GrTypes.h. Original code provided by jianliang79. http://code.google.com/p/skia/issues/detail?id=601 git-svn-id: http://skia.googlecode.com/svn/trunk@3994 2bbb7eff-a529-9590-31e7-b0007b416f81
* add options to enable/disable "FAILED to read ..." messageGravatar reed@google.com2012-05-17
| | | | | | | | | | | --disable-missing-warning --enable-missing-warning default is still enabled git-svn-id: http://skia.googlecode.com/svn/trunk@3992 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updated AAClips Sample slide and complexclip2 GM to exercise AA clippingGravatar robertphillips@google.com2012-05-15
| | | | | | | | | | http://codereview.appspot.com/6212047/ will require image rebaselining git-svn-id: http://skia.googlecode.com/svn/trunk@3943 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Ensure that filling single line paths (with no area) does not draw ↵Gravatar vandebo@chromium.org2012-05-09
| | | | | | | | | | | | anything. Add a test to a gm to confirm the new behavior. Fixes http://crbug.com/123072 Review URL: https://codereview.appspot.com/6137060 git-svn-id: http://skia.googlecode.com/svn/trunk@3884 2bbb7eff-a529-9590-31e7-b0007b416f81
* commented-out test for exact aa coverageGravatar reed@google.com2012-05-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3878 2bbb7eff-a529-9590-31e7-b0007b416f81
* add gm for dashing variationsGravatar reed@google.com2012-05-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3842 2bbb7eff-a529-9590-31e7-b0007b416f81
* converted "unsigned int" to "size_t" to address compiler failureGravatar robertphillips@google.com2012-05-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3815 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added GM test to stress test the texture unit/sampler allocationGravatar robertphillips@google.com2012-05-02
| | | | | | | | http://codereview.appspot.com/6134058/ git-svn-id: http://skia.googlecode.com/svn/trunk@3814 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixes matrix inconsistency in GPU draws with filters. Also adds a GM test.Gravatar bsalomon@google.com2012-04-25
| | | | | | | | | | | | May make GM go red on bots, will rebaseline. Committed on behalf of Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/6049046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3764 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix early termination of GM when 16x msaa rt can't be created.Gravatar bsalomon@google.com2012-04-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3744 2bbb7eff-a529-9590-31e7-b0007b416f81
* silence warningGravatar reed@google.com2012-04-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3735 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make GM able to run MSAA modes and multiple GPU configs in a single run.Gravatar bsalomon@google.com2012-04-19
| | | | | | | | Review URL: http://codereview.appspot.com/6061051/ git-svn-id: http://skia.googlecode.com/svn/trunk@3734 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some float/scalar/int confusion.Gravatar vandebo@chromium.org2012-04-18
| | | | | | Review URL: https://codereview.appspot.com/6064043 git-svn-id: http://skia.googlecode.com/svn/trunk@3725 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make gm tool able to read and write image files in the same runGravatar epoger@google.com2012-04-18
| | | | | | | BUG=http://code.google.com/p/skia/issues/detail?id=571 Review URL: https://codereview.appspot.com/6052050 git-svn-id: http://skia.googlecode.com/svn/trunk@3717 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some fixed-point bugs.Gravatar vandebo@chromium.org2012-04-17
| | | | | | Review URL: https://codereview.appspot.com/6047046 git-svn-id: http://skia.googlecode.com/svn/trunk@3714 2bbb7eff-a529-9590-31e7-b0007b416f81
* Addressed more Windows compiler complaint issuesGravatar robertphillips@google.com2012-04-16
| | | | | | | | http://codereview.appspot.com/6007056/ git-svn-id: http://skia.googlecode.com/svn/trunk@3689 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add file missing from r3682 checkin Gravatar bsalomon@google.com2012-04-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3683 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix miscellaneous compiler warnings from Visual Studio 2010.Gravatar tomhudson@google.com2012-04-10
| | | | | | | | | Changes serialization path for MorphologyImageFilter, handling of Windows HRESULTS; otherwise just tweaks tests. git-svn-id: http://skia.googlecode.com/svn/trunk@3642 2bbb7eff-a529-9590-31e7-b0007b416f81
* Clamp dilate and erode radius to image width and height.Gravatar senorblanco@chromium.org2012-04-10
| | | | | | | | NOTE: This will require new baselines for the morphology GM. git-svn-id: http://skia.googlecode.com/svn/trunk@3641 2bbb7eff-a529-9590-31e7-b0007b416f81
* change -d option to write out complete images (that differed from the baseline)Gravatar reed@google.com2012-04-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3632 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing Windows compiler complaintsGravatar robertphillips@google.com2012-04-06
| | | | | | | | http://codereview.appspot.com/5991056/ git-svn-id: http://skia.googlecode.com/svn/trunk@3626 2bbb7eff-a529-9590-31e7-b0007b416f81
* Augment gm shadows test to cover hairline pathsGravatar junov@chromium.org2012-04-05
| | | | | | | | | | Note: this patch will cause gm/shadows to fail on all platforms until the test is re baselined. REVIEW=http://codereview.appspot.com/5972065/ git-svn-id: http://skia.googlecode.com/svn/trunk@3612 2bbb7eff-a529-9590-31e7-b0007b416f81
* defer drawing/work until first draw, to make debugging easier and speedupGravatar reed@google.com2012-03-30
| | | | | | | | instantiating the obj just to get its name. git-svn-id: http://skia.googlecode.com/svn/trunk@3568 2bbb7eff-a529-9590-31e7-b0007b416f81