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

Side by Side Diff: ui/accelerated_widget_mac/io_surface_texture.h

Issue 1227363005: mac: Include <IOSurface/IOSurface.h> instead of <IOSurface/IOSurfaceAPI.h> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « ui/accelerated_widget_mac/accelerated_widget_mac.h ('k') | ui/gl/gl_image_io_surface.h » ('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) 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_ACCELERATED_WIDGET_MAC_IO_SURFACE_TEXTURE_H_ 5 #ifndef UI_ACCELERATED_WIDGET_MAC_IO_SURFACE_TEXTURE_H_
6 #define UI_ACCELERATED_WIDGET_MAC_IO_SURFACE_TEXTURE_H_ 6 #define UI_ACCELERATED_WIDGET_MAC_IO_SURFACE_TEXTURE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <vector> 10 #include <vector>
11 11
12 #import <Cocoa/Cocoa.h> 12 #import <Cocoa/Cocoa.h>
13 #include <IOSurface/IOSurfaceAPI.h> 13 #include <IOSurface/IOSurface.h>
14 #include <QuartzCore/QuartzCore.h> 14 #include <QuartzCore/QuartzCore.h>
15 15
16 #include "base/callback.h" 16 #include "base/callback.h"
17 #include "base/lazy_instance.h" 17 #include "base/lazy_instance.h"
18 #include "base/mac/scoped_cftyperef.h" 18 #include "base/mac/scoped_cftyperef.h"
19 #include "base/memory/ref_counted.h" 19 #include "base/memory/ref_counted.h"
20 #include "base/memory/scoped_ptr.h" 20 #include "base/memory/scoped_ptr.h"
21 #include "base/time/time.h" 21 #include "base/time/time.h"
22 #include "ui/gfx/geometry/size.h" 22 #include "ui/gfx/geometry/size.h"
23 #include "ui/gfx/native_widget_types.h" 23 #include "ui/gfx/native_widget_types.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 static void EvictionScheduleDoEvict(); 124 static void EvictionScheduleDoEvict();
125 static void EvictionDoEvict(); 125 static void EvictionDoEvict();
126 static base::LazyInstance<EvictionQueue> eviction_queue_; 126 static base::LazyInstance<EvictionQueue> eviction_queue_;
127 static bool eviction_scheduled_; 127 static bool eviction_scheduled_;
128 }; 128 };
129 129
130 } // namespace ui 130 } // namespace ui
131 131
132 #endif // UI_ACCELERATED_WIDGET_MAC_IO_SURFACE_TEXTURE_H_ 132 #endif // UI_ACCELERATED_WIDGET_MAC_IO_SURFACE_TEXTURE_H_
OLDNEW
« no previous file with comments | « ui/accelerated_widget_mac/accelerated_widget_mac.h ('k') | ui/gl/gl_image_io_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698