| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Do not build scrollable layers if the layer does not draw. No need to ask for a
sync since the rebuild happens during a sync.
Bug: 3429982
Change-Id: I7740cd4de4e1658e760da7391de708cbdf05cd44
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
bug:3451973
Change-Id: Ie334c54ebb6b5b1083616739f9a90b8e8f3b6693
|
|\ \
| | |
| | |
| | | |
heavy; we delay this computation if one was done recently."
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Computing the layers texture size is heavy; we delay this
computation if one was done recently.
bug:3375416
Change-Id: I0ce79cdfcaa15cd1521370a1d5b8df5a5e5ea2c5
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes core dump or dead lock in GL code when rotating screen.
Change-Id: I5da2e5a41dfdb18f98f126d2a2fac999210ce7c7
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Buttons failed to draw when selected with the keyboard, and
sometimes when selected by touch, for three reasons:
1) GL short-circuits if the last extra rectangle and the
curent extra rectangle match. When buttons change color,
the rectangles do match, but the picture still needs to
be redrawn.
2) Buttons do not have cursor rings, so the button's bounds
was not passed to GL.
3) The timeout logic to switch from a focused state to a normal
state was incorrect.
This adds a flag to GLWebViewState::setExtra that can skip the
equal rectangle case. Note that the equal rectangle test hides
a more serious bug where the setExtra is called repeatedly -- so
it would be worthwhile to examine this further.
The logic that determines if the cursor is a button was split
out so that the cursor ring can be associated with a button even
if the cursor is hidden.
bug:3364248
Change-Id: I75944cb045486c128743aa13922d20758ccf783f
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the layer structure during compositing sync. Make sure to turn off
scrolling if it changes.
Since I replace the content layer with a different structure, append the
children to the foreground layer so they move with the content. Remove the
clipping layer in the compositor for scrollable layers.
For children of scrollable layers, add back in the content scroll offset so that
layers are positioned relative to 0,0.
Bug: 3416512
Change-Id: I74de90aac2dcf67bd969d0b85f440343123ecab9
|
|
|
|
|
|
|
|
| |
glBindAttribLocation() will only work after a shader has been linked;
This was working previously due to the way the nvidia driver work
when using blending (it generates another shader).
Change-Id: Ia8bf578e214a02c7a7b3ad47600fca87fce73ac8
|
|
|
|
|
| |
bug:3436987
Change-Id: I180b9f54b9db5d190ca2832bea8b9ff210a0619a
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes we were not releasing textures as they were busy; they could
still be deleted when swapping the layers trees, and as they were
also still present in the LayerTexture Hashmap this was causing an ANR
(at best -- the texture was already deallocated, the LayerTexture dtor
was then trying to release() them...)
bug:3398660
Change-Id: I2747dd4630a2a7dc18eae4c5fde36fd14c461747
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the previous WAR, we get the screen size from UI thread at every draw call.
That is awkward.
Now with Java side fix, we can get the screen size from setSize call now.
However, forcing a full re-layout seems like an expensive operation.
What we need to make the webkit to know the update can be done by just
updating the fixed position elements only.
So I have done these:
1. Take away the WAR by forcing the update at the convertToLayerCoord.
2. Get rid of the UI thread stuff used to tell WebViewCore the screen size.
And get rid of the redundant variables, too.
3. update the fixed element at the setSize time.
BTW, I also rename the PlatformBridge functions name.
bug: 3397602
Change-Id: I0c422ecdb570de89aecb6e568d5067acf18ecfc6
|
|\
| |
| |
| |
| |
| |
| | |
crash" into honeycomb
* commit 'b50b0e165c9c308b9a4a1824db6ef52a00acadf5':
Fix 3366514 (again): browser emulator crash
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added TilesManager::hardwareAccelerationEnabled() to check internal
gInstance without the side-effect of creating it, if null. Used by
BaseLayerAndroid to avoid creating an instance during a destructor.
Emulator will have a null gInstance, so this provides a runtime
solution that distinguishes the emulator from the device.
Change-Id: I023849d0bb405deef588d7fc272f0e303577fddf
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
video surface.
* commit 'ad1398b85d7cef3bd7c3dc833921fcdb3c7f06f6':
Fix to post an inval when plugins request a native video surface.
|
| | |
| | |
| | |
| | | |
Change-Id: If9295a37ae19e7cb913e4cfa75b2a021bcda988f
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
new content.
* commit '4fff0b9fdd23cd60b036e2ea48190e7a7d8dbf13':
Only invalidate the webview when the plugin has new content.
|
| | |
| | |
| | |
| | |
| | | |
bug: 3424551
Change-Id: I07beef845bb41980144222c3c5d076db8120037c
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Bug:2754767
Enables us to remove some layering violations.
Change-Id: Iea184c7946bca9d840c708918f545a9d9b436254
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Lazily get the maximum texture size from GL when
we first need it. This avoids calling GL functions
before GL has been set up and ensures it is done on
the correct (ie. UI) thread.
Also move the tiles expansion setting from WC thread
to UI thread as TilesManager is not thread safe when
creating the singleton instance.
This makes change 4596782e unnecessary so we remove it.
Bug: 3412928
Change-Id: I740974d8cc0ef4f66956cd6a07b058bfa7ca767f
|
|\ \
| | |
| | |
| | | |
into honeycomb
|
| |/
| |
| |
| |
| |
| |
| |
| | |
case it was not.
fix regression bug:3412928
Change-Id: Ie83dd50163ef4435cd88471127869114e41068cc
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Compare the drawing texture with the new reserved texture to ensure that
m_reservedTexture will be updated properly.
Bug: 3381482
Change-Id: I4877842438376c00b65bdb10fb4feb1e8c50b2dc
|
|\ \
| | |
| | |
| | | |
several issues (3d transforms, etc.) and in general makes websites using layers snappier (gmail, etc.)" into honeycomb
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This fix several issues (3d transforms, etc.) and in general
makes websites using layers snappier (gmail, etc.)
bug:3367038 bug:3367048
Change-Id: Ib178416209c3636c7700296978a1f35a7a54ee22
|
|/
|
|
| |
Change-Id: I80c7757bfb85f0b45726f2fa2f18644d2493fced
|
|\
| |
| |
| | |
only consume as much GPU memory as needed, depending on its size, to a maximum of 256 tiles per TiledPage." into honeycomb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This way, a webview will only consume as much GPU memory
as needed, depending on its size, to a maximum of 256
tiles per TiledPage.
bug:3376517
Change-Id: Icc1e47623297cf1c01d40aa9e123c1a05373e7e5
|
|/
|
|
| |
Change-Id: Ic147e43f0a70bf7da70812e4383000d560b0dcbd
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Following recent update that added HARDWARE_ACCELERATION flag, it now
is disabled for emulator builds, removing incompatible calls to
TilesManager.
Change-Id: Iffbb57aebc3c2f22262ebf14ff7013d602c05c12
|
| |
| |
| |
| | |
Change-Id: Ic6e610df98b055dafb63dd0afddb13a8f9abbe44
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Id4757935bda7b688bec9448c842072cd8316d76b
|
|/ /
| |
| |
| |
| | |
bug: 3072603
Change-Id: I59e52cc9672c653760351b835c63d0496e6ff6ff
|
|\ \ |
|
| |/
| |
| |
| |
| | |
bug: 3072603
Change-Id: I46737fe52b1571834efaa6b8250645790205ff1a
|
|/
|
|
|
| |
bug: 3394773
Change-Id: I1eb3e3c0239546493a7bff2e954581cf18a4606c
|
|
|
|
|
| |
bug:3405986
Change-Id: I5ef5d9bc1041fabe5319e93180f94b521b07e93b
|
|
|
|
|
|
|
|
| |
bug:3355704
may also fix bug:3383599
Change-Id: I77892c2e90c4edf054513de92b0c6bfba3152819
|
|
|
|
|
| |
bug:3376517
Change-Id: If64b9385bc8e4d915597bd3f27b22c3d23f74a73
|
|
|
|
|
| |
bug:3376517
Change-Id: Ieb419bc3140963ccbda3e2f130778ec53b2920aa
|
|\ |
|
| |
| |
| |
| |
| | |
bug:3376517
Change-Id: I68cab08949302dd938b9c4753f9dfebd6c08e298
|
|\ \
| |/
|/| |
|