ImageD3D.cpp (1721B)
1 // 2 // Copyright 2002 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 "libANGLE/renderer/d3d/ImageD3D.h" 12 13 namespace rx 14 { 15 16 ImageD3D::ImageD3D() 17 : mWidth(0), 18 mHeight(0), 19 mDepth(0), 20 mInternalFormat(GL_NONE), 21 mRenderable(false), 22 mType(gl::TextureType::InvalidEnum), 23 mDirty(false) 24 {} 25 26 angle::Result ImageD3D::setManagedSurface2D(const gl::Context *context, 27 TextureStorage *storage, 28 int level) 29 { 30 return angle::Result::Continue; 31 } 32 33 angle::Result ImageD3D::setManagedSurfaceCube(const gl::Context *context, 34 TextureStorage *storage, 35 int face, 36 int level) 37 { 38 return angle::Result::Continue; 39 } 40 41 angle::Result ImageD3D::setManagedSurface3D(const gl::Context *context, 42 TextureStorage *storage, 43 int level) 44 { 45 return angle::Result::Continue; 46 } 47 48 angle::Result ImageD3D::setManagedSurface2DArray(const gl::Context *context, 49 TextureStorage *storage, 50 int layer, 51 int level) 52 { 53 return angle::Result::Continue; 54 } 55 56 } // namespace rx