aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleApp.h
Commit message (Collapse)AuthorAge
* Add SkTileGridPicture SampleApp playback support.Gravatar commit-bot@chromium.org2013-12-10
| | | | | | | | | | | | | SampleApp already supports switching to a bbox hierarchy playback mode ('b' shortcut). This CL adds an SkTileGridPicture bbox mode. R=reed@google.com, robertphillips@google.com, fmalita@google.com Author: fmalita@chromium.org Review URL: https://codereview.chromium.org/108513006 git-svn-id: http://skia.googlecode.com/svn/trunk@12613 2bbb7eff-a529-9590-31e7-b0007b416f81
* change 'n' toggle to cycle through all filterlevelsGravatar reed@google.com2013-12-10
| | | | | | | | | BUG= R=humper@google.com Review URL: https://codereview.chromium.org/109473004 git-svn-id: http://skia.googlecode.com/svn/trunk@12602 2bbb7eff-a529-9590-31e7-b0007b416f81
* Additional SampleApp tiling options.Gravatar commit-bot@chromium.org2013-12-06
| | | | | | | | | | | | | | | | | | | Adding some more tiling options (both relative and fixed size): kNo_Tiling, kAbs_128x128_Tiling, kAbs_256x256_Tiling, kRel_4x4_Tiling, kRel_1x16_Tiling, kRel_16x1_Tiling, R=bungeman@google.com, reed@google.com, fmalita@google.com Author: fmalita@chromium.org Review URL: https://codereview.chromium.org/108213004 git-svn-id: http://skia.googlecode.com/svn/trunk@12545 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split SkDevice into SkBaseDevice and SkBitmapDeviceGravatar robertphillips@google.com2013-08-29
| | | | | | | | https://codereview.chromium.org/22978012/ git-svn-id: http://skia.googlecode.com/svn/trunk@10995 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r10830 (Split SkDevice out of SkRasterDevice) until we can get ↵Gravatar robertphillips@google.com2013-08-20
| | | | | | Chromium ready. git-svn-id: http://skia.googlecode.com/svn/trunk@10835 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split SkDevice out of SkBitmapDeviceGravatar robertphillips@google.com2013-08-20
| | | | | | | | https://codereview.chromium.org/22978012/ git-svn-id: http://skia.googlecode.com/svn/trunk@10830 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add an option to have a PdfViewer in SampleApp. Add a parameter --pdfDir to ↵Gravatar edisonn@google.com2013-07-11
| | | | | | | | | | | | pass the dir with pdfs. Add flag --sort to sort samples acording to title, so foo.skp follows foo.pdf and we can quickly compare diffs. The option needs to be enabled manually by developer to be compiled locally, since the pdf viewer is work in progress. R=reed@google.com Review URL: https://codereview.chromium.org/17904006 git-svn-id: http://skia.googlecode.com/svn/trunk@10004 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make 'rotate' animate in SampleApp.Gravatar bungeman@google.com2013-07-09
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/18948002 git-svn-id: http://skia.googlecode.com/svn/trunk@9946 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix hinting and add subpixel to SampleApp.Gravatar bungeman@google.com2013-06-03
| | | | | | | | | | This change allows users of SampleApp to cycle through all of the hinting modes (using the 'h' key) and also toggle subpixel positioning on the paint (using the 's' key). Because 'up' and 'down' have replaced its functionality, 'scale', the exising user of 's', is removed. git-svn-id: http://skia.googlecode.com/svn/trunk@9421 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix missing-case-statement warningGravatar reed@google.com2013-01-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7381 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SampleApp ANGLE mode.Gravatar bsalomon@google.com2013-01-24
| | | | | | Review URL: https://codereview.appspot.com/7206052 git-svn-id: http://skia.googlecode.com/svn/trunk@7377 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unused debugger code from SampleApp.Gravatar djsollen@google.com2013-01-17
| | | | | | Review URL: https://codereview.appspot.com/7133049 git-svn-id: http://skia.googlecode.com/svn/trunk@7244 2bbb7eff-a529-9590-31e7-b0007b416f81
* pass modifier keys to click events (e.g. control | shift etc.)Gravatar reed@google.com2013-01-08
| | | | | | Review URL: https://codereview.appspot.com/7062054 git-svn-id: http://skia.googlecode.com/svn/trunk@7082 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reapply (r6718) with fix for compiler error on linux.Gravatar djsollen@google.com2012-12-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6729 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert Reapply r5364 (Update ARM and NEON optimizations for ↵Gravatar djsollen@google.com2012-12-10
| | | | | | S32A_Opaque_BlitRow32) git-svn-id: http://skia.googlecode.com/svn/trunk@6728 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reapply r5364 (Update ARM and NEON optimizations for S32A_Opaque_BlitRow32)Gravatar djsollen@google.com2012-12-10
| | | | | | | | This reverts r5378. Review URL: https://codereview.appspot.com/6815056 git-svn-id: http://skia.googlecode.com/svn/trunk@6727 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Added the following 3 features to sample app."Gravatar djsollen@google.com2012-12-07
| | | | | | Review URL: https://codereview.appspot.com/6906054 git-svn-id: http://skia.googlecode.com/svn/trunk@6719 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added the following 3 features to sample app.Gravatar djsollen@google.com2012-12-07
| | | | | | | | | | 1) Imported SKP files can now be run using the bbox playback ('b' key) 2) Imported SKP files are displayed using their basename 3) FPS counter has been updated to print time to draw all tiles Review URL: https://codereview.appspot.com/6904057 git-svn-id: http://skia.googlecode.com/svn/trunk@6718 2bbb7eff-a529-9590-31e7-b0007b416f81
* retool so we don't need to call SkCanvas::setDeviceGravatar reed@google.com2012-10-01
| | | | | | Review URL: https://codereview.appspot.com/6591054 git-svn-id: http://skia.googlecode.com/svn/trunk@5759 2bbb7eff-a529-9590-31e7-b0007b416f81
* samplecode: Remove duplicated include of SkWindow.h from SampleApp.hGravatar tfarina@chromium.org2012-09-29
| | | | | | | | R=epoger@google.com Review URL: https://codereview.appspot.com/6566051 git-svn-id: http://skia.googlecode.com/svn/trunk@5737 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move tiling up into SampleWindow.Gravatar scroggo@google.com2012-08-17
| | | | | | | | Now the tiles do not move with the view, and tiling persists when changing slides. Review URL: https://codereview.appspot.com/6450143 git-svn-id: http://skia.googlecode.com/svn/trunk@5146 2bbb7eff-a529-9590-31e7-b0007b416f81
* Extended Inst counting to find "unknown" leaked object (SkTMaskGamma)Gravatar robertphillips@google.com2012-08-16
| | | | | | | | http://codereview.appspot.com/6453127/ git-svn-id: http://skia.googlecode.com/svn/trunk@5123 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
* 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
* --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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Add 'K' to SampleApp to trigger animated perspective renderingGravatar bsalomon@google.com2011-09-08
| | | | | | | | Review URL: http://codereview.appspot.com/4967061/ git-svn-id: http://skia.googlecode.com/svn/trunk@2244 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added Debugger to Sample App, off by defaultGravatar yangsu@google.com2011-08-12
| | | | | | | | | Removed CocoaDebugger from experimental Slight changes to SkOSMenu Bug fixes for NetPipeReader and DrawingBoard git-svn-id: http://skia.googlecode.com/svn/trunk@2102 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added transitions and net pipe to SampleApp, updated gyp filesGravatar yangsu@google.com2011-08-08
| | | | | | | | http://codereview.appspot.com/4839047/ http://codereview.appspot.com/4801080/ git-svn-id: http://skia.googlecode.com/svn/trunk@2059 2bbb7eff-a529-9590-31e7-b0007b416f81
* Set up global options for SampleApp and now allows SampleApp to request menu ↵Gravatar yangsu@google.com2011-08-02
| | | | | | | | | items from the slides http://codereview.appspot.com/4807056/ git-svn-id: http://skia.googlecode.com/svn/trunk@2024 2bbb7eff-a529-9590-31e7-b0007b416f81
* Automatic update of all copyright notices to reflect new license terms.Gravatar epoger@google.com2011-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have manually examined all of these diffs and restored a few files that seem to require manual adjustment. The following files still need to be modified manually, in a separate CL: android_sample/SampleApp/AndroidManifest.xml android_sample/SampleApp/res/layout/layout.xml android_sample/SampleApp/res/menu/sample.xml android_sample/SampleApp/res/values/strings.xml android_sample/SampleApp/src/com/skia/sampleapp/SampleApp.java android_sample/SampleApp/src/com/skia/sampleapp/SampleView.java experimental/CiCarbonSampleMain.c experimental/CocoaDebugger/main.m experimental/FileReaderApp/main.m experimental/SimpleCocoaApp/main.m experimental/iOSSampleApp/Shared/SkAlertPrompt.h experimental/iOSSampleApp/Shared/SkAlertPrompt.m experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig gpu/src/android/GrGLDefaultInterface_android.cpp gyp/common.gypi gyp_skia include/ports/SkHarfBuzzFont.h include/views/SkOSWindow_wxwidgets.h make.bat make.py src/opts/memset.arm.S src/opts/memset16_neon.S src/opts/memset32_neon.S src/opts/opts_check_arm.cpp src/ports/SkDebug_brew.cpp src/ports/SkMemory_brew.cpp src/ports/SkOSFile_brew.cpp src/ports/SkXMLParser_empty.cpp src/utils/ios/SkImageDecoder_iOS.mm src/utils/ios/SkOSFile_iOS.mm src/utils/ios/SkStream_NSData.mm tests/FillPathTest.cpp Review URL: http://codereview.appspot.com/4816058 git-svn-id: http://skia.googlecode.com/svn/trunk@1982 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add DeviceManager to SampleWindowGravatar bsalomon@google.com2011-07-14
| | | | | | | Review URL: http://codereview.appspot.com/4715045/ git-svn-id: http://skia.googlecode.com/svn/trunk@1857 2bbb7eff-a529-9590-31e7-b0007b416f81
* always use grcontext to get the bits to the screenGravatar reed@google.com2011-07-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1802 2bbb7eff-a529-9590-31e7-b0007b416f81
* Parse SampleApp command line for a test name. If an argument is passed toGravatar senorblanco@chromium.org2011-06-28
| | | | | | | | | | | SampleApp on the command line, interpret it as a test name. If it's a valid test, open that test at startup. Review URL: http://codereview.appspot.com/4661054/ git-svn-id: http://skia.googlecode.com/svn/trunk@1742 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added helper methods for changing samples, getting sample titles, and ↵Gravatar yangsu@google.com2011-06-24
| | | | | | | | | extracting pdf Data http://codereview.appspot.com/4626073/ git-svn-id: http://skia.googlecode.com/svn/trunk@1704 2bbb7eff-a529-9590-31e7-b0007b416f81