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

Unified Diff: mojo/public/gles2/gles2_private.cc

Issue 384513003: Remove RequestAnimationFrame from mojo, add delayed tasks to RunLoop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 months 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
Index: mojo/public/gles2/gles2_private.cc
diff --git a/mojo/public/gles2/gles2_private.cc b/mojo/public/gles2/gles2_private.cc
index 52b47d36c3f9b0f021b9bbd1fe0e457815b13f0e..c82e9deede9fef3236acb3c0794b93673a063964 100644
--- a/mojo/public/gles2/gles2_private.cc
+++ b/mojo/public/gles2/gles2_private.cc
@@ -28,11 +28,9 @@ void MojoGLES2Terminate() {
MojoGLES2Context MojoGLES2CreateContext(
MojoHandle handle,
MojoGLES2ContextLost lost_callback,
- MojoGLES2DrawAnimationFrame animation_callback,
void* closure) {
return g_gles2_support->CreateContext(mojo::MessagePipeHandle(handle),
lost_callback,
- animation_callback,
closure);
}
@@ -51,16 +49,6 @@ void MojoGLES2SwapBuffers() {
return g_gles2_support->SwapBuffers();
}
-void MojoGLES2RequestAnimationFrames(MojoGLES2Context context) {
- assert(g_gles2_support);
- return g_gles2_support->RequestAnimationFrames(context);
-}
-
-void MojoGLES2CancelAnimationFrames(MojoGLES2Context context) {
- assert(g_gles2_support);
- return g_gles2_support->CancelAnimationFrames(context);
-}
-
void* MojoGLES2GetGLES2Interface(MojoGLES2Context context) {
assert(g_gles2_support);
return g_gles2_support->GetGLES2Interface(context);

Powered by Google App Engine
This is Rietveld 408576698