| 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_IO_SURFACE_SUPPORT_MAC_H_ | 5 #ifndef UI_GFX_SURFACE_IO_SURFACE_SUPPORT_MAC_H_ |
| 6 #define APP_SURFACE_IO_SURFACE_SUPPORT_MAC_H_ | 6 #define UI_GFX_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 | 14 |
| 15 // This Mac OS X-specific class provides dynamically-linked access to | 15 // This Mac OS X-specific class provides dynamically-linked access to |
| 16 // IOSurface.framework, which is only available on 10.6 and later. | 16 // IOSurface.framework, which is only available on 10.6 and later. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 CFTypeRef io_surface, | 59 CFTypeRef io_surface, |
| 60 GLuint plane) = 0; | 60 GLuint plane) = 0; |
| 61 | 61 |
| 62 protected: | 62 protected: |
| 63 IOSurfaceSupport(); | 63 IOSurfaceSupport(); |
| 64 virtual ~IOSurfaceSupport(); | 64 virtual ~IOSurfaceSupport(); |
| 65 | 65 |
| 66 DISALLOW_COPY_AND_ASSIGN(IOSurfaceSupport); | 66 DISALLOW_COPY_AND_ASSIGN(IOSurfaceSupport); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 #endif // APP_SURFACE_IO_SURFACE_SUPPORT_MAC_H_ | 69 #endif // UI_GFX_SURFACE_IO_SURFACE_SUPPORT_MAC_H_ |
| 70 | 70 |
| OLD | NEW |