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

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

Issue 1919803002: command_buffer: Remove dead code for gl_begin_gl_end_on_fbo_change_to_backbuffer workaround (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove glbegin_glend workaround 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 void GLSurface::CommitOverlayPlanesAsync( 159 void GLSurface::CommitOverlayPlanesAsync(
160 const SwapCompletionCallback& callback) { 160 const SwapCompletionCallback& callback) {
161 NOTREACHED(); 161 NOTREACHED();
162 } 162 }
163 163
164 bool GLSurface::OnMakeCurrent(GLContext* context) { 164 bool GLSurface::OnMakeCurrent(GLContext* context) {
165 return true; 165 return true;
166 } 166 }
167 167
168 void GLSurface::NotifyWasBound() {
169 }
170
171 bool GLSurface::SetBackbufferAllocation(bool allocated) { 168 bool GLSurface::SetBackbufferAllocation(bool allocated) {
172 return true; 169 return true;
173 } 170 }
174 171
175 void GLSurface::SetFrontbufferAllocation(bool allocated) { 172 void GLSurface::SetFrontbufferAllocation(bool allocated) {
176 } 173 }
177 174
178 void* GLSurface::GetShareHandle() { 175 void* GLSurface::GetShareHandle() {
179 NOTIMPLEMENTED(); 176 NOTIMPLEMENTED();
180 return NULL; 177 return NULL;
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 return surface_->FlipsVertically(); 396 return surface_->FlipsVertically();
400 } 397 }
401 398
402 bool GLSurfaceAdapter::BuffersFlipped() const { 399 bool GLSurfaceAdapter::BuffersFlipped() const {
403 return surface_->BuffersFlipped(); 400 return surface_->BuffersFlipped();
404 } 401 }
405 402
406 GLSurfaceAdapter::~GLSurfaceAdapter() {} 403 GLSurfaceAdapter::~GLSurfaceAdapter() {}
407 404
408 } // namespace gfx 405 } // 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