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

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

Issue 817153002: Switch users of foundation_util.h to include it directly and clean up uses of mac_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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/io_surface_layer.mm ('k') | ui/app_list/cocoa/app_list_pager_view.mm » ('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 #include "ui/accelerated_widget_mac/io_surface_texture.h" 5 #include "ui/accelerated_widget_mac/io_surface_texture.h"
6 6
7 #include <OpenGL/CGLIOSurface.h> 7 #include <OpenGL/CGLIOSurface.h>
8 #include <OpenGL/CGLRenderers.h> 8 #include <OpenGL/CGLRenderers.h>
9 #include <OpenGL/gl.h> 9 #include <OpenGL/gl.h>
10 #include <OpenGL/OpenGL.h> 10 #include <OpenGL/OpenGL.h>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/bind_helpers.h" 13 #include "base/bind_helpers.h"
14 #include "base/callback_helpers.h" 14 #include "base/callback_helpers.h"
15 #include "base/debug/trace_event.h" 15 #include "base/debug/trace_event.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/mac/bind_objc_block.h" 17 #include "base/mac/bind_objc_block.h"
18 #include "base/mac/mac_util.h"
19 #include "base/message_loop/message_loop.h" 18 #include "base/message_loop/message_loop.h"
20 #include "base/threading/platform_thread.h" 19 #include "base/threading/platform_thread.h"
21 #include "third_party/skia/include/core/SkBitmap.h" 20 #include "third_party/skia/include/core/SkBitmap.h"
22 #include "ui/accelerated_widget_mac/io_surface_context.h" 21 #include "ui/accelerated_widget_mac/io_surface_context.h"
23 #include "ui/gfx/geometry/rect.h" 22 #include "ui/gfx/geometry/rect.h"
24 #include "ui/gfx/geometry/size_conversions.h" 23 #include "ui/gfx/geometry/size_conversions.h"
25 #include "ui/gl/gl_context.h" 24 #include "ui/gl/gl_context.h"
26 25
27 namespace ui { 26 namespace ui {
28 27
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 } 280 }
282 281
283 // static 282 // static
284 base::LazyInstance<IOSurfaceTexture::EvictionQueue> 283 base::LazyInstance<IOSurfaceTexture::EvictionQueue>
285 IOSurfaceTexture::eviction_queue_; 284 IOSurfaceTexture::eviction_queue_;
286 285
287 // static 286 // static
288 bool IOSurfaceTexture::eviction_scheduled_ = false; 287 bool IOSurfaceTexture::eviction_scheduled_ = false;
289 288
290 } // namespace ui 289 } // namespace ui
OLDNEW
« no previous file with comments | « ui/accelerated_widget_mac/io_surface_layer.mm ('k') | ui/app_list/cocoa/app_list_pager_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698