Carsten "Tomcat" Book
affa023840
Backed out changeset a5d577ebb3d0 (bug 1060869)
2014-11-25 14:13:55 +01:00
Seth Fowler
3c52847f5b
Bug 1060869 (Part 3) - Make the SurfaceCache free only a fraction of its data on memory pressure. r=dholbert
...
--HG--
extra : rebase_source : 432056ddc161ca128aabfa7adeef763a3250a070
2014-11-25 00:10:11 -08:00
Jonathan Kew
302e6a68fc
Bug 1103388 - Use sideways orientation for lone <space> when text-orientation is mixed. r=smontagu
2014-11-24 21:42:53 +00:00
Bas Schouten
a4160bd481
Bug 1026893 - Followup: Address review comment. r=me
2014-11-24 21:11:24 +00:00
Bas Schouten
5979d48779
Bug 1026893 - Catch exceptions during D3D11 initialization. r=jmuizelaar
2014-11-24 15:40:29 -05:00
Bas Schouten
a1c3f897af
Bug 1103176: Block Direct2D when D3D11 layers is blacklisted. r=BenWa
...
When the D3D11 compositor is blocked through blacklisting, we have no way of using Direct2D in a fast manner and do not want it to be used in any situation.
2014-11-24 19:44:52 +00:00
Bas Schouten
bf63a045c0
Bug 1103135: Fix CompositorBench code to build again. r=benwa
2014-11-24 19:44:51 +00:00
Bas Schouten
f08b2404b5
Bug 1101248: Properly check return values of creation functions in DrawTargetD2D1::Init. r=BenWa
2014-11-24 19:44:48 +00:00
Kartikaya Gupta
e1fc5aa9d8
Bug 1056388 - Add assertions as per TODO. r=botond
2014-11-24 13:23:57 -05:00
Robert Longson
687a879b40
Bug 1099197 - Determine the bounds of unstroked polylines/polygons directly. r=jwatt
2014-11-24 14:28:58 +00:00
Jacek Caban
aaebfd8017
Bug 1102809 - Fixed -Wunused-function warnings found in mingw build. r=mattwoodrow
2014-11-24 11:19:36 +01:00
Dan Glastonbury
b245039eaf
Bug 1097413 - Symbolic constants kGLESVersion2 and kGLESVersion3. r=jgilbert
...
--HG--
extra : rebase_source : 4d82f144bf9b713b50d995cf4db9340098b8f346
extra : source : 2204f9511fc39f27da83f32dfb9596558e67f83a
2014-10-27 09:31:57 +10:00
Neil Rashbrook
835839d298
Bug 1101130 Followup to add a missing #ifdef r=Bas
2014-11-23 23:53:00 +00:00
Jonathan Watt
cf91ac7a84
Bug 1103623 - Port most remaining gfxContext::Fill() calls to Moz2D. r=mattwoodrow
2014-11-24 00:04:33 +00:00
Jonathan Watt
15d307f095
Bug 1103621 - Get rid of GraphicsOperator::OPERATOR_CLEAR. r=mattwoodrow
2014-11-20 10:40:04 +00:00
Jonathan Watt
27f773a8c4
Bug 1103620 - Remove gfxContext::CurveTo and gfxContext::QuadraticCurveTo. r=mattwoodrow
2014-11-19 08:05:14 +00:00
Gary Kwong
1101f84381
Bug 428633 - crashtest.
2014-11-23 15:09:50 +00:00
Kartikaya Gupta
98f1b0f730
Bug 918288 - Add logging for some of the SetTargetAPZ codepaths. r=botond
2014-11-21 21:36:26 -05:00
Kartikaya Gupta
08918bfa1a
Bug 918288 - Modify the SetTargetAPZC API to take an array of targets for multiple touch points. r=botond
2014-11-21 21:36:25 -05:00
Bas Schouten
13df588328
Bug 892910: Deal with newSize becoming empty in CreatePartialBitmapForSurface. r=BenWa
...
This patch deals with the situation where newSize becomes empty and causes a division by 0 in the current code. It also ensures all the callers will abort any potential drawing when CreatePartialBitmapForSurface returns a nullptr.
2014-11-20 20:48:01 +00:00
Wes Kocher
17b0884718
Backed out changeset 82e94c16732d (bug 1101974)
2014-11-21 10:52:24 -08:00
Wes Kocher
13494abc49
Backed out changeset 08df10804c35 (bug 1101974)
2014-11-21 10:52:17 -08:00
Mason Chang
4d2515e824
Bug 1101974. Part 2: Initialize vsync source during compositor creation. r=mstange
2014-11-21 09:16:19 -08:00
Mason Chang
bebd67962c
Bug 1101974. Part 1. Move VsyncDispatcher to CompositorParent. r=roc
2014-11-21 09:16:19 -08:00
Vladimir Vukicevic
ae674a1a2f
Bug 1036602 - add generic gfx/layers functionality for VR rendering; r=nical
2014-07-09 12:26:18 -07:00
Vladimir Vukicevic
c12136ff59
Bug 1036604 - Add VRDevice interfaces, navigator.getVRDevices call, and Oculus Rift gfxVR; r=bz,jrmuizel
2014-07-09 12:24:49 -07:00
Jonathan Watt
63ffb25058
Bug 1100448 - Protect against null cairo_surface_t when getting the underlying surface from DrawTargetCairo. r=Bas
2014-11-17 21:41:41 +00:00
James Willcox
e9da75e581
Back out bug 1097116
2014-11-21 09:47:03 -06:00
James Willcox
7d1813c44b
Bug 1097116 - Fix readback for EGLImageImage r=jgilbert
2014-11-21 09:28:21 -06:00
James Willcox
76052a1209
Bug 1097116 - Copy the decoded SurfaceTexture into an EGLImage to allow accurate presentation r=jgilbert
2014-11-21 09:28:20 -06:00
James Willcox
45a7d7ad68
Bug 1097116 - Add fencing and better lifetime management for EGLImage Images r=jgilbert
2014-11-21 09:28:19 -06:00
Boris Chiou
4b888d9c25
Bug 1096139 - Create websocket dynamically after we enable Layerscope. r=dglastonbury
...
We have to create the websocket if it doesn't exist after enabling
Layerscope. Therefore, we don't have to reboot the device anymore.
1. Remove the Init and DeInit in CreateCompositor and DestroyCompositor
to prevent some unwanted deInits on the browser. (Our browser often
calls DestroyCompositor)
2. Initize websocket only when we need it.
2014-11-20 02:00:00 +01:00
Milan Sreckovic
c64009526e
Bug 1097655 - Guard against invalid shadow manager. r=sotaro
2014-11-19 15:22:03 -05:00
Wes Kocher
c7e19b6b37
Merge m-c to inbound a=merge CLOSED TREE
2014-11-20 18:03:29 -08:00
Wes Kocher
898d3ed7b8
Merge fx-team to m-c a=merge
2014-11-20 17:55:52 -08:00
Benoit Girard
0d3235245b
Bug 1098495 - Part 2: Run the layer tree invalidation code on windows. r=mstange ON A CLOSED TREE
...
--HG--
extra : rebase_source : 1e98356dabedb557ad786dbd49679206e24cf09e
2014-11-20 15:10:18 -05:00
Benoit Girard
7db266a8bc
Bug 1098495 - Retain a container's intermediate surface's content. r=mattwoodrow
...
--HG--
extra : rebase_source : cdb691c1127445eeeb2e4fda5a0ef4f2223703fc
2014-11-18 17:33:36 -05:00
Nicolas Silva
9cc5370293
Bug 1101552 - Remove the double-buffered ImageClient. r=sotaro
2014-11-20 19:49:51 +01:00
Nicolas Silva
096edd5eaf
Bug 1086670 - Add some gfxCriticalError logs around DrawTarget creation. r=Bas
2014-11-20 15:48:07 +01:00
Karl Tomlinson
2c7a9e1789
bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
...
--HG--
extra : rebase_source : b78ffe7ffddf47a9646c1766626f48aed67ebb09
2014-11-10 15:47:55 +13:00
Karl Tomlinson
3323d5eba9
bug 1096132 rename UpdateScaledAppUnits() to UpdateAppUnitsForFullZoom() r=tn
...
--HG--
extra : rebase_source : d8fee82d9740fc0067d7b9a6e3d6d82fbbb85db0
2014-11-08 17:30:15 +13:00
Karl Tomlinson
0a52493d8d
bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
...
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Carsten "Tomcat" Book
89e7e647c2
Merge mozilla-central to fx-team
2014-11-20 12:22:05 +01:00
David Anderson
b2e46c1fab
Add inactive subframes to the dispatch-to-content region. (bug 1082594, r=tn,kats)
2014-11-19 20:24:15 -08:00
Tatiana Meshkova
ee4083a44f
Bug 1023156 - Cannot build Qt with errors in gfxQtPlatforms (with Qt 5.3)
2014-11-19 22:02:51 -08:00
Kearwood (Kip) Gilbert
2d939aaa56
Bug 1086723 - Part 2: Test. r=kats
...
- Reftest added to perform an async scroll and verify that the mask used
to render the rounded corners of a fixed position element are correctly
offset.
2014-11-19 12:39:00 +01:00
Kearwood (Kip) Gilbert
118a58666e
Bug 1086723 - Enable asynchronous update of mask layer transforms. r=kats
...
- Layer::ComputeEffectiveTransformForMaskLayer now computes a delta transform
for the mask layer's effective transform using the masked layer's shadow
transform and base transform. This delta is applied to the effective
transform of the mask layer, with the same effect as if it were also
transformed by the APZ.
2014-11-14 15:33:00 +01:00
Benoit Girard
345e116691
Bug 1087530 - Part 2: Set OGL Scissor during mClearOnBind. r=jmuizel
2014-11-19 15:30:25 -05:00
Benoit Girard
a52fc33128
Bug 1101650 - Fix mClearOnBind logic. r=jmuizel
2014-11-19 15:29:23 -05:00
Kartikaya Gupta
53936f3254
Bug 1100140 - When a scrollable layer is marked as fixed-position, don't treat it as fixed relative to itself. r=botond
2014-11-19 13:41:48 -05:00
Bas Schouten
218b3cfb39
Bug 1101130: Make Direct2D 1.1 clean up its resources on shutdown. r=jrmuizel
2014-11-20 00:16:48 +00:00
Milan Sreckovic
1ba7431253
Bug 1095925: Propagate the error up the chain. r=jmuizelaar
2014-11-14 16:11:02 -05:00
Markus Stange
87a2c79250
Bug 1101195 - Update imgData vector length after reading into it. r=jwatt
2014-11-19 11:51:47 -05:00
Jacek Caban
9dfcf478d3
Bug 1068195 - Fix an invalid MOZ_ASSERT in moz2d code, asserting the value of a constant string pointer. r=jrmuizel
2014-11-19 11:08:14 +01:00
Milan Sreckovic
5aa70325ca
Bug 1074952 - Part 7. Add a logging support for a couple of common Moz2d enums. r=bschouten
2014-11-11 16:09:35 -05:00
Milan Sreckovic
79fb503b37
Bug 1074952 - Part 6. Fully qualify the appropriate logs in the logging macros, otherwise we can't call these from other namespaces. An example in non-gfx/2d where it would not have worked without this change. r=botond
2014-11-18 10:51:39 -05:00
Milan Sreckovic
867c20e622
Bug 1074952 - Part 5. Let the CrashReporter decide what threading combination is allowed. r=nsilva
2014-11-13 14:52:05 -05:00
Milan Sreckovic
d8d778d935
Bug 1074952 - Part 4. For the critical log, save the first, then circular buffer the rest into the crash annotations. r=bas
2014-11-17 17:16:55 -05:00
Milan Sreckovic
7ece31d5c9
Bug 1074952 - Part 3. Redo the const values and optimize for the case where we decide runtime not to log messages. Move the decision about newline to OutputMessage. Make [GFX#] the default automatic prefix. r=bschouten
2014-10-24 13:54:26 -04:00
Milan Sreckovic
d236c0f23f
Bug 1074952 - Part 2. gfxWarning() should be available in both debug and release builds. r=bas
2014-10-24 13:54:23 -04:00
Milan Sreckovic
69a2fba4b0
Bug 1074952 - Part 1. Expose the level of logging as a preference. r=bschouten
2014-10-24 13:54:20 -04:00
Wes Kocher
b90e1fb58c
Backed out changeset 41ecbb9a5fac (bug 1092634) for reftest bustage
2014-11-18 17:21:08 -08:00
Jeff Muizelaar
2e91f43b73
Bug 1092260. Use PREVENT_INTERNAL_THREADING_OPTIMIZATIONS with D3D11. r=bas
...
Using this seems to avoid the AMD frame delay bug.
--HG--
extra : rebase_source : 1b867ebfef30d1c1a426c7510591770f362d2b28
2014-11-18 17:29:57 -05:00
Jeff Muizelaar
ad57218e47
Bug 1101160. D3D11: Make switch statement better. r=bas
...
This is the order one would expect.
--HG--
extra : rebase_source : 299b3814983d42908c2507028bb1c16c64b0f25f
2014-11-18 15:49:39 -05:00
Markus Stange
fee32b29b7
Bug 1097776 - Don't leak the SkBitmapDevice. r=jrmuizel
2014-11-18 17:22:01 -05:00
Markus Stange
4bfc882827
Bug 1097776 - Use Skia for unaccelerated rendering of 3D transforms. r=jrmuizel
2014-11-18 17:21:45 -05:00
Markus Stange
8fab03417e
Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
...
This makes the color matrix and component transfer Moz2D filters generate an infinite output, which is then cropped to the primitive's filter primitive subregion by a subsequent crop filter node. This still gives us different behavior than other browser when the primitive subregion is overridden using the x/y/width/height attributes - other browsers either ignore those completely (IE) or only let them crop the default subregion (which is defined to be the same as the input subregion) and not enlargen it - but I'll fix that in a separate bug.
2014-11-18 17:21:19 -05:00
Mason Chang
e356eb5ca2
Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa
2014-11-18 13:28:42 -08:00
Mason Chang
a549f6a91c
bug 552020 Part 1: Hook into CVDisplayLink to get vsync events on OSX. r=benwa,mstange
2014-11-18 13:28:42 -08:00
Wes Kocher
1270a44f4d
Backed out changeset 0092a5e1467d (bug 1097776) for reftest failures and leaks
2014-11-18 11:00:08 -08:00
Markus Stange
0882643bae
Bug 1097776 - Use Skia for unaccelerated rendering of 3D transforms. r=jrmuizel
2014-11-18 11:36:17 -05:00
Benoit Girard
a50adb60a6
Bug 1087530 - Retain container's intermediate surfaces for up to one frame. r=jmuizelaar
2014-11-03 17:27:32 -05:00
Jeff Muizelaar
f7a15a92d7
Bug 1073036. Fix an assertion string that I forgot about.
...
--HG--
extra : rebase_source : 9c52d35673e7a28d2c982a070e28b18792cc1a98
2014-11-18 10:33:36 -05:00
Jeff Muizelaar
4b0029fdf7
Bug 1073036. layers: Track program state more carefully to avoid setting unnecessarily. r=nical
...
This introduces some infrastructure to start tracking the program state more carefully. Currently
it only tracks the program because UseProgram was showing up the most in profiles, but more
state could also be added as needed.
--HG--
extra : rebase_source : 289ab867ef63032f7604a6cbe6d0230fd0a9411a
2014-11-10 14:34:06 -05:00
Sid Stamm
2189922ce8
Bug 704320 - Add referrer policy support to stylesheet and CSS loads and fonts. (r=bz)
2014-11-18 08:46:47 -05:00
Milan Sreckovic
361b6464fe
Bug 1094338 - Allow depth texture on OS X 10.8.3 and higher. Clean up some OS X versioning tracking in the process. r=jgilbert
2014-11-10 22:15:22 -05:00
David Anderson
ec1f0caf28
Add APZ handling for desktop scroll wheel events. (bug 1086162 part 1, r=kats)
2014-11-17 20:56:18 -08:00
Botond Ballo
2bc3fddde6
Bug 1093298 - Ignore calls to AsyncPanZoomAnimation::Sample() with a negative time duration. r=kats
2014-11-17 13:18:16 -05:00
Jeff Muizelaar
6514be6291
Bug 1088414. Backout "Use a single synchronized texture for d3d11"
...
https://hg.mozilla.org/mozilla-central/rev/e2efedec2d60
2014-11-17 14:20:05 -05:00
Jonathan Kew
9eb8336282
Bug 1098497 - Update OTS to latest upstream (at commit 7091a232a10a741591ff25158c98ca3f0c319cf9) to pick up recent fixes. r=jdaggett
2014-11-17 15:24:05 +00:00
Nicolas Silva
df35228518
Bug 1098000 - Track the number of compositable references to TextureHost and only unbind gralloc textures after the last ref goes away. r=sotaro
2014-11-17 11:06:25 +01:00
Jonathan Kew
0df56b5464
Bug 1097615 - Add MOZ_OVERRIDE annotations to subclasses of gfxFont. r=jdaggett
2014-11-17 09:59:50 +00:00
Jonathan Kew
8949117378
Bug 1089787 - Get glyph widths via Core Text for fonts with embedded color bitmaps. r=jdaggett
2014-11-17 09:59:49 +00:00
John Daggett
0bfe6c37e0
Bug 1100221 - eliminate unused GetOrMakeFont for Android. r=m_kato
2014-11-17 16:48:51 +09:00
Bas Schouten
d4181f7c5f
Bug 1099335: Base decision to use a complex clip on whether a DT supports regoin clipping. r=jrmuizel
...
DrawTargets that support region clipping are able to clip to regions effectively. Other DrawTargets go through expensive complex clip paths. When invalidating regions we have code that draws in multiple steps when using Direct2D to avoid this expense, we should base the decision to do this simply on whether the DrawTarget supports fast region clipping.
2014-11-16 19:17:40 +00:00
David Anderson
bebf0f726f
Don't overscroll during a fling unless overscrolling is enabled. (bug 1099442, r=botond)
2014-11-14 16:19:00 -08:00
Jeff Gilbert
7ae848e5c1
Bug 1089018 - Centralize GLContext spew control. - r=jrmuizel
2014-10-24 18:26:41 -07:00
George Wright
c1cc8c3af6
Bug 1042291 - Add a CanvasDrawObserver which observes the first few seconds/frames of a Canvas2D's lifetime to determine using a heuristic if it should be software or GPU backed. r=gw280, r=snorp
2014-09-10 16:15:43 -04:00
Matt Woodrow
a543eacc24
Bug 1088414. Use a single synchronized texture for d3d11. r=bas,f=jrmuizel
...
Calling AcquireSync on textures created with
D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX appears to be really slow, this really
bites us with the number of textures involved when tiling.
I've also tested using ID3D11Query to check when work is completed, this also
appears to be pretty slow.
This instead just uses a single texture with a keyedmutex, and makes sure we
draw to it last and lock it first. It's pretty hacky, but seems to work really
well so far.
--HG--
extra : rebase_source : bf5f56751f993e507fcd1e5c386fb1fc9a3f73af
2014-10-22 15:37:00 +13:00
Jeff Muizelaar
0579846e7e
Bug 1098389. Remove ClipToRegionSnapped. r=roc
...
We don't use this anymore.
--HG--
extra : rebase_source : 918eaa73f653962dccbfe6efdad69203ba041ef3
2014-11-14 10:46:02 -05:00
Ryan VanderMeulen
57225618ce
Backed out changesets a99bd0b3b075, a7fb851f823a, and 9fc2d99376cd (bug 552020) for non-unified bustage and OSX 10.6 tsvgr crashes.
...
CLOSED TREE
2014-11-14 15:57:35 -05:00
Mason Chang
a2d6748143
Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa
2014-11-14 08:31:04 -08:00
Kartikaya Gupta
3c1e9df074
Bug 1090398 - Add basic gtests for the event-regions based hit-testing code. r=botond
2014-11-14 07:40:15 -05:00
Kartikaya Gupta
2d6a90bc16
Bug 1090398 - Require APZC target confirmation before input blocks are ready for handling. r=botond
...
For proper hit-testing we need to deal with situations where the initial touch
input falls on a dispatch-to-content region of an APZC, and the main thread
later tells us that it actually hit another APZC. This patch allows input blocks
to have an "unconfirmed" APZC target for the initially-found target that can
then be replaced with a different target. Input blocks without a confirmed
target are not ready for processing.
2014-11-14 07:40:15 -05:00
Kartikaya Gupta
c863f93511
Bug 1090398 - Distinguish the various outcomes of APZ hit testing more explicitly. r=botond
...
Previously we output of APZ hit testing was an APZC instance and an "in
overscroll" flag. Now we need to also distinguish between the hit region and the
dispatch-to-content region for an APZC, so this patch introduces an enum that
makes this more explicit.
2014-11-14 07:40:15 -05:00
Kartikaya Gupta
f04a46f6fa
Bug 1090398 - Workaround for scrollinfo layers not yet having event regions set up correctly. r=botond
...
Until bug 1082594 is fixed, the area occupied by inactive scrollable subframes
don't get added to their layer's dispatch-to-content region. Therefore the APZ
code doesn't know what area corresponds to the subframe, even though it knows
there is a subframe because of the scrollinfo layer. This change inserts a small
workaround to deal with the scrollinfo layers specially, so that the composition
bounds from the scrollinfo layer is used to obtain the area. Once bug 1082594
is fixed this can probably be removed.
2014-11-14 07:40:15 -05:00
Kartikaya Gupta
ef3e0582eb
Bug 1090398 - Small refactoring that adds ParentLayerPixel::ToUntyped. r=botond
2014-11-14 07:40:14 -05:00
Kartikaya Gupta
394a46d78d
Bug 1090398 - Add support for using the layer event regions for hit testing. r=botond
...
When the event-regions are provided by layout, use them to populate the APZ-side
hit testing regions. The existing code is still used when event-regions are not
provided by layout.
2014-11-14 07:40:14 -05:00
Kartikaya Gupta
6a591da0b8
Bug 1090398 - Use EventRegions objects instead of nsIntRegions for tracking APZ hit-test areas. r=botond
...
This simply swaps out the existing nsIntRegion used in APZ hit-testing for
an EventRegion object. The dispatch-to-content region inside the EventRegions
is kept empty, and there are no functional changes here.
2014-11-14 07:40:14 -05:00
Kartikaya Gupta
d07c38c208
Bug 1090398 - Update the APZ docs to reflect the new hit-testing design. r=botond
2014-11-14 07:40:13 -05:00
Carsten "Tomcat" Book
0627ebf5ec
Backed out changeset 80f873bf8adc (bug 1036682) for test bustage
2014-11-14 12:32:47 +01:00
Nicolas Silva
6322eded61
Bug 1036682 - Check that the ipdl connection is not lost before sending messages. r=bjacob
2014-11-14 11:25:16 +01:00
Mason Chang
1a25033767
Bug 1085512 - Improve touch resampling heuristics. r=mwu
2014-11-11 15:39:00 +01:00
Carsten "Tomcat" Book
9a3e3d4bb8
Backed out changeset 48667a14f94d (bug 1092360) for test bustage / crashes on a CLOSED TREE
2014-11-14 08:14:22 +01:00
Benoit Girard
c0cfe730fd
Bug 1092360 - Avoid redundant framebuffer switches. r=jrmuizel
2014-11-12 17:39:17 -05:00
Matt Woodrow
1cf5fa276f
Bug 1097441 - Followup bustage fix on a CLOSED TREE
2014-11-14 17:30:02 +13:00
Matt Woodrow
b3a148dcdd
Bug 1097441 - Initialize mSize on BufferTextureHost. r=nical
2014-11-13 10:44:42 +13:00
Nicholas Nethercote
bdbe90d931
Bug 1098185 - Initialize some more fields in ShadowLayerForwarder when Valgrind is enabled. r=mattwoodrow.
...
--HG--
extra : rebase_source : 0063948d7a657421005535c8faad68e69b1a5fcf
2014-11-13 01:15:25 -08:00
Jeff Muizelaar
3b935d0a21
Bug 1089364. Avoid trying to resize the swap chain to a negative size. r=bas
...
This was causing GetBuffer to return DXGI_ERROR_INVALID_CALL
--HG--
extra : rebase_source : 49e62fd5dda1e28268218cffca4ea1ce7af1b6ea
2014-11-13 10:10:48 -05:00
Jeff Muizelaar
ae06ab96a4
Bug 1097877. Move GLBlitTextureImageHelper from gfx/gl to gfx/layers/opengl. r=nical
...
The only user is in layers/opengl. This is needed to do better state tracking
in the compositor.
--HG--
rename : gfx/gl/GLBlitTextureImageHelper.cpp => gfx/layers/opengl/GLBlitTextureImageHelper.cpp
rename : gfx/gl/GLBlitTextureImageHelper.h => gfx/layers/opengl/GLBlitTextureImageHelper.h
extra : rebase_source : bba00cbfac9253ca933721659dadbda2bfbe65c5
2014-11-10 14:49:05 -05:00
James Willcox
a11a769191
Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp
2014-11-13 12:47:24 -06:00
Benoit Girard
48140f14fe
Bug 1094442 - Part 2: Adjust tile size to the stride of the gralloc buffers. r=kats
...
--HG--
extra : rebase_source : d3386ee007d6429b81aa6d3ffe6c518fb67c7d6a
2014-11-12 17:55:13 -05:00
Benoit Girard
8a1c4934f8
Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
...
--HG--
extra : rebase_source : 70ef00318a718e2ce3149955d2908615d6125cf3
2014-11-12 17:54:29 -05:00
Sotaro Ikeda
4a33624da4
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-13 07:53:49 -08:00
Botond Ballo
27647aabec
Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
2014-11-10 14:35:11 -05:00
Botond Ballo
2124b8b94c
Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats
2014-10-20 17:12:35 -04:00
Botond Ballo
08963b106d
Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
...
This makes APZ behave nicely with most uses of a css transform:scale.
Summary of changes:
- FrameMetrics::mCumulativeResolution now includes the css-driven resolution
in addition to the pres-shell resolution.
- Displayports are now stored in Screen pixels rather than Layer pixels.
This is what we want anyways (as we'd like the displayport size to remain
constant as a fraction of the screen size), but it was necessary to make
this change as part of this patch because continuing to store them in
Layer pixels in the presence of a css-driven resolution would have
required a bunch of infrastructure to implement correctly.
Remaining work:
- Layout painting a scrollable layer at a resolution different from the
scale induced by the css transform causes problems. These will go away
with bug 1076192.
- Different resolutions on the x and y axes are not supported. This is
tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Douglas Crosher
563e91e13c
Bug 1021367 - Assertion failure in GetShaderConfigFor. r=nical
2014-06-09 20:10:28 +10:00
Jacek Caban
009d533960
Bug 1094141 - Don't export skia APIs from xul.dll. r=glandium
2014-11-13 13:09:48 +01:00
Carsten "Tomcat" Book
f8a9a0cf8d
Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE
2014-11-13 11:47:57 +01:00
Carsten "Tomcat" Book
b4345a9bb4
Backed out changeset 71fe4233208a (bug 1076163)
2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
5b163a6b8b
Backed out changeset a96930f1e26b (bug 1055741)
2014-11-13 11:47:31 +01:00
Jonathan Kew
05381c64c7
Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu
2014-11-13 08:58:06 +00:00
Jonathan Kew
70f0d0c0ca
Bug 1090168 - part 1 - Make textBaseline attribute in <canvas> work for vertical text. r=jdaggett
2014-11-13 08:58:04 +00:00
Botond Ballo
c54c9d42eb
Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
...
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo
2105a1529d
Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats
2014-10-20 17:12:35 -04:00
Botond Ballo
df8b0f8a7a
Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
...
This makes APZ behave nicely with most uses of a css transform:scale.
Summary of changes:
- FrameMetrics::mCumulativeResolution now includes the css-driven resolution
in addition to the pres-shell resolution.
- Displayports are now stored in Screen pixels rather than Layer pixels.
This is what we want anyways (as we'd like the displayport size to remain
constant as a fraction of the screen size), but it was necessary to make
this change as part of this patch because continuing to store them in
Layer pixels in the presence of a css-driven resolution would have
required a bunch of infrastructure to implement correctly.
Remaining work:
- Layout painting a scrollable layer at a resolution different from the
scale induced by the css transform causes problems. These will go away
with bug 1076192.
- Different resolutions on the x and y axes are not supported. This is
tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Ryan VanderMeulen
289fc4870b
Backed out changeset 92295f515d2d (bug 1091777) for bustage.
2014-11-12 21:09:40 -05:00
Sotaro Ikeda
34dd2a5f5b
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-12 17:47:10 -08:00
Robert O'Callahan
22b144ff56
Bug 1097437. Work around Quartz bug where corners of stroked rects don't get a solid color when they should. r=jrmuizel
...
--HG--
extra : rebase_source : deb88329b8948686119df73122032db999006cae
2014-11-12 20:52:57 +13:00
Bas Schouten
ffc65e20a8
Bug 1097803: Report succesful Direct2D 1.1 usage. r=jrmuizel
2014-11-12 18:44:31 +00:00
Benoit Jacob
fc6fa1ba2e
Bug 1095575 - DoesD3D11DeviceWork() should be overridable by force-enable prefs - r=bas
2014-11-12 11:48:01 -05:00
Sotaro Ikeda
c82676630f
Bug 1095639 - Re-enable acquire fence delivery on gonk r=nical
2014-11-12 07:55:31 -08:00
Michael Wu
b1eff34262
Bug 1082827: Allow D2D 1.1 to be selected for the canvas backend. r=bas
2014-11-12 15:05:14 +00:00
Bas Schouten
99628c3594
Bug 1097476: Fix typo in D2D 1.1 radial gradient code. r=jrmuizel
2014-11-12 15:05:13 +00:00
Bas Schouten
5b27300620
Bug 1097293: Do not draw radial gradients when centers and radii are identical. r=jrmuizel
...
When Cinner and Couter are equal, as well as Rinner and Router, the algorithm described in the canvas specification will hit a division by 0. As described in section 7 of the Canvas2D specification nothing should be drawn in this situation.
2014-11-12 15:05:13 +00:00
Milan Sreckovic
a9bfa1c874
Bug 1092191 - Do not warn about failure to load _Z35eglQueryStringImplementationANDROIDPvi. r=dglastonbury
2014-11-11 11:18:44 -05:00
chiajung hung
6ea6654370
Bug 880114 - Enhance render video-to-SkiaGL performance by GPU-based color space conversioni, r=gw280
2014-11-11 21:14:00 +01:00
Karl Tomlinson
e04362ca98
backout bug 1096132 for Mac build failure
...
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Karl Tomlinson
b61db0deda
bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
...
--HG--
extra : rebase_source : 06d57772b2dc04d606b3d98517085aeb817ae0e8
2014-11-10 15:47:55 +13:00
Karl Tomlinson
b797bb333d
bug 1096132 rename UpdateScaledAppUnits() to UpdateAppUnitsForFullZoom() r=tn
...
--HG--
extra : rebase_source : ec70af284ea91d28e6f66b487c7a543a1d93c7cc
2014-11-08 17:30:15 +13:00
Karl Tomlinson
1085e66407
bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
...
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
Seth Fowler
f72fd5c619
Bug 1071217 - Explicitly initialize the image module from gfxPlatform::Init. r=bas
...
--HG--
extra : rebase_source : c4c96ff051347dd85e053669533bd00d6120c75a
2014-11-11 17:28:50 -08:00
Jeff Gilbert
8288e5dae0
Bug 1096634 - Treat ANGLE default FB as RGB(A). - r=kamidphish
2014-11-05 15:04:55 -08:00
Bas Schouten
81d29cc4b4
Bug 1088235: Use DrawBitmap when we can. r=jrmuizel
2014-11-11 22:09:31 +00:00
Ryan VanderMeulen
41f3d97ad7
Merge inbound to m-c. a=merge
2014-11-11 16:29:57 -05:00
Ryan VanderMeulen
719f9216c7
Backed out 7 changesets (bug 1086693) for Android bustage on a CLOSED TREE. DONTBUILD
...
Backed out changeset 6eed18d830d2 (bug 1086693)
Backed out changeset b67a2e48f281 (bug 1086693)
Backed out changeset 2b4b439e7e6c (bug 1086693)
Backed out changeset 3adfd767a92f (bug 1086693)
Backed out changeset 6ea8b9247915 (bug 1086693)
Backed out changeset 408af1e3b457 (bug 1086693)
Backed out changeset 4c759b83892a (bug 1086693)
2014-11-11 16:13:15 -05:00
James Willcox
947ae1c3a2
Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp
2014-11-11 14:46:09 -06:00
Ryan VanderMeulen
3b01e527e7
Backed out changesets 857063c82323 and a19479860eb4 (bug 619521) for Valgrind failures.
...
CLOSED TREE
2014-11-11 13:10:56 -05:00
Kartikaya Gupta
7f62901778
Bug 1091296 - When applying the APZ transform on a layer, make sure not to clobber any existing OMTA transform. r=mattwoodrow
...
--HG--
extra : rebase_source : 9662fbdea917d63a1205660979cbb5c6f861ba02
2014-11-11 10:54:02 -05:00