blob: 40721f3ed43cf0b8b207e2954998877fb5b25abd [file] [log] [blame]
daniel@transgaming.comb9d7e6f2012-10-31 19:08:32 +00001//
2// Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6
Jamie Madill135570a2014-09-30 16:33:51 -04007// Image.h: Implements the rx::Image class, an abstract base class for the
daniel@transgaming.com4ba24062012-12-20 20:54:24 +00008// renderer-specific classes which will define the interface to the underlying
9// surfaces or resources.
10
daniel@transgaming.comb9d7e6f2012-10-31 19:08:32 +000011#include "libGLESv2/renderer/Image.h"
12
daniel@transgaming.com31b13e12012-11-28 19:34:30 +000013namespace rx
daniel@transgaming.comb9d7e6f2012-10-31 19:08:32 +000014{
daniel@transgaming.com0ad830b2012-10-31 19:52:12 +000015
daniel@transgaming.comb9d7e6f2012-10-31 19:08:32 +000016Image::Image()
17{
Jamie Madill135570a2014-09-30 16:33:51 -040018 mWidth = 0;
daniel@transgaming.comb9d7e6f2012-10-31 19:08:32 +000019 mHeight = 0;
shannon.woods%transgaming.com@gtempaccount.com4760c562013-04-13 03:42:30 +000020 mDepth = 0;
daniel@transgaming.comb9d7e6f2012-10-31 19:08:32 +000021 mInternalFormat = GL_NONE;
daniel@transgaming.com20d36662012-10-31 19:51:43 +000022 mActualFormat = GL_NONE;
shannon.woods%transgaming.com@gtempaccount.com56074f32013-04-13 03:45:30 +000023 mTarget = GL_NONE;
shannonwoods@chromium.org803be0a2013-05-30 00:08:59 +000024 mRenderable = false;
Geoff Lang34256ed2013-09-30 15:15:52 -040025 mDirty = false;
daniel@transgaming.comb9d7e6f2012-10-31 19:08:32 +000026}
27
daniel@transgaming.comb9d7e6f2012-10-31 19:08:32 +000028}