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

Side by Side Diff: ui/gl/gl_context_cgl.cc

Issue 2365623003: Remove unused thread.h include in trace_event_impl.h and fix IWUU. (Closed)
Patch Set: Whitelist base DEPS for all web/tests Created 4 years, 2 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/gl/gl_context_cgl.h" 5 #include "ui/gl/gl_context_cgl.h"
6 6
7 #include <OpenGL/CGLRenderers.h> 7 #include <OpenGL/CGLRenderers.h>
8 #include <OpenGL/CGLTypes.h> 8 #include <OpenGL/CGLTypes.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/message_loop/message_loop.h"
15 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
16 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
17 #include "base/trace_event/trace_event.h" 18 #include "base/trace_event/trace_event.h"
18 #include "ui/gl/gl_bindings.h" 19 #include "ui/gl/gl_bindings.h"
19 #include "ui/gl/gl_implementation.h" 20 #include "ui/gl/gl_implementation.h"
20 #include "ui/gl/gl_surface.h" 21 #include "ui/gl/gl_surface.h"
21 #include "ui/gl/gpu_switching_manager.h" 22 #include "ui/gl/gpu_switching_manager.h"
22 #include "ui/gl/scoped_cgl.h" 23 #include "ui/gl/scoped_cgl.h"
23 #include "ui/gl/yuv_to_rgb_converter.h" 24 #include "ui/gl/yuv_to_rgb_converter.h"
24 25
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 281
281 GLContextCGL::~GLContextCGL() { 282 GLContextCGL::~GLContextCGL() {
282 Destroy(); 283 Destroy();
283 } 284 }
284 285
285 GpuPreference GLContextCGL::GetGpuPreference() { 286 GpuPreference GLContextCGL::GetGpuPreference() {
286 return gpu_preference_; 287 return gpu_preference_;
287 } 288 }
288 289
289 } // namespace gl 290 } // namespace gl
OLDNEW
« no previous file with comments | « ui/events/ozone/device/udev/device_manager_udev.cc ('k') | ui/ozone/public/ozone_gpu_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698