History log of /external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cf1488f378638819eeb5fc276213437f6cbd0783 31-Aug-2012 Chris Craik <ccraik@google.com> Avoid unsafe use of SkRefCnt::getRefCnt() in ImagesManager

The function isn't threadsafe, so races would occur and certain textures
wouldn't be removed from ImagesManager's master list. The list would then be
iterated over, all items dereferenced, and bad times would ensue.

The SkRefCnt class uses atomic inc/dec to decide when to destroy an object, but
reading such an integer non-atomically isn't safe. Instead use the real signal
we're looking for - when the ImageTexture is deleted - to know when to remove
the ImageTexture from ImagesManager's list.

Mutual exclusion from editing the list is now maintained by only unref-ing the
ImageTexture within releaseImage, which holds the ImagesManager's m_imagesLock
(which we already do anyway).

bug:6859278
Change-Id: I75ebf79f2617484e7df355d6539226ce64882369
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
0e8bb60087a019d104b6eb4aa8abd11bd91b16c4 23-Jul-2012 Bart Sears <bsears@google.com> Null check to fix crash

Need to make sure that img is not zero.

bug: 6864545
Change-Id: I2a2c5440347681b462abaa5ac9101ddb6137c8c4
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
a762e7bf8891adc575b8b75cf79b710952ad090c 12-Jun-2012 Teng-Hui Zhu <ztenghui@google.com> Crash fix by checking null pointer

bug:6579681
Regression from https://android-git.corp.google.com/g/#/c/197452/

Change-Id: If185faec6bb2d014c304afbb8ff752ebfc6e4b51
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
750f81c3eb609bfd132182bbbb9b467455175498 06-Jun-2012 Teng-Hui Zhu <ztenghui@google.com> Add fast drawing path for repeat background image.

In the slow draw path, we are drawing the small background image one by one.
Now in the fast path, we can use the GL shader to repeat the iamges.

bug:6579681

Change-Id: I8ab413bdd073cb867002b77b36d4a1361290ecb2
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
beeb1d657b9aae3dc30bdc5cb06570b982261bb8 15-May-2012 Chris Craik <ccraik@google.com> Account for image scaling in calculating ImageTexture visible area

bug:6494473
Change-Id: I03e72faa0815337b46930dbaeb9062c057aa1e2a
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
576098317db607e1d3b32a0e53d2551ea0e7ef21 05-May-2012 Nicolas Roard <nicolasroard@google.com> Complete implementation fixed background
- extract image for body background (a lot more memory-friendly)
- implement tiling / repeat
- handles background color

bug:1352305

Change-Id: I0efa27e09416e3c3848a4a53ced650cbb3d9f7ce
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
418e065ccd82593c3f5d49942b0aaee6fac95615 07-May-2012 Mangesh Ghiware <mghiware@google.com> Fix visible area calculation.

Use the inverse of draw tranform to convert from content to layers
coordinate space.

Also, if the draw transform isn't limited to 2D space, return the entire
content area. Above conversion doesn't preserve 3D.

Bug: 6077575
Change-Id: I8393de0597ae5cd739b3df10c087cedd234ac9f0
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
9e3ead124cc10fcc888a8be7df9949d3d4ba1bb7 03-May-2012 Teng-Hui Zhu <ztenghui@google.com> Unify the naming of rectangles used for draw.

The rects are referring to the same rect under different coordinates,
so we just prefix the coordinates' name to differentiate the rects.
This is pure refactor, no functional change.
bug:6338456

Change-Id: Ic072a4f5aa56a25751e0151a697c0e31bca94ef5
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
e080317b90534632e8be18dc8d5e9a51554b444a 18-Apr-2012 Chris Craik <ccraik@google.com> prevent double TileGrid preparation

bug:6346848

also renamed TileGrid* variables for clarity

Change-Id: Ie0e56a6e1e85db426c4944b03125248cd6a647c0
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
64d72d82692e48f595e7a31ac2a1680f11d9186b 13-Apr-2012 Chris Craik <ccraik@google.com> remove several unneeded variables/parameters

Change-Id: I862487e8700a408e9e2f7f4dc7d034674ac454d0
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
ceac2217dad840ce8d690923219b51787083bb44 11-Apr-2012 Chris Craik <ccraik@google.com> Treat image texture TileGrids as non-base surfaces

Was ignoring transform calculation

bug:6317028
Change-Id: I9d5d491ef9eb853535e18a8ad10ab387d77e2d80
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp
2e510fd5b5a30f1315c272d44ae3aa4cba355498 06-Apr-2012 Nicolas Roard <nicolasroard@google.com> Reorganize platform/graphics/android

Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ImageTexture.cpp