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

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

Issue 1513283002: Add support to send optimal format as part of ScheduleOverlayPlane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update cmd_buffer_functions Created 5 years 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
« no previous file with comments | « content/common/gpu/stream_texture_android.h ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 bool StreamTexture::CopyTexSubImage(unsigned target, 230 bool StreamTexture::CopyTexSubImage(unsigned target,
231 const gfx::Point& offset, 231 const gfx::Point& offset,
232 const gfx::Rect& rect) { 232 const gfx::Rect& rect) {
233 return false; 233 return false;
234 } 234 }
235 235
236 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, 236 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
237 int z_order, 237 int z_order,
238 gfx::OverlayTransform transform, 238 gfx::OverlayTransform transform,
239 gfx::BufferFormat storage_format,
239 const gfx::Rect& bounds_rect, 240 const gfx::Rect& bounds_rect,
240 const gfx::RectF& crop_rect) { 241 const gfx::RectF& crop_rect,
242 bool handle_scaling) {
241 NOTREACHED(); 243 NOTREACHED();
242 return false; 244 return false;
243 } 245 }
244 246
245 void StreamTexture::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, 247 void StreamTexture::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd,
246 uint64_t process_tracing_id, 248 uint64_t process_tracing_id,
247 const std::string& dump_name) { 249 const std::string& dump_name) {
248 // TODO(ericrk): Add OnMemoryDump for GLImages. crbug.com/514914 250 // TODO(ericrk): Add OnMemoryDump for GLImages. crbug.com/514914
249 } 251 }
250 252
251 } // namespace content 253 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/stream_texture_android.h ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698