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

Side by Side Diff: content/common/gpu/stream_texture_android.cc

Issue 536353002: gpu: Add CopyTexImage function to GLImage API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: keep support for binding images to multiple textures Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/stream_texture_android.h" 5 #include "content/common/gpu/stream_texture_android.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/common/android/surface_texture_peer.h" 8 #include "content/common/android/surface_texture_peer.h"
9 #include "content/common/gpu/gpu_channel.h" 9 #include "content/common/gpu/gpu_channel.h"
10 #include "content/common/gpu/gpu_messages.h" 10 #include "content/common/gpu/gpu_messages.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 195
196 bool StreamTexture::BindTexImage(unsigned target) { 196 bool StreamTexture::BindTexImage(unsigned target) {
197 NOTREACHED(); 197 NOTREACHED();
198 return false; 198 return false;
199 } 199 }
200 200
201 void StreamTexture::ReleaseTexImage(unsigned target) { 201 void StreamTexture::ReleaseTexImage(unsigned target) {
202 NOTREACHED(); 202 NOTREACHED();
203 } 203 }
204 204
205 bool StreamTexture::CopyTexImage(unsigned target) {
206 NOTREACHED();
no sievers 2014/09/05 21:06:09 Don't we trigger this from WebMediaPlayerAndroid::
reveman 2014/09/06 04:02:57 Ah, maybe. I just assumed it would not based on Bi
207 return false;
208 }
209
205 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, 210 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
206 int z_order, 211 int z_order,
207 gfx::OverlayTransform transform, 212 gfx::OverlayTransform transform,
208 const gfx::Rect& bounds_rect, 213 const gfx::Rect& bounds_rect,
209 const gfx::RectF& crop_rect) { 214 const gfx::RectF& crop_rect) {
210 NOTREACHED(); 215 NOTREACHED();
211 return false; 216 return false;
212 } 217 }
213 218
214 } // namespace content 219 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698