aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
Commit message (Collapse)AuthorAge
* show contains and intersects predicates in sampleGravatar reed@google.com2012-05-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3824 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed usage info for SampleApp's msaa flagGravatar robertphillips@google.com2012-05-02
| | | | | | | | | | http://codereview.appspot.com/6159043/ committed on behalf of Guanqun Lu git-svn-id: http://skia.googlecode.com/svn/trunk@3817 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed minor Release & fixed point compiler warnings on LinuxGravatar robertphillips@google.com2012-04-25
| | | | | | | | http://codereview.appspot.com/6118050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3766 2bbb7eff-a529-9590-31e7-b0007b416f81
* In SampleWindow, pass ownership of menus to SkWindow, so it can safelyGravatar scroggo@google.com2012-04-18
| | | | | | | | | | delete them in its destructor. BUG=557 TEST=Run SampleApp on linux. Then press escape. Review URL: https://codereview.appspot.com/6050047 git-svn-id: http://skia.googlecode.com/svn/trunk@3719 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
* Tear down Gr stuff before GL context in SampleAppGravatar bsalomon@google.com2012-04-10
| | | | | | | | Review URL: http://codereview.appspot.com/6000043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3639 2bbb7eff-a529-9590-31e7-b0007b416f81
* Minor bug fix in SampleAppGravatar robertphillips@google.com2012-04-10
| | | | | | | | http://codereview.appspot.com/5992081/ git-svn-id: http://skia.googlecode.com/svn/trunk@3638 2bbb7eff-a529-9590-31e7-b0007b416f81
* safely handle null blur filterGravatar reed@google.com2012-04-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3629 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add MSAA option to SampleAppGravatar bsalomon@google.com2012-04-06
| | | | | | | Review URL: http://codereview.appspot.com/5969049 git-svn-id: http://skia.googlecode.com/svn/trunk@3627 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
* Revert 3857 (which was committed from wrong tree)Gravatar bsalomon@google.com2012-04-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3588 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GL attach/detach in Mac SampleAppGravatar bsalomon@google.com2012-04-03
| | | | | | | Review URL: http://codereview.appspot.com/5984043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3587 2bbb7eff-a529-9590-31e7-b0007b416f81
* Redelivering r3555 to re-add run-time switching between ANGLE and native opengl Gravatar robertphillips@google.com2012-04-02
| | | | | | | | http://codereview.appspot.com/5969044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3578 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting r3555Gravatar robertphillips@google.com2012-03-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3556 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added run-time switching between OpenGL & ANGLE in SampleAppGravatar robertphillips@google.com2012-03-30
| | | | | | | | http://codereview.appspot.com/5969044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3555 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unused static functions from SampleApp and effectsGravatar djsollen@google.com2012-03-29
| | | | | | Review URL: https://codereview.appspot.com/5956050 git-svn-id: http://skia.googlecode.com/svn/trunk@3543 2bbb7eff-a529-9590-31e7-b0007b416f81
* Cleanup code related to SkFlattenable::flatten()Gravatar djsollen@google.com2012-03-29
| | | | | | | | | | | | | | | | | The following changes were made by this CL: 1. Make flatten() a protected method as callers should use SkFlattenableWriteBuffer to flatten an object 2. Make flatten a const method (including subclasses) 3. Mark subclass implementation of flatten with SK_OVERRIDE 4. Ensure overridden flatten impls call their parent 5. Remove no-op implementations of flatten from subclasses Additionally, if necessary the unflattening constructor was also moved to the protected section of the subclasses header if it was not already there. git-svn-id: http://skia.googlecode.com/svn/trunk@3540 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
* disable GPU blur on small pathsGravatar bsalomon@google.com2012-03-28
| | | | | | | | | | | | Change originally by Guanqun.Lu@gmail.com with minor edits and sample added by me COULD POSSIBLY CHANGE GPU RESULTS OF GM SLIDES WITH BLUR, WILL REBASILINE IF SO. Review URL: https://codereview.appspot.com/5940045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3514 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
* Fix for SampleApp command line parsing issue.Gravatar robertphillips@google.com2012-03-22
| | | | | | | | http://codereview.appspot.com/5785054/ git-svn-id: http://skia.googlecode.com/svn/trunk@3462 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding CMYK jpeg changes w/o .gyp alterationsGravatar robertphillips@google.com2012-03-20
| | | | | | | | http://codereview.appspot.com/5785054/ git-svn-id: http://skia.googlecode.com/svn/trunk@3442 2bbb7eff-a529-9590-31e7-b0007b416f81
* reverting to 3437Gravatar robertphillips@google.com2012-03-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3439 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for CMYK jpeg decoding issue (69 - unable to read some jpeg files on ↵Gravatar robertphillips@google.com2012-03-20
| | | | | | | | | | android) http://codereview.appspot.com/5785054/ git-svn-id: http://skia.googlecode.com/svn/trunk@3438 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix scaling issue when drawing text on a path.Gravatar djsollen@google.com2012-03-20
| | | | | | | | If the paint is stroked and the font size is small we were incorrectly rendering the sample text. Review URL: https://codereview.appspot.com/5844060 git-svn-id: http://skia.googlecode.com/svn/trunk@3437 2bbb7eff-a529-9590-31e7-b0007b416f81
* Cleanup sample slide for drawTextOnPathGravatar djsollen@google.com2012-03-15
| | | | | | Review URL: https://codereview.appspot.com/5834048 git-svn-id: http://skia.googlecode.com/svn/trunk@3402 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't draw in constructor (makes debugging harder)Gravatar reed@google.com2012-03-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3369 2bbb7eff-a529-9590-31e7-b0007b416f81
* add init() method, so we don't draw in our constructor (makes debugging harder)Gravatar reed@google.com2012-03-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3368 2bbb7eff-a529-9590-31e7-b0007b416f81
* Annotate overridden functions with SK_OVERRIDE in OverView class.Gravatar bsalomon@google.com2012-03-08
| | | | | | | | | | | | | | R=bsalomon@google.com Signed-off-by: Thiago Farina <tfarina@chromium.org> Committed on behalf of tfarina@chromium.org Review URL: https://codereview.appspot.com/5752057/ git-svn-id: http://skia.googlecode.com/svn/trunk@3341 2bbb7eff-a529-9590-31e7-b0007b416f81
* cast to doubleGravatar reed@google.com2012-02-16
| | | | | | | | http://codereview.appspot.com/5645064/ git-svn-id: http://skia.googlecode.com/svn/trunk@3206 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
* Expose functionality to purge the GPU texture cache while running SampleApp.Gravatar twiz@google.com2012-01-27
| | | | | | | | Press 'p' to purge the cache. A summary of the number of bytes of video memory released is output to the command prompt. Review URL: https://codereview.appspot.com/5587045 git-svn-id: http://skia.googlecode.com/svn/trunk@3097 2bbb7eff-a529-9590-31e7-b0007b416f81
* Landing change from http://codereview.appspot.com/5540063/Gravatar epoger@google.com2012-01-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3060 2bbb7eff-a529-9590-31e7-b0007b416f81
* return -1 if we failed to find by titleGravatar mike@reedtribe.org2011-12-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2931 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Windows build breakage in http://code.google.com/p/skia/source/detail?r=2925Gravatar epoger@google.com2011-12-28
| | | | | | | TBR=reed Review URL: http://codereview.appspot.com/5500087 git-svn-id: http://skia.googlecode.com/svn/trunk@2927 2bbb7eff-a529-9590-31e7-b0007b416f81
* RETURN key now records default slide for startupGravatar mike@reedtribe.org2011-12-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2925 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix int->float conversion warning in VS2010Gravatar bsalomon@google.com2011-12-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2853 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use : as separator between "GM" and slide name in SampleApp. This makes it ↵Gravatar bsalomon@google.com2011-12-09
| | | | | | easier to jump to a GM slide using command line args on windows. git-svn-id: http://skia.googlecode.com/svn/trunk@2846 2bbb7eff-a529-9590-31e7-b0007b416f81
* install drawfilter for the picture playback as wellGravatar reed@google.com2011-12-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2839 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make all pixel ops go thru ctx so we can correctly flush. Unify two texture ↵Gravatar bsalomon@google.com2011-11-16
| | | | | | | | | | upload code paths. Review URL: http://codereview.appspot.com/5373108/ git-svn-id: http://skia.googlecode.com/svn/trunk@2701 2bbb7eff-a529-9590-31e7-b0007b416f81
* land http://codereview.appspot.com/5244058/ - add matrix to SkViewGravatar reed@google.com2011-11-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2670 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removes warnings generated by gcc and clang.Gravatar tomhudson@google.com2011-11-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2651 2bbb7eff-a529-9590-31e7-b0007b416f81
* use new PurgeFontCache() apiGravatar reed@google.com2011-11-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2633 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update files to use SK_BUILD_FOR_ANDROID.Gravatar djsollen@google.com2011-11-08
| | | | | | | | This CL also removes any unecessary references to the ANDROID definition. Review URL: http://codereview.appspot.com/5354049 git-svn-id: http://skia.googlecode.com/svn/trunk@2629 2bbb7eff-a529-9590-31e7-b0007b416f81
* post event to ourself to update the title after our constructorGravatar reed@google.com2011-11-08
| | | | | | | | (so we can see the title of the first slide) git-svn-id: http://skia.googlecode.com/svn/trunk@2625 2bbb7eff-a529-9590-31e7-b0007b416f81
* prefix GM names with "GM " so I know that's what they are.Gravatar reed@google.com2011-11-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2624 2bbb7eff-a529-9590-31e7-b0007b416f81
* [GPU] Add explicit byte order and PM vs. UPM 8888 configsGravatar bsalomon@google.com2011-11-07
| | | | | | | | Review URL: http://codereview.appspot.com/5347042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2618 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for building Android SampleApp.Gravatar djsollen@google.com2011-11-07
| | | | | | Review URL: http://codereview.appspot.com/5342051 git-svn-id: http://skia.googlecode.com/svn/trunk@2617 2bbb7eff-a529-9590-31e7-b0007b416f81
* Recommit r2611 with fix for gmGravatar bsalomon@google.com2011-11-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2614 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r2611 until windows gm can be debuggedGravatar bsalomon@google.com2011-11-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2612 2bbb7eff-a529-9590-31e7-b0007b416f81