Commit 05c73367 authored by nduca@chromium.org's avatar nduca@chromium.org

[cc] A few tracing fixes

Resolutions AsValue did not recognize NON_IDEAL_RESOLUTION

Call rate of PictureLayerTiling::UpdateTilePriorities is very high. Dont trace it.

R=ccameron
BUG=176150

Review URL: https://codereview.chromium.org/12253021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182398 0039d316-1c4b-4281-b951-d872f2087c98
parent d572bfd0
...@@ -361,7 +361,6 @@ void PictureLayerTiling::UpdateTilePriorities( ...@@ -361,7 +361,6 @@ void PictureLayerTiling::UpdateTilePriorities(
int current_source_frame_number, int current_source_frame_number,
double current_frame_time, double current_frame_time,
bool store_screen_space_quads_on_tiles) { bool store_screen_space_quads_on_tiles) {
TRACE_EVENT0("cc", "PictureLayerTiling::UpdateTilePriorities");
if (ContentRect().IsEmpty()) if (ContentRect().IsEmpty())
return; return;
......
...@@ -80,6 +80,9 @@ scoped_ptr<base::Value> TileResolutionAsValue( ...@@ -80,6 +80,9 @@ scoped_ptr<base::Value> TileResolutionAsValue(
case HIGH_RESOLUTION: case HIGH_RESOLUTION:
return scoped_ptr<base::Value>(base::Value::CreateStringValue( return scoped_ptr<base::Value>(base::Value::CreateStringValue(
"HIGH_RESOLUTION")); "HIGH_RESOLUTION"));
case NON_IDEAL_RESOLUTION:
return scoped_ptr<base::Value>(base::Value::CreateStringValue(
"NON_IDEAL_RESOLUTION"));
default: default:
DCHECK(false) << "Unrecognized TileResolution value"; DCHECK(false) << "Unrecognized TileResolution value";
return scoped_ptr<base::Value>(base::Value::CreateStringValue( return scoped_ptr<base::Value>(base::Value::CreateStringValue(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment