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

Side by Side Diff: remoting/client/ios/display/gl_display_handler.h

Issue 2848143002: [Remoting iOS] Fix screen tearing and screen dimensions (Closed)
Patch Set: Add comments about not inheriting GLKViewController Created 3 years, 7 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 unified diff | Download patch
OLDNEW
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
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
32 // Called once the GLKView created.
33 - (void)onSurfaceCreated:(GLKView*)view;
34
35 // Called every time the GLKView dimension is initialized or changed.
36 - (void)onSurfaceChanged:(const CGRect&)frame;
37
32 - (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer; 38 - (std::unique_ptr<remoting::protocol::VideoRenderer>)CreateVideoRenderer;
33 - (std::unique_ptr<remoting::protocol::CursorShapeStub>)CreateCursorShapeStub; 39 - (std::unique_ptr<remoting::protocol::CursorShapeStub>)CreateCursorShapeStub;
34 40
35 - (EAGLContext*)GetEAGLContext; 41 - (EAGLContext*)GetEAGLContext;
36 42
37 @end 43 @end
38 44
39 #endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_ 45 #endif // REMOTING_CLIENT_IOS_DISPLAY_GL_DISPLAY_HANDLER_H_
OLDNEW
« no previous file with comments | « remoting/client/ios/app/host_view_controller.mm ('k') | remoting/client/ios/display/gl_display_handler.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698