root/ui/gl/gl_image_stub.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. GetSize
  2. BindTexImage

// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/gl/gl_image_stub.h"

namespace gfx {

GLImageStub::GLImageStub() {}

GLImageStub::~GLImageStub() { Destroy(); }

gfx::Size GLImageStub::GetSize() { return gfx::Size(1, 1); }

bool GLImageStub::BindTexImage(unsigned target) { return true; }

}  // namespace gfx

/* [<][>][^][v][top][bottom][index][help] */