MCPcopy Create free account
hub / github.com/EasyRPG/Player / BM_Fill

Function BM_Fill

bench/bitmap.cpp:210–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208BENCHMARK(BM_WaverBlit);
209
210static void BM_Fill(benchmark::State& state) {
211 Bitmap::SetFormat(format);
212 auto dest = Bitmap::Create(320, 240);
213 auto color = Color(255, 255, 255, 255);
214 for (auto _: state) {
215 dest->Fill(color);
216 }
217}
218
219BENCHMARK(BM_Fill);
220

Callers

nothing calls this directly

Calls 2

FillMethod · 0.80
ColorClass · 0.50

Tested by

no test coverage detected