summaryrefslogtreecommitdiffstats
path: root/Source/JavaScriptGlue
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-06-26 08:19:53 -0700
committerJohn Reck <jreck@google.com>2012-06-26 11:24:01 -0700
commit53f84f58d9ffe86a4932c979b9863acadb5769ef (patch)
tree98675690fa67c9ad99362d666d1fca07b44d44ff /Source/JavaScriptGlue
parent92ce173b5580cd3aaee405de2b9b9e930de62f82 (diff)
downloadexternal_webkit-53f84f58d9ffe86a4932c979b9863acadb5769ef.zip
external_webkit-53f84f58d9ffe86a4932c979b9863acadb5769ef.tar.gz
external_webkit-53f84f58d9ffe86a4932c979b9863acadb5769ef.tar.bz2
Reduce number of operations
Don't record state changes that didn't actually change state Due to GraphicsContextAndroid::syncPlatformContext these 4 states are set before every draw call. This is cheap for PlatformContextSkia, as it detects that nothing has changed and so doesn't do anything. However, PlatformGraphicsContextRecording would always record these same 4 commands over and over again, which isn't efficient Change-Id: I386bcb91c7851824ed01de1856ce6f6a358f8eb4
Diffstat (limited to 'Source/JavaScriptGlue')
0 files changed, 0 insertions, 0 deletions