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

Unified Diff: remoting/client/ios/display/gl_display_handler.h

Issue 2555803002: Adding the iOS app and integration example with GlRenderer. (Closed)
Patch Set: cleaning up includes. Created 3 years, 11 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: remoting/client/ios/display/gl_display_handler.h
diff --git a/remoting/client/ios/display/gl_display_handler.h b/remoting/client/ios/display/gl_display_handler.h
new file mode 100644
index 0000000000000000000000000000000000000000..39aad3edc395b432bf948fca8f2c227152d11279
--- /dev/null
+++ b/remoting/client/ios/display/gl_display_handler.h
@@ -0,0 +1,32 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_
+#define REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_
+
+#import "remoting/client/display/sys_opengl.h"
+#include "remoting/client/client_context.h"
+#include "remoting/protocol/frame_consumer.h"
+#include "remoting/protocol/video_renderer.h"
+
+namespace remoting {
+namespace ios {
+
+class AppRuntime;
+
+} // namespace ios
+} // namespace remoting
+
+@interface GlDisplayHandler : NSObject {
+}
+
+- (id)initWithRuntime:(remoting::ios::AppRuntime*)runtime;
+
+- (void)created;
+- (void)glkView:(GLKView*)view drawInRect:(CGRect)rect;
+- (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer;
+
+@end
+
+#endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698