OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/renderer/gpu/render_widget_compositor.h" | 5 #include "content/renderer/gpu/render_widget_compositor.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #if defined(OS_ANDROID) | |
11 #include "base/android/sys_utils.h" | |
danakj
2013/08/29 20:10:28
Not needed?
kaanb
2013/08/30 01:11:35
Done.
| |
12 #endif | |
13 | |
10 #include "base/command_line.h" | 14 #include "base/command_line.h" |
11 #include "base/logging.h" | 15 #include "base/logging.h" |
12 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
13 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
14 #include "base/time/time.h" | 18 #include "base/time/time.h" |
15 #include "cc/base/switches.h" | 19 #include "cc/base/switches.h" |
16 #include "cc/debug/layer_tree_debug_state.h" | 20 #include "cc/debug/layer_tree_debug_state.h" |
17 #include "cc/layers/layer.h" | 21 #include "cc/layers/layer.h" |
18 #include "cc/trees/layer_tree_host.h" | 22 #include "cc/trees/layer_tree_host.h" |
19 #include "content/common/gpu/client/context_provider_command_buffer.h" | 23 #include "content/common/gpu/client/context_provider_command_buffer.h" |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
585 return RenderThreadImpl::current()->OffscreenContextProviderForMainThread(); | 589 return RenderThreadImpl::current()->OffscreenContextProviderForMainThread(); |
586 } | 590 } |
587 | 591 |
588 scoped_refptr<cc::ContextProvider> | 592 scoped_refptr<cc::ContextProvider> |
589 RenderWidgetCompositor::OffscreenContextProviderForCompositorThread() { | 593 RenderWidgetCompositor::OffscreenContextProviderForCompositorThread() { |
590 return RenderThreadImpl::current()-> | 594 return RenderThreadImpl::current()-> |
591 OffscreenContextProviderForCompositorThread(); | 595 OffscreenContextProviderForCompositorThread(); |
592 } | 596 } |
593 | 597 |
594 } // namespace content | 598 } // namespace content |
OLD | NEW |