skia2/debugger/QT
scroggo@google.com f1754ec691 Replace SkPicture(SkStream) constructors with a factory.
SkPicture:
Remove the constructors which take an SkStream as an argument. Rather
than having to check a variable for success, the factory will return
NULL on failure.
Add a protected function for determining if an SkStream is an SKP
to share code with SkTimedPicture.
In the factory, check for a NULL SkStream.
Use a default decoder (from BUG:
https://code.google.com/p/skia/issues/detail?id=1325)

SkDebuggerGUI:
Call SkPicture::CreateFromStream when necessary.
Write a factory for creating SkTimedPictures and use it.

Use the factory throughout tools.

Add include/lazy to utils and effects gyp include_dirs so SkPicture.h
can reference SkImageDecoder.h which references SkBitmapFactory.h (in
include/lazy).

Changes code Chromium uses, so this will require a temporary Skia
and then a change to Chromium to use the new Skia code.

TODO: Create a decoder that does nothing to be used by pinspect,
lua pictures, etc, and allow it to not assert in SkOrderedReadBuffer.

R=reed@google.com

Review URL: https://codereview.chromium.org/17113004

git-svn-id: http://skia.googlecode.com/svn/trunk@9822 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-06-28 21:32:00 +00:00
..
Icons Added Reload icon 2012-11-19 18:25:09 +00:00
qrc_SkIcons.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkCanvasWidget.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-02-14 07:01:34 +00:00
SkCanvasWidget.h Allow debugger to be compiled without Ganesh 2013-02-13 13:26:13 +00:00
SkDebuggerGUI.cpp Replace SkPicture(SkStream) constructors with a factory. 2013-06-28 21:32:00 +00:00
SkDebuggerGUI.h Remove offsetcanvas from debugger 2013-05-23 13:21:18 +00:00
SkGLWidget.cpp Allow debugger to be compiled without Ganesh 2013-02-13 13:26:13 +00:00
SkGLWidget.h Allow debugger to be compiled without Ganesh 2013-02-13 13:26:13 +00:00
SkIcons.qrc clt debugger 2012-06-29 14:21:22 +00:00
SkImageWidget.cpp Sanitizing source files in Housekeeper-Nightly 2013-06-07 07:01:06 +00:00
SkImageWidget.h Sanitizing source files in Housekeeper-Nightly 2013-06-07 07:01:06 +00:00
SkInspectorWidget.cpp Refactored inspector widget such that creating custom tabs for information is straightforward for future developers. 2012-08-14 19:34:13 +00:00
SkInspectorWidget.h Refactored inspector widget such that creating custom tabs for information is straightforward for future developers. 2012-08-14 19:34:13 +00:00
SkListWidget.cpp Normalize the debugger's profile times by the repeat count 2013-03-07 19:32:45 +00:00
SkListWidget.h clt debugger 2012-06-29 14:21:22 +00:00
SkRasterWidget.cpp Add overdraw visualization to the debugger 2013-02-06 20:13:54 +00:00
SkRasterWidget.h Allow debugger to be compiled without Ganesh 2013-02-13 13:26:13 +00:00
SkSettingsWidget.cpp Allow debugger to be compiled without Ganesh 2013-02-13 13:26:13 +00:00
SkSettingsWidget.h Allow debugger to be compiled without Ganesh 2013-02-13 13:26:13 +00:00