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

Unified Diff: remoting/client/ios/chromiumoting/example_view_controller.h

Issue 2555803002: Adding the iOS app and integration example with GlRenderer. (Closed)
Patch Set: Adjusting how gl_renderer draws layers and added a demo app for CRD iOS. Created 4 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: remoting/client/ios/chromiumoting/example_view_controller.h
diff --git a/remoting/client/ios/chromiumoting/example_view_controller.h b/remoting/client/ios/chromiumoting/example_view_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..88a4364867c481f5a3a83f1bb100d2456fe2e2fd
--- /dev/null
+++ b/remoting/client/ios/chromiumoting/example_view_controller.h
@@ -0,0 +1,32 @@
+// Copyright 2016 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_CHROMIUMOTING_EXAMPLE_VIEW_CONTROLLER_H_
+#define REMOTING_CLIENT_IOS_CHROMIUMOTING_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 GLES2 context being drawn too.
+ EAGLContext* _context;
+ remoting::ios::AppRuntime* _runtime;
+ GlDisplayHandler* displayHandler;
+ remoting::SoftwareVideoRenderer* video_renderer_;
+
+ remoting::VideoEncoderVerbatim encoder_;
+ ClientGestures* _gestures;
+}
+
+@end
+
+#endif // REMOTING_CLIENT_IOS_CHROMIUMOTING_EXAMPLE_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698