DescriptionThis keeps a sorted history of the texture upload rate and increases
the history size to improve consistency/accuracy and overhead.
Prior to this patch, calling ThrottledTextureUploader::estimatedTexturesPerSecond
ran a sort operation, which will be slow for larger history sizes.
Instead of keeping a FIFO history, it keeps sorted history and discards
the min and max values.
BUG=155172
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163828
Patch Set 1 #
Total comments: 1
Patch Set 2 : Keep a sorted history and discard min/max #
Total comments: 4
Patch Set 3 : Use 1/2 median #Patch Set 4 : Rebase #
Total comments: 1
Patch Set 5 : Get rid of the global variable #Patch Set 6 : Fix compile errors for windows and android #Messages
Total messages: 10 (0 generated)
|