Home | History | Annotate | Download | only in d3d
      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/d3d/ImageD3D.h"
     12 
     13 namespace rx
     14 {
     15 
     16 ImageD3D::ImageD3D()
     17 {
     18 }
     19 
     20 ImageD3D *ImageD3D::makeImageD3D(Image *img)
     21 {
     22     ASSERT(HAS_DYNAMIC_TYPE(rx::ImageD3D*, img));
     23     return static_cast<rx::ImageD3D*>(img);
     24 }
     25 
     26 }
     27