Changeset 112075 in webkit
- Timestamp:
- Mar 26, 2012 4:17:40 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r112072 r112075 1 2012-03-26 Zeno Albisser <zeno@webkit.org> 2 3 [Qt]WK2] TextureMapperShaderManager should query the program map before creating new shader program instances. 4 https://bugs.webkit.org/show_bug.cgi?id=82178 5 6 If TextureMapperShaderManager already has a reference to an instance of the 7 requested shader program type, this instance should be reused instead of 8 creating a new one. 9 10 Reviewed by Noam Rosenthal. 11 12 * platform/graphics/texmap/TextureMapperShaderManager.h: 13 (WebCore::TextureMapperShaderManager::getShaderProgram): 14 1 15 2012-03-26 Yury Semikhatsky <yurys@chromium.org> 2 16 -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperShaderManager.h
r111992 r112075 108 108 return program; 109 109 110 TextureMapperShaderProgramMap::iterator it = m_textureMapperShaderProgramMap.find(shaderType); 111 if (it != m_textureMapperShaderProgramMap.end()) 112 return it->second; 113 110 114 switch (shaderType) { 111 115 case Simple:
Note: See TracChangeset
for help on using the changeset viewer.