aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger
Commit message (Collapse)AuthorAge
* debugger: Remove obsolete TODO comment.Gravatar tfarina@chromium.org2012-09-29
| | | | | | | | | | std::string usage was already replaced by SkString. R=chudy@google.com, tomhudson@google.com Review URL: https://codereview.appspot.com/6596043 git-svn-id: http://skia.googlecode.com/svn/trunk@5738 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-09-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5721 2bbb7eff-a529-9590-31e7-b0007b416f81
* Generate debugger MOCs on the flyGravatar fmalita@google.com2012-09-27
| | | | | | | | | | | | | Added gyp rules to generate Qt MOC files at build time, and removed the pre-packaged versions. Tested on Mac with Qt 4.6.4 & 4.8.3, and on Linux with Qt 4.8.1. R=caryclark@google.com,robertphillips@google.com,djsollen@google.com BUG= Review URL: https://codereview.appspot.com/6561054 git-svn-id: http://skia.googlecode.com/svn/trunk@5707 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-09-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5705 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added Qt 4.8.3 moc files for the debuggerGravatar robertphillips@google.com2012-09-26
| | | | | | | | http://codereview.appspot.com/6570055/ git-svn-id: http://skia.googlecode.com/svn/trunk@5701 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove uses of setBitmapDevice (DEPRECATED)Gravatar reed@google.com2012-09-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5689 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make flattenables no longer depend on global static initializers.Gravatar scroggo@google.com2012-09-21
| | | | | | | | | | | | | | | | | Instead, force all builds to call InitializeFlattenables. Remove the make_debugger script, which was created to force rebuilding without global static initializers so that all flattenables would be linked. It is no longer necessary since all flattenables will be linked thanks to InitializeFlattenables, which now can (and must) be called when global static initializers are turned on. BUG=https://code.google.com/p/skia/issues/detail?id=903 BUG=https://code.google.com/p/skia/issues/detail?id=902 Review URL: https://codereview.appspot.com/6548044 git-svn-id: http://skia.googlecode.com/svn/trunk@5642 2bbb7eff-a529-9590-31e7-b0007b416f81
* Got debugger compiling again after SkCanvas API changeGravatar robertphillips@google.com2012-09-20
| | | | | | | | http://codereview.appspot.com/6543047/ git-svn-id: http://skia.googlecode.com/svn/trunk@5616 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-re-land 5578Gravatar reed@google.com2012-09-18
| | | | | | | | will follow w/ new .skp files to keep the waterfall green (I hope) git-svn-id: http://skia.googlecode.com/svn/trunk@5584 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 5580Gravatar reed@google.com2012-09-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5581 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-land 5578 w/ pipe fixGravatar reed@google.com2012-09-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5580 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 5578 -- broke pipeGravatar reed@google.com2012-09-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5579 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change drawBitmapRect to take a float-src-rect instead of integer-src-rect. ThisGravatar reed@google.com2012-09-18
| | | | | | | | | | | | | | | | | | allows the client more control over the scaling. Because of virtual overrides and wanting to keep the old call-sites up and running, this CL renames the virtual entry-point to drawBitmapRectToRect, and downgrades drawBitmapRect to a non-virtual helper function. The implementation is to use the float-rect for computing the matrix, but still cons-up an integer rect for the purposes of subsetting the original bitmap. We do this by calling float_src->roundOut(&int_src) so that we include all (partially) covered src pixels. No change needed on SkDevice, since that signature is explicitly passed the computed matrix. Review URL: https://codereview.appspot.com/6501140 git-svn-id: http://skia.googlecode.com/svn/trunk@5578 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-09-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5477 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added Qt 4.8.1 moc files for precise buildsGravatar robertphillips@google.com2012-09-10
| | | | | | | | http://codereview.appspot.com/6488108/ git-svn-id: http://skia.googlecode.com/svn/trunk@5473 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2012-09-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5425 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed Windows compiler complaints (esp. in debugger)Gravatar robertphillips@google.com2012-09-06
| | | | | | | | https://codereview.appspot.com/6497090/ git-svn-id: http://skia.googlecode.com/svn/trunk@5419 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added 4.6.2 prefix to existing debugger moc filesGravatar robertphillips@google.com2012-09-06
| | | | | | | | http://codereview.appspot.com/6488090/ git-svn-id: http://skia.googlecode.com/svn/trunk@5416 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding 4.8.2 moc files for debuggerGravatar robertphillips@google.com2012-09-06
| | | | | | | | http://codereview.appspot.com/6494092/ git-svn-id: http://skia.googlecode.com/svn/trunk@5415 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 I of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6485054 git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bug Fix: Fixes transformation bug where debugger locked up during ↵Gravatar chudy@google.com2012-08-14
| | | | | | | | incremental draw due to nested clips not being cleared. Review URL: https://codereview.appspot.com/6462060 git-svn-id: http://skia.googlecode.com/svn/trunk@5095 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bug Fix: Fixes incremental drawing in conjunction with the highlighting ↵Gravatar chudy@google.com2012-08-14
| | | | | | | | filter for the OpenGL widget. Review URL: https://codereview.appspot.com/6441141 git-svn-id: http://skia.googlecode.com/svn/trunk@5094 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactored inspector widget such that creating custom tabs for information ↵Gravatar chudy@google.com2012-08-14
| | | | | | | | is straightforward for future developers. Review URL: https://codereview.appspot.com/6463046 git-svn-id: http://skia.googlecode.com/svn/trunk@5093 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bug Fix: Resets the users zoom and translation every picture load. Was ↵Gravatar chudy@google.com2012-08-14
| | | | | | | | acting inconsistently between different viewing widgets, now forces a redraw every new picture. Review URL: https://codereview.appspot.com/6450130 git-svn-id: http://skia.googlecode.com/svn/trunk@5083 2bbb7eff-a529-9590-31e7-b0007b416f81
* Effects Bug FixGravatar chudy@google.com2012-08-13
| | | | | | | | | | | | Certain compilers in an effort to optimize code chop off files that are never used. By adding a flag to common conditions and variables we can force skia to recompile with global static initializers off. By making a call to SkGraphics::Init we now register all those functions that had been previously automatically excluded by the compiler. Review URL: https://codereview.appspot.com/6443112 git-svn-id: http://skia.googlecode.com/svn/trunk@5057 2bbb7eff-a529-9590-31e7-b0007b416f81
* Replaced all instances of std strings and vectors in favor of SkStrings and ↵Gravatar chudy@google.com2012-08-07
| | | | | | | | SkTDArrays within skia code Review URL: https://codereview.appspot.com/6445088 git-svn-id: http://skia.googlecode.com/svn/trunk@4995 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactoring into a public facing facing SkDebugger class first pass.Gravatar chudy@google.com2012-08-07
| | | | | | Review URL: https://codereview.appspot.com/6450096 git-svn-id: http://skia.googlecode.com/svn/trunk@4986 2bbb7eff-a529-9590-31e7-b0007b416f81
* Quick mem fix for debug canvas leaking when loading new pics.Gravatar chudy@google.com2012-08-07
| | | | | | Review URL: https://codereview.appspot.com/6454096 git-svn-id: http://skia.googlecode.com/svn/trunk@4975 2bbb7eff-a529-9590-31e7-b0007b416f81
* Moved the ownership of the current clip and current matrix into the debug ↵Gravatar chudy@google.com2012-08-03
| | | | | | | | canvas as part of the upcoming general refactor to everything living in debug canvas. Review URL: https://codereview.appspot.com/6447077 git-svn-id: http://skia.googlecode.com/svn/trunk@4950 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added more DrawPoints debugging info for inspectorGravatar chudy@google.com2012-08-01
| | | | | | Review URL: https://codereview.appspot.com/6441084 git-svn-id: http://skia.googlecode.com/svn/trunk@4893 2bbb7eff-a529-9590-31e7-b0007b416f81
* Optimization: SkDebugCanvas is capable of pausing and drawing incrementally ↵Gravatar chudy@google.com2012-08-01
| | | | | | | | instead of redrawing all commands. Review URL: https://codereview.appspot.com/6458056 git-svn-id: http://skia.googlecode.com/svn/trunk@4891 2bbb7eff-a529-9590-31e7-b0007b416f81
* Getting rid of compile-time warningsGravatar chudy@google.com2012-07-31
| | | | | | Review URL: https://codereview.appspot.com/6447071 git-svn-id: http://skia.googlecode.com/svn/trunk@4868 2bbb7eff-a529-9590-31e7-b0007b416f81
* Optimized hit testing feature, refactored into seperate function from canvas ↵Gravatar chudy@google.com2012-07-31
| | | | | | | | draw calls Review URL: https://codereview.appspot.com/6443068 git-svn-id: http://skia.googlecode.com/svn/trunk@4867 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed numerous mem errorsGravatar chudy@google.com2012-07-31
| | | | | | Review URL: https://codereview.appspot.com/6441070 git-svn-id: http://skia.googlecode.com/svn/trunk@4849 2bbb7eff-a529-9590-31e7-b0007b416f81
* Canvas size initializes correctly when drawing from a skia pictureGravatar chudy@google.com2012-07-30
| | | | | | Review URL: https://codereview.appspot.com/6450065 git-svn-id: http://skia.googlecode.com/svn/trunk@4837 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added missing files to fix build.Gravatar chudy@google.com2012-07-28
| | | | | | | | TBR Review URL: https://codereview.appspot.com/6455058 git-svn-id: http://skia.googlecode.com/svn/trunk@4822 2bbb7eff-a529-9590-31e7-b0007b416f81
* Skia Debugger can now save modified pictures.Gravatar chudy@google.com2012-07-28
| | | | | | Review URL: https://codereview.appspot.com/6442055 git-svn-id: http://skia.googlecode.com/svn/trunk@4821 2bbb7eff-a529-9590-31e7-b0007b416f81
* Key Shortcuts for Zooming. Refactored some event propogation.Gravatar chudy@google.com2012-07-26
| | | | | | Review URL: https://codereview.appspot.com/6452052 git-svn-id: http://skia.googlecode.com/svn/trunk@4794 2bbb7eff-a529-9590-31e7-b0007b416f81
* GL Widget AlphaGravatar chudy@google.com2012-07-26
| | | | | | Review URL: https://codereview.appspot.com/6422060 git-svn-id: http://skia.googlecode.com/svn/trunk@4789 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed glaring typo in SkDebuggerGUI.cpp, unreviewed.Gravatar chudy@google.com2012-07-19
| | | | | | | | | BUG= TEST= Review URL: https://codereview.appspot.com/6423052 git-svn-id: http://skia.googlecode.com/svn/trunk@4669 2bbb7eff-a529-9590-31e7-b0007b416f81
* Quick bug fix that was rendering debugger unusable.Gravatar chudy@google.com2012-07-19
| | | | | | Review URL: https://codereview.appspot.com/6422050 git-svn-id: http://skia.googlecode.com/svn/trunk@4668 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added more features to deletes and breakpointsGravatar chudy@google.com2012-07-17
| | | | | | Review URL: https://codereview.appspot.com/6406050 git-svn-id: http://skia.googlecode.com/svn/trunk@4637 2bbb7eff-a529-9590-31e7-b0007b416f81
* Cleaned up icons, added keyboard shortcuts to everythingGravatar chudy@google.com2012-07-16
| | | | | | | | Keyboard Shortcuts and Menu reordering Review URL: https://codereview.appspot.com/6400051 git-svn-id: http://skia.googlecode.com/svn/trunk@4630 2bbb7eff-a529-9590-31e7-b0007b416f81
* Feature, HitBox selects current commandGravatar chudy@google.com2012-07-12
| | | | | | Review URL: https://codereview.appspot.com/6345091 git-svn-id: http://skia.googlecode.com/svn/trunk@4588 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bug Fix: Delete redraws correctly when redraw command execution is pausedGravatar chudy@google.com2012-07-12
| | | | | | Review URL: https://codereview.appspot.com/6392053 git-svn-id: http://skia.googlecode.com/svn/trunk@4567 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkHitBox added.Gravatar chudy@google.com2012-07-12
| | | | | | | | SkHitBox is a class that determines which draw command is associated with the pixel located at x,y. By calculating a single point instead of the entire bitmap at once there is no visible performance slowdown. Review URL: https://codereview.appspot.com/6350098 git-svn-id: http://skia.googlecode.com/svn/trunk@4565 2bbb7eff-a529-9590-31e7-b0007b416f81
* Seperated Space for displaying breakpoint and deletion iconsGravatar chudy@google.com2012-07-12
| | | | | | Review URL: https://codereview.appspot.com/6356094 git-svn-id: http://skia.googlecode.com/svn/trunk@4563 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bug Fix: Pause drawing execution feature works due to fixed typoGravatar chudy@google.com2012-07-10
| | | | | | Review URL: https://codereview.appspot.com/6349086 git-svn-id: http://skia.googlecode.com/svn/trunk@4505 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bug Fix: Current command mask now dynamically changes based on bounds of window.Gravatar chudy@google.com2012-07-10
| | | | | | Review URL: https://codereview.appspot.com/6384044 git-svn-id: http://skia.googlecode.com/svn/trunk@4504 2bbb7eff-a529-9590-31e7-b0007b416f81
* Made everything in SkDebuggerGUI live on the stackGravatar chudy@google.com2012-07-10
| | | | | | Review URL: https://codereview.appspot.com/6389043 git-svn-id: http://skia.googlecode.com/svn/trunk@4502 2bbb7eff-a529-9590-31e7-b0007b416f81