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

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

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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_surface.h ('k') | ui/gl/gl_surface_egl.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) 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 void GLSurface::InitializeDynamicMockBindingsForTests(GLContext* context) { 159 void GLSurface::InitializeDynamicMockBindingsForTests(GLContext* context) {
160 CHECK(InitializeDynamicGLBindings(kGLImplementationMockGL, context)); 160 CHECK(InitializeDynamicGLBindings(kGLImplementationMockGL, context));
161 } 161 }
162 162
163 GLSurface::GLSurface() {} 163 GLSurface::GLSurface() {}
164 164
165 bool GLSurface::Initialize() { 165 bool GLSurface::Initialize() {
166 return true; 166 return true;
167 } 167 }
168 168
169 void GLSurface::DestroyAndTerminateDisplay() {
170 Destroy();
171 }
172
169 bool GLSurface::Resize(const gfx::Size& size) { 173 bool GLSurface::Resize(const gfx::Size& size) {
170 NOTIMPLEMENTED(); 174 NOTIMPLEMENTED();
171 return false; 175 return false;
172 } 176 }
173 177
174 bool GLSurface::Recreate() { 178 bool GLSurface::Recreate() {
175 NOTIMPLEMENTED(); 179 NOTIMPLEMENTED();
176 return false; 180 return false;
177 } 181 }
178 182
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 z_order, transform, image, bounds_rect, crop_rect); 361 z_order, transform, image, bounds_rect, crop_rect);
358 } 362 }
359 363
360 bool GLSurfaceAdapter::IsSurfaceless() const { 364 bool GLSurfaceAdapter::IsSurfaceless() const {
361 return surface_->IsSurfaceless(); 365 return surface_->IsSurfaceless();
362 } 366 }
363 367
364 GLSurfaceAdapter::~GLSurfaceAdapter() {} 368 GLSurfaceAdapter::~GLSurfaceAdapter() {}
365 369
366 } // namespace gfx 370 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/gl_surface.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698