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

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

Issue 15822010: Update refernces to Blink's Platform API (content) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/layers/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/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h" 15 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
16 #include "third_party/khronos/GLES2/gl2.h" 16 #include "third_party/khronos/GLES2/gl2.h"
17 #include "third_party/khronos/GLES2/gl2ext.h" 17 #include "third_party/khronos/GLES2/gl2ext.h"
18 #include "ui/gl/android/surface_texture_bridge.h" 18 #include "ui/gl/android/surface_texture_bridge.h"
19 19
20 namespace content { 20 namespace content {
21 21
22 namespace { 22 namespace {
23 23
24 static const uint32 kGLTextureExternalOES = 0x8D65; 24 static const uint32 kGLTextureExternalOES = 0x8D65;
25 25
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void SurfaceTextureTransportClient::PutCurrentFrame( 124 void SurfaceTextureTransportClient::PutCurrentFrame(
125 const scoped_refptr<media::VideoFrame>& frame) { 125 const scoped_refptr<media::VideoFrame>& frame) {
126 } 126 }
127 127
128 void SurfaceTextureTransportClient::OnSurfaceTextureFrameAvailable() { 128 void SurfaceTextureTransportClient::OnSurfaceTextureFrameAvailable() {
129 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 129 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
130 video_layer_->SetNeedsDisplay(); 130 video_layer_->SetNeedsDisplay();
131 } 131 }
132 132
133 } // namespace content 133 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.h ('k') | content/common/cc_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698