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

Commit 6671fbf

Browse files
committed
[Impeller] Delete impeller_trace_all_gl_calls.
It's useless.
1 parent 8a5db9f commit 6671fbf

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
@@ -33,10 +33,6 @@ declare_args() {
3333
# If it is non-empty, it should be the absolute path to scenec.
3434
impeller_use_prebuilt_scenec = ""
3535

36-
# If enabled, all OpenGL calls will be traced. Because additional trace
37-
# overhead may be substantial, this is not enabled by default.
38-
impeller_trace_all_gl_calls = false
39-
4036
# Enable experimental 3D scene rendering.
4137
impeller_enable_3d = false
4238

0 commit comments

Comments
 (0)