mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GPU: Correct some field shadowing.
This commit is contained in:
parent
a1b9eb3cc5
commit
ae474f5f18
7 changed files with 4 additions and 20 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Reference in a new issue