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

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

Issue 8512005: Plumb through EGL_NV_post_sub_buffer and GLX_MESA_copy_sub_buffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/gfx/gl/gl_surface.h" 5 #include "ui/gfx/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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 bool GLSurface::Resize(const gfx::Size& size) { 88 bool GLSurface::Resize(const gfx::Size& size) {
89 NOTIMPLEMENTED(); 89 NOTIMPLEMENTED();
90 return false; 90 return false;
91 } 91 }
92 92
93 unsigned int GLSurface::GetBackingFrameBufferObject() { 93 unsigned int GLSurface::GetBackingFrameBufferObject() {
94 return 0; 94 return 0;
95 } 95 }
96 96
97 bool GLSurface::SupportsPostSubBuffer() {
98 return false;
99 }
100
101 bool GLSurface::PostSubBuffer(int x, int y, int width, int height) {
102 return false;
103 }
104
97 bool GLSurface::OnMakeCurrent(GLContext* context) { 105 bool GLSurface::OnMakeCurrent(GLContext* context) {
98 return true; 106 return true;
99 } 107 }
100 108
101 void GLSurface::SetVisible(bool visible) { 109 void GLSurface::SetVisible(bool visible) {
102 } 110 }
103 111
104 void* GLSurface::GetShareHandle() { 112 void* GLSurface::GetShareHandle() {
105 NOTIMPLEMENTED(); 113 NOTIMPLEMENTED();
106 return NULL; 114 return NULL;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 189
182 void* GLSurfaceAdapter::GetConfig() { 190 void* GLSurfaceAdapter::GetConfig() {
183 return surface_->GetConfig(); 191 return surface_->GetConfig();
184 } 192 }
185 193
186 unsigned GLSurfaceAdapter::GetFormat() { 194 unsigned GLSurfaceAdapter::GetFormat() {
187 return surface_->GetFormat(); 195 return surface_->GetFormat();
188 } 196 }
189 197
190 } // namespace gfx 198 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698