| 101 | void TextBankGL33::StopAll() {} |
| 102 | |
| 103 | bool TextBankGL33::VerifyChecksums() |
| 104 | { |
| 105 | StatisticsByName stats; |
| 106 | for (int i = 0; i < _freeTextures.Size(); i++) |
| 107 | { |
| 108 | const SurfaceInfoGL33& surface = _freeTextures[i]; |
| 109 | char name[80]; |
| 110 | SurfaceName(name, sizeof(name), surface); |
| 111 | stats.Count(name); |
| 112 | } |
| 113 | LOG_DEBUG(Graphics, "GL33 Unused texture surfaces"); |
| 114 | stats.Report(); |
| 115 | stats.Clear(); |
| 116 | |
| 117 | LOG_DEBUG(Graphics, "GL33 Used texture surfaces"); |
| 118 | for (int i = 0; i < _texture.Size(); i++) |
| 119 | { |
| 120 | TextureGL33* texture = _texture[i]; |
| 121 | if (!texture) |
| 122 | continue; |
| 123 | if (texture->_smallSurface.GetTexture()) |
| 124 | { |
| 125 | char name[80]; |
| 126 | SurfaceName(name, sizeof(name), texture->_smallSurface); |
| 127 | stats.Count(name); |
| 128 | } |
| 129 | if (texture->_surface.GetTexture()) |
| 130 | { |
| 131 | char name[80]; |
| 132 | SurfaceName(name, sizeof(name), texture->_surface); |
| 133 | stats.Count(name); |
| 134 | } |
| 135 | } |
| 136 | stats.Report(); |
| 137 | stats.Clear(); |
| 138 | |
| 139 | return true; |
| 140 | } |
| 141 | |
| 142 | int TextBankGL33::Find(RStringB name1, TextureGL33* interpolate) |
| 143 | { |
nothing calls this directly
no test coverage detected