LGTM w/ suggestions http://codereview.appspot.com/5309043/diff/2001/src/gpu/GrGpuGLShaders.cpp File src/gpu/GrGpuGLShaders.cpp (right): http://codereview.appspot.com/5309043/diff/2001/src/gpu/GrGpuGLShaders.cpp#newcode371 src/gpu/GrGpuGLShaders.cpp:371: Should your explanation be incorporated into ...
13 years, 2 months ago
(2011-10-19 13:20:38 UTC)
#2
Closed with r2494, this comment added: // Third party GL code may have left vertex ...
13 years, 2 months ago
(2011-10-19 13:26:40 UTC)
#3
Closed with r2494, this comment added:
// Third party GL code may have left vertex attributes enabled. Some GL
// implementations (osmesa) may read vetex attributes that are not required
// by the current shader. Therefore, we have to ensure that only the
// attributes we require for the current draw are enabled or we may cause an
// invalid read.
Issue 5309043: disable vertex attributes at resetContext time
(Closed)
Created 13 years, 2 months ago by bsalomon
Modified 13 years, 2 months ago
Reviewers: reed1
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 3