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

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

Issue 1152693002: ui: Add sub region copy support to GLImage::CopyTexImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 bool StreamTexture::BindTexImage(unsigned target) { 200 bool StreamTexture::BindTexImage(unsigned target) {
201 NOTREACHED(); 201 NOTREACHED();
202 return false; 202 return false;
203 } 203 }
204 204
205 void StreamTexture::ReleaseTexImage(unsigned target) { 205 void StreamTexture::ReleaseTexImage(unsigned target) {
206 NOTREACHED(); 206 NOTREACHED();
207 } 207 }
208 208
209 bool StreamTexture::CopyTexImage(unsigned target) { 209 bool StreamTexture::CopyTexSubImage(unsigned target,
210 const gfx::Point& offset,
211 const gfx::Rect& rect) {
210 return false; 212 return false;
211 } 213 }
212 214
213 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, 215 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
214 int z_order, 216 int z_order,
215 gfx::OverlayTransform transform, 217 gfx::OverlayTransform transform,
216 const gfx::Rect& bounds_rect, 218 const gfx::Rect& bounds_rect,
217 const gfx::RectF& crop_rect) { 219 const gfx::RectF& crop_rect) {
218 NOTREACHED(); 220 NOTREACHED();
219 return false; 221 return false;
220 } 222 }
221 223
222 } // namespace content 224 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/stream_texture_android.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698