mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
[GPU] Add texture surface cache eviction
Implemented as a simple ring buffer evicting the oldest entry for now.
This commit is contained in:
parent
5835069a9d
commit
255947b2fc
3 changed files with 19 additions and 7 deletions
|
@ -45,7 +45,7 @@ class Renderer {
|
|||
|
||||
SurfaceCache<DepthBuffer, 10> depthBufferCache;
|
||||
SurfaceCache<ColourBuffer, 10> colourBufferCache;
|
||||
SurfaceCache<Texture, 256> textureCache;
|
||||
SurfaceCache<Texture, 256, true> textureCache;
|
||||
|
||||
OpenGL::uvec2 fbSize; // The size of the framebuffer (ie both the colour and depth buffer)'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue