aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleCode.h
Commit message (Collapse)AuthorAge
* Remove GetGr() hack.Gravatar commit-bot@chromium.org2014-01-22
| | | | | | | | | | | | | | It seems no GM are using this. BUG=None TEST=SampleApp R=bsalomon@google.com, caryclark@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/144543003 git-svn-id: http://skia.googlecode.com/svn/trunk@13141 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7406 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
* Result of running tools/sanitize_source_files.py (which was added in ↵Gravatar rmistry@google.com2012-08-23
| | | | | | | | | https://codereview.appspot.com/6465078/) This CL is part III of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6475053 git-svn-id: http://skia.googlecode.com/svn/trunk@5264 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
* 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
* remove SkInstCnt tracking of SkViewRegistryGravatar reed@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4352 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't add SkViewRegistry to SkInstCntGravatar reed@google.com2012-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4351 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
* 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
* 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
* rolling back the experimental rollbacks in r2178-2179Gravatar epoger@google.com2011-08-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2180 2bbb7eff-a529-9590-31e7-b0007b416f81
* Experimental revert of 2170 to see if the buildbot issues are somehow related.Gravatar tomhudson@google.com2011-08-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2178 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove compiler warnings (gcc on Linux).Gravatar tomhudson@google.com2011-08-25
| | | | | | | | codereview.appspot.com/4922052/ git-svn-id: http://skia.googlecode.com/svn/trunk@2170 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
* check-point for testing drawBitmap [raster,gpu] -> [raster,gpu]Gravatar reed@google.com2011-07-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1796 2bbb7eff-a529-9590-31e7-b0007b416f81
* add 'p' to toggle on/off testing the pipeGravatar reed@google.com2011-05-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1317 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove some dead code in pipesGravatar reed@google.com2011-05-11
| | | | | | | | | inherit from SampleView for more samples add L key to toggle using SkGPipe git-svn-id: http://skia.googlecode.com/svn/trunk@1296 2bbb7eff-a529-9590-31e7-b0007b416f81
* migrate some samples over to SampleView, for FPS measurementsGravatar reed@google.com2011-04-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1166 2bbb7eff-a529-9590-31e7-b0007b416f81
* add 'f' toggle to trigger timer for sample. Must subclass SampleView insteadGravatar mike@reedtribe.org2011-04-22
| | | | | | | | of SkView to opt-in. Then override onDrawContent() and optionally onDrawBackground. git-svn-id: http://skia.googlecode.com/svn/trunk@1165 2bbb7eff-a529-9590-31e7-b0007b416f81
* merge with changes for GPU backendGravatar reed@android.com2010-12-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@637 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SampleCode::GetAnimTime() so slides go through a central location forGravatar reed@android.com2009-11-23
| | | | | | | | | animation timing. This allows us to "freeze" time in order to do things like draw multiple times to test clipping. git-svn-id: http://skia.googlecode.com/svn/trunk@444 2bbb7eff-a529-9590-31e7-b0007b416f81
* Some Linux / 64-bit compile fixes.Gravatar deanm@chromium.org2009-06-11
| | | | | | | Review URL: http://codereview.appspot.com/63189 git-svn-id: http://skia.googlecode.com/svn/trunk@209 2bbb7eff-a529-9590-31e7-b0007b416f81
* grab from latest androidGravatar reed@android.com2008-12-17
git-svn-id: http://skia.googlecode.com/svn/trunk@27 2bbb7eff-a529-9590-31e7-b0007b416f81