Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1979)

Unified Diff: src/gpu/gl/GrGLProgram.h

Issue 22340010: Refactor GrGLUniformManager::UniformHandle to initialize itself by default (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: description Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/gl/GrGLEffectMatrix.cpp ('k') | src/gpu/gl/GrGLProgram.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLProgram.h
diff --git a/src/gpu/gl/GrGLProgram.h b/src/gpu/gl/GrGLProgram.h
index 3534552f9803756264531b2f56fc3faeeddbf0d1..279890f5d4a8858b7b103c95b77f04410a98bac5 100644
--- a/src/gpu/gl/GrGLProgram.h
+++ b/src/gpu/gl/GrGLProgram.h
@@ -132,17 +132,6 @@ private:
UniformHandle fDstCopyTopLeftUni;
UniformHandle fDstCopyScaleUni;
UniformHandle fDstCopySamplerUni;
-
- UniformHandles() {
- fViewMatrixUni = GrGLUniformManager::kInvalidUniformHandle;
- fColorUni = GrGLUniformManager::kInvalidUniformHandle;
- fCoverageUni = GrGLUniformManager::kInvalidUniformHandle;
- fColorFilterUni = GrGLUniformManager::kInvalidUniformHandle;
- fRTHeightUni = GrGLUniformManager::kInvalidUniformHandle;
- fDstCopyTopLeftUni = GrGLUniformManager::kInvalidUniformHandle;
- fDstCopyScaleUni = GrGLUniformManager::kInvalidUniformHandle;
- fDstCopySamplerUni = GrGLUniformManager::kInvalidUniformHandle;
- }
};
typedef SkSTArray<4, UniformHandle, true> SamplerUniSArray;
« no previous file with comments | « src/gpu/gl/GrGLEffectMatrix.cpp ('k') | src/gpu/gl/GrGLProgram.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698