tests/cuda2.2/sdk/rendercheck_gl.cpp
CheckRender::CheckRender(unsigned int width, unsigned int height, unsigned int Bpp,
                         bool bQAReadback, bool bUseFBO, bool bUsePBO) 
                         :
    m_Width(width), m_Height(height), m_Bpp(Bpp), m_bQAReadback(bQAReadback),
    m_bUseFBO(bUseFBO), m_bUsePBO(bUsePBO), m_PixelFormat(GL_BGRA), m_fThresholdCompare(0.0f)
{
    allocateMemory(width, height, Bpp, bQAReadback, bUseFBO, bUsePBO);
}
// CheckRender::Base class for CheckRender (there will be default functions all classes derived from this)
:Base class for CheckRender (there will be default functions all classes derived from this)
: Base class for CheckRender ( there will be default functions all classes derived from this )
CheckRender::CheckRender(unsigned int width, unsigned int height, unsigned int Bpp,
                         bool bQAReadback, bool bUseFBO, bool bUsePBO) 
                         :
    m_Width(width), m_Height(height), m_Bpp(Bpp), m_bQAReadback(bQAReadback),
    m_bUseFBO(bUseFBO), m_bUsePBO(bUsePBO), m_PixelFormat(GL_BGRA), m_fThresholdCompare(0.0f)
{
    allocateMemory(width, height, Bpp, bQAReadback, bUseFBO, bUsePBO);
}
CheckRender :: CheckRender ( unsigned int width , unsigned int height , unsigned int Bpp , bool bQAReadback , bool bUseFBO , bool bUsePBO ) : m_Width ( width ) , m_Height ( height ) , m_Bpp ( Bpp ) , m_bQAReadback ( bQAReadback ) , m_bUseFBO ( bUseFBO ) , m_bUsePBO ( bUsePBO ) , m_PixelFormat ( GL_BGRA ) , m_fThresholdCompare ( 0.0f ) { allocateMemory ( width , height , Bpp , bQAReadback , bUseFBO , bUsePBO ) ; }
CheckRender::Base class for CheckRender (there will be default functions all classes derived from this)
CheckRender :: Base class for CheckRender ( there will be default functions all classes derived from this )