[Impeller] Delete impeller_trace_all_gl_calls. (flutter/engine#52963)

It's useless.
This commit is contained in:
Chinmay Garde
2024-05-21 14:16:20 -07:00
committed by GitHub
parent 449e02e7f5
commit 0c370f2f09
3 changed files with 0 additions and 11 deletions

View File

@@ -30,10 +30,6 @@ config("impeller_public_config") {
defines += [ "IMPELLER_ENABLE_VULKAN=1" ]
}
if (impeller_trace_all_gl_calls) {
defines += [ "IMPELLER_TRACE_ALL_GL_CALLS" ]
}
if (is_win) {
defines += [
# TODO(dnfield): https://github.com/flutter/flutter/issues/50053

View File

@@ -85,9 +85,6 @@ struct GLProc {
FML_CHECK(IsAvailable()) << "GL function " << name << " is not available. "
<< "This is likely due to a missing extension.";
#endif // IMPELLER_DEBUG
#ifdef IMPELLER_TRACE_ALL_GL_CALLS
TRACE_EVENT0("impeller", name);
#endif // IMPELLER_TRACE_ALL_GL_CALLS
return function(std::forward<Args>(args)...);
}

View File

@@ -20,10 +20,6 @@ declare_args() {
impeller_enable_vulkan = (is_linux || is_win || is_android || is_mac ||
enable_unittests) && target_os != "fuchsia"
# If enabled, all OpenGL calls will be traced. Because additional trace
# overhead may be substantial, this is not enabled by default.
impeller_trace_all_gl_calls = false
# Enable experimental 3D scene rendering.
impeller_enable_3d = false
}