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/common/gpu/client/gl_helper.h" | 5 #include "content/common/gpu/client/gl_helper.h" |
6 | 6 |
7 #include <queue> | 7 #include <queue> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/debug/trace_event.h" | 11 #include "base/debug/trace_event.h" |
12 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
16 #include "base/time.h" | 16 #include "base/time/time.h" |
17 #include "cc/resources/sync_point_helper.h" | 17 #include "cc/resources/sync_point_helper.h" |
18 #include "content/common/gpu/client/gl_helper_scaling.h" | 18 #include "content/common/gpu/client/gl_helper_scaling.h" |
19 #include "media/base/video_frame.h" | 19 #include "media/base/video_frame.h" |
20 #include "media/base/video_util.h" | 20 #include "media/base/video_util.h" |
21 #include "third_party/WebKit/public/platform/WebCString.h" | 21 #include "third_party/WebKit/public/platform/WebCString.h" |
22 #include "third_party/skia/include/core/SkRegion.h" | 22 #include "third_party/skia/include/core/SkRegion.h" |
23 #include "ui/gfx/rect.h" | 23 #include "ui/gfx/rect.h" |
24 #include "ui/gfx/size.h" | 24 #include "ui/gfx/size.h" |
25 #include "ui/gl/gl_bindings.h" | 25 #include "ui/gl/gl_bindings.h" |
26 | 26 |
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 quality, | 960 quality, |
961 src_size, | 961 src_size, |
962 src_subrect, | 962 src_subrect, |
963 dst_size, | 963 dst_size, |
964 dst_subrect, | 964 dst_subrect, |
965 flip_vertically, | 965 flip_vertically, |
966 use_mrt); | 966 use_mrt); |
967 } | 967 } |
968 | 968 |
969 } // namespace content | 969 } // namespace content |
OLD | NEW |