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

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

Issue 320283002: Fix crash when using surfaceless EGL on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix Mac build issue Created 6 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
« 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 <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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 bool GLSurface::Recreate() { 173 bool GLSurface::Recreate() {
174 NOTIMPLEMENTED(); 174 NOTIMPLEMENTED();
175 return false; 175 return false;
176 } 176 }
177 177
178 bool GLSurface::DeferDraws() { 178 bool GLSurface::DeferDraws() {
179 return false; 179 return false;
180 } 180 }
181 181
182 bool GLSurface::RepresentsNonOwnedSurface() {
183 return false;
184 }
185
182 bool GLSurface::SupportsPostSubBuffer() { 186 bool GLSurface::SupportsPostSubBuffer() {
183 return false; 187 return false;
184 } 188 }
185 189
186 unsigned int GLSurface::GetBackingFrameBufferObject() { 190 unsigned int GLSurface::GetBackingFrameBufferObject() {
187 return 0; 191 return 0;
188 } 192 }
189 193
190 bool GLSurface::PostSubBuffer(int x, int y, int width, int height) { 194 bool GLSurface::PostSubBuffer(int x, int y, int width, int height) {
191 return false; 195 return false;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 return surface_->GetFormat(); 334 return surface_->GetFormat();
331 } 335 }
332 336
333 VSyncProvider* GLSurfaceAdapter::GetVSyncProvider() { 337 VSyncProvider* GLSurfaceAdapter::GetVSyncProvider() {
334 return surface_->GetVSyncProvider(); 338 return surface_->GetVSyncProvider();
335 } 339 }
336 340
337 GLSurfaceAdapter::~GLSurfaceAdapter() {} 341 GLSurfaceAdapter::~GLSurfaceAdapter() {}
338 342
339 } // namespace gfx 343 } // 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