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 ...
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 ago by bsalomon
Modified 13 years ago
Reviewers: reed1
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 3