summaryrefslogtreecommitdiffstats
path: root/gpu/ipc
diff options
context:
space:
mode:
authordigit@chromium.org <digit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-13 20:43:24 +0000
committerdigit@chromium.org <digit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-13 20:43:24 +0000
commit9c95e30678a21a0fc9a438345c2fcbef0c574ba4 (patch)
tree379b02d0a4cc2a30e603495fa1909f49bf80ea82 /gpu/ipc
parent8d2cde3d0ccd9110878ba6e6d2762775c258b0bc (diff)
downloadchromium_src-9c95e30678a21a0fc9a438345c2fcbef0c574ba4.zip
chromium_src-9c95e30678a21a0fc9a438345c2fcbef0c574ba4.tar.gz
chromium_src-9c95e30678a21a0fc9a438345c2fcbef0c574ba4.tar.bz2
Make some of the non-mutable tables in gpu/command_buffer 'const'.
These tables are never, ever, modified by the code or its clients. Adding the 'const' moves them either to read-only sections, saving private RAM when part of Chrome for Android. (The issue doesn't exist on the desktop where the Chrome Zygote shares these pages between all processes anyway. Not so on Android where the library, libchromeview.so, has to be reloaded explicitely by each renderer process). BUG=none Review URL: https://chromiumcodereview.appspot.com/16638010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/ipc')
0 files changed, 0 insertions, 0 deletions