summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-14 02:40:08 +0000
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-14 02:40:08 +0000
commit1e24dc7f3c692db09fa53717a121175d6b120775 (patch)
treeba8b64d392b7f22492f0cc1b05670e6a91901406 /gpu
parenta71126c83e6f30f5896100547241cc11ff3535ba (diff)
downloadchromium_src-1e24dc7f3c692db09fa53717a121175d6b120775.zip
chromium_src-1e24dc7f3c692db09fa53717a121175d6b120775.tar.gz
chromium_src-1e24dc7f3c692db09fa53717a121175d6b120775.tar.bz2
gpu: Add trace event to GLES2DecoderImpl::DoCopyTextureCHROMIUM.
BUG=269808 TBR=piman Review URL: https://codereview.chromium.org/225993004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263580 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 73852af3..80ca209 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -9844,6 +9844,8 @@ static GLenum ExtractFormatFromStorageFormat(GLenum internalformat) {
void GLES2DecoderImpl::DoCopyTextureCHROMIUM(
GLenum target, GLuint source_id, GLuint dest_id, GLint level,
GLenum internal_format, GLenum dest_type) {
+ TRACE_EVENT0("gpu", "GLES2DecoderImpl::DoCopyTextureCHROMIUM");
+
TextureRef* dest_texture_ref = GetTexture(dest_id);
TextureRef* source_texture_ref = GetTexture(source_id);