[email protected] | 09d5036 | 2012-10-18 20:54:37 | [diff] [blame] | 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. | ||||
4 | |||||
5 | #include "ui/gl/gl_image_stub.h" | ||||
6 | |||||
7 | namespace gfx { | ||||
8 | |||||
[email protected] | 24365f7 | 2014-03-26 21:16:16 | [diff] [blame] | 9 | GLImageStub::GLImageStub() {} |
[email protected] | 91c94eb | 2013-10-22 10:32:54 | [diff] [blame] | 10 | |
[email protected] | d2eaf52f | 2014-07-31 15:01:24 | [diff] [blame] | 11 | GLImageStub::~GLImageStub() {} |
[email protected] | 91c94eb | 2013-10-22 10:32:54 | [diff] [blame] | 12 | |
[email protected] | 24365f7 | 2014-03-26 21:16:16 | [diff] [blame] | 13 | gfx::Size GLImageStub::GetSize() { return gfx::Size(1, 1); } |
[email protected] | 09d5036 | 2012-10-18 20:54:37 | [diff] [blame] | 14 | |
[email protected] | 24365f7 | 2014-03-26 21:16:16 | [diff] [blame] | 15 | bool GLImageStub::BindTexImage(unsigned target) { return true; } |
[email protected] | 463c12b | 2014-03-15 00:25:49 | [diff] [blame] | 16 | |
reveman | ce8fbe8 | 2014-09-05 02:19:52 | [diff] [blame] | 17 | bool GLImageStub::CopyTexImage(unsigned target) { return true; } |
18 | |||||
[email protected] | 5e57db7 | 2014-08-01 21:50:17 | [diff] [blame] | 19 | bool 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] | 09d5036 | 2012-10-18 20:54:37 | [diff] [blame] | 27 | } // namespace gfx |