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

Unified Diff: cc/raster/zero_copy_raster_buffer_provider.cc

Issue 2045743003: cc: Add traces for identification of raster buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: correction Created 4 years, 6 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 | « cc/raster/raster_buffer_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/zero_copy_raster_buffer_provider.cc
diff --git a/cc/raster/zero_copy_raster_buffer_provider.cc b/cc/raster/zero_copy_raster_buffer_provider.cc
index 93e8d7e13f07440d2bb6982b62466a5f0cc436d4..b89b45b96a6b7d99aad10fbf527188258988738a 100644
--- a/cc/raster/zero_copy_raster_buffer_provider.cc
+++ b/cc/raster/zero_copy_raster_buffer_provider.cc
@@ -36,6 +36,7 @@ class RasterBufferImpl : public RasterBuffer {
uint64_t new_content_id,
float scale,
const RasterSource::PlaybackSettings& playback_settings) override {
+ TRACE_EVENT0("cc", "ZeroCopyRasterBuffer::Playback");
gfx::GpuMemoryBuffer* buffer = lock_.GetGpuMemoryBuffer();
if (!buffer)
return;
« no previous file with comments | « cc/raster/raster_buffer_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698