History log of /external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0c274b96c2dfb5a83b12a99f1ca9069378f73bdb 12-Jun-2012 Chris Craik <ccraik@google.com> Workaround double blit failure

An issue occurs on Stingray where calling glTexSubImage2d in order to blit an
update to a texture fails silently if the texture has already been updated this
frame.

With this change, we now draw the tile off-screen to work around the issue just
before the second blit is required. This way, the second blit succeeds.

bug:6630040

Change-Id: I07213954669b0f3d3f5b87a748a591e532b097b4
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.cpp
988183e308148947b034b108c552e719eaff74fb 05-Jun-2012 Chris Craik <ccraik@google.com> Size change on the base surface invalidates the larger of the new/old dimensions

Fixes an issue where tiles outside the new bounds weren't invalidated, as the
layer shrank in one dimension.

bug:6609350
Change-Id: I1f6715670654c9e6211dbec71875aa2ea11cd8f8
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.cpp
25c25a826222bf0fa1df56f6cfd8582296357b49 01-Jun-2012 Chris Craik <ccraik@google.com> Disable clipping on the base surface

Base surface can expand dynamically (see BaseLayerAndroid::updatePosition) to
fill the viewport, so disable clipping on it.

bug:6593707
Change-Id: I3afafb28fbe95d3162c76f8e835932577ded65ce
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.cpp
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/rendering/Surface.cpp
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/rendering/Surface.cpp
bfd7e70d96a769e5d62fb5c9148b5c810a8bef65 24-May-2012 Chris Craik <ccraik@google.com> Use Surface areas to compute tile usage

Previously we used the surface's first layer's area, which is often incorrect in
the case of significant layer merging.

bug:6545187
Change-Id: Ied3e5e3cd894b145ed905f8ba83649b3c4f3b1dd
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.cpp
9b0772e730f6ddda6199c42de267fc7742716c00 18-May-2012 Nicolas Roard <nicolasroard@google.com> Fix repaint glitches on merged layers

bug:6502237
Change-Id: I62f296d429dcf4917ff2e93029022a7ab2cf3fd6
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.cpp
377dc9f6b46a2ac0f968d9ee8d3c7916f3bf6904 18-May-2012 Nicolas Roard <nicolasroard@google.com> Fix invalidations sent to framework

bug:6479200 bug:6323847 bug:4124445
Change-Id: I1a4058ba6c69d3e285b6274d99a6eafcbf1cdc6f
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.cpp
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/rendering/Surface.cpp
fd977d1127769acd8e0a441cf2ae17de6ab3b979 15-May-2012 Chris Craik <ccraik@google.com> calculate draw transforms before merging layers

bug:6331760
bug:6331909
bug:6470927

Change-Id: I558ba1aafb6f7e6800f3bcd22dab5f98e197ddeb
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.cpp
425ef23631e3468c61a5740dd4e4bae3052cec48 12-May-2012 Chris Craik <ccraik@google.com> Fix stale tile problem

bug:6483791

Update tile painter of outstanding operations
Always schedule a paint operation if we can't update an outstanding one
Remove old interruption code, as it's no longer used

Change-Id: Ibcdb142d3d9b4ee7a52c78b5c121056089913211
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.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/Surface.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/Surface.cpp
e712b54e831d077c789984b8206f64d81dbceaa2 07-May-2012 John Reck <jreck@google.com> Merge "Broaden fast inval path" into jb-dev
d30efeae4fa6b64029cfa478fe80981232f502e5 04-May-2012 John Reck <jreck@google.com> Broaden fast inval path

Bug: 6445600
Clip fast partial invals to the screen instead of an arbitrary size
limit

Change-Id: Iafcbcb427566db87420b8bfc54eb9148530913ce
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.cpp
38c837307303e521ec0d1c9f7c0df7bd78dd53a5 04-May-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Unify the naming of rectangles used for draw." into jb-dev
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/Surface.cpp
44fc37bf2a57490f319e5ddd4f692abf235cb9ca 03-May-2012 Nicolas Roard <nicolasroard@google.com> Fixed single-surface rendering with fixed-background elements

In single-surface rendering, we did not paint the surface collection
correctly if there was more than one child on the base surface
(which is the case with fixed-background elements).

Change-Id: I6e8d34630060414159b5f13cd302c1dc2165a048
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.cpp
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/rendering/Surface.cpp
2ad54828a335c8e7337ab1f1077253689630a6d2 25-Apr-2012 Nicolas Roard <nicolasroard@google.com> Merge "CSS Background image implementation"
32ce41e0241790f20e63cafea4d3c1db87423eec 20-Apr-2012 Chris Craik <ccraik@google.com> Don't overdraw TileGrids

Given the visible area info, we can just tune the shader and matrix to draw
partial tile at the edge of TileGrids. This could save a lot of GPU time.

Change-Id: I1a45aa9a3a76ab5894096828bfff83057b1c9272
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.cpp
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/rendering/Surface.cpp
893264ea664be9af3ac64e24116045b51df6f031 16-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Move the matrix support to rely on the new framework clip info"
868c42d56aae84ed4cd33f9de0d93132e1483ddc 10-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Move the matrix support to rely on the new framework clip info

In this new way, we don't need to worry about the animation offset, b/c it is
in the clip rect.
Also add the matrix support for video layer.

bug:5684832

Change-Id: I08e22ca042e425f8f7af935b60e04f2a4dbc52df
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.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/Surface.cpp
5f0350c3ee327062ec6e22a3935c3bd4534cd15d 11-Apr-2012 Chris Craik <ccraik@google.com> Skip drawing the background (glClear) if the tiles cover it.

bug:5631590

Change-Id: Ic7dc0dac0d7f98fb94eb2b111b3e59a0a7010caf
/external/webkit/Source/WebCore/platform/graphics/android/rendering/Surface.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/Surface.cpp