27 auto content_context = GetContentContext();
28 auto buffer = content_context->GetContext()->CreateCommandBuffer();
30 GetContentContext()->GetRenderTargetCache()->CreateOffscreenMSAA(
31 *content_context->GetContext(), {100, 100},
33 auto render_pass =
buffer->CreateRenderPass(render_target);
34 auto recording_pass = std::make_shared<RecordingRenderPass>(
35 render_pass, GetContext(), render_target);
39 auto contents = std::make_shared<ClipContents>();
48 ASSERT_TRUE(recording_pass->GetCommands().empty());
49 ASSERT_TRUE(entity.
Render(*content_context, *recording_pass));
50 ASSERT_FALSE(recording_pass->GetCommands().empty());
static const uint8_t buffer[]