diff options
author | siva.gunturi@samsung.com <siva.gunturi@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 13:43:59 +0000 |
---|---|---|
committer | siva.gunturi@samsung.com <siva.gunturi@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 13:43:59 +0000 |
commit | 59c3879152c7ca9ad960f8fdff58231a5e2224f4 (patch) | |
tree | 979b1a4448895d246981153c87481c8d881bf0a6 /AUTHORS | |
parent | 99bd88d3cf35af1031995fb9f5404a0f7dc257f3 (diff) | |
download | chromium_src-59c3879152c7ca9ad960f8fdff58231a5e2224f4.zip chromium_src-59c3879152c7ca9ad960f8fdff58231a5e2224f4.tar.gz chromium_src-59c3879152c7ca9ad960f8fdff58231a5e2224f4.tar.bz2 |
Generic version of caching cc switches to avoid searching of switches on each function call
CC functions like CheckImplSidePaintingStatus will cycle through all the switches
every time the function is called. Initial patch is avoiding it only for IsImplSidePaintingEnabled. So we need a generic way for all the switches, for future use.
This patch provides a one time initialization of all the switches in its first encounter (InitializeSwitchesIfRequired)
and later on will just read the updated data of the corresponding switches, when required.
Declared a seperate structure for holding the switch enable/disable data and saving memory by using bit fields.
BUG=313193
TEST=None; no behavior changes;
Review URL: https://codereview.chromium.org/69123002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237068 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -266,6 +266,7 @@ Shiliu Wang <aofdwsl@gmail.com> Shouqun Liu <shouqun.liu@intel.com> Shreyas VA <v.a.shreyas@gmail.com> Simon Arlott <simon.arlott@gmail.com> +Siva Kumar Gunturi <siva.gunturi@samsung.com> Song YeWen <ffmpeg@gmail.com> Soren Dreijer <dreijerbit@gmail.com> Stephen Searles <stephen.searles@gmail.com> |