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

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

Issue 885443005: Update tracing includes in .mm files and generator for /ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 #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"
16 #include "base/logging.h" 15 #include "base/logging.h"
17 #include "base/mac/bind_objc_block.h" 16 #include "base/mac/bind_objc_block.h"
18 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
19 #include "base/threading/platform_thread.h" 18 #include "base/threading/platform_thread.h"
19 #include "base/trace_event/trace_event.h"
20 #include "third_party/skia/include/core/SkBitmap.h" 20 #include "third_party/skia/include/core/SkBitmap.h"
21 #include "ui/accelerated_widget_mac/io_surface_context.h" 21 #include "ui/accelerated_widget_mac/io_surface_context.h"
22 #include "ui/gfx/geometry/rect.h" 22 #include "ui/gfx/geometry/rect.h"
23 #include "ui/gfx/geometry/size_conversions.h" 23 #include "ui/gfx/geometry/size_conversions.h"
24 #include "ui/gl/gl_context.h" 24 #include "ui/gl/gl_context.h"
25 25
26 namespace ui { 26 namespace ui {
27 27
28 // static 28 // static
29 scoped_refptr<IOSurfaceTexture> IOSurfaceTexture::Create( 29 scoped_refptr<IOSurfaceTexture> IOSurfaceTexture::Create(
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 } 280 }
281 281
282 // static 282 // static
283 base::LazyInstance<IOSurfaceTexture::EvictionQueue> 283 base::LazyInstance<IOSurfaceTexture::EvictionQueue>
284 IOSurfaceTexture::eviction_queue_; 284 IOSurfaceTexture::eviction_queue_;
285 285
286 // static 286 // static
287 bool IOSurfaceTexture::eviction_scheduled_ = false; 287 bool IOSurfaceTexture::eviction_scheduled_ = false;
288 288
289 } // namespace ui 289 } // namespace ui
OLDNEW
« no previous file with comments | « ui/accelerated_widget_mac/io_surface_layer.mm ('k') | ui/accelerated_widget_mac/software_layer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698