skia2/include/views
kkinnunen 973d92cf91 SampleApp: Remove SkWindow::setColorType
Remove SkWindow::setColorType, it is used wrong and inconsistently.

The color type is actually property of window backbuffer, used when the
window is painted with software. This is as opposed to a generic window
property that would affect all operation.

Similar to MSAA sample count for window GPU backbuffer, the bitmap
backbuffer color type should be a parameter of "attach" or "create
window" functions, should this property ever be added back.

The apps use the call wrong, setting the type as kRGBA_8888
or kBGRRA_8888 without no apparent rationale. These color types
are incorrect, as the raster surface can not work with these.

Reorganize the SkWindow::resize, since no change in SkWindow backbuffer size does not neccessarily mean that SkView would not need the call.

Do not show the sw backbuffer color type in SampleApp title, as
it does not really provide any information. On small screens,
kBGRA_8888_ColorType fills up the whole title.

BUG=skia:4733
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1595503002

Review URL: https://codereview.chromium.org/1595503002
2016-01-18 01:18:35 -08:00
..
animated remove SkInstCnt 2015-06-26 11:45:03 -07:00
SkApplication.h share dm and command flags 2014-07-22 10:15:35 -07:00
SkBGViewArtist.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkEvent.h Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
SkEventSink.h remove SkInstCnt 2015-06-26 11:45:03 -07:00
SkKey.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkOSMenu.h update to accommodate latest clang in chrome toolchain 2014-09-18 11:00:40 -07:00
SkOSWindow_Android.h SampleApp: remove SkWindow::onPDFSaved, it does not work 2016-01-18 00:47:14 -08:00
SkOSWindow_iOS.h Move closeWindow()/setFullscreen()/setVSynv() from SkWindow to SkOSWindow 2015-06-16 12:47:25 -07:00
SkOSWindow_Mac.h skia: Add ANGLE support on Mac 2015-10-28 08:42:29 -07:00
SkOSWindow_SDL.h SampleApp: Cleanup SkOSWindow_SDL 2016-01-14 05:37:51 -08:00
SkOSWindow_Unix.h Skia: Add Command Buffer support to Linux/Mac 2015-10-01 18:29:34 -07:00
SkOSWindow_Win.h Replace SkFunction with std::function 2015-11-12 10:41:05 -08:00
SkParsePaint.h move SkParsePaint.h into views 2015-12-22 04:36:57 -08:00
SkStackViewLayout.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkSystemEventTypes.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkTouchGesture.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkView.h move SkTDict and SkTSearch into private 2016-01-03 18:36:05 -08:00
SkViewInflate.h move SkTDict and SkTSearch into private 2016-01-03 18:36:05 -08:00
SkWidget.h C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
SkWindow.h SampleApp: Remove SkWindow::setColorType 2016-01-18 01:18:35 -08:00