OLD | NEW |
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 "content/browser/renderer_host/compositing_iosurface_mac.h" | 5 #include "content/browser/renderer_host/compositing_iosurface_mac.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/OpenGL.h> | 9 #include <OpenGL/OpenGL.h> |
| 10 #include <OpenGL/gl.h> |
10 | 11 |
11 #include "base/bind.h" | 12 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
13 #include "base/debug/trace_event.h" | 14 #include "base/debug/trace_event.h" |
14 #include "base/logging.h" | 15 #include "base/logging.h" |
15 #include "base/mac/mac_util.h" | 16 #include "base/mac/mac_util.h" |
16 #include "base/message_loop/message_loop.h" | 17 #include "base/message_loop/message_loop.h" |
17 #include "base/threading/platform_thread.h" | 18 #include "base/threading/platform_thread.h" |
18 #include "content/browser/gpu/gpu_data_manager_impl.h" | 19 #include "content/browser/gpu/gpu_data_manager_impl.h" |
19 #include "content/browser/renderer_host/compositing_iosurface_context_mac.h" | 20 #include "content/browser/renderer_host/compositing_iosurface_context_mac.h" |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 } | 368 } |
368 | 369 |
369 // static | 370 // static |
370 base::LazyInstance<CompositingIOSurfaceMac::EvictionQueue> | 371 base::LazyInstance<CompositingIOSurfaceMac::EvictionQueue> |
371 CompositingIOSurfaceMac::eviction_queue_; | 372 CompositingIOSurfaceMac::eviction_queue_; |
372 | 373 |
373 // static | 374 // static |
374 bool CompositingIOSurfaceMac::eviction_scheduled_ = false; | 375 bool CompositingIOSurfaceMac::eviction_scheduled_ = false; |
375 | 376 |
376 } // namespace content | 377 } // namespace content |
OLD | NEW |