aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleApp.cpp
Commit message (Collapse)AuthorAge
...
* Provide a key to go to the previous slide in SampleApp.Gravatar scroggo@google.com2012-08-15
| | | | | | | | | | The left key now mirrors the right key, and goes to the previous slide. It used to change the device type, which can still be done by pressing 'd' or using the menu. Review URL: https://codereview.appspot.com/6443133 git-svn-id: http://skia.googlecode.com/svn/trunk@5119 2bbb7eff-a529-9590-31e7-b0007b416f81
* add 't' to toggle tiling modesGravatar reed@google.com2012-08-15
| | | | | | Review URL: https://codereview.appspot.com/6446138 git-svn-id: http://skia.googlecode.com/svn/trunk@5109 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create GPU-less build of Skia.Gravatar bsalomon@google.com2012-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4912 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added --picture flag to SampleApp, loads individual skp.Gravatar chudy@google.com2012-08-01
| | | | | | Review URL: https://codereview.appspot.com/6452077 git-svn-id: http://skia.googlecode.com/svn/trunk@4895 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed Windows compiler complaintsGravatar robertphillips@google.com2012-07-10
| | | | | | | | http://codereview.appspot.com/6392044 git-svn-id: http://skia.googlecode.com/svn/trunk@4511 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a tiled pipe mode to SampleApp.Gravatar scroggo@google.com2012-06-08
| | | | | | | | | | Using the "Pipe" checkbox in SamleApp, you can now toggle amongst three states: no pipe, a normal pipe (or others depending on #defines), and a tiled pipe. You can also use shift + p to toggle. Review URL: https://codereview.appspot.com/6303055 git-svn-id: http://skia.googlecode.com/svn/trunk@4213 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in ssamplecodeGravatar 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/6301044 git-svn-id: http://skia.googlecode.com/svn/trunk@4183 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed Linux compiler complaintsGravatar robertphillips@google.com2012-06-04
| | | | | | | | http://codereview.appspot.com/6269045/ git-svn-id: http://skia.googlecode.com/svn/trunk@4135 2bbb7eff-a529-9590-31e7-b0007b416f81
* --pictureDir foo will load serialized pictures <>.skp from the foo directoryGravatar reed@google.com2012-06-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4132 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move function decls and macros out of public headers that are meant for ↵Gravatar bsalomon@google.com2012-05-07
| | | | | | internal use. git-svn-id: http://skia.googlecode.com/svn/trunk@3849 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added "--list" command line option to SampleAppGravatar robertphillips@google.com2012-05-03
| | | | | | | | | | http://codereview.appspot.com/6161043/ committed on behalf of Guanqun git-svn-id: http://skia.googlecode.com/svn/trunk@3835 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* [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
* Add replacement APIs for createPlatformSurface: createPlatformTexture and ↵Gravatar bsalomon@google.com2011-11-07
| | | | | | createPlatformRenderTarget git-svn-id: http://skia.googlecode.com/svn/trunk@2611 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SK_OVERRIDE from func defnGravatar bsalomon@google.com2011-10-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2570 2bbb7eff-a529-9590-31e7-b0007b416f81
* Import all GMs as Samples.Gravatar bsalomon@google.com2011-10-31
| | | | | | | | Review URL: http://codereview.appspot.com/5332043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2564 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add NULL GL context implementation. Use in bench (-nullgl) and SampleApp ↵Gravatar bsalomon@google.com2011-10-27
| | | | | | | | | (backspace key) Review URL: http://codereview.appspot.com/5303080/ git-svn-id: http://skia.googlecode.com/svn/trunk@2545 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some warnings on VS2010 Gravatar bsalomon@google.com2011-10-24
| | | | | | | | Review URL: http://codereview.appspot.com/5312051/ git-svn-id: http://skia.googlecode.com/svn/trunk@2520 2bbb7eff-a529-9590-31e7-b0007b416f81
* enable soft clipping (yikes)Gravatar reed@google.com2011-10-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2515 2bbb7eff-a529-9590-31e7-b0007b416f81