daniel@transgaming.com | b9d7e6f | 2012-10-31 19:08:32 +0000 | [diff] [blame] | 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 | |
Jamie Madill | 135570a | 2014-09-30 16:33:51 -0400 | [diff] [blame] | 7 | // Image.h: Implements the rx::Image class, an abstract base class for the |
daniel@transgaming.com | 4ba2406 | 2012-12-20 20:54:24 +0000 | [diff] [blame] | 8 | // renderer-specific classes which will define the interface to the underlying |
| 9 | // surfaces or resources. |
| 10 | |
daniel@transgaming.com | b9d7e6f | 2012-10-31 19:08:32 +0000 | [diff] [blame] | 11 | #include "libGLESv2/renderer/Image.h" |
| 12 | |
daniel@transgaming.com | 31b13e1 | 2012-11-28 19:34:30 +0000 | [diff] [blame] | 13 | namespace rx |
daniel@transgaming.com | b9d7e6f | 2012-10-31 19:08:32 +0000 | [diff] [blame] | 14 | { |
daniel@transgaming.com | 0ad830b | 2012-10-31 19:52:12 +0000 | [diff] [blame] | 15 | |
daniel@transgaming.com | b9d7e6f | 2012-10-31 19:08:32 +0000 | [diff] [blame] | 16 | Image::Image() |
| 17 | { |
Jamie Madill | 135570a | 2014-09-30 16:33:51 -0400 | [diff] [blame] | 18 | mWidth = 0; |
daniel@transgaming.com | b9d7e6f | 2012-10-31 19:08:32 +0000 | [diff] [blame] | 19 | mHeight = 0; |
shannon.woods%transgaming.com@gtempaccount.com | 4760c56 | 2013-04-13 03:42:30 +0000 | [diff] [blame] | 20 | mDepth = 0; |
daniel@transgaming.com | b9d7e6f | 2012-10-31 19:08:32 +0000 | [diff] [blame] | 21 | mInternalFormat = GL_NONE; |
daniel@transgaming.com | 20d3666 | 2012-10-31 19:51:43 +0000 | [diff] [blame] | 22 | mActualFormat = GL_NONE; |
shannon.woods%transgaming.com@gtempaccount.com | 56074f3 | 2013-04-13 03:45:30 +0000 | [diff] [blame] | 23 | mTarget = GL_NONE; |
shannonwoods@chromium.org | 803be0a | 2013-05-30 00:08:59 +0000 | [diff] [blame] | 24 | mRenderable = false; |
Geoff Lang | 34256ed | 2013-09-30 15:15:52 -0400 | [diff] [blame] | 25 | mDirty = false; |
daniel@transgaming.com | b9d7e6f | 2012-10-31 19:08:32 +0000 | [diff] [blame] | 26 | } |
| 27 | |
daniel@transgaming.com | b9d7e6f | 2012-10-31 19:08:32 +0000 | [diff] [blame] | 28 | } |