Edit

kc3-lang/angle/src/libGLESv2/renderer/Image.cpp

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2013-09-30 15:15:52
    Hash : 34256ed8
    Message : Image and RenderTarget classes now initialize their textures if required. Change-Id: I2cce6f4ffdc7e2a6c23c50d663c6316f9b125880 Reviewed-on: https://chromium-review.googlesource.com/176854 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>

  • src/libGLESv2/renderer/Image.cpp
  • #include "precompiled.h"
    //
    // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    
    // Image.h: Implements the rx::Image class, an abstract base class for the 
    // renderer-specific classes which will define the interface to the underlying
    // surfaces or resources.
    
    #include "libGLESv2/renderer/Image.h"
    
    namespace rx
    {
    
    Image::Image()
    {
        mWidth = 0; 
        mHeight = 0;
        mDepth = 0;
        mInternalFormat = GL_NONE;
        mActualFormat = GL_NONE;
        mTarget = GL_NONE;
        mRenderable = false;
        mDirty = false;
    }
    
    }