aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
Commit message (Collapse)AuthorAge
...
* 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
* Defining new color constat for transparent colorGravatar junov@google.com2012-12-06
| | | | | | Review URL: https://codereview.appspot.com/6901044 git-svn-id: http://skia.googlecode.com/svn/trunk@6696 2bbb7eff-a529-9590-31e7-b0007b416f81
* change SkDrawFilter::filter to return a bool, where false means don't-drawGravatar reed@google.com2012-11-26
| | | | | | Review URL: https://codereview.appspot.com/6851111 git-svn-id: http://skia.googlecode.com/svn/trunk@6551 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix clang warning in GMSampleView.hGravatar tfarina@chromium.org2012-11-20
| | | | | | | | | | ../../samplecode/GMSampleView.h:23:7: warning: field 'fGM' will be initialized after field 'fShowSize' [-Wreorder] R=bsalomon@google.com Review URL: https://codereview.appspot.com/6856063 git-svn-id: http://skia.googlecode.com/svn/trunk@6507 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-11-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6447 2bbb7eff-a529-9590-31e7-b0007b416f81
* update srcmode GM to include aa/bw and gradientsGravatar reed@google.com2012-11-15
| | | | | | | | add 'G' key to sampleapp, to toggle showing the GM's bounds as an overlay git-svn-id: http://skia.googlecode.com/svn/trunk@6431 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unused (and undefined) SkColorSpace parameter.Gravatar mike@reedtribe.org2012-11-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6427 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-11-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6362 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update SampleApp to handle PNG encoded skpsGravatar robertphillips@google.com2012-11-08
| | | | | | | | https://codereview.appspot.com/6816105/ git-svn-id: http://skia.googlecode.com/svn/trunk@6347 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-11-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6306 2bbb7eff-a529-9590-31e7-b0007b416f81
* add 'c' toggle to test clippingGravatar reed@google.com2012-11-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6278 2bbb7eff-a529-9590-31e7-b0007b416f81
* Platform/Engine -> BackendGravatar bsalomon@google.com2012-10-25
| | | | | | | | | createPlatform -> wrapBackend R=robertphillips@google.com Review URL: https://codereview.appspot.com/6785044 git-svn-id: http://skia.googlecode.com/svn/trunk@6123 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-10-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6067 2bbb7eff-a529-9590-31e7-b0007b416f81
* add labelGravatar reed@google.com2012-10-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6050 2bbb7eff-a529-9590-31e7-b0007b416f81
* support click-drag translateGravatar mike@reedtribe.org2012-10-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6041 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-10-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6040 2bbb7eff-a529-9590-31e7-b0007b416f81
* updateGravatar reed@google.com2012-10-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6039 2bbb7eff-a529-9590-31e7-b0007b416f81
* updateGravatar reed@google.com2012-10-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6038 2bbb7eff-a529-9590-31e7-b0007b416f81
* add sample to debug in fatbits modeGravatar mike@reedtribe.org2012-10-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@6024 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-10-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5892 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disable transitions for the Android SampleApp.Gravatar djsollen@google.com2012-10-10
| | | | | | Review URL: https://codereview.appspot.com/6642063 git-svn-id: http://skia.googlecode.com/svn/trunk@5887 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove external matrix feature.Gravatar bsalomon@google.com2012-10-08
| | | | | | | | | We haven't been testing this for nearly two years. R=reed@google.com Review URL: https://codereview.appspot.com/6640044 git-svn-id: http://skia.googlecode.com/svn/trunk@5857 2bbb7eff-a529-9590-31e7-b0007b416f81
* build iOS with 'make all'Gravatar caryclark@google.com2012-10-02
| | | | | | | | | | | This builds all skia tests by treating iOS tools as executable applications. A few warnings were fixed as well. Removed old trace draw code and remnants. Review URL: https://codereview.appspot.com/6597063 git-svn-id: http://skia.googlecode.com/svn/trunk@5776 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: Avoid temporary variables of SkString type.Gravatar tfarina@chromium.org2012-09-30
| | | | | | | | | | Just like most of the other samples, just pass the name of the sample directly. R=epoger@google.com Review URL: https://codereview.appspot.com/6572047 git-svn-id: http://skia.googlecode.com/svn/trunk@5743 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
* Make SampleApp work on iPhone/iOS simulator.Gravatar bsalomon@google.com2012-09-27
| | | | | | | | | | | | | | | | | | | | | | | | | Several parts to this: 1) The DeviceManager subclass for iOS was rewritten because the base class changed. 2) Two old samples that rely on hardcoded paths to images are deleted. They hit assertions in SkImageRef. No one has the required images to run these anyway. 3) argv must be non-NULL. 4) The UI delegate must not be loaded from the NIB for viewDidLoad ordering reasons. So I removed an IBOutlet link from the window to the splitview controller in the iPad's NIB file. The split view is attached by the AppDelegate programmatically. This doesn't make GPU work. That will come in a later change. Review URL: https://codereview.appspot.com/6561056/ git-svn-id: http://skia.googlecode.com/svn/trunk@5712 2bbb7eff-a529-9590-31e7-b0007b416f81
* samplecode: Remove executable bit from SampleTextureDomain.cppGravatar tfarina@chromium.org2012-09-26
| | | | | | | | R=robertphillips@google.com Review URL: https://codereview.appspot.com/6570056 git-svn-id: http://skia.googlecode.com/svn/trunk@5703 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkCanvas::setDevice() must die, and so we begin by removing our ownGravatar mike@reedtribe.org2012-09-26
| | | | | | | | references to setBitmapDevice() (gotta walk before we can run) git-svn-id: http://skia.googlecode.com/svn/trunk@5680 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-09-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5678 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reimplement drawBitmapRectToRect to correctly handle fraction srcRect.Gravatar reed@google.com2012-09-25
| | | | | | | | | | | | | | | | | | | | | | | | The prev impl relied on drawBitmap "deducing" the destination rect by applying the computed matrix to the bitmap's bounds. This cannot be done if the srcRect is fractional, and therefore not representable w/ a bitmap. The new impl computes the same matrix, but calls down to the device via drawRect + a bitmap_shader. This allows us to specfiy the dstRect explicitly. The possible down-side is that we now rely on the device subclass to efficiently handle draRect+shader, instead of calling its drawBitmap entry-point. To give the device the chance to handle this differently, I now call through to a new device virtual: drawBitmapRect. The default impl is to create the shader and call drawRect, but a subclass can intercept that. For now, the GPU override of drawBitmapRect is mimicing the old behavior (by rounding the srcRect to an iRect). This preserves its ability to call drawBitmap which handles very-large textures, but shows some gittering/imprecision, due to the rounding. ... this is the same GPU behavior we have before this CL. Review URL: https://codereview.appspot.com/6542065 git-svn-id: http://skia.googlecode.com/svn/trunk@5663 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a header for OverView.cpp as well.Gravatar tfarina@chromium.org2012-09-18
| | | | | | | | | | This fixes another FIXMEs. Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: https://codereview.appspot.com/6492125 git-svn-id: http://skia.googlecode.com/svn/trunk@5576 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add file I forgot in https://code.google.com/p/skia/source/detail?r=5552Gravatar epoger@google.com2012-09-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5554 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a header file for TransitionView.cppGravatar epoger@google.com2012-09-14
| | | | | | committed from https://codereview.appspot.com/6492119/ for Thiago Farina <tfarina@chromium.org> git-svn-id: http://skia.googlecode.com/svn/trunk@5552 2bbb7eff-a529-9590-31e7-b0007b416f81
* Address warnings from clang build botGravatar robertphillips@google.com2012-09-13
| | | | | | | | http://codereview.appspot.com/6506111/ git-svn-id: http://skia.googlecode.com/svn/trunk@5518 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make texteffects gm work through serialization and pipe.Gravatar scroggo@google.com2012-09-12
| | | | | | | | | | | | | | | Move Line2DPathEffect (now Sk_) into a separate header file so it can be shared and initialized. Switch to the shared version in SampleAll and SampleSlides. Remove the skip pipe flag from texteffects, since it can now be serialized. I have a separate change to turn serialization on by default at https://codereview.appspot.com/6498121/ Review URL: https://codereview.appspot.com/6503106 git-svn-id: http://skia.googlecode.com/svn/trunk@5512 2bbb7eff-a529-9590-31e7-b0007b416f81
* update MS counter to show actual millisecondsGravatar reed@google.com2012-09-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5458 2bbb7eff-a529-9590-31e7-b0007b416f81
* apend sample_grab file name with .pngGravatar reed@google.com2012-09-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5451 2bbb7eff-a529-9590-31e7-b0007b416f81
* change duration of transition animation to 1, effectively removing it (for now)Gravatar reed@google.com2012-09-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5450 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-08-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5373 2bbb7eff-a529-9590-31e7-b0007b416f81
* (disabled) option to re-record a picture when loadingGravatar reed@google.com2012-08-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5366 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
* Remove SK_FONTHOST_WIN_DW define.Gravatar bungeman@google.com2012-08-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5132 2bbb7eff-a529-9590-31e7-b0007b416f81
* DirectWrite font host for skia.Gravatar bungeman@google.com2012-08-16
| | | | | | | https://codereview.appspot.com/5417063/ git-svn-id: http://skia.googlecode.com/svn/trunk@5128 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
* change tiling to 16 tiles instead of 4Gravatar reed@google.com2012-08-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5120 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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