Commit 09441be8 authored by Jonathan Backer's avatar Jonathan Backer Committed by Commit Bot

Make microbenchmark draw to opaque buffer

The common case for SkiaRenderer would be to draw to an opaque
framebuffer. Tweak the microbenchmark config to match that.

Bug: 974359
Change-Id: I95ff319148b3a1e1159aba49974f55fb2a073b47
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1797701
Commit-Queue: Jonathan Backer <backer@chromium.org>
Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org>
Auto-Submit: Jonathan Backer <backer@chromium.org>
Reviewed-by: default avatarVasiliy Telezhnikov <vasilyt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#695705}
parent 4d13a2ed
......@@ -11,7 +11,8 @@
//
// $ out/release/viz_perftests --gtest_filter="*RendererPerfTest*" \
// --use-gpu-in-tests --test-launcher-timeout=300000 \
// --perf-test-time-ms=240000
// --perf-test-time-ms=240000 --disable_discard_framebuffer=1 \
// --use_virtualized_gl_contexts=1
#include "base/bind.h"
#include "base/command_line.h"
......@@ -115,6 +116,7 @@ std::unique_ptr<RenderPass> CreateTestRootRenderPass() {
const gfx::Transform transform_to_root_target;
std::unique_ptr<RenderPass> pass = RenderPass::Create();
pass->SetNew(id, output_rect, damage_rect, transform_to_root_target);
pass->has_transparent_background = false;
return pass;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment