0aaabea2708e4ff27340b91a5337bc788231b1ae: Merge mozilla-central into the branch for asynchronous plugin painting on Windows.
Benjamin Smedberg <benjamin@smedbergs.us> - Fri, 05 Nov 2010 15:56:28 -0400 - rev 57228
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Merge mozilla-central into the branch for asynchronous plugin painting on Windows.
671bd739dbff035d5b1df3ce1e53e2974efdc3a2: With async plugin painting, crashtest 522512 is no longer valid (and the condition which caused it is entirely gone). Remove it.
Benjamin Smedberg <benjamin@smedbergs.us> - Fri, 05 Nov 2010 10:52:41 -0400 - rev 57227
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
With async plugin painting, crashtest 522512 is no longer valid (and the condition which caused it is entirely gone). Remove it.
df0cf7e8e9e6611f0a723c3239625bd5b1e94339: Test for bug 583109 - Add an .isVisible() method to the testplugin. test_visibility.html checks whether a visibility: hidden plugin suspends and resumes painting properly. test_xulbrowser_plugin_visibility.xul tests whether switching tabs properly suspends and resumes plugin painting. r-pending=karlt
Benjamin Smedberg <benjamin@smedbergs.us> - Fri, 05 Nov 2010 10:43:14 -0400 - rev 57226
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Test for bug 583109 - Add an .isVisible() method to the testplugin. test_visibility.html checks whether a visibility: hidden plugin suspends and resumes painting properly. test_xulbrowser_plugin_visibility.xul tests whether switching tabs properly suspends and resumes plugin painting. r-pending=karlt
6ff3fcbb784501e3dc241e511aeea04ff759a468: Bug 606285 and Bug 583109 - Send the "visible" notification when painting with async layers, so that when a plugin goes from invisible to visible it starts sending asynchronous paints. Suspend sending surface updates for asynchronous plugins when they are invisible, and set the empty clipRect so that the plugin knows that drawing is suspended per the new API. Assume that plugins are visible again when a Paint or BuildLayer call is received. r-pending=karlt
Benjamin Smedberg <benjamin@smedbergs.us> - Fri, 05 Nov 2010 10:40:55 -0400 - rev 57225
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Bug 606285 and Bug 583109 - Send the "visible" notification when painting with async layers, so that when a plugin goes from invisible to visible it starts sending asynchronous paints. Suspend sending surface updates for asynchronous plugins when they are invisible, and set the empty clipRect so that the plugin knows that drawing is suspended per the new API. Assume that plugins are visible again when a Paint or BuildLayer call is received. r-pending=karlt
24a2e0ac428f81256fc54025a8a9437dafde37b8: Bug 583109 - Add visibility notification for plugins by setting the NPWindow.clipRect to [0, 0, 0, 0] when the plugin is not visible, either in a background tab, or visibility: hidden. r=karlt Patch rebased against trunk by Benjamin Smedberg.
Jan Arne Petersen <jap@gnome.org> - Fri, 05 Nov 2010 10:38:33 -0400 - rev 57224
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Bug 583109 - Add visibility notification for plugins by setting the NPWindow.clipRect to [0, 0, 0, 0] when the plugin is not visible, either in a background tab, or visibility: hidden. r=karlt Patch rebased against trunk by Benjamin Smedberg.
167349934e8dbc73de2dcf7eef7174574d6b8bd0: Followup to bug 596451 part E (cset 37188e297b07) - double-pass painting is still used for in-process plugins, so fix the test expectations accordingly.
Benjamin Smedberg <benjamin@smedbergs.us> - Thu, 28 Oct 2010 12:57:33 -0400 - rev 57223
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Followup to bug 596451 part E (cset 37188e297b07) - double-pass painting is still used for in-process plugins, so fix the test expectations accordingly.
3db23492203ff76d97ade9e85436b99a165d5040: Merge mozilla-central to the branch for bug 596451.
Benjamin Smedberg <benjamin@smedbergs.us> - Thu, 28 Oct 2010 10:05:20 -0400 - rev 57222
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Merge mozilla-central to the branch for bug 596451.
9adc8f43d987fdf4ff0bd5945fbe9753f9c08bed: Fix testplugin painting issues from bug 596451 part J - when doing non-solid painting, paint to x/y, not 0/0.
Benjamin Smedberg <benjamin@smedbergs.us> - Thu, 28 Oct 2010 09:17:35 -0400 - rev 57221
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Fix testplugin painting issues from bug 596451 part J - when doing non-solid painting, paint to x/y, not 0/0.
005779cf3e419a4613459e764c90700bec6ad421: Bug 596451 part K - Make sure we set up the same plugin quirks for async plugin rendering that we do in AnswerNPP_SetWindow (fixes Flash/Silverlight context menus and mouse pointers), r=jmathies
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 16:56:48 -0400 - rev 57220
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Bug 596451 part K - Make sure we set up the same plugin quirks for async plugin rendering that we do in AnswerNPP_SetWindow (fixes Flash/Silverlight context menus and mouse pointers), r=jmathies
ac385c4d7b3704c533e14fc1d4fb552e8959ed37: Bug 596451 part J - Fix our test plugin to paint without using GDI functions which overwrite the opacity incorrectly, r=jmathies
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 16:56:34 -0400 - rev 57219
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Bug 596451 part J - Fix our test plugin to paint without using GDI functions which overwrite the opacity incorrectly, r=jmathies
5d416c488505e30c1d1c2446e4e9cadca4b0e444: Build bustage from bug 596451 part I - always return a value from PluginInstanceChild::ReadbackDifferenceRect.
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 15:27:33 -0400 - rev 57218
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Build bustage from bug 596451 part I - always return a value from PluginInstanceChild::ReadbackDifferenceRect.
9f1f861a9ff742ace1c25ec97c273eeaa5e326ab: Bug 607002 - Classes forward-declared as structs in IPDL-generated code cause MSVC warnings. Forward-declare them as classes. r=cjones
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 09:17:33 -0400 - rev 57217
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Bug 607002 - Classes forward-declared as structs in IPDL-generated code cause MSVC warnings. Forward-declare them as classes. r=cjones
c6a351a89dde8ee22010da6be19da3f9177bdb01: Bug 596451 part H - Make our quirk of silverlight transparent by default active in the plugin process, to match the logic in nsNPAPIPluginInstance. This makes the Microsoft Surface website paint correctly. r=jimm
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 09:13:53 -0400 - rev 57216
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Bug 596451 part H - Make our quirk of silverlight transparent by default active in the plugin process, to match the logic in nsNPAPIPluginInstance. This makes the Microsoft Surface website paint correctly. r=jimm
900cdb9c89529e731edabd78f853a3458ff6d13c: Bug 596451 part G - Fix a condition where FixupWindow is called too early and doesn't know that we are a windowless plugin yet. Call FixupWindow from nsPluginInstanceOwner::CreateWidget, r=roc
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 09:10:50 -0400 - rev 57215
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Bug 596451 part G - Fix a condition where FixupWindow is called too early and doesn't know that we are a windowless plugin yet. Call FixupWindow from nsPluginInstanceOwner::CreateWidget, r=roc
eda1909e1416781c4ab9576180179d3b8c4e732c: Bug 596451 part F - fix mouse/window positioning and remove the Silverlight quirk by changing the logical->device offset before painting, r=jimm
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 09:09:37 -0400 - rev 57214
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Bug 596451 part F - fix mouse/window positioning and remove the Silverlight quirk by changing the logical->device offset before painting, r=jimm
88f740a74afc33cc44ee08cbab6175f2f7b0e575: Bug 596451 part I - Read back from the current Windows surface, instead of repainting the entire client area every time, r-pending=jmathies
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 09:09:15 -0400 - rev 57213
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Bug 596451 part I - Read back from the current Windows surface, instead of repainting the entire client area every time, r-pending=jmathies
37188e297b073acf5d8319dddf5e8c1aa15722f3: Bug 596451 part E - Implement transparency using DIBs with builtin transparency. Flash at least does this correctly, and since nobody else really uses windowless transparency, this is going to be the Way It Is. r-pending=jimm/karlt
Benjamin Smedberg <benjamin@smedbergs.us> - Wed, 27 Oct 2010 09:03:09 -0400 - rev 57212
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Bug 596451 part E - Implement transparency using DIBs with builtin transparency. Flash at least does this correctly, and since nobody else really uses windowless transparency, this is going to be the Way It Is. r-pending=jimm/karlt
425bd6be7289f7439c3968fb6afbd407aa80c0fe: More build bustage from Bug 596451 part D. Explicitly initialize the const structures for GCC.
Benjamin Smedberg <benjamin@smedbergs.us> - Mon, 25 Oct 2010 16:25:01 -0400 - rev 57211
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
More build bustage from Bug 596451 part D. Explicitly initialize the const structures for GCC.
866e9298ee159c57b2a434b199b39d5a811cc061: Non-Windows build bustage fix from bug 596451 part D - base::SharedMemoryHandle is not available to IPDL on non-Windows, so use typedefs.
Benjamin Smedberg <benjamin@smedbergs.us> - Mon, 25 Oct 2010 15:12:25 -0400 - rev 57210
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Non-Windows build bustage fix from bug 596451 part D - base::SharedMemoryHandle is not available to IPDL on non-Windows, so use typedefs.
94324cad0457d50276216fec9cd21bdbc191580e: Bug 596451 part D - Hook up asynchronous plugin painting on Windows. This part allows opaque plugins to paint correctly. r=jmathies
Benjamin Smedberg <benjamin@smedbergs.us> - Mon, 25 Oct 2010 13:57:13 -0400 - rev 57209
Push 16846 by bsmedberg@mozilla.com at Wed, 10 Nov 2010 15:29:47 +0000
Bug 596451 part D - Hook up asynchronous plugin painting on Windows. This part allows opaque plugins to paint correctly. r=jmathies
(0) -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip