27c44f678e24496fa5e969af1a239193b4ab5907: Bug 1368100 - Adapt tests to the new state;r=bgrins. draft
Nicolas Chevobbe <nchevobbe@mozilla.com> - Wed, 15 Nov 2017 10:58:10 +0100 - rev 699709
Push 89636 by bmo:nchevobbe@mozilla.com at Fri, 17 Nov 2017 14:29:44 +0000
Bug 1368100 - Adapt tests to the new state;r=bgrins. This introduces a few helpers to work with the state, as well uses the new selectors. MozReview-Commit-ID: D9aR7kbapZg
1dfbf3e438cca1c0160cdfa9f0bbfa22b8fd2035: Bug 1368100 - Adapt console to the new messages state; r=bgrins draft
Nicolas Chevobbe <nchevobbe@mozilla.com> - Fri, 17 Nov 2017 15:18:25 +0100 - rev 699708
Push 89636 by bmo:nchevobbe@mozilla.com at Fri, 17 Nov 2017 14:29:44 +0000
Bug 1368100 - Adapt console to the new messages state; r=bgrins This fixes and renames messages selectors. This also introduce some changes in the ConsoleOutput component so we can see the messages delta in shouldComponentUpdate. MozReview-Commit-ID: EjOM5ptLBog
bb668b3fa97836fe367d4a5a4d57e15d9e4262de: Bug 1368100 - Remove the messageAdd action;r=bgrins. draft
Nicolas Chevobbe <nchevobbe@mozilla.com> - Fri, 17 Nov 2017 15:25:18 +0100 - rev 699707
Push 89636 by bmo:nchevobbe@mozilla.com at Fri, 17 Nov 2017 14:29:44 +0000
Bug 1368100 - Remove the messageAdd action;r=bgrins. MozReview-Commit-ID: AC0YH88q8d9
cb1f611219b3aea41db110e05084c4732e717430: Bug 1368100 - Improve reducer performance by introducing mutability;r=bgrins. draft
Nicolas Chevobbe <nchevobbe@mozilla.com> - Fri, 17 Nov 2017 15:15:43 +0100 - rev 699706
Push 89636 by bmo:nchevobbe@mozilla.com at Fri, 17 Nov 2017 14:29:44 +0000
Bug 1368100 - Improve reducer performance by introducing mutability;r=bgrins. This patch is about not using immutable data for properties of the store that are not reflected in the UI. This way we can save up on object cloning. This also removes the messageAdd action (even if that will be done in a proper patch in Bug 1417446), and change the messagesAdd reducer. Basically we compute a "partial state" when looping over all the messages to add, which then gets applied on the previous state to create the new state. MozReview-Commit-ID: CkfasRlk2gR
fb8531a3c97e6439b9a4f48675edeccd3c3486e2: Bug 1368100 - Fix batchMessageAdd for test-perf.html; r=bgrins. draft
Nicolas Chevobbe <nchevobbe@mozilla.com> - Fri, 17 Nov 2017 15:14:32 +0100 - rev 699705
Push 89636 by bmo:nchevobbe@mozilla.com at Fri, 17 Nov 2017 14:29:44 +0000
Bug 1368100 - Fix batchMessageAdd for test-perf.html; r=bgrins. MozReview-Commit-ID: KvEriUXRzve
9fe2c76888799e003d8161996e0e4c3b4779167b: Bug 1416016 - Add ../config to the sandbox whitelist for older Mesa. r?jld draft
Gian-Carlo Pascutto <gcp@mozilla.com> - Fri, 17 Nov 2017 15:23:28 +0100 - rev 699704
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1416016 - Add ../config to the sandbox whitelist for older Mesa. r?jld MozReview-Commit-ID: KahivmVJR1l
8d8cfa078d8601abcb66e1edb786e971f929ad89: Bug 1368776 - Part 16. Ensure we more consistently pass the suggested size from SurfaceCache::LookupBestMatch. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:28 -0500 - rev 699703
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 16. Ensure we more consistently pass the suggested size from SurfaceCache::LookupBestMatch. r=tnikkel The suggested size is useful in more situations now that GetImageContainerImpl requires it. It should be passed whenever we have it available.
b9a29d94ccac646c9336fa75e084bbc8581501ad: Bug 1368776 - Part 15. Cache flags passed to ImageResource::GetImageContainerImpl for consistency. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:28 -0500 - rev 699702
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 15. Cache flags passed to ImageResource::GetImageContainerImpl for consistency. r=tnikkel When FLAG_HIGH_QUALITY_SCALING is used, we need to make sure we continue using that flag when we update the container. We should also use it for comparing whether or not an existing image container is equivalent.
ea3f6961ec397c07c6a6d4ffc2c72c402a6ea1dc: Bug 1368776 - Part 14. Make ImageResource::GetImageContainerImpl handle differing suggested sizes. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:27 -0500 - rev 699701
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 14. Make ImageResource::GetImageContainerImpl handle differing suggested sizes. r=tnikkel
400c34e4ec89e774e976781d2809d8930bd80b22: Bug 1368776 - Part 13. Make ImageResource::GetFrameInternal also return the suggested size for the lookup. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:27 -0500 - rev 699700
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 13. Make ImageResource::GetFrameInternal also return the suggested size for the lookup. r=tnikkel
4375bb4cf0a8de4465ad95a97913b27ed4807aac: Bug 1368776 - Part 12. Add gtests for RasterImage::GetImageContainerAtSize. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:27 -0500 - rev 699699
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 12. Add gtests for RasterImage::GetImageContainerAtSize. r=tnikkel
c069e359ee49cc80fc5c8c59de93c7929c63720e: Bug 1368776 - Part 11. Add ImageResource::GetImageContainerSize to determine the appropriate size for a requested container. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:26 -0500 - rev 699698
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 11. Add ImageResource::GetImageContainerSize to determine the appropriate size for a requested container. r=tnikkel
837f7f805c531e85d0c89d4a76049da0e748eb62: Bug 1368776 - Part 10. Implement RasterImage::IsImageContainerAvailableAtSize and GetImageContainerAtSize. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:26 -0500 - rev 699697
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 10. Implement RasterImage::IsImageContainerAvailableAtSize and GetImageContainerAtSize. r=tnikkel
0cd5200c5f768b8d10ef23ac8986003c0c71375b: Bug 1368776 - Part 9. Expose getting an image container at a given size. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:26 -0500 - rev 699696
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 9. Expose getting an image container at a given size. r=tnikkel This adds IsImageContainerAvailableAtSize and GetImageContainerAtSize to the imgIContainer interface, as well as stubbing it for all of the classes which implement it. The real implementations will follow for the more complicated classes (RasterImage, VectorImage).
9402cc966061e6954409bbe7ca8047ba1fd0eec1: Bug 1368776 - Part 8. Fix ImageResource::GetImageContainerImpl assert to allow high quality scaling. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:26 -0500 - rev 699695
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 8. Fix ImageResource::GetImageContainerImpl assert to allow high quality scaling. r=tnikkel
fd84718d8dbf50f149b6e131d496e495d1a08cf2: Bug 1368776 - Part 7. Remove size parameter from ImageResource::UpdateImageContainer. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:25 -0500 - rev 699694
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 7. Remove size parameter from ImageResource::UpdateImageContainer. r=tnikkel
e9c89d2b9f99fd87749b63bf5b027b39d28a09d7: Bug 1368776 - Part 6. Add support for multiple differently-sized image containers for downscale-on-decode. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:25 -0500 - rev 699693
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 6. Add support for multiple differently-sized image containers for downscale-on-decode. r=tnikkel Exposure of this functionality comes in a later patch in the set. Experimental testing with WebRender and image layers enabled suggests most of the time we are not using more than one image container per image, hence why mImageContainers has room for one container without a malloc.
ae1b16e57d97af77c2fedc5395ffb0800362e198: Bug 1368776 - Part 5. Refactor ImageResource::GetCurrentImage to reduce code duplication. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:25 -0500 - rev 699692
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 5. Refactor ImageResource::GetCurrentImage to reduce code duplication. r=tnikkel
7ebbec7a624ae13e6a5048b0a57ae9ee87747d41: Bug 1368776 - Part 4. Handle all potential DrawResult values to make Image::GetImageContainerImpl more generic. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:25 -0500 - rev 699691
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 4. Handle all potential DrawResult values to make Image::GetImageContainerImpl more generic. r=tnikkel RasterImage::GetCurrentImage can only return a subset of the DrawResult values, and the original RasterImage::GetImageContainer implementation relied upon this behavior. Now we handle them all to ensure that when other image implementations reuse it, they may return any valid DrawResult and get the expected results.
92f75e98b12170ba1b8bc1bf7d73ab342b5e383c: Bug 1368776 - Part 3. Move RasterImage::GetCurrentImage to ImageResource. r=tnikkel
Andrew Osmond <aosmond@mozilla.com> - Fri, 17 Nov 2017 06:45:24 -0500 - rev 699690
Push 89635 by gpascutto@mozilla.com at Fri, 17 Nov 2017 14:24:00 +0000
Bug 1368776 - Part 3. Move RasterImage::GetCurrentImage to ImageResource. r=tnikkel As part of the move, we add a IntSize parameter to ImageResource::GetCurrentImage. This is because we don't have access to the image's size (yet) from ImageResource, but additionally because we will need this anyways when we support multiple image containers at different sizes.
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip