[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user