| 291 | BENCHMARK(BM_BlendBlit); |
| 292 | |
| 293 | static void BM_Flip(benchmark::State& state) { |
| 294 | Bitmap::SetFormat(format); |
| 295 | auto dest = Bitmap::Create(320, 240); |
| 296 | for (auto _: state) { |
| 297 | dest->Flip(true, true); |
| 298 | } |
| 299 | } |
| 300 | |
| 301 | BENCHMARK(BM_Flip); |
| 302 |