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

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

Issue 1887533002: Add plumbing to command buffer for CALayer min and mag filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix parameter ordering. Created 4 years, 8 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
« no previous file with comments | « ui/gl/gl_surface.h ('k') | no next file » | 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) 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 210
211 bool GLSurface::ScheduleCALayer(gl::GLImage* contents_image, 211 bool GLSurface::ScheduleCALayer(gl::GLImage* contents_image,
212 const RectF& contents_rect, 212 const RectF& contents_rect,
213 float opacity, 213 float opacity,
214 unsigned background_color, 214 unsigned background_color,
215 unsigned edge_aa_mask, 215 unsigned edge_aa_mask,
216 const RectF& rect, 216 const RectF& rect,
217 bool is_clipped, 217 bool is_clipped,
218 const RectF& clip_rect, 218 const RectF& clip_rect,
219 const Transform& transform, 219 const Transform& transform,
220 int sorting_content_id) { 220 int sorting_content_id,
221 unsigned filter) {
221 NOTIMPLEMENTED(); 222 NOTIMPLEMENTED();
222 return false; 223 return false;
223 } 224 }
224 225
225 bool GLSurface::IsSurfaceless() const { 226 bool GLSurface::IsSurfaceless() const {
226 return false; 227 return false;
227 } 228 }
228 229
229 bool GLSurface::FlipsVertically() const { 230 bool GLSurface::FlipsVertically() const {
230 return false; 231 return false;
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 return surface_->FlipsVertically(); 399 return surface_->FlipsVertically();
399 } 400 }
400 401
401 bool GLSurfaceAdapter::BuffersFlipped() const { 402 bool GLSurfaceAdapter::BuffersFlipped() const {
402 return surface_->BuffersFlipped(); 403 return surface_->BuffersFlipped();
403 } 404 }
404 405
405 GLSurfaceAdapter::~GLSurfaceAdapter() {} 406 GLSurfaceAdapter::~GLSurfaceAdapter() {}
406 407
407 } // namespace gfx 408 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/gl_surface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698