Revert "[Impeller] add trace events for VkRenderPass and VkFrameBuffe… (flutter/engine#45047)

…r creation. (#44837)"

This reverts commit 539e3833d2.

*Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.*

*List which issues are fixed by this PR. You must list at least one issue.*

These trace events aren't super useful, since we've tracked down the issues as either 1) phone is overloaded due to image decoding at large size or 2) https://github.com/flutter/flutter/issues/133198
This commit is contained in:
Jonah Williams
2023-08-24 08:33:33 -07:00
committed by GitHub
parent 2a13456e11
commit 6cbcea5081

View File

@@ -89,7 +89,6 @@ static vk::AttachmentDescription CreateAttachmentDescription(
SharedHandleVK<vk::RenderPass> RenderPassVK::CreateVKRenderPass(
const ContextVK& context,
const std::shared_ptr<CommandBufferVK>& command_buffer) const {
TRACE_EVENT0("impeller", "RenderPassVK::CreateVKRenderPass");
std::vector<vk::AttachmentDescription> attachments;
std::vector<vk::AttachmentReference> color_refs;
@@ -223,7 +222,6 @@ static std::vector<vk::ClearValue> GetVKClearValues(
SharedHandleVK<vk::Framebuffer> RenderPassVK::CreateVKFramebuffer(
const ContextVK& context,
const vk::RenderPass& pass) const {
TRACE_EVENT0("impeller", "RenderPassVK::CreateVKFramebuffer");
vk::FramebufferCreateInfo fb_info;
fb_info.renderPass = pass;