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
3 // found in the LICENSE file.
5 #include "ui/gl/gl_image_stub.h"
11 GLImageStub::GLImageStub() {}
13 GLImageStub::~GLImageStub() {}
15 gfx::Size
GLImageStub::GetSize() { return gfx::Size(1, 1); }
17 unsigned GLImageStub::GetInternalFormat() { return GL_RGBA
; }
19 bool GLImageStub::BindTexImage(unsigned target
) { return true; }
21 bool GLImageStub::CopyTexSubImage(unsigned target
,
27 bool GLImageStub::ScheduleOverlayPlane(gfx::AcceleratedWidget widget
,
29 OverlayTransform transform
,
30 const Rect
& bounds_rect
,
31 const RectF
& crop_rect
) {