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

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

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_SURFACE_ACCELERATED_SURFACE_MAC_H_ 5 #ifndef UI_SURFACE_ACCELERATED_SURFACE_MAC_H_
6 #define UI_SURFACE_ACCELERATED_SURFACE_MAC_H_ 6 #define UI_SURFACE_ACCELERATED_SURFACE_MAC_H_
7 7
8 #include <CoreFoundation/CoreFoundation.h> 8 #include <CoreFoundation/CoreFoundation.h>
9 #include <IOSurface/IOSurfaceAPI.h> 9 #include <IOSurface/IOSurfaceAPI.h>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/mac/scoped_cftyperef.h" 12 #include "base/mac/scoped_cftyperef.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "ui/gfx/geometry/rect.h" 14 #include "ui/gfx/geometry/rect.h"
15 #include "ui/gfx/size.h" 15 #include "ui/gfx/geometry/size.h"
16 #include "ui/gl/gl_context.h" 16 #include "ui/gl/gl_context.h"
17 #include "ui/gl/gl_surface.h" 17 #include "ui/gl/gl_surface.h"
18 #include "ui/gl/gpu_preference.h" 18 #include "ui/gl/gpu_preference.h"
19 #include "ui/surface/surface_export.h" 19 #include "ui/surface/surface_export.h"
20 20
21 // Should not include GL headers in a header file. Forward declare these types 21 // Should not include GL headers in a header file. Forward declare these types
22 // instead. 22 // instead.
23 typedef struct _CGLContextObject* CGLContextObj; 23 typedef struct _CGLContextObject* CGLContextObj;
24 typedef unsigned int GLenum; 24 typedef unsigned int GLenum;
25 typedef unsigned int GLuint; 25 typedef unsigned int GLuint;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 bool allocate_fbo_; 137 bool allocate_fbo_;
138 // This texture object is always allocated, regardless of whether 138 // This texture object is always allocated, regardless of whether
139 // the user requests an FBO be allocated. 139 // the user requests an FBO be allocated.
140 GLuint texture_; 140 GLuint texture_;
141 // The FBO and renderbuffer are only allocated if allocate_fbo_ is 141 // The FBO and renderbuffer are only allocated if allocate_fbo_ is
142 // true. 142 // true.
143 GLuint fbo_; 143 GLuint fbo_;
144 }; 144 };
145 145
146 #endif // UI_SURFACE_ACCELERATED_SURFACE_MAC_H_ 146 #endif // UI_SURFACE_ACCELERATED_SURFACE_MAC_H_
OLDNEW
« no previous file with comments | « ui/snapshot/snapshot_aura_unittest.cc ('k') | ui/views/controls/button/label_button_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698