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

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

Issue 977853002: Reland of Revert of gpu: introduce glCopySubTextureCHROMIUM (patchset #1 id:1 of https://codereview… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply image optimization to CopySubTexture. move glValidateProgram Created 5 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
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) { 205 bool StreamTexture::CopyTexSubImage(unsigned target, int xoffset, int yoffset) {
206 return false; 206 return false;
207 } 207 }
208 208
209 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, 209 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
210 int z_order, 210 int z_order,
211 gfx::OverlayTransform transform, 211 gfx::OverlayTransform transform,
212 const gfx::Rect& bounds_rect, 212 const gfx::Rect& bounds_rect,
213 const gfx::RectF& crop_rect) { 213 const gfx::RectF& crop_rect) {
214 NOTREACHED(); 214 NOTREACHED();
215 return false; 215 return false;
216 } 216 }
217 217
218 } // namespace content 218 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698