Exclude TrayIMETest.PerformActionOnDetailedView under valgrind, where it crashes.
[chromium-blink-merge.git] / ui / gl / gl_image_stub.cc
blobafbf6e04178657974d97b67e905a2fff93d22e16
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"
7 #include <GL/gl.h>
9 namespace gfx {
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,
22 const Point& offset,
23 const Rect& rect) {
24 return true;
27 bool GLImageStub::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
28 int z_order,
29 OverlayTransform transform,
30 const Rect& bounds_rect,
31 const RectF& crop_rect) {
32 return false;
35 } // namespace gfx