mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-03 19:47:59 +00:00
Move FBO_OLD_AGE to the common header.
Guess it's fine here.
This commit is contained in:
parent
e2a4a50511
commit
e9b87104ef
@ -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),
|
||||
|
@ -206,4 +206,9 @@ protected:
|
||||
std::vector<VirtualFramebuffer *> vfbs_;
|
||||
|
||||
bool hackForce04154000Download_;
|
||||
|
||||
// Aggressively delete unused FBOs to save gpu memory.
|
||||
enum {
|
||||
FBO_OLD_AGE = 5,
|
||||
};
|
||||
};
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user