OLD | NEW |
| (Empty) |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_CLIENT_IOS_APP_HOST_VIEW_CONTROLLER_H_ | |
6 #define REMOTING_CLIENT_IOS_APP_HOST_VIEW_CONTROLLER_H_ | |
7 | |
8 #import <UIKit/UIKit.h> | |
9 | |
10 #include "remoting/client/ios/display/gl_display_handler.h" | |
11 | |
12 @class RemotingClient; | |
13 | |
14 // We don't inherit it from GLKViewController since it uses its rendering loop, | |
15 // which will swap buffers when the GLRenderer is writing and causes screen | |
16 // tearing issues. Instead we use GlDisplayHandler to handle the rendering loop. | |
17 @interface HostViewController : UIViewController | |
18 | |
19 - (id)initWithClient:(RemotingClient*)client; | |
20 | |
21 @end | |
22 | |
23 #endif // REMOTING_CLIENT_IOS_APP_REMOTING_HOST_VIEW_CONTROLLER_H_ | |
OLD | NEW |