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

Unified Diff: cc/raster/one_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/gpu_raster_buffer_provider.cc ('k') | cc/raster/raster_buffer_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/one_copy_raster_buffer_provider.cc
diff --git a/cc/raster/one_copy_raster_buffer_provider.cc b/cc/raster/one_copy_raster_buffer_provider.cc
index 87f8f026a1eb9fc7f6efeb027e9e3c3f3e9abaa4..f0f95ae9bf1eac8248081d484b29fcf30cfd33c1 100644
--- a/cc/raster/one_copy_raster_buffer_provider.cc
+++ b/cc/raster/one_copy_raster_buffer_provider.cc
@@ -46,6 +46,7 @@ class RasterBufferImpl : public RasterBuffer {
uint64_t new_content_id,
float scale,
const RasterSource::PlaybackSettings& playback_settings) override {
+ TRACE_EVENT0("cc", "OneCopyRasterBuffer::Playback");
worker_pool_->PlaybackAndCopyOnWorkerThread(
resource_, &lock_, raster_source, raster_full_rect, raster_dirty_rect,
scale, playback_settings, previous_content_id_, new_content_id);
« no previous file with comments | « cc/raster/gpu_raster_buffer_provider.cc ('k') | cc/raster/raster_buffer_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698