summaryrefslogtreecommitdiffstats
path: root/content/public/browser/android/ui_resource_provider.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace SystemUIResourceManager with ResourceManagerjaekyun2014-12-111-29/+0
| | | | | | | | | | And move UIResourceClientAndroid and UIResourceProvider under ui/android. BUG=426939 Review URL: https://codereview.chromium.org/755643004 Cr-Commit-Position: refs/heads/master@{#307844}
* Restrict ETC1 power-of-two rounding to old IMG drivers.aelias2014-08-261-0/+2
| | | | | | | | | | | | | | | | | | | | The ETC1 spec says that any multiple of 4 is allowed for ETC1 size, but certain old IMG devices (notably the Galaxy Nexus) crash unless the textures are specifically power-of-two. To avoid wasting RAM on all devices due to this device-specific problem, this patch plumbs a driver workaround flag to the thumbnail store (the only user of ETC1 at present). We considered adding a workaround to the service side like all of the others, but because texture size impacts memory budgeting and coordinates, this one seems like it needs to be in the client code. NOTRY=true BUG=150500 Review URL: https://codereview.chromium.org/470233003 Cr-Commit-Position: refs/heads/master@{#291814}
* android: content::UIResourceProvider and content::UIResourceClientAndroidpowei@chromium.org2014-06-131-0/+27
We abstract out the allocation of UI resources into the UIResourceProvider. We add a client class that allows for callback from the provider when resources are invalidated (due to change in LayerTreeHost). android= https://chrome-internal-review.googlesource.com/#/c/164986 BUG= TBR=jam@chromium.org Review URL: https://codereview.chromium.org/287593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276955 0039d316-1c4b-4281-b951-d872f2087c98