Shut up various Trace calls that were clogging the log file uselessly.
This commit is contained in:
+5
-5
@@ -129,7 +129,7 @@ void BannerCache::LoadBanner( RString sBannerPath )
|
|||||||
{
|
{
|
||||||
/* The file doesn't exist. It's possible that the banner cache file is
|
/* The file doesn't exist. It's possible that the banner cache file is
|
||||||
* missing, so try to create it. Don't do this first, for efficiency. */
|
* missing, so try to create it. Don't do this first, for efficiency. */
|
||||||
LOG->Trace( "Cached banner load of '%s' ('%s') failed, trying to cache ...", sBannerPath.c_str(), sCachePath.c_str() );
|
//LOG->Trace( "Cached banner load of '%s' ('%s') failed, trying to cache ...", sBannerPath.c_str(), sCachePath.c_str() );
|
||||||
|
|
||||||
/* Skip the up-to-date check; it failed to load, so it can't be up
|
/* Skip the up-to-date check; it failed to load, so it can't be up
|
||||||
* to date. */
|
* to date. */
|
||||||
@@ -138,7 +138,7 @@ void BannerCache::LoadBanner( RString sBannerPath )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG->Trace( "Cached banner load of '%s' ('%s') failed", sBannerPath.c_str(), sCachePath.c_str() );
|
//LOG->Trace( "Cached banner load of '%s' ('%s') failed", sBannerPath.c_str(), sCachePath.c_str() );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -272,7 +272,7 @@ RageTextureID BannerCache::LoadCachedBanner( RString sBannerPath )
|
|||||||
if( sBannerPath == "" )
|
if( sBannerPath == "" )
|
||||||
return ID;
|
return ID;
|
||||||
|
|
||||||
LOG->Trace( "BannerCache::LoadCachedBanner(%s): %s", sBannerPath.c_str(), ID.filename.c_str() );
|
//LOG->Trace( "BannerCache::LoadCachedBanner(%s): %s", sBannerPath.c_str(), ID.filename.c_str() );
|
||||||
|
|
||||||
/* Hack: make sure Banner::Load doesn't change our return value and end up
|
/* Hack: make sure Banner::Load doesn't change our return value and end up
|
||||||
* reloading. */
|
* reloading. */
|
||||||
@@ -308,8 +308,8 @@ RageTextureID BannerCache::LoadCachedBanner( RString sBannerPath )
|
|||||||
if( TEXTUREMAN->IsTextureRegistered(ID) )
|
if( TEXTUREMAN->IsTextureRegistered(ID) )
|
||||||
return ID; /* It's all set. */
|
return ID; /* It's all set. */
|
||||||
|
|
||||||
LOG->Trace( "Loading banner texture %s; src %ix%i; image %ix%i",
|
//LOG->Trace( "Loading banner texture %s; src %ix%i; image %ix%i",
|
||||||
ID.filename.c_str(), iSourceWidth, iSourceHeight, pImage->w, pImage->h );
|
// ID.filename.c_str(), iSourceWidth, iSourceHeight, pImage->w, pImage->h );
|
||||||
RageTexture *pTexture = new BannerTexture( ID, pImage, iSourceWidth, iSourceHeight );
|
RageTexture *pTexture = new BannerTexture( ID, pImage, iSourceWidth, iSourceHeight );
|
||||||
|
|
||||||
ID.Policy = RageTextureID::TEX_VOLATILE;
|
ID.Policy = RageTextureID::TEX_VOLATILE;
|
||||||
|
|||||||
@@ -1102,7 +1102,7 @@ bool SMLoader::LoadNoteDataFromSimfile( const RString &path, Steps &out )
|
|||||||
|
|
||||||
bool SMLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache )
|
bool SMLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache )
|
||||||
{
|
{
|
||||||
LOG->Trace( "Song::LoadFromSMFile(%s)", sPath.c_str() );
|
//LOG->Trace( "Song::LoadFromSMFile(%s)", sPath.c_str() );
|
||||||
|
|
||||||
MsdFile msd;
|
MsdFile msd;
|
||||||
if( !msd.ReadFile( sPath, true ) ) // unescape
|
if( !msd.ReadFile( sPath, true ) ) // unescape
|
||||||
|
|||||||
@@ -940,7 +940,7 @@ bool SSCLoader::LoadNoteDataFromSimfile( const RString & cachePath, Steps &out )
|
|||||||
|
|
||||||
bool SSCLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache )
|
bool SSCLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache )
|
||||||
{
|
{
|
||||||
LOG->Trace( "Song::LoadFromSSCFile(%s)", sPath.c_str() );
|
//LOG->Trace( "Song::LoadFromSSCFile(%s)", sPath.c_str() );
|
||||||
|
|
||||||
MsdFile msd;
|
MsdFile msd;
|
||||||
if( !msd.ReadFile( sPath, true ) )
|
if( !msd.ReadFile( sPath, true ) )
|
||||||
|
|||||||
@@ -348,10 +348,10 @@ void RageBitmapTexture::Create()
|
|||||||
if( actualID.bStretch ) sProperties += "stretch ";
|
if( actualID.bStretch ) sProperties += "stretch ";
|
||||||
if( actualID.bDither ) sProperties += "dither ";
|
if( actualID.bDither ) sProperties += "dither ";
|
||||||
sProperties.erase( sProperties.size()-1 );
|
sProperties.erase( sProperties.size()-1 );
|
||||||
LOG->Trace( "RageBitmapTexture: Loaded '%s' (%ux%u); %s, source %d,%d; image %d,%d.",
|
//LOG->Trace( "RageBitmapTexture: Loaded '%s' (%ux%u); %s, source %d,%d; image %d,%d.",
|
||||||
actualID.filename.c_str(), GetTextureWidth(), GetTextureHeight(),
|
// actualID.filename.c_str(), GetTextureWidth(), GetTextureHeight(),
|
||||||
sProperties.c_str(), m_iSourceWidth, m_iSourceHeight,
|
// sProperties.c_str(), m_iSourceWidth, m_iSourceHeight,
|
||||||
m_iImageWidth, m_iImageHeight );
|
// m_iImageWidth, m_iImageHeight );
|
||||||
}
|
}
|
||||||
|
|
||||||
void RageBitmapTexture::Destroy()
|
void RageBitmapTexture::Destroy()
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ void RageTextureManager::UnloadTexture( RageTexture *t )
|
|||||||
void RageTextureManager::DeleteTexture( RageTexture *t )
|
void RageTextureManager::DeleteTexture( RageTexture *t )
|
||||||
{
|
{
|
||||||
ASSERT( t->m_iRefCount == 0 );
|
ASSERT( t->m_iRefCount == 0 );
|
||||||
LOG->Trace( "RageTextureManager: deleting '%s'.", t->GetID().filename.c_str() );
|
//LOG->Trace( "RageTextureManager: deleting '%s'.", t->GetID().filename.c_str() );
|
||||||
|
|
||||||
map<RageTexture*, RageTextureID>::iterator id_entry=
|
map<RageTexture*, RageTextureID>::iterator id_entry=
|
||||||
m_texture_ids_by_pointer.find(t);
|
m_texture_ids_by_pointer.find(t);
|
||||||
|
|||||||
@@ -642,7 +642,7 @@ void ScreenManager::PrepareScreen( const RString &sScreenName )
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
TEXTUREMAN->DiagnosticOutput();
|
//TEXTUREMAN->DiagnosticOutput();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenManager::GroupScreen( const RString &sScreenName )
|
void ScreenManager::GroupScreen( const RString &sScreenName )
|
||||||
|
|||||||
Reference in New Issue
Block a user