OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/gfx/compositor/compositor_cc.h" | 5 #include "ui/gfx/compositor/compositor_cc.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "third_party/skia/include/images/SkImageEncoder.h" | 8 #include "third_party/skia/include/images/SkImageEncoder.h" |
9 #include "third_party/skia/include/core/SkBitmap.h" | 9 #include "third_party/skia/include/core/SkBitmap.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositor.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositor.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFloatPoint.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFloatPoin
t.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h" |
14 #include "ui/gfx/compositor/compositor_switches.h" | 14 #include "ui/gfx/compositor/compositor_switches.h" |
15 #include "ui/gfx/compositor/test_web_graphics_context_3d.h" | 15 #include "ui/gfx/compositor/test_web_graphics_context_3d.h" |
16 #include "ui/gfx/compositor/layer.h" | 16 #include "ui/gfx/compositor/layer.h" |
17 #include "ui/gfx/gl/gl_context.h" | 17 #include "ui/gfx/gl/gl_context.h" |
18 #include "ui/gfx/gl/gl_surface.h" | 18 #include "ui/gfx/gl/gl_surface.h" |
19 #include "ui/gfx/gl/gl_implementation.h" | 19 #include "ui/gfx/gl/gl_implementation.h" |
20 #include "ui/gfx/gl/scoped_make_current.h" | 20 #include "ui/gfx/gl/scoped_make_current.h" |
21 #include "webkit/glue/webthread_impl.h" | 21 #include "webkit/glue/webthread_impl.h" |
22 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" | 22 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" |
23 | 23 |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 ScheduleDraw(); | 275 ScheduleDraw(); |
276 } | 276 } |
277 | 277 |
278 Compositor* Compositor::Create(CompositorDelegate* owner, | 278 Compositor* Compositor::Create(CompositorDelegate* owner, |
279 gfx::AcceleratedWidget widget, | 279 gfx::AcceleratedWidget widget, |
280 const gfx::Size& size) { | 280 const gfx::Size& size) { |
281 return new CompositorCC(owner, widget, size); | 281 return new CompositorCC(owner, widget, size); |
282 } | 282 } |
283 | 283 |
284 } // namespace ui | 284 } // namespace ui |
OLD | NEW |