blob: 1c8e469745f984a75206d220c4e691b6b925dec0 [file] [log] [blame]
[email protected]09d50362012-10-18 20:54:371// 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.
4
5#include "ui/gl/gl_image_stub.h"
6
7namespace gfx {
8
[email protected]24365f72014-03-26 21:16:169GLImageStub::GLImageStub() {}
[email protected]91c94eb2013-10-22 10:32:5410
[email protected]d2eaf52f2014-07-31 15:01:2411GLImageStub::~GLImageStub() {}
[email protected]91c94eb2013-10-22 10:32:5412
[email protected]24365f72014-03-26 21:16:1613gfx::Size GLImageStub::GetSize() { return gfx::Size(1, 1); }
[email protected]09d50362012-10-18 20:54:3714
[email protected]24365f72014-03-26 21:16:1615bool GLImageStub::BindTexImage(unsigned target) { return true; }
[email protected]463c12b2014-03-15 00:25:4916
revemance8fbe82014-09-05 02:19:5217bool GLImageStub::CopyTexImage(unsigned target) { return true; }
18
[email protected]5e57db72014-08-01 21:50:1719bool GLImageStub::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
20 int z_order,
21 OverlayTransform transform,
22 const Rect& bounds_rect,
23 const RectF& crop_rect) {
24 return false;
25}
26
[email protected]09d50362012-10-18 20:54:3727} // namespace gfx