Make consistent with Accelerated 2D Canvas flag on both implementation and chrome...
commit9f05f012951b73116c0cd50191b0d63871437a95
authordongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 3 Dec 2013 11:20:27 +0000 (3 11:20 +0000)
committerdongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 3 Dec 2013 11:20:27 +0000 (3 11:20 +0000)
tree3c7e0a7bc989b7b19872e0d42dee10bc720f67ff
parent9dcf724687237e1b8c94a103f65691287b058378
Make consistent with Accelerated 2D Canvas flag on both implementation and chrome://gpu.

Currently, we don't enable accelerated 2d canvas in software rendering mode, but
chrome://gpu does not concern software rendering mode.

This CL adds GPUInfo::SupportsAccelerated2dCanvas() so that any clients query if
accelerated 2d canvas is supported.

Review URL: https://codereview.chromium.org/95013004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238347 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/gpu/compositor_util.cc
content/renderer/renderer_webkitplatformsupport_impl.cc
gpu/config/gpu_info.h