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

Side by Side Diff: media/renderers/skcanvas_video_renderer.cc

Issue 2694113002: Delete media/base/yuv_convert and dependents. Prefer libyuv. (Closed)
Patch Set: Fix media_unittests. Created 3 years, 10 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
« no previous file with comments | « media/base/yuv_convert_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "media/renderers/skcanvas_video_renderer.h" 5 #include "media/renderers/skcanvas_video_renderer.h"
6 6
7 #include <GLES3/gl3.h> 7 #include <GLES3/gl3.h>
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "cc/paint/paint_canvas.h" 11 #include "cc/paint/paint_canvas.h"
12 #include "cc/paint/paint_flags.h" 12 #include "cc/paint/paint_flags.h"
13 #include "gpu/GLES2/gl2extchromium.h" 13 #include "gpu/GLES2/gl2extchromium.h"
14 #include "gpu/command_buffer/client/gles2_interface.h" 14 #include "gpu/command_buffer/client/gles2_interface.h"
15 #include "gpu/command_buffer/common/mailbox_holder.h" 15 #include "gpu/command_buffer/common/mailbox_holder.h"
16 #include "media/base/data_buffer.h" 16 #include "media/base/data_buffer.h"
17 #include "media/base/video_frame.h" 17 #include "media/base/video_frame.h"
18 #include "media/base/yuv_convert.h"
19 #include "skia/ext/texture_handle.h" 18 #include "skia/ext/texture_handle.h"
20 #include "third_party/libyuv/include/libyuv.h" 19 #include "third_party/libyuv/include/libyuv.h"
21 #include "third_party/skia/include/core/SkImage.h" 20 #include "third_party/skia/include/core/SkImage.h"
22 #include "third_party/skia/include/core/SkImageGenerator.h" 21 #include "third_party/skia/include/core/SkImageGenerator.h"
23 #include "third_party/skia/include/gpu/GrContext.h" 22 #include "third_party/skia/include/gpu/GrContext.h"
24 #include "third_party/skia/include/gpu/GrPaint.h" 23 #include "third_party/skia/include/gpu/GrPaint.h"
25 #include "third_party/skia/include/gpu/GrTexture.h" 24 #include "third_party/skia/include/gpu/GrTexture.h"
26 #include "third_party/skia/include/gpu/GrTextureProvider.h" 25 #include "third_party/skia/include/gpu/GrTextureProvider.h"
27 #include "third_party/skia/include/gpu/SkGr.h" 26 #include "third_party/skia/include/gpu/SkGr.h"
28 #include "third_party/skia/include/gpu/gl/GrGLTypes.h" 27 #include "third_party/skia/include/gpu/gl/GrGLTypes.h"
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
961 last_image_->bounds().contains(visible_rect)) { 960 last_image_->bounds().contains(visible_rect)) {
962 last_image_ = last_image_->makeSubset(visible_rect); 961 last_image_ = last_image_->makeSubset(visible_rect);
963 } 962 }
964 } 963 }
965 964
966 SkISize SkCanvasVideoRenderer::LastImageDimensionsForTesting() { 965 SkISize SkCanvasVideoRenderer::LastImageDimensionsForTesting() {
967 return last_image_dimensions_for_testing_; 966 return last_image_dimensions_for_testing_;
968 } 967 }
969 968
970 } // namespace media 969 } // namespace media
OLDNEW
« no previous file with comments | « media/base/yuv_convert_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698