Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ | 5 #ifndef REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ |
| 6 #define REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ | 6 #define REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 #import <GLKit/GLKit.h> | 9 #import <GLKit/GLKit.h> |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 21 class VideoRenderer; | 21 class VideoRenderer; |
| 22 class CursorShapeStub; | 22 class CursorShapeStub; |
| 23 | 23 |
| 24 } // namespace protocol | 24 } // namespace protocol |
| 25 } // namespace remoting | 25 } // namespace remoting |
| 26 | 26 |
| 27 @interface GlDisplayHandler : NSObject { | 27 @interface GlDisplayHandler : NSObject { |
| 28 } | 28 } |
| 29 | 29 |
| 30 - (void)stop; | 30 - (void)stop; |
| 31 - (void)glkView:(GLKView*)view drawInRect:(CGRect)rect; | 31 - (void)onSurfaceCreated:(GLKView*)view; |
|
nicholss
2017/05/01 16:53:18
I know the rest of the file is not doing this yet,
Yuwei
2017/05/01 20:58:08
Done.
| |
| 32 - (void)onSurfaceChanged:(const CGRect&)frame; | |
| 32 - (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer; | 33 - (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer; |
| 33 - (std::unique_ptr<remoting::protocol::CursorShapeStub>)CreateCursorShapeStub; | 34 - (std::unique_ptr<remoting::protocol::CursorShapeStub>)CreateCursorShapeStub; |
| 34 | 35 |
| 35 - (EAGLContext*)GetEAGLContext; | 36 - (EAGLContext*)GetEAGLContext; |
| 36 | 37 |
| 37 @end | 38 @end |
| 38 | 39 |
| 39 #endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ | 40 #endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ |
| OLD | NEW |