DescriptionSkia issue 284 (http://code.google.com/p/skia/issues/detail?id=284)
GrGLProgram::ProgramDesc is passed as input to GrBinHashKey::keyData(), which yesterday was identified as the most expensive Skia function in profiles of the FishIETank demo.
Algorithm changes yielded a 6x speedup; this patch reduces the size of the data being hashed 3x for additional speedup.
Bools and small enums are stored in bytes, one bool is merged into a preexisting flag byte.
Many format tweaks (removal of trailing whitespace).
Patch Set 1 #Patch Set 2 : remove commented-out code #Patch Set 3 : remove commented-out member variable #
Total comments: 1
MessagesTotal messages: 5
|