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

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, 5 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 bool GLSurface::ScheduleOverlayPlane(int z_order, 131 bool GLSurface::ScheduleOverlayPlane(int z_order,
132 gfx::OverlayTransform transform, 132 gfx::OverlayTransform transform,
133 GLImage* image, 133 GLImage* image,
134 const gfx::Rect& bounds_rect, 134 const gfx::Rect& bounds_rect,
135 const gfx::RectF& crop_rect) { 135 const gfx::RectF& crop_rect) {
136 NOTIMPLEMENTED(); 136 NOTIMPLEMENTED();
137 return false; 137 return false;
138 } 138 }
139 139
140 bool GLSurface::ScheduleCALayer(GLImage* contents_image, 140 bool GLSurface::ScheduleCALayer(const ui::CARendererLayerParams& params) {
141 const gfx::RectF& contents_rect,
142 float opacity,
143 unsigned background_color,
144 unsigned edge_aa_mask,
145 const gfx::RectF& rect,
146 bool is_clipped,
147 const gfx::RectF& clip_rect,
148 const gfx::Transform& transform,
149 int sorting_content_id,
150 unsigned filter) {
151 NOTIMPLEMENTED(); 141 NOTIMPLEMENTED();
152 return false; 142 return false;
153 } 143 }
154 144
155 void GLSurface::ScheduleCALayerInUseQuery( 145 void GLSurface::ScheduleCALayerInUseQuery(
156 std::vector<CALayerInUseQuery> queries) { 146 std::vector<CALayerInUseQuery> queries) {
157 NOTIMPLEMENTED(); 147 NOTIMPLEMENTED();
158 } 148 }
159 149
160 bool GLSurface::IsSurfaceless() const { 150 bool GLSurface::IsSurfaceless() const {
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 return nullptr; 334 return nullptr;
345 return surface; 335 return surface;
346 } 336 }
347 337
348 GLSurface::CALayerInUseQuery::CALayerInUseQuery() = default; 338 GLSurface::CALayerInUseQuery::CALayerInUseQuery() = default;
349 GLSurface::CALayerInUseQuery::CALayerInUseQuery(const CALayerInUseQuery&) = 339 GLSurface::CALayerInUseQuery::CALayerInUseQuery(const CALayerInUseQuery&) =
350 default; 340 default;
351 GLSurface::CALayerInUseQuery::~CALayerInUseQuery() = default; 341 GLSurface::CALayerInUseQuery::~CALayerInUseQuery() = default;
352 342
353 } // namespace gl 343 } // 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