This makes a copy of a GrGLProgram::CachedData but only when we're in the midst of ...
13 years, 8 months ago
(2011-05-11 14:07:19 UTC)
#1
This makes a copy of a GrGLProgram::CachedData but only when we're in the midst
of creating a new GL program anyway.
I tested it by setting the program cache size 5 and adding random false returns
to GrGLProgram::genProgram(). SampleApp ran through all the slides with many
fake program failures.
Addresses this chromium bug:
http://code.google.com/p/chromium/issues/detail?id=82184
Issue 4523056: Keep program cache in a consistent state when program creation fails
(Closed)
Created 13 years, 8 months ago by bsalomon
Modified 13 years, 8 months ago
Reviewers: junov, reed1, junov1
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 1