skia2/experimental
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
..
c-api-example CMAKE + install command 2015-09-03 14:23:18 -07:00
ChromeUtils Sanitizing source files in Housekeeper-Nightly 2013-12-11 07:02:06 +00:00
docs runs some sample animations side by side in canvas and svg 2015-11-16 13:36:08 -08:00
DrawingBoard remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00
expectations/skp add headers to experimental SKP expectations 2014-08-20 11:51:39 -07:00
fiddle experiment/fiddle 2015-12-10 07:52:45 -08:00
FileReaderApp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
GLFWTest Add test with GLFW framework 2015-10-09 13:27:34 -07:00
go-skia patch from issue 697743002 2014-11-03 10:45:50 -08:00
iOSSampleApp SampleApp: Remove SkWindow::setColorType 2016-01-18 01:18:35 -08:00
iOSShell Modify iOSShell-gyp to generate unique bundle identifier 2015-12-02 09:45:30 -08:00
nanomsg Change SkPicture::draw to playback 2014-09-04 08:42:50 -07:00
Networking Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SimpleCocoaApp Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
SimpleiOSApp Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
SkPerlinNoiseShader2 remove 565 effects shaders 2016-01-04 09:54:55 -08:00
SkV8Example SampleApp: Remove SkWindow::setColorType 2016-01-18 01:18:35 -08:00
SkSetPoly3To3_A.cpp remove SK_SCALAR_IS_[FLOAT,FIXED] and assume floats 2013-12-17 16:44:46 +00:00
SkSetPoly3To3_D.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkSetPoly3To3.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00