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

Side by Side Diff: content/browser/renderer_host/surface_texture_transport_client_android.cc

Issue 12603013: Part 10 of cc/ directory shuffles: layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
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 "content/browser/renderer_host/surface_texture_transport_client_android .h" 5 #include "content/browser/renderer_host/surface_texture_transport_client_android .h"
6 6
7 #include <android/native_window_jni.h> 7 #include <android/native_window_jni.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "cc/video_layer.h" 10 #include "cc/layers/video_layer.h"
11 #include "content/browser/gpu/gpu_surface_tracker.h" 11 #include "content/browser/gpu/gpu_surface_tracker.h"
12 #include "content/browser/renderer_host/compositor_impl_android.h" 12 #include "content/browser/renderer_host/compositor_impl_android.h"
13 #include "content/browser/renderer_host/image_transport_factory_android.h" 13 #include "content/browser/renderer_host/image_transport_factory_android.h"
14 #include "content/common/android/surface_texture_bridge.h" 14 #include "content/common/android/surface_texture_bridge.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h" 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h"
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebVideoLayer.h" 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebVideoLayer.h"
17 #include "webkit/compositor_bindings/web_compositor_support_impl.h" 17 #include "webkit/compositor_bindings/web_compositor_support_impl.h"
18 #include "webkit/media/webvideoframe_impl.h" 18 #include "webkit/media/webvideoframe_impl.h"
19 19
20 namespace { 20 namespace {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 void SurfaceTextureTransportClient::PutCurrentFrame( 99 void SurfaceTextureTransportClient::PutCurrentFrame(
100 const scoped_refptr<media::VideoFrame>& frame) { 100 const scoped_refptr<media::VideoFrame>& frame) {
101 } 101 }
102 102
103 void SurfaceTextureTransportClient::OnSurfaceTextureFrameAvailable() { 103 void SurfaceTextureTransportClient::OnSurfaceTextureFrameAvailable() {
104 video_layer_->SetNeedsDisplay(); 104 video_layer_->SetNeedsDisplay();
105 } 105 }
106 106
107 } // namespace content 107 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/surface_texture_transport_client_android.h ('k') | content/common/cc_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698