Clamp texture queries to sane values.
Some device's concept of time might be off. To prevent corrupt texture runtime measurements from corrupting the texture upload logic, we clamp the runtimes to the range of [1,15000] microseconds. If the corrupt runtimes are 0, this patch will effectively cause us to always upload all pending textures. This is a workaround until the async texture upload feature lands. BUG=162699 Review URL: https://chromiumcodereview.appspot.com/11434111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171108 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment