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

Unified Diff: mojo/gles2/gles2_context.h

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/gles2/gles2_context.h
diff --git a/mojo/gles2/gles2_context.h b/mojo/gles2/gles2_context.h
index bc73082a976d59db9a5587209c68fe7e93ce887b..ab39c4c38cea50a584beab6e52096536a6a97eac 100644
--- a/mojo/gles2/gles2_context.h
+++ b/mojo/gles2/gles2_context.h
@@ -30,7 +30,6 @@ class GLES2Context : public CommandBufferDelegate,
explicit GLES2Context(const MojoAsyncWaiter* async_waiter,
ScopedMessagePipeHandle command_buffer_handle,
MojoGLES2ContextLost lost_callback,
- MojoGLES2DrawAnimationFrame animation_callback,
void* closure);
virtual ~GLES2Context();
bool Initialize();
@@ -39,19 +38,15 @@ class GLES2Context : public CommandBufferDelegate,
return implementation_.get();
}
gpu::ContextSupport* context_support() const { return implementation_.get(); }
- void RequestAnimationFrames();
- void CancelAnimationFrames();
private:
virtual void ContextLost() OVERRIDE;
- virtual void DrawAnimationFrame() OVERRIDE;
CommandBufferClientImpl command_buffer_;
scoped_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_;
scoped_ptr<gpu::TransferBuffer> transfer_buffer_;
scoped_ptr<gpu::gles2::GLES2Implementation> implementation_;
MojoGLES2ContextLost lost_callback_;
- MojoGLES2DrawAnimationFrame animation_callback_;
void* closure_;
MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2Context);

Powered by Google App Engine
This is Rietveld 408576698