diff options
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/client/gles2_implementation.cc | 2 | ||||
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.cc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc index c3d2876..075a1fd 100644 --- a/gpu/command_buffer/client/gles2_implementation.cc +++ b/gpu/command_buffer/client/gles2_implementation.cc @@ -1701,6 +1701,8 @@ void GLES2Implementation::UnmapTexSubImage2DCHROMIUM(const void* mem) { } const GLchar* GLES2Implementation::GetRequestableExtensionsCHROMIUM() { + TRACE_EVENT0("gpu", + "GLES2Implementation::GetRequestableExtensionsCHROMIUM()"); const char* result = NULL; // Clear the bucket so if the command fails nothing will be in it. helper_->SetBucketSize(kResultBucketId, 0); diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc index 3e0e02a..10b1229 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc @@ -3783,6 +3783,7 @@ void GLES2DecoderImpl::DoRenderbufferStorage( } void GLES2DecoderImpl::DoLinkProgram(GLuint program) { + TRACE_EVENT0("gpu", "GLES2DecoderImpl::DoLinkProgram"); ProgramManager::ProgramInfo* info = GetProgramInfoNotShader( program, "glLinkProgram"); if (!info) { @@ -4519,6 +4520,7 @@ error::Error GLES2DecoderImpl::HandleShaderSourceBucket( } void GLES2DecoderImpl::DoCompileShader(GLuint client_id) { + TRACE_EVENT0("gpu", "GLES2DecoderImpl::DoCompileShader"); ShaderManager::ShaderInfo* info = GetShaderInfoNotProgram( client_id, "glCompileShader"); if (!info) { |