summaryrefslogtreecommitdiffstats
path: root/cc/output
diff options
context:
space:
mode:
authorsiva.gunturi@samsung.com <siva.gunturi@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-06 07:18:03 +0000
committersiva.gunturi@samsung.com <siva.gunturi@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-06 07:18:03 +0000
commite71d06146ee6e8a15a9453b6e21327fab46b3524 (patch)
treeeac4aec1b6dc9951690d661a148a60264d543e7b /cc/output
parent0ad230c8eea77d667d31bdea9147aa85d6e663c4 (diff)
downloadchromium_src-e71d06146ee6e8a15a9453b6e21327fab46b3524.zip
chromium_src-e71d06146ee6e8a15a9453b6e21327fab46b3524.tar.gz
chromium_src-e71d06146ee6e8a15a9453b6e21327fab46b3524.tar.bz2
Add relevant traces to measure copyFromCompositingSurface Turn-around time.
BUG= 399240 Review URL: https://codereview.chromium.org/424543003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287724 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/output')
-rw-r--r--cc/output/gl_renderer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 40510f6..54f74c4 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -2194,6 +2194,7 @@ void GLRenderer::EnsureScissorTestDisabled() {
void GLRenderer::CopyCurrentRenderPassToBitmap(
DrawingFrame* frame,
scoped_ptr<CopyOutputRequest> request) {
+ TRACE_EVENT0("cc", "GLRenderer::CopyCurrentRenderPassToBitmap");
gfx::Rect copy_rect = frame->current_render_pass->output_rect;
if (request->has_area())
copy_rect.Intersect(request->area());