summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform
Commit message (Collapse)AuthorAgeFilesLines
* Fixed infinite redraw loop from running out of layer tilesChris Craik2011-10-114-7/+20
| | | | | | | | | | | bug:5349958 Clear a flag when a layer tile can't allocate a texture, and only try and redraw from tile dirtiness if that flag is set. Also, don't ask for redraw if offending tiles are offscreen. Change-Id: Iadb0cb267a9c1f308e5b42a6e0e3b4bc71d18ece
* Merge "Delay sending Plugin Draw event until the surface is ready."Derek Sollenberger2011-10-101-0/+18
|\
| * Delay sending Plugin Draw event until the surface is ready.Derek Sollenberger2011-10-101-0/+18
| | | | | | | | | | bug: 5436630 Change-Id: I058a0d750f185c56c0fe70ac0bff7c9781c35dc8
* | Merge "Fixed URL lookup for data URLs."George Mount2011-10-101-5/+1
|\ \
| * | Fixed URL lookup for data URLs.George Mount2011-10-071-5/+1
| | | | | | | | | | | | | | | | | | | | | Bug 5383517 Data URLs were being stripped, preventing long click from doing anything. Change-Id: I5eba97725375a155d39f2489f97714a2b8bc8189
* | | Merge "Double buffering for layers"Chris Craik2011-10-1011-102/+327
|\ \ \ | |_|/ |/| |
| * | Double buffering for layersChris Craik2011-10-1011-102/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5309934 Defer picture changes and invalidations when: 1) a tiled texture hasn't completed painting 2) the user is scrolling (done in PaintedSurface) Remaining issues: Should block updates on zooming Change-Id: I60ee722e651f96e95a4ac0e819999fc1589037c3
* | | Adding support for multiple video surfaces per plugin.Derek Sollenberger2011-10-106-132/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL refactors our implementation to support multiple non-overlapping video surfaces per plugin instance. This will allow plugins to hardware decode simulatenous video streams using hardware. Additionally, this CL improves plugin startup latency by constructing the primary plugin surface as soon as possible in the UI thread. bug: 5318290 Change-Id: I53ceb8b6696159ecc4765c922704727a9a75a17d
* | | Merge "Switch find on page to GL"John Reck2011-10-075-155/+297
|\ \ \ | |/ / |/| |
| * | Switch find on page to GLJohn Reck2011-10-075-155/+297
| | | | | | | | | | | | | | | | | | | | | Bug: 5354191 Refactor how extras are drawn in GL Change-Id: Ifb61c73abecd2d074903a7fb44fe4b82aacc64ac
* | | Fix scrolling offset of ScrollableLayer when we touch them.Nicolas Roard2011-10-072-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the new direct update, we are setting directly the layers position; but for ScrollableLayer, we already set their position in the UI, so for them their webkit counterpart is actually older/wrong. The fix consists simply in not updating the positioning of ScrollableLayer. bug:5421867 Change-Id: Ia14e41aff641173a45ed898cd3b3eceab3f7bd7a
* | | Fix inverted mode renderingNicolas Roard2011-10-063-19/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GPU texture upload workaround broke it, as we are not using the Shaders when doing the copy. Adding some code to instead use a final shader that can be either normal or inverted, on demand. bug:5424589 Change-Id: If845233e12c65738925fbc81b21f1dc0fd38546e
* | | Fix repaint request logic for the image layer code pathNicolas Roard2011-10-063-25/+22
|/ / | | | | | | | | | | bug:5425608 bug:5218173 Change-Id: Ib14a5e53466b05781a842e24443e89a4779dba68
* | Fix repaint issues with overflow layersNicolas Roard2011-10-051-0/+2
| | | | | | | | | | bug:5297412 Change-Id: I6b483e174339bc854e5d301c5c1f2e5851e57772
* | Merge "Streamline the layers update codepath. Directly update the layers ↵Nicolas Roard2011-10-053-1/+41
|\ \ | | | | | | | | | transform and position. This makes updates faster and less dependent on other webkit work."
| * | Streamline the layers update codepath.Nicolas Roard2011-10-043-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Directly update the layers transform and position. This makes updates faster and less dependent on other webkit work. counterpart java CL: https://android-git.corp.google.com/g/#/c/139853/ bug:5218173 Change-Id: I03a76ab853e81f0f12177fb785707ffb8dace330
* | | Merge "Remove m_contentsImage usage"John Reck2011-10-044-7/+9
|\ \ \ | |_|/ |/| |
| * | Remove m_contentsImage usageJohn Reck2011-10-044-7/+9
| | | | | | | | | | | | | | | | | | Bug: 5410522 Change-Id: Id8457715665dbd51761900011beba57b7f634fff
* | | Fix ring clipJohn Reck2011-10-041-3/+14
|/ / | | | | | | | | | | Bug: 5406350 Change-Id: I95507ee163a2cb41cc605efaabf32b7cad814533
* | HW accelate button focus ringsJohn Reck2011-10-032-2/+6
|/ | | | | | Bug: 5353510 Change-Id: I1bb306381864357dab4c38fd5c182fda2dd08d8c
* Merge "Turn on the new Gpu Upload code path"Teng-Hui Zhu2011-09-301-1/+1
|\
| * Turn on the new Gpu Upload code pathTeng-Hui Zhu2011-09-301-1/+1
| | | | | | | | | | bug:5395019 Change-Id: Ifc16eb59fec62e5f4b95ad4e35f140969226506d
* | Merge "Fix low-res tiles rendering too early"Chris Craik2011-09-301-7/+7
|\ \
| * | Fix low-res tiles rendering too earlyChris Craik2011-09-301-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5369978 Low-res tiles were being prepared before high res, so despite being lower priority, they had a chance to start rendering when a new page was loaded before any other tiles existed in the priority queue. Change-Id: I479f01a00c2507bcabf13929eb099571d8886c4c
* | | Merge "The new Gpu upload code path."Teng-Hui Zhu2011-09-301-1/+22
|\ \ \ | | |/ | |/|
| * | The new Gpu upload code path.Teng-Hui Zhu2011-09-301-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | This relied on the hacky Surface Texture change: https://android-git.corp.google.com/g/#/c/138516/ bug:5347539 Change-Id: I78e0f677a9c201ba49e11ddb24fa095471cbf3c9
* | | Merge "Make the Gpu Upload path faster"Teng-Hui Zhu2011-09-301-8/+18
|\ \ \ | |/ / | | / | |/ |/|
| * Make the Gpu Upload path fasterTeng-Hui Zhu2011-09-291-8/+18
| | | | | | | | | | | | | | | | | | Basically, move unnecessary function calls out from the loop. And move the clear related code into DEBUG only. This is saving us some CPU overhead. bug:5347539 Change-Id: I237162fd6a502e93ea32c9856f907c5a9ddb2e78
* | Merge "Use state machine to track tile state"Chris Craik2011-09-297-66/+187
|\ \
| * | Use state machine to track tile stateChris Craik2011-09-297-66/+187
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5369978 Manage invalidations, painting, transferring, and swapping with a state machine. notes: * readyFor shouldn't be needed if all of the events that would cause a readyfor fail mark the tile dirty (such as stealing, scale change) * changing the scale of a page should discard all textures * m_dirty should be more gracefully worked into the state machine * a tile may drop dirtiness notifications if it's already painting, since upon completion m_dirty will be cleared - (issues for layers only) Change-Id: I5909fb5d208da2fb276e223c56bf143741a9a24c
* | Add debug informations to keep better track of layers allocationNicolas Roard2011-09-295-7/+61
| | | | | | | | | | | | | | | | | | Fix coherency issue in ClassTracker (it's accessed from two different threads and we were not locking the datastructure) bug:5366807 Change-Id: I7dbd4417a49f4b3af3e09d614cec6b4568b09f7a
* | Fix a memory leak with LayerAndroidNicolas Roard2011-09-297-24/+78
|/ | | | | | | (we had a cycle between LayerAndroid and PaintedSurface) bug:5366807 Change-Id: I1b7341984b3cc6fd998b9ab54205bb963eb9223d
* Dynamically set the upper limit of layer tiles' texture numberTeng-Hui Zhu2011-09-272-21/+9
| | | | | | | | | | Instead of using a static number, now the upper limit of the layer tiles is also dependent on the viewport size. At the same time, get rid of the old code only useful without tiled layer. bug:5347539 Change-Id: Ie720449ea15043d42a56f4c8af57820fa7f6e93c
* Increase the texture number for layersTeng-Hui Zhu2011-09-271-1/+1
| | | | | | | | This will break the Gpu upload code path on phones which is turned off by default, but it will work on the tablet. bug:5347539 Change-Id: Idc9889a8681035addd85843191322039a69110e5
* Merge "Egl sync code path should be only activated when we are in GpuUpload ↵Teng-Hui Zhu2011-09-261-1/+2
|\ | | | | | | mode"
| * Egl sync code path should be only activated when we are in GpuUpload modeTeng-Hui Zhu2011-09-261-1/+2
| | | | | | | | | | bug:5347539 Change-Id: I12b8b45792d5aa684295b897be308181a7d44631
* | Merge "Add shared images for layers"Nicolas Roard2011-09-267-43/+322
|\ \ | |/ |/|
| * Add shared images for layersNicolas Roard2011-09-267-43/+322
| | | | | | | | | | | | bug:5242595 bug:5218173 Change-Id: I37d395e85441671312aac3e236cc8276019aa990
* | am fab9df83: Rename Lohit_Hindi to Lohit-DevanagariRussell Brenner2011-09-231-1/+1
|\ \ | | | | | | | | | | | | * commit 'fab9df838471ec0516f4ce0360c6bc2f7248f53f': Rename Lohit_Hindi to Lohit-Devanagari
| * | Rename Lohit_Hindi to Lohit-DevanagariRussell Brenner2011-09-231-1/+1
| | | | | | | | | | | | | | | Bug: 5364436 Change-Id: I0ce921e330ab892d8334b3b8bf4539e6a175a78c
| * | Merge "DO NOT MERGE:Share the display from the UI thread" into ics-factoryromTeng-Hui Zhu2011-09-202-13/+27
| |\ \
| | * | DO NOT MERGE:Share the display from the UI threadTeng-Hui Zhu2011-09-192-13/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently disable the wait b/c b/5332112. For now it should be the same functionality as the original workaround by using glDraw. cherry pick from master c/135811/ bug:5270526 Change-Id: I1973188d8f86ea28e684d14bca794b2a61dac34c
| * | | Cherry-pick "Fix missing tiles" from master - do not mergeChris Craik2011-09-192-16/+28
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5288530 Fix issue where stealing a back texture from a tile (while the tile was ready to swap) wouldn't mark tile as dirty. Now, mark tile dirty whenever texture is stolen from it, and avoid trying to steal busy textures. Cherry-pick of CL: 6aa089bded6a1abbf8d61264588e1e3a32be31b3 Change-Id: Iacbda17ba4b4c6382ceb1c84a6e5f02e609a76a5
* | | Merge "Crash if stack is corrupted"Chris Craik2011-09-231-1/+3
|\ \ \
| * | | Crash if stack is corruptedChris Craik2011-09-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5362098 For tracking down very rare, very wrong scale values Change-Id: I00a5dd8d75c47c4c13c903e587b3983ea23496d7
* | | | Merge "Enable the CPU upload path for Browser."Teng-Hui Zhu2011-09-234-106/+154
|\ \ \ \ | |/ / / |/| | |
| * | | Enable the CPU upload path for Browser.Teng-Hui Zhu2011-09-234-106/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default for WebView should be still be GPU upload. That means Gmail will be default to using GPU upload. bug:5347539 The browser change is in https://android-git.corp.google.com/g/#/c/137606/ Change-Id: Ic7d42331511b24cf8a58f2f5fb64aaffc18cae5f
* | | | Merge "Avoid infinite prepare loop if bad scale provided"Chris Craik2011-09-232-1/+14
|\ \ \ \
| * | | | Avoid infinite prepare loop if bad scale providedChris Craik2011-09-232-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5362098 Note: we shouldn't be getting bad scales, now that the scale corruption issue has been reverted. Added logging for these to wrap transfer queue as well to detect fp corruption regression. Change-Id: I5e6d2afc1d483452140fab5390395c9581db86ca
* | | | | Merge "If we have a bad framework inval rect, request entire screen redraw"Chris Craik2011-09-231-6/+13
|\ \ \ \ \