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

Side by Side Diff: ui/gl/gl_image_egl.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 | « ui/gl/gl_image_egl.h ('k') | ui/gl/gl_image_glx.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 "ui/gl/gl_image_egl.h" 5 #include "ui/gl/gl_image_egl.h"
6 6
7 #include "ui/gl/egl_util.h" 7 #include "ui/gl/egl_util.h"
8 #include "ui/gl/gl_surface_egl.h" 8 #include "ui/gl/gl_surface_egl.h"
9 9
10 namespace gl { 10 namespace gl {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 bool GLImageEGL::CopyTexSubImage(unsigned target, 71 bool GLImageEGL::CopyTexSubImage(unsigned target,
72 const gfx::Point& offset, 72 const gfx::Point& offset,
73 const gfx::Rect& rect) { 73 const gfx::Rect& rect) {
74 return false; 74 return false;
75 } 75 }
76 76
77 bool GLImageEGL::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, 77 bool GLImageEGL::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
78 int z_order, 78 int z_order,
79 gfx::OverlayTransform transform, 79 gfx::OverlayTransform transform,
80 gfx::BufferFormat storage_format,
80 const gfx::Rect& bounds_rect, 81 const gfx::Rect& bounds_rect,
81 const gfx::RectF& crop_rect) { 82 const gfx::RectF& crop_rect,
83 bool handle_scaling) {
82 return false; 84 return false;
83 } 85 }
84 86
85 } // namespace gl 87 } // namespace gl
OLDNEW
« no previous file with comments | « ui/gl/gl_image_egl.h ('k') | ui/gl/gl_image_glx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698