[Impeller] Delete impeller_trace_all_gl_calls. (flutter/engine#52963)
It's useless.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)...);
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user