Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 977fdae

Browse files
authored
[Impeller] Delete impeller_trace_all_gl_calls. (#52963)
It's useless.
1 parent e5a73e5 commit 977fdae

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

impeller/BUILD.gn

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ config("impeller_public_config") {
3030
defines += [ "IMPELLER_ENABLE_VULKAN=1" ]
3131
}
3232

33-
if (impeller_trace_all_gl_calls) {
34-
defines += [ "IMPELLER_TRACE_ALL_GL_CALLS" ]
35-
}
36-
3733
if (is_win) {
3834
defines += [
3935
# TODO(dnfield): https://github.com/flutter/flutter/issues/50053

impeller/renderer/backend/gles/proc_table_gles.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ struct GLProc {
8585
FML_CHECK(IsAvailable()) << "GL function " << name << " is not available. "
8686
<< "This is likely due to a missing extension.";
8787
#endif // IMPELLER_DEBUG
88-
#ifdef IMPELLER_TRACE_ALL_GL_CALLS
89-
TRACE_EVENT0("impeller", name);
90-
#endif // IMPELLER_TRACE_ALL_GL_CALLS
9188
return function(std::forward<Args>(args)...);
9289
}
9390

impeller/tools/args.gni

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ declare_args() {
2020
impeller_enable_vulkan = (is_linux || is_win || is_android || is_mac ||
2121
enable_unittests) && target_os != "fuchsia"
2222

23-
# If enabled, all OpenGL calls will be traced. Because additional trace
24-
# overhead may be substantial, this is not enabled by default.
25-
impeller_trace_all_gl_calls = false
26-
2723
# Enable experimental 3D scene rendering.
2824
impeller_enable_3d = false
2925
}

0 commit comments

Comments
 (0)