Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2388)

Unified Diff: core/cross/gles2/texture_gles2.cc

Issue 5591006: Add an API to allow JavaScript to determine the framerate of individual dynam... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/cross/gl/texture_gl.cc ('k') | core/cross/texture_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/gles2/texture_gles2.cc
===================================================================
--- core/cross/gles2/texture_gles2.cc (revision 66674)
+++ core/cross/gles2/texture_gles2.cc (working copy)
@@ -493,6 +493,9 @@
src_data);
}
}
+ if (level == 0) {
+ TextureUpdated();
+ }
}
// Locks the given mipmap level of this texture for loading from main memory,
@@ -843,6 +846,9 @@
src_data);
}
}
+ if (level == 0) {
+ TextureUpdated();
+ }
}
// Locks the given face and mipmap level of this texture for loading from
« no previous file with comments | « core/cross/gl/texture_gl.cc ('k') | core/cross/texture_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698