skia2/tools/VisualBench
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
..
TimingStateMachine.cpp Make visualbench timing continuous for no-reset mode 2015-11-13 08:42:06 -08:00
TimingStateMachine.h Make visualbench timing continuous for no-reset mode 2015-11-13 08:42:06 -08:00
VisualBench.cpp SampleApp: Remove SkWindow::setColorType 2016-01-18 01:18:35 -08:00
VisualBench.h Force VisualBench to reset GLContext on GrContext reset 2015-10-21 08:04:24 -07:00
VisualBenchmarkStream.cpp Add a warmup flag to visualbench 2015-12-10 14:20:06 -08:00
VisualBenchmarkStream.h Create a skeleton VisualDebugModule 2015-12-04 09:02:34 -08:00
VisualDebugModule.cpp Create a skeleton VisualDebugModule 2015-12-04 09:02:34 -08:00
VisualDebugModule.h Create a skeleton VisualDebugModule 2015-12-04 09:02:34 -08:00
VisualFlags.cpp Add offscreen mode to visualbench 2015-11-24 09:20:24 -08:00
VisualFlags.h Add offscreen mode to visualbench 2015-11-24 09:20:24 -08:00
VisualInteractiveModule.cpp Add visualbench option to not reset between samples 2015-11-13 08:28:49 -08:00
VisualInteractiveModule.h Create VisualStreamTimingModule 2015-10-14 07:49:28 -07:00
VisualLightweightBenchModule.cpp Add offscreen mode to visualbench 2015-11-24 09:20:24 -08:00
VisualLightweightBenchModule.h Create VisualStreamTimingModule 2015-10-14 07:49:28 -07:00
VisualModule.h Add viewer mode to VisualBench. 2015-09-15 07:40:56 -07:00
VisualSKPBench.cpp Optimize visualbench offscreen blits 2015-11-24 08:54:30 -08:00
VisualSKPBench.h Optimize visualbench offscreen blits 2015-11-24 08:54:30 -08:00
VisualStreamTimingModule.cpp Fix visualbench flicker on triple buffered platforms 2015-11-13 08:56:31 -08:00
VisualStreamTimingModule.h Add visualbench option to not reset between samples 2015-11-13 08:28:49 -08:00
WrappedBenchmark.h Add offscreen mode to visualbench 2015-11-24 09:20:24 -08:00