Commit Graph

12900 Commits

Author SHA1 Message Date
Ethan Lin
8b1ccb3cec Bug 1042696 - Set allocator to TextureClient from constructor. r=nical 2014-12-22 03:49:00 -05:00
Wes Kocher
aca592252a Merge inbound to mozilla-central a=merge CLOSED TREE 2014-12-23 16:47:42 -08:00
Ryan VanderMeulen
bba9447754 Merge m-c to b2g-inbound. a=merge 2014-12-23 13:18:49 -05:00
Kartikaya Gupta
61114fa106 Bug 1113386 - Don't send long-press events if they begin on a fast-motion block. r=botond 2014-12-23 11:05:46 -05:00
Carsten "Tomcat" Book
2aabf236cc Backed out changeset ad0bb596da2c (bug 1073003) 2014-12-23 13:35:02 +01:00
John Daggett
f448b65305 Bug 1109201 - null-check font within GetFontAt. r=roc 2014-12-23 05:01:11 -05:00
Nicolas Silva
e78e2d77e4 Bug 1071769 - Can't rerasterize valid region with tiling. r=Bas 2014-12-23 10:52:17 +01:00
Nicolas Silva
2fa4d2e50b Bug 1071769 - Fix the integration of DrawTargetTiled. r=Bas 2014-12-17 17:59:46 +01:00
Xidorn Quan
1885ee82d4 Bug 1098272 part 1 - Suppress line breaks inside ruby boxes. r=dbaron,roc
--HG--
extra : rebase_source : 2e884fd15244a265011e3241be084c5a1c6fd66e
extra : source : 0ea7212c131401abff6a097773ae93cdfa05dcde
2014-12-22 15:17:55 +11:00
Botond Ballo
86409607b7 Bug 1073003 - More Werror bustage fixes on a CLOSED TREE. r=bustage
--HG--
extra : rebase_source : 86466eea48ddfc7b5698d97ca574ed6cdf79326e
extra : amend_source : 9eb590b24276a068bbb078152509b3c743bb40f8
2014-12-23 00:03:15 -05:00
Jeff Muizelaar
ab58d4b845 Bug 1113291. Reenable DisplayLink blocking on Windows. r=bas
Bug 1107299 broke this blocking because it assumed that DoesD3D11DeviceWork()
only described whether texture sharing works. However we were also checking for
broken DisplayLink drivers in that function. This splits out that part and uses
it appropriately.

--HG--
extra : rebase_source : 895d2da6297a48d0a2cbef2d149c27471c788484
2014-12-22 00:41:57 -05:00
Nicolas Silva
cac5fac1bb Bug 1114336 - Fix typo in UpdateFromCompositorFrameMetrics. r=kats 2014-12-22 17:39:36 +01:00
Ryan VanderMeulen
e5f5946372 Backed out changeset dd9790020b89 (bug 1042696) for B2G debug crashes. 2014-12-22 11:15:36 -05:00
Ethan Lin
f74318e12f Bug 1042696 - Set allocator to TextureClient from constructor. r=nical 2014-12-22 03:49:00 -05:00
Milan Sreckovic
dcdba4d25d Bug 1095510 - See if ClearRect has weird data. r=jmuizelaar 2014-12-19 16:06:15 -05:00
Yan Gouts
171cf32ef7 Bug 1113774 - Transitioned FrameMetric mDisplayPort accesses to Get/Set method calls. r=kats 2014-12-23 10:35:58 -05:00
Jonathan Kew
9b86ba77e0 Bug 1108616 - part 3 - Only do language-specific shaping when the language was explicitly tagged. r=jdaggett 2014-12-23 12:50:10 +00:00
Jonathan Kew
cc0d8158c6 Bug 1108616 - part 2 - Add an explicitLanguage field to gfxFontStyle, and pass it down from callers. r=dbaron 2014-12-23 12:50:10 +00:00
Sotaro Ikeda
1efb2ccc69 Bug 1113789 - Remove GrallocTextureSourceOGL r=nical 2014-12-22 06:28:07 -08:00
Brian Birtles
20b332cf25 Bug 927349 part 13 - Update start times on animations in layers when the animation ready time is resolved; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles
febadec1c8 Bug 927349 part 12 - Store the initial time of animations on layers so start times can be resolved after-the-fact; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles
80a9850f7c Bug 927349 part 10 - Record the time when animations are ready to start; r=jwatt 2014-12-22 09:35:41 +09:00
Jonathan Kew
656525b8e3 Bug 1113070 - Update harfbuzz to 0.9.37+ (upstream 7d5e7613ced3dd39d05df83ca7e8952cbecd68f6). r=jdaggett 2014-12-20 19:37:24 +00:00
Ryan VanderMeulen
0a21cc6b87 Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-19 21:57:29 -05:00
Kai-Zhen Li
1695a9a4b1 Bug 1113655 - Fix bustage in gfx/layers/ImageContainer.cpp on gonk-L, r=roc,sotaro 2014-12-19 16:42:19 -05:00
Mason Chang
31ac06c046 Bug 1113725. Rename VsyncDispatcher to CompositorVsyncDispatcher. r=kats 2014-12-19 12:52:42 -08:00
Ryan VanderMeulen
cc98edf7a9 Backed out changeset ebcea5a8cb79 (bug 1095510) for asserts/crashes.
--HG--
extra : rebase_source : 7d3d8cb136ffd431605b45c16f4438eba64694c0
2014-12-19 15:41:29 -05:00
Markus Stange
0227d3cc8b Bug 1101635 - Enable tiling on 10.6. r=jrmuizel f=milan 2014-12-19 14:48:33 -05:00
Milan Sreckovic
86d80863ac Bug 1095510 - See if ClearRect has weird data. r=jmuizelaar
--HG--
extra : rebase_source : bc587fc96d30cac3ef829f8ceabc72aae6831a98
2014-12-11 12:05:51 -05:00
Nicolas Silva
f69279c005 Bug 1112170 - Don't disable tiles for the basic backend on Linux. r=Bas 2014-12-18 22:23:53 +01:00
Nicholas Nethercote
54aa31c3fb Bug 1113037 - Use stack allocation in DrawTargetCG::FillGlyphs() in the common case. r=mattwoodrow.
When viewing about:memory in verbose mode this reduces the number of heap
allocations by over 10%.

--HG--
extra : rebase_source : 954962295dcd90d66d0e02f782998884de879f17
2014-12-18 21:23:30 -08:00
Nicholas Nethercote
9719fd2fcc Bug 1113037 - Use stack allocation in DrawTargetCairo::FillGlyphs() in the common case. r=mattwoodrow.
--HG--
extra : rebase_source : f6270322664121cec3c82a7448c80963df6b0e5f
2014-12-18 21:23:28 -08:00
Prabhjyot Singh Sodhi
78f5368e85 Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats 2014-12-18 19:33:18 -05:00
Milan Sreckovic
24a732e527 Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical 2014-12-17 17:54:04 -05:00
Milan Sreckovic
c5ae89f266 Bug 1072871 - Make sure the targets don't disappear under us. r=benwa 2014-12-15 12:10:06 -05:00
David Anderson
f52f1d7e04 Handle in-process APZ events correctly on Windows. (bug 1111873 part 2, r=kats)
--HG--
extra : rebase_source : 8ca5156392705e3a1806fc6a15154dbaa380f438
2014-12-18 15:25:03 -08:00
Benoit Girard
ff2a74778a Bug 1113331 - Make the frame metrics easier to parse. r=kats 2014-12-18 16:33:10 -05:00
Benoit Girard
389852a080 Bug 1112756 - Pass display list and layers data directly to the profiler. r=mstange
--HG--
extra : rebase_source : 5c7295e80105b0db43651553c1b901836571cbbb
2014-12-18 13:32:53 -05:00
Benoit Girard
948f5853f1 Bug 1112476 - Support dumping texture data on the ClientLayerManager. r=mstange
--HG--
extra : rebase_source : 5d5cf3372993ca4af78e12236fc64836a56eff4b
2014-12-18 13:32:45 -05:00
Vladimir Vukicevic
5c7ed36c2c Bug 1113242 - followup; fix missing include, just in case - CLOSED TREE 2014-12-18 15:08:45 -05:00
Vladimir Vukicevic
a552f5164d Bug 1113242 - followup; fix missing namespace - CLOSED TREE
--HG--
extra : amend_source : 150f66d2444e56f30562265236080835fe1ffc58
2014-12-18 14:58:09 -05:00
Vladimir Vukicevic
0196c6b54d Bug 1113242 - Load Oculus VR support libs from location specified in prefs
From d4d1705a879295f9530da436fa437b1452c1768e Mon Sep 17 00:00:00 2001
---
 gfx/thebes/gfxVR.cpp | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
2014-12-18 00:18:35 -05:00
Vladimir Vukicevic
425c9c3916 Bug 1036602 - Add GL support for VR rendering; r=BenWa
From aec0bd50768482fe516111010bad2e57f01ede36 Mon Sep 17 00:00:00 2001
---
 gfx/layers/moz.build                           |   1 +
 gfx/layers/opengl/CompositingRenderTargetOGL.h |   4 +
 gfx/layers/opengl/CompositorOGL.cpp            |  14 ++
 gfx/layers/opengl/CompositorOGL.h              |  38 +++
 gfx/layers/opengl/CompositorOGLVR.cpp          | 326 +++++++++++++++++++++++++
 5 files changed, 383 insertions(+)
 create mode 100644 gfx/layers/opengl/CompositorOGLVR.cpp
2014-07-09 12:28:27 -07:00
Vladimir Vukicevic
79c03a5b37 Bug 1036602 - Regenerate D3D11 shaders; r=Bas
From 11ab35cf793e6a2a0342b4e1a761a6f4cc394ff5 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/CompositorD3D11Shaders.h   | 282 ++++++------
 gfx/layers/d3d11/CompositorD3D11ShadersVR.h | 638 ++++++++++++++++++++++++++++
 2 files changed, 786 insertions(+), 134 deletions(-)
 create mode 100644 gfx/layers/d3d11/CompositorD3D11ShadersVR.h
2014-07-09 12:28:05 -07:00
Vladimir Vukicevic
eb311ac343 Bug 1036602 - Fix up D3D11 genshaders.sh script; r=bas
From 42aa031e5b36efe5603525c7967557fec7e09ec5 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/genshaders.sh | 74 +++++++++++++++++++++++++-----------------
 1 file changed, 45 insertions(+), 29 deletions(-)
2014-07-09 12:27:38 -07:00
Vladimir Vukicevic
d08a8dca2a Bug 1036602 - rename d3d11 .fx files to .hlsl; r=bas
From 0117494b71e0b9ea01d8b552523529cf305ab919 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/CompositorD3D11.fx     | 279 --------------------------------
 gfx/layers/d3d11/CompositorD3D11.hlsl   | 279 ++++++++++++++++++++++++++++++++
 gfx/layers/d3d11/CompositorD3D11VR.fx   |  71 --------
 gfx/layers/d3d11/CompositorD3D11VR.hlsl |  71 ++++++++
 gfx/layers/d3d11/genshaders.sh          |  28 ++--
 5 files changed, 364 insertions(+), 364 deletions(-)
 delete mode 100644 gfx/layers/d3d11/CompositorD3D11.fx
 create mode 100644 gfx/layers/d3d11/CompositorD3D11.hlsl
 delete mode 100644 gfx/layers/d3d11/CompositorD3D11VR.fx
 create mode 100644 gfx/layers/d3d11/CompositorD3D11VR.hlsl
2014-12-17 11:47:06 -05:00
Vladimir Vukicevic
4949616691 Bug 1036602 - add D3D11 support for VR rendering; r=bas
From fbb1e2ba9936896a1eb932585218401f4c95e411 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/CompositorD3D11.cpp  | 212 +++++++++++++++++++++++++++++++++-
 gfx/layers/d3d11/CompositorD3D11.fx   |   1 +
 gfx/layers/d3d11/CompositorD3D11.h    |   9 ++
 gfx/layers/d3d11/CompositorD3D11VR.fx |  71 ++++++++++++
 4 files changed, 290 insertions(+), 3 deletions(-)
 create mode 100644 gfx/layers/d3d11/CompositorD3D11VR.fx
2014-07-09 12:26:51 -07:00
Nicolas Silva
75fb9728cb Bug 1110268 - avoid crashing in canvas code when failing to allocate a frame. r=Bas. 2014-12-18 19:28:16 +01:00
Ryan VanderMeulen
c1690cbae6 Backed out changeset bf93cbec0450 (bug 1112170) for OSX asserts/crashes. 2014-12-18 12:22:50 -05:00
Mason Chang
f19d8cf4e3 Bug 1101974. Part 6. Create VsyncSource on b2g. r=kats 2014-12-18 08:30:06 -08:00