OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 APP_SURFACE_ACCELERATED_SURFACE_MAC_H_ | 5 #ifndef APP_SURFACE_ACCELERATED_SURFACE_MAC_H_ |
6 #define APP_SURFACE_ACCELERATED_SURFACE_MAC_H_ | 6 #define APP_SURFACE_ACCELERATED_SURFACE_MAC_H_ |
7 | 7 |
8 #include <CoreFoundation/CoreFoundation.h> | 8 #include <CoreFoundation/CoreFoundation.h> |
9 #include <OpenGL/OpenGL.h> | |
10 | 9 |
| 10 #include "app/gfx/gl/gl_bindings.h" |
11 #include "app/surface/transport_dib.h" | 11 #include "app/surface/transport_dib.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/scoped_cftyperef.h" | 13 #include "base/scoped_cftyperef.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "gfx/rect.h" | 15 #include "gfx/rect.h" |
16 #include "gfx/size.h" | 16 #include "gfx/size.h" |
17 | 17 |
18 namespace gfx { | 18 namespace gfx { |
19 class Rect; | 19 class Rect; |
20 } | 20 } |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // true. | 140 // true. |
141 GLuint fbo_; | 141 GLuint fbo_; |
142 GLuint depth_stencil_renderbuffer_; | 142 GLuint depth_stencil_renderbuffer_; |
143 // Allocate a TransportDIB in the renderer. | 143 // Allocate a TransportDIB in the renderer. |
144 scoped_ptr<Callback2<size_t, TransportDIB::Handle*>::Type> | 144 scoped_ptr<Callback2<size_t, TransportDIB::Handle*>::Type> |
145 dib_alloc_callback_; | 145 dib_alloc_callback_; |
146 scoped_ptr<Callback1<TransportDIB::Id>::Type> dib_free_callback_; | 146 scoped_ptr<Callback1<TransportDIB::Id>::Type> dib_free_callback_; |
147 }; | 147 }; |
148 | 148 |
149 #endif // APP_SURFACE_ACCELERATED_SURFACE_MAC_H_ | 149 #endif // APP_SURFACE_ACCELERATED_SURFACE_MAC_H_ |
OLD | NEW |