1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "android_webview/browser/aw_gl_surface.h"
7 namespace android_webview
{
9 AwGLSurface::AwGLSurface() : fbo_(0) {}
11 AwGLSurface::~AwGLSurface() {}
13 void AwGLSurface::Destroy() {
16 bool AwGLSurface::IsOffscreen() {
20 unsigned int AwGLSurface::GetBackingFrameBufferObject() {
24 bool AwGLSurface::SwapBuffers() {
28 gfx::Size
AwGLSurface::GetSize() {
29 return gfx::Size(1, 1);
32 void* AwGLSurface::GetHandle() {
36 void* AwGLSurface::GetDisplay() {
40 void AwGLSurface::SetBackingFrameBufferObject(unsigned int fbo
) {
44 void AwGLSurface::ResetBackingFrameBufferObject() {
48 } // namespace android_webview