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

Unified Diff: gpu/command_buffer/service/texture_definition.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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/texture_definition.cc
diff --git a/gpu/command_buffer/service/texture_definition.cc b/gpu/command_buffer/service/texture_definition.cc
index ed3e8b62023ee636c6febfd12a9a90e3ac4e4460..9da1dd9beb76832403b6477a3421ae06dfba0976 100644
--- a/gpu/command_buffer/service/texture_definition.cc
+++ b/gpu/command_buffer/service/texture_definition.cc
@@ -43,8 +43,10 @@ class GLImageSync : public gl::GLImage {
bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
int z_order,
gfx::OverlayTransform transform,
+ gfx::BufferFormat storage_format,
const gfx::Rect& bounds_rect,
- const gfx::RectF& crop_rect) override;
+ const gfx::RectF& crop_rect,
+ bool handle_scaling) override;
void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd,
uint64_t process_tracing_id,
const std::string& dump_name) override;
@@ -104,8 +106,10 @@ bool GLImageSync::CopyTexSubImage(unsigned target,
bool GLImageSync::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
int z_order,
gfx::OverlayTransform transform,
+ gfx::BufferFormat storage_format,
const gfx::Rect& bounds_rect,
- const gfx::RectF& crop_rect) {
+ const gfx::RectF& crop_rect,
+ bool handle_scaling) {
NOTREACHED();
return false;
}
« no previous file with comments | « gpu/command_buffer/service/stream_texture_manager_in_process_android.cc ('k') | mojo/gpu/mojo_gles2_impl_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698