summaryrefslogtreecommitdiffstats
path: root/WebCore
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Cherry-pick change Ibaa52a6b (webkit security patch)Bart Sears2011-03-131-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply webit security patch bug: 4089100 Change-Id: I80069fe6ec12a03fce88128be0ce90fee410911c
| | * | DO NOT MERGE : Cherry-pick of change I9942e8e4 from masterNicolas Roard2011-03-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wait the remaining of the 60FPS cap delay rather than not paint. Returning true if called faster than 60FPS means we are not drawing and ask for the framework to call us again; this works in general because the framework recopy the previous framebuffer. But in some cases, it didn't, causing the webview to flicker. A correct fix would be to introduce the capping in framework rather than try to doing it in the webview; in the meantime we will sleep the remaining of the delay as a workaround, so that we still provide the GPU benefits we wanted (at >60FPS the GPU was being saturated in some cases). bug:3500655 Change-Id: Iae50737b6d3202a8a0d3ec6d4a5261fe1b6d1b3f
| | * | Do not merge: Cherry-pick change I21555e92 from masterDerek Sollenberger2011-03-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3471680 Enable the plugin to specify the BGRA internal format for textures. Change-Id: Ied336c0a2309d14033a065b74e675d6d4405551b
| | * | Do not merge: Cherry-pick fix to framerate capDerek Sollenberger2011-03-012-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3471680 Fix framerate cap when multiple webviews exist. Each view will now be capped at 60fps. The previous code would either starve the drawing of additional webviews or would draw them at a rate of 60fps/N where N is the number of webviews. Change-Id: I359a79f5981bc29d57ce4b94eb00a5c9aee754d0
| | * | Cap framerate at 60fpsNicolas Roard2011-02-282-2/+15
| | | | | | | | | | | | | | | | | | | | bug:3471680 Change-Id: Ia19c4402858b758312c1f801bda990275f970b63
| | * | Do not merge: Cherry-pick CL to help flash plugin performanceNicolas Roard2011-02-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a glFinish() at the end of drawGL(), to help the GPU and the flash plugin... bug:3471680 Change-Id: I309e0ba13f0b51b08b762de39b47b2b409faeacc
| | * | Do not merge: cherry-pick incorect clip CL from masterDerek Sollenberger2011-02-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix problem where plugins were not drawn due to an incorrect clip. bug: 3451982 Change-Id: I9eaaa218afa1a386dcb89d1d7845f80b0b180959
| | * | Do not merge: Cherry-pick Fix ANR in the browser from masterNicolas Roard2011-02-199-25/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I3b08af94a6a7041d45d373ebaec0ec4ba59dac82
| | * | Merge "Do not merge: Cherry-pick 2nd part of GL_BLEND CL from master" into ↵Nicolas Roard2011-02-194-1/+8
| | |\ \ | | | | | | | | | | | | | | | honeycomb
| | | * | Do not merge: Cherry-pick 2nd part of GL_BLEND CL from masterDerek Sollenberger2011-02-184-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure non-ready tiles are painted with the page background color. bug: 3465059 bug: 3471680 Change-Id: Id0cc94f181882d1308471c9bd898fe005101d6f8
| | * | | Do not merge: Cherry-pick Flash performance CL from MasterNicolas Roard2011-02-181-6/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 3471589 Fix some of the performance issues when using the flash plugin embedded. What happened was that MediaLayer was always telling us to repaint the screen; we could repaint the same frame a dozen of times unecessarily. This in itself was wasteful but should have been ok, but the stream of commands plus the compositing caused the GPU commands used by flash to stall until they were executed... The compounded impact drasticaly lowered the performances. This is not a full fix as those conditions (us repainting the screen a lot) happens anyway when zooming or scrolling; but this should improve performances in the general case. Change-Id: I79a75c759fd5968cb822616eba0caa8c77e75835
| | * | Do Not Merge: Cherry-pick GL_BLEND CL from masterDerek Sollenberger2011-02-185-15/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Selectively enable and disable GL_BLEND for better performance. Bug: 3471680 Change-Id: I065b07f72a097418b81e5922574579574e7ca91a
| | * | DO NOT MERGE Fix GL_BLEND problem.Nicolas Roard2011-02-182-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Ie5d28ba451e7b37fd9c6a76c14fc3e4e525d9bf0
| | * | DO NOT MERGE Clip layers if the texture size is too large for the GPUNicolas Roard2011-02-181-1/+3
| | | | | | | | | | | | | | | | | | | | bug:3436987 Change-Id: Ibf42685ee07c6d0dd8a1a2b9c8b57da7f2a422db
| | * | Fix potential bug in setMaxTextureCount and limitNicolas Roard2011-02-181-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | the number of textures to 154 Change-Id: I39409e938b6b4bff23d6f1f0dc44648d63443f59
| | * | Set correct max texture allocations.Shimeng (Simon) Wang2011-02-183-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | This fixes core dump or dead lock in GL code when rotating screen. Change-Id: Ia7bfa71125f1d24158084b6192d805b5b08b60f8
* | | | resolved conflicts for merge of 43edd45c to masterNicolas Roard2011-03-111-10/+34
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: I270cbb054174dd3c2dc4464b484ad2c5a8db2724
| * | | Merge "Improve HTML5 audio/video controls" into honeycomb-mr1Nicolas Roard2011-03-111-10/+34
| |\ \ \
| | * | | Improve HTML5 audio/video controlsNicolas Roard2011-03-111-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only allow translucent controls for video... bug:2126902 Change-Id: I95fbf1fc736391a3adec3930119531684a1a9082
* | | | | am c23f88ac: am e8173146: Fix a crash caused by the wrong destruction handlingTeng-Hui Zhu2011-03-112-3/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'c23f88acfdc140b27fb31ab21fa79a7fa288c5aa': Fix a crash caused by the wrong destruction handling
| * | | | Fix a crash caused by the wrong destruction handlingTeng-Hui Zhu2011-03-112-3/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The VideoLayer is ref counted, so unref at the destrutor is the right way. Don't do a deletion. bug: 4072630 Change-Id: I1da4ec138ef119b1d8dd7700fef36bab4df55064
* | | | resolved conflicts for merge of 24e276c8 to masterNicolas Roard2011-03-112-2/+8
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: I1f46d4444330bf7e03b99a5d0089e9388b9ea8bd
| * | | HTML5 Video improvementsNicolas Roard2011-03-112-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove the seek buttons on the control bar - make the control bar translucent - add a fullscreen button passing the layer id to the java side bug:2126902 Change-Id: Id9638f6b01f968839eaf4b0bd8cf1603957753af
* | | | am 64d778d8: am d17e8139: increase the memory cap for bitmapsCary Clark2011-03-111-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '64d778d878c3458e0610d3276a5581c1cb134ef6': increase the memory cap for bitmaps
| * | | increase the memory cap for bitmapsCary Clark2011-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Increasing this size from 8 megs to 32 megs allows more RAM to be used before the image is sampled down. bug:3421165 Change-Id: I73047009522d6e80d1adc95cd12d763307ab1980
* | | | am c8f51213: am a1c8c003: Fix for display glitches.Nicolas Roard2011-03-101-0/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'c8f5121342c691a3491be42df11029628fb0d7a3': Fix for display glitches.
| * | | Fix for display glitches.Nicolas Roard2011-03-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were trying to update the texture with a bitmap larger than it. GL did not like this, so the texture was not updated at all... bug:4078436 Change-Id: I180f4da6991a3db988169d7abd06cc08d5b69a32
* | | | am 76060d50: am 331fdb19: webkit support for inline videoTeng-Hui Zhu2011-03-105-0/+220
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '76060d5095d4cbdeeec7f24cffcf8509ff8319d3': webkit support for inline video
| * | | webkit support for inline videoTeng-Hui Zhu2011-03-105-0/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basically we provide a Video Layer for the inline video. The java side change is at 101311. bug:3506407,2126902 Change-Id: I9cc1b910f502595d6be7ac81e448343ca6ca9100
* | | | am 1ef33939: am ad5136a7: Merge "Fix CSS animations" into honeycomb-mr1Nicolas Roard2011-03-105-129/+153
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '1ef33939a7137a30cae17f33be2c5c351627c12c': Fix CSS animations
| * | | Merge "Fix CSS animations" into honeycomb-mr1Nicolas Roard2011-03-105-129/+153
| |\ \ \
| | * | | Fix CSS animationsNicolas Roard2011-03-105-129/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - we were overriding existing animations. - implement correctly the removeAnimations functions - refactor AndroidAnimation (share common code) - fix how we use the timing functions for the animations - implements timing functions per keyframes bug:2453890 Change-Id: I367d708338c270171eeaacc7e2fb3729eb78c444
* | | | | am 5b3887e9: am 2a22f2ec: Fix a crash with column layout.Patrick Scott2011-03-101-0/+6
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '5b3887e9865915bffea12f8bff3e2a6f6b41b346': Fix a crash with column layout.
| * | | | Fix a crash with column layout.Patrick Scott2011-03-101-0/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a layer is paginated and has a positioned grandparent, paintPaginatedChildLayer might have an empty columnLayers vector. The logic in updatePagination has a similar check. Bug filed against webkit.org. Bug: 4026385 Change-Id: I9c7de5ccab171148d26cdd187efb97d13c033ae5
* | | | am 9c386d95: am 95cb21b0: Merge "Fix for gmail messages not showing after ↵Nicolas Roard2011-03-091-0/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | the first one. We were not resetting the unusable state (set by the clearView() function) when receiving new content..." into honeycomb-mr1 * commit '9c386d95d33a6a17d8e7634a60d9a21535b7e456': Fix for gmail messages not showing after the first one. We were not resetting the unusable state (set by the clearView() function) when receiving new content...
| * | | Merge "Fix for gmail messages not showing after the first one. We were not ↵Nicolas Roard2011-03-091-0/+3
| |\ \ \ | | | | | | | | | | | | | | | resetting the unusable state (set by the clearView() function) when receiving new content..." into honeycomb-mr1
| | * | | Fix for gmail messages not showing after the first one.Nicolas Roard2011-03-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were not resetting the unusable state (set by the clearView() function) when receiving new content... bug:4080072 Change-Id: Ie1110b511392b0a7fd21bbc23aa1b824eb8a78ad
* | | | | am bc3bf9d0: am 05bdccdb: Merge "Clear DOM storage when clearing other ↵Ben Murdoch2011-03-099-1/+156
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | cached data." into honeycomb-mr1 * commit 'bc3bf9d0c1bcbb18a881f2be8a9b57b522b1fbde': Clear DOM storage when clearing other cached data.
| * | | | Clear DOM storage when clearing other cached data.Ben Murdoch2011-03-099-1/+156
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Empty out DOM local and session storage in addition to HTML5 database and app cache when we get a request from java to delete cached data. Bug: 2117649 Change-Id: I5b6ee075d2a8fb44ee373ad4462a33623c9c2460
| * | | cherry-pick this change from master (should be in honeycomb-mr1) (please ↵Ed Heyl2011-03-082-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't merge) Avoid Android modifications to JavaNPObjectV8.cpp/h https://android-git.corp.google.com/g/40387 fixed a long-standing bug to avoid leaking references to injected Java objects. However, it did so by making changes to JavaNPObjectV8.cpp/h which were never upstreamed. This change avoids the need for these changes. This change also avoids the use of a local PassRefPtr, which was incorrectly introduced in https://android-git.corp.google.com/g/36204. Change-Id: Ia1e3245a953826bbfd8e085f7ed1b1341228255d
* | | | am 2f6d1dd4: am 91672cbe: Fix CSS animation bugsNicolas Roard2011-03-083-7/+19
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * commit '2f6d1dd4fdca6cdfd126806d395518f1f719b493': Fix CSS animation bugs
| * \ \ \ am 91672cbe: Fix CSS animation bugsNicolas Roard2011-03-083-7/+19
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '91672cbe203b55ec355d118636d333e9e7d7f3d7': Fix CSS animation bugs
| | * | | Fix CSS animation bugsNicolas Roard2011-03-083-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - we were replacing animations by new ones regardless of their types, so when two anims (i.e. transform and opacity) where set on the same layer, we'd only run the last one - the selection of the keys for keyframes animations was buggy bug:2453890 Change-Id: I03da3f6c2ba1f5bf778e099e52d71d2f5e67d27e
* | | | | am 9f47571b: am 42046545: Merge "Fix 2453890: animation via css ↵Nicolas Roard2011-03-083-26/+70
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | -webkit-transform" into honeycomb-mr1 * commit '9f47571b269cadbf4980189a49eac73b993737b6': Fix 2453890: animation via css -webkit-transform
| * | | | am 42046545: Merge "Fix 2453890: animation via css -webkit-transform" into ↵Nicolas Roard2011-03-083-26/+70
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | honeycomb-mr1 * commit '42046545ce1012ef3f925011573d265339778bed': Fix 2453890: animation via css -webkit-transform
| | * | | Merge "Fix 2453890: animation via css -webkit-transform" into honeycomb-mr1Nicolas Roard2011-03-083-26/+70
| | |\ \ \ | | | |/ / | | |/| |
| | | * | Fix 2453890: animation via css -webkit-transformRussell Brenner2011-03-083-26/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Followed model used for transform animations. Tested with http://www.webkit.org/blog-files/leaves/. Fixes http://b/2453890. Change-Id: Ie71217743b6e1ee9ab0e023fdff44e8c65c8d477
* | | | | am 99a10c9f: am 67e4aa15: Partial invalidation of the browser texturesNicolas Roard2011-03-0815-109/+372
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '99a10c9fbf989ffb17c7871bcb0bc9ce9a959061': Partial invalidation of the browser textures
| * | | | am 67e4aa15: Partial invalidation of the browser texturesNicolas Roard2011-03-0815-109/+372
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '67e4aa15702646d5ff50e9524f4e63eb9ed20122': Partial invalidation of the browser textures
| | * | | Partial invalidation of the browser texturesNicolas Roard2011-03-0815-109/+372
| | | | | | | | | | | | | | | | | | | | | | | | | bug:3461349 bug:3464483 Change-Id: I627f06d0fe48aaa0adca65cd13dc738af87eeefc