diff options
author | Clark Gaebel <cgaebel@mozilla.com> | 2014-09-16 14:03:35 -0700 |
---|---|---|
committer | Clark Gaebel <cgaebel@mozilla.com> | 2014-09-17 15:41:27 -0700 |
commit | 6bc63d47cd67bd39a05fcb471c945a1f578a28bb (patch) | |
tree | d7f728a14300afa73beead7caa8efd00c96b4936 /components/gfx/render_task.rs | |
parent | 787a68336524fb9585922b9ed319a8b194fb8ee1 (diff) | |
download | servo-6bc63d47cd67bd39a05fcb471c945a1f578a28bb.tar.gz servo-6bc63d47cd67bd39a05fcb471c945a1f578a28bb.zip |
Added more complex profiling metadata.
Diffstat (limited to 'components/gfx/render_task.rs')
-rw-r--r-- | components/gfx/render_task.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/gfx/render_task.rs b/components/gfx/render_task.rs index 8c41d8d1d26..6c4075cbd65 100644 --- a/components/gfx/render_task.rs +++ b/components/gfx/render_task.rs @@ -287,7 +287,7 @@ impl<C:RenderListener + Send> RenderTask<C> { tiles: Vec<BufferRequest>, scale: f32, layer_id: LayerId) { - time::profile(time::RenderingCategory, self.time_profiler_chan.clone(), || { + time::profile(time::RenderingCategory, None, self.time_profiler_chan.clone(), || { // FIXME: Try not to create a new array here. let mut new_buffers = vec!(); @@ -350,7 +350,7 @@ impl<C:RenderListener + Send> RenderTask<C> { ctx.clear(); // Draw the display list. - profile(time::RenderingDrawingCategory, self.time_profiler_chan.clone(), || { + profile(time::RenderingDrawingCategory, None, self.time_profiler_chan.clone(), || { display_list.draw_into_context(&mut ctx, &matrix); ctx.draw_target.flush(); }); @@ -439,4 +439,3 @@ impl<C:RenderListener + Send> RenderTask<C> { }) } } - |