Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / angle / src / libGLESv2 / renderer / Image.cpp
1 //
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
7 // Image.h: Implements the rx::Image class, an abstract base class for the 
8 // renderer-specific classes which will define the interface to the underlying
9 // surfaces or resources.
10
11 #include "libGLESv2/renderer/Image.h"
12
13 namespace rx
14 {
15
16 Image::Image()
17 {
18     mWidth = 0; 
19     mHeight = 0;
20     mDepth = 0;
21     mInternalFormat = GL_NONE;
22     mActualFormat = GL_NONE;
23     mTarget = GL_NONE;
24     mRenderable = false;
25     mDirty = false;
26 }
27
28 }