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

Side by Side Diff: app/surface/accelerated_surface_mac.h

Issue 2134006: Added EGL based GLContext.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « app/gfx/gl/gl_mock.h ('k') | build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « app/gfx/gl/gl_mock.h ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698