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

Unified Diff: remoting/client/ios/app/example_view_controller.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/app/example_view_controller.h
diff --git a/remoting/client/ios/app/example_view_controller.h b/remoting/client/ios/app/example_view_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..7973b4a3c5e1bf2df0ac3948202f150ab0848be4
--- /dev/null
+++ b/remoting/client/ios/app/example_view_controller.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_APP_EXAMPLE_VIEW_CONTROLLER_H_
+#define REMOTING_CLIENT_IOS_APP_EXAMPLE_VIEW_CONTROLLER_H_
+
+#import <GLKit/GLKit.h>
+#import "remoting/client/ios/display/gl_display_handler.h"
+#include "remoting/client/ios/app_runtime.h"
+
+#include "remoting/client/software_video_renderer.h"
+#include "remoting/codec/video_encoder_verbatim.h"
+#include "remoting/proto/video.pb.h"
+#import "remoting/client/ios/client_gestures.h"
+
+@interface ExampleViewController : GLKViewController {
+ @private
+
+ // The GLES3 context being drawn to.
+ EAGLContext* _context;
+ remoting::ios::AppRuntime* _runtime;
+ GlDisplayHandler* _display_handler;
+ remoting::SoftwareVideoRenderer* _video_renderer;
+
+ remoting::VideoEncoderVerbatim _encoder;
+ ClientGestures* _gestures;
+}
+
+@end
+
+#endif // REMOTING_CLIENT_IOS_APP_EXAMPLE_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698