Move FBO_OLD_AGE to the common header.

Guess it's fine here.
This commit is contained in:
Unknown W. Brackets 2014-09-09 23:11:25 -07:00
parent e2a4a50511
commit e9b87104ef
4 changed files with 5 additions and 16 deletions

View File

@ -25,11 +25,6 @@
#include "GPU/GPUInterface.h"
#include "GPU/GPUState.h"
// Aggressively delete unused FBO:s to save gpu memory.
enum {
FBO_OLD_AGE = 5,
};
FramebufferManagerCommon::FramebufferManagerCommon() :
displayFramebufPtr_(0),
displayStride_(0),

View File

@ -206,4 +206,9 @@ protected:
std::vector<VirtualFramebuffer *> vfbs_;
bool hackForce04154000Download_;
// Aggressively delete unused FBOs to save gpu memory.
enum {
FBO_OLD_AGE = 5,
};
};

View File

@ -35,12 +35,6 @@
#include <algorithm>
namespace DX9 {
// Aggressively delete unused FBO:s to save gpu memory.
enum {
FBO_OLD_AGE = 5,
};
inline u16 RGBA8888toRGB565(u32 px) {
return ((px >> 3) & 0x001F) | ((px >> 5) & 0x07E0) | ((px >> 8) & 0xF800);
}

View File

@ -97,11 +97,6 @@ static const char color_vs[] =
" gl_Position = a_position;\n"
"}\n";
// Aggressively delete unused FBO:s to save gpu memory.
enum {
FBO_OLD_AGE = 5,
};
inline u16 RGBA8888toRGB565(u32 px) {
return ((px >> 3) & 0x001F) | ((px >> 5) & 0x07E0) | ((px >> 8) & 0xF800);
}