diff options
author | tschmelcher@chromium.org <tschmelcher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 20:32:35 +0000 |
---|---|---|
committer | tschmelcher@chromium.org <tschmelcher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 20:32:35 +0000 |
commit | 1da05ebbe6301142de46ef7cb100b6cc5aaa38c2 (patch) | |
tree | bb071de66b7bc8a519a12833b7adf2a98bce39f0 /o3d/base/cross | |
parent | 2fc7d941268313c8c4db1d075600de1e0f410f1a (diff) | |
download | chromium_src-1da05ebbe6301142de46ef7cb100b6cc5aaa38c2.zip chromium_src-1da05ebbe6301142de46ef7cb100b6cc5aaa38c2.tar.gz chromium_src-1da05ebbe6301142de46ef7cb100b6cc5aaa38c2.tar.bz2 |
O2D:
- Save textures in memory rather than reading them directly from the SetRect() source, which is an unsafe hack. This fixes a crash when a texture was painted after the shared memory was unregistered, or if a texture was painted that was created from a static image downloaded from the net. This is a perf regression due to the extra copy, but we can add a special shared memory texture class later. This also regresses the functionality because SetRect() updates only a portion of the texture but RendererCairo paints the entire texture. An upcoming CL will add an API to define the region to paint.
- Remove unused weak pointer tracker from Layer class.
- Create textures of the requested image format rather than hard-coding ARGB8, and fail for formats not supported by Cairo.
- Fix a couple crashes caused by missing refcounts.
- Fix crash when trying to render a Layer that has no assigned texture.
TEST=loaded O2D many times
BUG=none
Review URL: http://codereview.chromium.org/5134005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66807 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/base/cross')
0 files changed, 0 insertions, 0 deletions