| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Need to make sure that img is not zero.
bug: 6864545
Change-Id: I2a2c5440347681b462abaa5ac9101ddb6137c8c4
|
|
|
|
|
|
|
| |
bug:6579681
Regression from https://android-git.corp.google.com/g/#/c/197452/
Change-Id: If185faec6bb2d014c304afbb8ff752ebfc6e4b51
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
bug:6494473
Change-Id: I03e72faa0815337b46930dbaeb9062c057aa1e2a
|
|
|
|
|
|
|
|
|
|
| |
- extract image for body background (a lot more memory-friendly)
- implement tiling / repeat
- handles background color
bug:1352305
Change-Id: I0efa27e09416e3c3848a4a53ced650cbb3d9f7ce
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
bug:6346848
also renamed TileGrid* variables for clarity
Change-Id: Ie0e56a6e1e85db426c4944b03125248cd6a647c0
|
|
|
|
| |
Change-Id: I862487e8700a408e9e2f7f4dc7d034674ac454d0
|
|
|
|
|
|
|
| |
Was ignoring transform calculation
bug:6317028
Change-Id: I9d5d491ef9eb853535e18a8ad10ab387d77e2d80
|
|
Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46
|