[Impeller] delete expensive trace event. (flutter/engine#55400)

The trace event in the blit pass is firing potentially hundreds of times per frame when we incremental update the glyph atlas. This takes significantly more time than the blit itself.
This commit is contained in:
Jonah Williams
2024-09-24 13:10:56 -07:00
committed by GitHub
parent 81f281b72d
commit 6cc61132fa

View File

@@ -283,8 +283,6 @@ bool BlitCopyBufferToTextureCommandGLES::Encode(
}
{
TRACE_EVENT1("impeller", "TexImage2DUpload", "Bytes",
std::to_string(data.buffer_view.range.length).c_str());
gl.PixelStorei(GL_UNPACK_ALIGNMENT, 1);
gl.TexSubImage2D(texture_target, // target
0u, // LOD level