OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2009, Google Inc. | 2 * Copyright 2009, Google Inc. |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 30 matching lines...) Expand all Loading... |
41 CGLContextObj glContext_; | 41 CGLContextObj glContext_; |
42 PluginObject *obj_; | 42 PluginObject *obj_; |
43 BOOL created_context_; | 43 BOOL created_context_; |
44 BOOL was_resized_; | 44 BOOL was_resized_; |
45 int width_; | 45 int width_; |
46 int height_; | 46 int height_; |
47 } | 47 } |
48 | 48 |
49 - (CGLContextObj)glContext; | 49 - (CGLContextObj)glContext; |
50 | 50 |
51 - (void)drawInCGLContext:(CGLContextObj)ctx | 51 - (void)drawInCGLContext:(CGLContextObj)ctx |
52 pixelFormat:(CGLPixelFormatObj)pf | 52 pixelFormat:(CGLPixelFormatObj)pf |
53 forLayerTime:(CFTimeInterval)t | 53 forLayerTime:(CFTimeInterval)t |
54 displayTime:(const CVTimeStamp *)ts; | 54 displayTime:(const CVTimeStamp *)ts; |
55 | 55 |
56 - (void)setPluginObject:(PluginObject *)obj; | 56 - (void)setPluginObject:(PluginObject *)obj; |
57 | 57 |
58 - (void)setWidth:(int)width | 58 - (void)setWidth:(int)width |
59 height:(int)height; | 59 height:(int)height; |
60 | 60 |
61 @end | 61 @end |
62 | 62 |
OLD | NEW |