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

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

Issue 1421903006: ui/gl: Move GLImage into gl namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ozone demo Created 5 years, 1 month 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 <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 NOTIMPLEMENTED(); 175 NOTIMPLEMENTED();
176 return 0; 176 return 0;
177 } 177 }
178 178
179 VSyncProvider* GLSurface::GetVSyncProvider() { 179 VSyncProvider* GLSurface::GetVSyncProvider() {
180 return NULL; 180 return NULL;
181 } 181 }
182 182
183 bool GLSurface::ScheduleOverlayPlane(int z_order, 183 bool GLSurface::ScheduleOverlayPlane(int z_order,
184 OverlayTransform transform, 184 OverlayTransform transform,
185 GLImage* image, 185 gl::GLImage* image,
186 const Rect& bounds_rect, 186 const Rect& bounds_rect,
187 const RectF& crop_rect) { 187 const RectF& crop_rect) {
188 NOTIMPLEMENTED(); 188 NOTIMPLEMENTED();
189 return false; 189 return false;
190 } 190 }
191 191
192 bool GLSurface::IsSurfaceless() const { 192 bool GLSurface::IsSurfaceless() const {
193 return false; 193 return false;
194 } 194 }
195 195
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 unsigned GLSurfaceAdapter::GetFormat() { 313 unsigned GLSurfaceAdapter::GetFormat() {
314 return surface_->GetFormat(); 314 return surface_->GetFormat();
315 } 315 }
316 316
317 VSyncProvider* GLSurfaceAdapter::GetVSyncProvider() { 317 VSyncProvider* GLSurfaceAdapter::GetVSyncProvider() {
318 return surface_->GetVSyncProvider(); 318 return surface_->GetVSyncProvider();
319 } 319 }
320 320
321 bool GLSurfaceAdapter::ScheduleOverlayPlane(int z_order, 321 bool GLSurfaceAdapter::ScheduleOverlayPlane(int z_order,
322 OverlayTransform transform, 322 OverlayTransform transform,
323 GLImage* image, 323 gl::GLImage* image,
324 const Rect& bounds_rect, 324 const Rect& bounds_rect,
325 const RectF& crop_rect) { 325 const RectF& crop_rect) {
326 return surface_->ScheduleOverlayPlane( 326 return surface_->ScheduleOverlayPlane(
327 z_order, transform, image, bounds_rect, crop_rect); 327 z_order, transform, image, bounds_rect, crop_rect);
328 } 328 }
329 329
330 bool GLSurfaceAdapter::IsSurfaceless() const { 330 bool GLSurfaceAdapter::IsSurfaceless() const {
331 return surface_->IsSurfaceless(); 331 return surface_->IsSurfaceless();
332 } 332 }
333 333
334 GLSurfaceAdapter::~GLSurfaceAdapter() {} 334 GLSurfaceAdapter::~GLSurfaceAdapter() {}
335 335
336 } // namespace gfx 336 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698