mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 11:54:30 +01:00
GPU: Correct some field shadowing.
This commit is contained in:
1 parent
a1b9eb3cc5
commit
ae474f5f18
7 files changed
+4
-20
No files matched your search
@@ -100,9 +100,6 @@ inline int dimHeight(u16 dim) {
|
||||
// TODO
|
||||
TextureCacheCommon::TextureCacheCommon(Draw::DrawContext *draw)
|
||||
: draw_(draw),
|
||||
texelsScaledThisFrame_(0),
|
||||
cacheSizeEstimate_(0),
|
||||
secondCacheSizeEstimate_(0),
|
||||
clutLastFormat_(0xFFFFFFFF),
|
||||
clutTotalBytes_(0),
|
||||
clutMaxBytes_(0),
|
||||
|
||||
@@ -336,14 +336,14 @@ protected:
|
||||
bool lowMemoryMode_ = false;
|
||||
|
||||
int decimationCounter_;
|
||||
int texelsScaledThisFrame_;
|
||||
int timesInvalidatedAllThisFrame_;
|
||||
int texelsScaledThisFrame_ = 0;
|
||||
int timesInvalidatedAllThisFrame_ = 0;
|
||||
|
||||
TexCache cache_;
|
||||
u32 cacheSizeEstimate_;
|
||||
u32 cacheSizeEstimate_ = 0;
|
||||
|
||||
TexCache secondCache_;
|
||||
u32 secondCacheSizeEstimate_;
|
||||
u32 secondCacheSizeEstimate_ = 0;
|
||||
|
||||
std::map<u32, int> videos_;
|
||||
|
||||
|
||||
@@ -93,10 +93,6 @@ private:
|
||||
ID3D11ShaderResourceView *lastBoundTexture;
|
||||
ID3D11Buffer *depalConstants_;
|
||||
|
||||
int decimationCounter_;
|
||||
int texelsScaledThisFrame_;
|
||||
int timesInvalidatedAllThisFrame_;
|
||||
|
||||
FramebufferManagerD3D11 *framebufferManagerD3D11_;
|
||||
DepalShaderCacheD3D11 *depalShaderCache_;
|
||||
ShaderManagerD3D11 *shaderManager_;
|
||||
|
||||
@@ -86,9 +86,6 @@ private:
|
||||
LPDIRECT3DTEXTURE9 lastBoundTexture;
|
||||
float maxAnisotropyLevel;
|
||||
|
||||
int texelsScaledThisFrame_;
|
||||
int timesInvalidatedAllThisFrame_;
|
||||
|
||||
FramebufferManagerDX9 *framebufferManagerDX9_;
|
||||
DepalShaderCacheDX9 *depalShaderCache_;
|
||||
ShaderManagerDX9 *shaderManager_;
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
|
||||
TextureCacheGLES::TextureCacheGLES(Draw::DrawContext *draw)
|
||||
: TextureCacheCommon(draw) {
|
||||
timesInvalidatedAllThisFrame_ = 0;
|
||||
render_ = (GLRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
|
||||
|
||||
SetupTextureDecoder();
|
||||
|
||||
@@ -228,7 +228,6 @@ private:
|
||||
|
||||
PrehashMap<VertexArrayInfoVulkan *, nullptr> vai_;
|
||||
VulkanPushBuffer *vertexCache_;
|
||||
int decimationCounter_ = 0;
|
||||
int descDecimationCounter_ = 0;
|
||||
|
||||
struct DescriptorSetKey {
|
||||
|
||||
@@ -128,10 +128,6 @@ private:
|
||||
|
||||
TextureScalerVulkan scaler;
|
||||
|
||||
int decimationCounter_ = 0;
|
||||
int texelsScaledThisFrame_ = 0;
|
||||
int timesInvalidatedAllThisFrame_ = 0;
|
||||
|
||||
FramebufferManagerVulkan *framebufferManagerVulkan_;
|
||||
DepalShaderCacheVulkan *depalShaderCache_;
|
||||
ShaderManagerVulkan *shaderManagerVulkan_;
|
||||
|
||||
Reference in new issue
Block a user