Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Unified Diff: base/debug/trace_event_impl.h

Issue 240073008: Add a gpu.SwapBuffers synthetic delay to PostSubBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename gpu.SwapBuffers to gpu.PresentingFrame Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event_impl.h
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h
index 5e22c0e04eb4465e45fac192471cbe01ab34b7db..e5a6dbd71f9b09ed6a7c3f82da41ffe0df80f703 100644
--- a/base/debug/trace_event_impl.h
+++ b/base/debug/trace_event_impl.h
@@ -299,13 +299,14 @@ class BASE_EXPORT CategoryFilter {
//
// Category filters can also be used to configure synthetic delays.
//
- // Example: CategoryFilter("DELAY(gpu.SwapBuffers;16)"); would make swap
+ // Example: CategoryFilter("DELAY(gpu.PresentingFrame;16)"); would make swap
// buffers always take at least 16 ms.
- // Example: CategoryFilter("DELAY(gpu.SwapBuffers;16;oneshot)"); would
- // make swap buffers take at least 16 ms the first time it is called.
- // Example: CategoryFilter("DELAY(gpu.SwapBuffers;16;alternating)"); would
- // make swap buffers take at least 16 ms every other time it is
+ // Example: CategoryFilter("DELAY(gpu.PresentingFrame;16;oneshot)"); would
+ // make swap buffers take at least 16 ms the first time it is
// called.
+ // Example: CategoryFilter("DELAY(gpu.PresentingFrame;16;alternating)");
+ // would make swap buffers take at least 16 ms every other time it
+ // is called.
explicit CategoryFilter(const std::string& filter_string);
CategoryFilter(const CategoryFilter& cf);
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698