History log of /external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c6d9134e49f290332ca788d10104749a37e9a727 20-Jun-2012 Chris Craik <ccraik@google.com> Don't allow layers that draw via drawGL to merge with other surfaces

bug:6694807

They don't paint onto surfacebackings, and draw afterward, so ordering issues
occur. Ideally, they should still be allowed to merge onto surfaces and not
allow other painting layers to join the surface afterward, but this shouldn't be
wasteful in practice.

Change-Id: I7a8764bc2b8e531e718602c6114b027a9dbce42d
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
f8a89eaa1361ce1e71ec7fa9065103fd0b305b5f 12-Jun-2012 John Reck <jreck@google.com> Call the right updatePositions*

Bug: 6634077
Software was accidentally calling the inner updatePositions instead
of the outer updatePositions which the hardware path calls. Move
the inner updatePositions to be protected instead of public to
guard against this in the future as well.

Change-Id: Ib509f151ce64bf390383eaa0c32a2bae89428e89
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
effdd108fdcbfad1612f8be305ea716bdd7d927e 31-May-2012 Chris Craik <ccraik@google.com> Don't allow merging within an animated layer

Also isolates layer translation fudging so as to not affect child transforms.

bug:6585341
Change-Id: If416c6fad90ee37fbe3438e01706b34e683165b7
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
db590796ce589844c92205685ffae83c86b168f0 31-May-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Minimize tearing for fixed element in single surface mode" into jb-dev
45c2747dcc0151ebf5a296118c2d3c8f69ab4f68 30-May-2012 Teng-Hui Zhu <ztenghui@google.com> Minimize tearing for fixed element in single surface mode

bug:5683630

Change-Id: I43f738f2649a79b4ad7865ed27375c07195fa9b9
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
cfbfb3bbc3ed10f3e061b52c70e5c7935e96a45a 26-May-2012 Chris Craik <ccraik@google.com> Reduce UI-thread computation

If the current clip covers the entire view, we don't have to calculate framework
invals from swapping layers - we already draw them immediately.

bug:6530473

Change-Id: I4b639e06781371e37c246f3220b79f28e7d95649
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
6c20d86c1e2d94a15a34cb3881f6c29967591f7d 24-May-2012 Chris Craik <ccraik@google.com> Compute draw transforms only for new/dynamically transformed layers

Previously, hundreds of layers could take 4+ ms to update transforms. Now, only
those that are fixed, have animations, or are scrollable calculate transforms.

bug:6530473

Change-Id: Ic9b14b76190c5bd0e5a405914a624d92b7ca7980
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
dc5192de2d6f8637cef9be2ae52c8c100b2932e0 24-May-2012 Chris Craik <ccraik@google.com> Move scrollOffset into Layer class

Layer can now use the offset to paint, resulting in correct translates for
overflow:scroll layers in the Layer::draw() path.

bug:6548000
Change-Id: I1dfb88b15491e72e6c3841ce2953e114124e40fd
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
1e59a334a1203c7be3fff2f9dbf94fee5b879d20 18-May-2012 John Reck <jreck@google.com> Make sure CanvasLayer isn't merged and is initialized correctly

Bug: 6516775

Change-Id: Ifecddec18d369ba701668be85d4032918fc8d4fa
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
ed2ce36a1fac9f85b65edf34a1c241c2f73d806c 15-May-2012 Nicolas Roard <nicolasroard@google.com> Allow more layers to be merged (merging fixed)

This will reduce the need to go to single surface rendering mode,
as well as improving jank by reducing the number of surfaces we need.
(tested on a set of popular sites, we now need up to 16 times less
surfaces, commonly 4-5 times less)

bug:5683630 bug:6499283 bug:6366440
Change-Id: I761c6a60279e5b21dca8bc1faccd956be58e3702
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
ff7c397b7e18be2ae819c4ffba438b738593ca20 16-May-2012 Chris Craik <ccraik@google.com> Revert "Allow more layers to be merged."

This was causing content to go missing.

bug:6504906

This reverts commit 0b072353e2ad89087c944dfb4acb1eff87bbac49
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
0b072353e2ad89087c944dfb4acb1eff87bbac49 15-May-2012 Nicolas Roard <nicolasroard@google.com> Allow more layers to be merged.

This will reduce the need to go to single surface rendering mode.

bug:5683630 bug:6499283

Change-Id: I482060b38d856c81ae8eff296e76252892e6a610
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
4f91e5abbd847c4dee4740d3116f23b73bf02ee5 15-May-2012 Chris Craik <ccraik@google.com> Update bounds calculation to use draw transform

Remove old bounds calculation method.

Depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/190474/

bug:6486310
Change-Id: Ieeb09778f810598c38127c66ae12b2b29abcf8e4
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
cedc69e9625169d4d585fcd019af2ea5597f0ed1 12-May-2012 Nicolas Roard <nicolasroard@google.com> Implements mask layers and replica layers

bug:6221600
Change-Id: I974eb846200d43bd3635ed1787a5753f87a547dd
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
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/layers/LayerAndroid.h
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/layers/LayerAndroid.h
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/layers/LayerAndroid.h
e859a34171f2a36877d95197d118d962078f8aa0 27-Apr-2012 John Reck <jreck@google.com> Rewrite PictureSet with TURBO!

This changes how partial invals are done by adding a hybrid mode.

What we used to do is generate a SkPicture for the new area. This
SkPicture would possibly be larger than the actual inval, depending
on various merge rules (more SkPictures == slower to draw a tile)

The new code rewrites PictureSet entirely, preserving many of the old rules
but cleans up the code and adds the concept of a "PrerenderedInval". This is
a partial inval that WebKit has rasterized. By having WebKit produce both
a SkPicture and a SkBitmap, we avoid needing to play back the picture and
avoid overdrawing. We take this SkBitmap, and simply update the front
textures with it. This gives us full partial invals through the entire
system without hitting any driver bugs, and with minimal copies. And while
the SkPicture may be larger than the inval, the SkBitmap that is rasterized
is not - it matches the area webkit has said is dirty.

Change-Id: Ieb7ecc9db0d4f679102fda004a43399f9b319ebc
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
a15d30f54c6edc68da7e82c198b5916dd023ac4d 07-Apr-2012 Nicolas Roard <nicolasroard@google.com> CSS Background image implementation

bug:1352305

Change-Id: Id9caaae9b9442729110b52c75004f634d8284db4
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
494de5e407849a3533d56bc3dddc1ca3a8c6f704 10-Apr-2012 Chris Craik <ccraik@google.com> Unify composited layer/base layer draw path

Multiple paths were redundant, as they both synchronized the layers, and drew
the base if needed.

depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/179964/
largely reverts 3adbe453816c9282bfe1d212e813661ce2590955

Change-Id: Ic60f79521dc62e7c2281302bc51a3dfde16d396f
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h
2e510fd5b5a30f1315c272d44ae3aa4cba355498 06-Apr-2012 Nicolas Roard <nicolasroard@google.com> Reorganize platform/graphics/android

Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46
/external/webkit/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h