skia2/experimental/iOSSampleApp
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
..
iOSSampleApp.xcodeproj Replace SkTScopedPtr with SkAutoTDelete in Skia. 2013-08-29 22:14:04 +00:00
iPad Fix a number of issues with iOS build. 2014-06-11 13:59:22 -07:00
iPhone Fix a number of issues with iOS build. 2014-06-11 13:59:22 -07:00
Shared SampleApp: Remove SkWindow::setColorType 2016-01-18 01:18:35 -08:00
iOSSampleApp_Prefix.pch Sample App ported to an universal iOS app with airprint enabled 2011-06-24 15:57:30 +00:00
iOSSampleApp-Info.plist Change the ios sample app name. 2012-10-01 15:39:22 +00:00
SkiOSSampleApp-Base.xcconfig remove precompiled header option for ios 2012-09-26 17:58:27 +00:00
SkiOSSampleApp-Debug.xcconfig Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
SkiOSSampleApp-Release.xcconfig Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
SkSampleUIView.h Make SkOSWindow return the sample count and stencil bit count for its GL context. 2013-03-05 20:06:05 +00:00
SkSampleUIView.mm SampleApp: Remove SkWindow::setColorType 2016-01-18 01:18:35 -08:00