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_DISPLAY_GL_DISPLAY_HANDLER_H_ | |
6 #define REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ | |
7 | |
joedow
2017/01/25 23:16:28
#include <memory> for unique_ptr usage
| |
8 #import "remoting/client/display/sys_opengl.h" | |
9 #include "remoting/client/client_context.h" | |
10 #include "remoting/protocol/frame_consumer.h" | |
11 #include "remoting/protocol/video_renderer.h" | |
12 | |
13 namespace remoting { | |
14 namespace ios { | |
15 | |
16 class AppRuntime; | |
17 | |
18 } // namespace ios | |
19 } // namespace remoting | |
20 | |
21 @interface GlDisplayHandler : NSObject { | |
22 } | |
23 | |
24 - (id)initWithRuntime:(remoting::ios::AppRuntime*)runtime; | |
25 | |
26 - (void)created; | |
27 - (void)glkView:(GLKView*)view drawInRect:(CGRect)rect; | |
28 - (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer; | |
29 | |
30 @end | |
31 | |
32 #endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ | |
OLD | NEW |