Source/ThirdParty/ANGLE/src/libGLESv2/Texture.cpp
void Texture::needRenderTarget()
{
    if (!mIsRenderable)
    {
        mBaseTexture = convertToRenderTarget();
        mIsRenderable = true;
    }

    if (dirtyImageData())
    {
        updateTexture();
    }

    mDirtyMetaData = false;
}
// Returns the top-level texture surface as a render target
Returns the top-level texture surface as a render target
Returns the top - level texture surface as a render target
void Texture::needRenderTarget()
{
    if (!mIsRenderable)
    {
        mBaseTexture = convertToRenderTarget();
        mIsRenderable = true;
    }
    if (dirtyImageData())
    {
        updateTexture();
    }
    mDirtyMetaData = false;
}
void Texture :: needRenderTarget ( ) { if ( ! mIsRenderable ) { mBaseTexture = convertToRenderTarget ( ) ; mIsRenderable = true ; } if ( dirtyImageData ( ) ) { updateTexture ( ) ; } mDirtyMetaData = false ; }
Returns the top-level texture surface as a render target
Returns the top - level texture surface as a render target