| Index: ui/gl/gl_surface.cc
|
| diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
|
| index 0feeb34ddebb0711479c12807dada960d208d39f..fc271a263293ad3041687fef158b5d3a059a831d 100644
|
| --- a/ui/gl/gl_surface.cc
|
| +++ b/ui/gl/gl_surface.cc
|
| @@ -84,6 +84,11 @@ bool GLSurface::Resize(const gfx::Size& size) {
|
| return false;
|
| }
|
|
|
| +bool GLSurface::Recreate() {
|
| + NOTIMPLEMENTED();
|
| + return false;
|
| +}
|
| +
|
| bool GLSurface::DeferDraws() {
|
| return false;
|
| }
|
| @@ -145,6 +150,13 @@ VSyncProvider* GLSurface::GetVSyncProvider() {
|
| return NULL;
|
| }
|
|
|
| +bool GLSurface::RecreateOnMakeCurrent() {
|
| + return false;
|
| +}
|
| +
|
| +void GLSurface::SetRecreateOnMakeCurrent(bool recreate) {
|
| +}
|
| +
|
| GLSurface* GLSurface::GetCurrent() {
|
| return current_surface_.Pointer()->Get();
|
| }
|
| @@ -185,6 +197,10 @@ bool GLSurfaceAdapter::Resize(const gfx::Size& size) {
|
| return surface_->Resize(size);
|
| }
|
|
|
| +bool GLSurfaceAdapter::Recreate() {
|
| + return surface_->Recreate();
|
| +}
|
| +
|
| bool GLSurfaceAdapter::DeferDraws() {
|
| return surface_->DeferDraws();
|
| }
|
| @@ -249,6 +265,14 @@ VSyncProvider* GLSurfaceAdapter::GetVSyncProvider() {
|
| return surface_->GetVSyncProvider();
|
| }
|
|
|
| +bool GLSurfaceAdapter::RecreateOnMakeCurrent() {
|
| + return surface_->RecreateOnMakeCurrent();
|
| +}
|
| +
|
| +void GLSurfaceAdapter::SetRecreateOnMakeCurrent(bool recreate) {
|
| + surface_->SetRecreateOnMakeCurrent(recreate);
|
| +}
|
| +
|
| GLSurfaceAdapter::~GLSurfaceAdapter() {}
|
|
|
| } // namespace gfx
|
|
|