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

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

Issue 10351002: ui: Move surface/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gpu DEPS Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/surface/accelerated_surface_win.cc ('k') | ui/surface/io_surface_support_mac.cc » ('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) 2011 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_GFX_SURFACE_IO_SURFACE_SUPPORT_MAC_H_ 5 #ifndef UI_SURFACE_IO_SURFACE_SUPPORT_MAC_H_
6 #define UI_GFX_SURFACE_IO_SURFACE_SUPPORT_MAC_H_ 6 #define UI_SURFACE_IO_SURFACE_SUPPORT_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include <CoreFoundation/CoreFoundation.h> 9 #include <CoreFoundation/CoreFoundation.h>
10 #include <mach/mach.h> 10 #include <mach/mach.h>
11 #include <OpenGL/OpenGL.h> 11 #include <OpenGL/OpenGL.h>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "ui/gfx/surface/surface_export.h" 14 #include "ui/surface/surface_export.h"
15 15
16 // This Mac OS X-specific class provides dynamically-linked access to 16 // This Mac OS X-specific class provides dynamically-linked access to
17 // IOSurface.framework, which is only available on 10.6 and later. 17 // IOSurface.framework, which is only available on 10.6 and later.
18 // Since Chromium is built on 10.5 we must dynamically look up all of 18 // Since Chromium is built on 10.5 we must dynamically look up all of
19 // the entry points we need in this framework. 19 // the entry points we need in this framework.
20 20
21 // See IOSurface/IOSurfaceAPI.h and OpenGL/CGLIOSurface.h on 10.6 for 21 // See IOSurface/IOSurfaceAPI.h and OpenGL/CGLIOSurface.h on 10.6 for
22 // documentation of the fields and methods of this class. 22 // documentation of the fields and methods of this class.
23 23
24 class SURFACE_EXPORT IOSurfaceSupport { 24 class SURFACE_EXPORT IOSurfaceSupport {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 CFTypeRef io_surface, 60 CFTypeRef io_surface,
61 GLuint plane) = 0; 61 GLuint plane) = 0;
62 62
63 protected: 63 protected:
64 IOSurfaceSupport(); 64 IOSurfaceSupport();
65 virtual ~IOSurfaceSupport(); 65 virtual ~IOSurfaceSupport();
66 66
67 DISALLOW_COPY_AND_ASSIGN(IOSurfaceSupport); 67 DISALLOW_COPY_AND_ASSIGN(IOSurfaceSupport);
68 }; 68 };
69 69
70 #endif // UI_GFX_SURFACE_IO_SURFACE_SUPPORT_MAC_H_ 70 #endif // UI_SURFACE_IO_SURFACE_SUPPORT_MAC_H_
71
OLDNEW
« no previous file with comments | « ui/surface/accelerated_surface_win.cc ('k') | ui/surface/io_surface_support_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698