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

Side by Side Diff: ui/gl/gl_surface.cc

Issue 2006923006: Move all CARendererLayerTree parameters to separate struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_surface.h" 5 #include "ui/gl/gl_surface.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 bool GLSurface::ScheduleOverlayPlane(int z_order, 130 bool GLSurface::ScheduleOverlayPlane(int z_order,
131 gfx::OverlayTransform transform, 131 gfx::OverlayTransform transform,
132 GLImage* image, 132 GLImage* image,
133 const gfx::Rect& bounds_rect, 133 const gfx::Rect& bounds_rect,
134 const gfx::RectF& crop_rect) { 134 const gfx::RectF& crop_rect) {
135 NOTIMPLEMENTED(); 135 NOTIMPLEMENTED();
136 return false; 136 return false;
137 } 137 }
138 138
139 bool GLSurface::ScheduleCALayer(GLImage* contents_image, 139 bool GLSurface::ScheduleCALayer(const ui::CARendererLayerParams& params) {
140 const gfx::RectF& contents_rect,
141 float opacity,
142 unsigned background_color,
143 unsigned edge_aa_mask,
144 const gfx::RectF& rect,
145 bool is_clipped,
146 const gfx::RectF& clip_rect,
147 const gfx::Transform& transform,
148 int sorting_content_id,
149 unsigned filter) {
150 NOTIMPLEMENTED(); 140 NOTIMPLEMENTED();
151 return false; 141 return false;
152 } 142 }
153 143
154 bool GLSurface::IsSurfaceless() const { 144 bool GLSurface::IsSurfaceless() const {
155 return false; 145 return false;
156 } 146 }
157 147
158 bool GLSurface::FlipsVertically() const { 148 bool GLSurface::FlipsVertically() const {
159 return false; 149 return false;
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 return surface_->FlipsVertically(); 317 return surface_->FlipsVertically();
328 } 318 }
329 319
330 bool GLSurfaceAdapter::BuffersFlipped() const { 320 bool GLSurfaceAdapter::BuffersFlipped() const {
331 return surface_->BuffersFlipped(); 321 return surface_->BuffersFlipped();
332 } 322 }
333 323
334 GLSurfaceAdapter::~GLSurfaceAdapter() {} 324 GLSurfaceAdapter::~GLSurfaceAdapter() {}
335 325
336 } // namespace gl 326 } // namespace gl
OLDNEW
« gpu/command_buffer/service/gles2_cmd_decoder.cc ('K') | « ui/gl/gl_surface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698