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

Unified Diff: mojo/examples/sample_app/sample_gles2_delegate.h

Issue 99323005: [Mojo] Fix race condition in sample_app's SwapBuffers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: mojo/examples/sample_app/sample_gles2_delegate.h
diff --git a/mojo/examples/sample_app/sample_gles2_delegate.h b/mojo/examples/sample_app/sample_gles2_delegate.h
index 226b8ac73a2e9c05ff68bc9bea43136dc3722fc3..efd4872d29443868d4c62eb74b8aa50fa2a3ffb1 100644
--- a/mojo/examples/sample_app/sample_gles2_delegate.h
+++ b/mojo/examples/sample_app/sample_gles2_delegate.h
@@ -19,15 +19,15 @@ class SampleGLES2Delegate : public GLES2Delegate {
private:
virtual void DidCreateContext(
- GLES2* gl, uint32_t width, uint32_t height) MOJO_OVERRIDE;
- virtual void ContextLost(GLES2* gl) MOJO_OVERRIDE;
+ GLES2ClientImpl* gl, uint32_t width, uint32_t height) MOJO_OVERRIDE;
+ virtual void ContextLost(GLES2ClientImpl* gl) MOJO_OVERRIDE;
void Draw();
base::Time last_time_;
base::RepeatingTimer<SampleGLES2Delegate> timer_;
- GLES2* gl_;
SpinningCube cube_;
+ GLES2ClientImpl* gl_;
};
} // namespace examples
« no previous file with comments | « mojo/examples/sample_app/native_viewport_client_impl.cc ('k') | mojo/examples/sample_app/sample_gles2_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698