skia2/include
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
..
android Move SkBitmapRegionDecoder to include/android and src/android 2015-11-13 06:11:09 -08:00
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
c Documentation: C API comments 2015-09-01 10:45:09 -07:00
codec Delete reallyHasAlpha() from SkCodec 2016-01-11 07:23:23 -08:00
config remove SkInstCnt 2015-06-26 11:45:03 -07:00
core Refactor to use GrWrapTextureInBitmap more 2016-01-14 06:03:29 -08:00
device/xps CMake, include/: changes to make fiddle 2.0 better 2015-12-01 09:02:49 -08:00
effects Delete SkRectShaderImageFilter 2016-01-12 14:17:30 -08:00
gpu Differentiate maxColorSamples and maxStencilSamples in GrCaps 2016-01-15 11:36:18 -08:00
images remove SkInstCnt 2015-06-26 11:45:03 -07:00
pathops Revert of Revert of remove SK_SUPPORT_LEGACY_PATHOP_ENUMS (patchset #1 id:1 of https://codereview.chromium.org/1203983003/) 2015-06-26 10:23:07 -07:00
ports Update documentation for SkFontMgr methods. 2015-12-03 12:12:13 -08:00
private Virtualize Frames in GrAuditTrail 2016-01-14 10:58:07 -08:00
svg move SkTDict and SkTSearch into private 2016-01-03 18:36:05 -08:00
utils remove SkDebugUtils.h -- unused 2016-01-16 12:44:12 -08:00
views SampleApp: Remove SkWindow::setColorType 2016-01-18 01:18:35 -08:00
xml Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00