Commit Graph

6763 Commits

Author SHA1 Message Date
Matt Woodrow
9b421cc198 Bug 756601 - Use NS_roundf so that it compiles on windows. CLOSED TREE 2013-05-10 09:50:33 +12:00
Matt Woodrow
a6bc13035f Bug 756601 - Fix bugs with OMTC component alpha. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
b5f9287e07 Bug 756601 - Send the values of mScaleToSize/mScaleMode across IPC. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
2c2db73896 Bug 868259 - Fix BasicCompositor rendering. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
bf2eebbd4c Bug 756601 - Fix a few small layers refactoring bugs. r=Bas 2013-05-10 09:02:49 +12:00
Matt Woodrow
ee8133a490 Bug 756601 - Setup PaintWillResample correctly. r=roc 2013-05-10 09:02:49 +12:00
Matt Woodrow
bdcfb9acdc Bug 756601 - Use CreateThebesSurfaceAliasForDrawTarget_hack in CopyableCanvasLayer. r=roc 2013-05-10 09:02:49 +12:00
Matt Woodrow
665739eaea Bug 756601 - Round texture coords to the nearest texel. r=Bas 2013-05-10 09:02:49 +12:00
Matt Woodrow
ec2a27e32b Bug 756601 - Record memory usage for gfxQuartzSurface. r=jrmuizel 2013-05-10 09:02:49 +12:00
Matt Woodrow
e782ac7a86 Bug 756601 - Setup our OpenGL surface before compositing. r=mstange 2013-05-10 09:02:49 +12:00
Matt Woodrow
f6a99ea56f Bug 756601 - Use TextureImageCGL again, and used TiledTexturedImage for large textures. r=BenWa 2013-05-10 09:02:48 +12:00
Matt Woodrow
9c6aaf1b38 Bug 756601 - Use the right texture target when allocating texture in TextureHostOGL. r=Bas 2013-05-10 09:02:48 +12:00
Jeff Muizelaar
d94e90ba9d Bug 863498. Get the SurfaceTexture transform every draw. r=nical
ShadowImageLayerOGL::RenderLayer used to call gl()->GetSharedHandleDetails()
directly and uses that result.

This makes us do something similar. As a concequence we also drop the
mTextureTransform member because we are not caching it anymore.

I do wonder if it would make more sense for the content thread to send
the transform along with the update to make sure that it always matches.
This would also make it so that we have no chance of causing a GC
in the compositor to get the transform by calling through java.

--HG--
extra : rebase_source : 7520870d8f0f0bb81c4acbb3b2011f8b0056d53f
2013-05-08 18:04:59 -04:00
Ryan VanderMeulen
3a1c7fb6c7 Merge m-c to inbound. 2013-05-09 13:21:14 -04:00
Michael Wu
f4c0d1ead7 Bug 870375 - back out bug 869011 for startup crashes on devices 2013-05-09 13:01:22 -04:00
Michael Wu
1ec46fee8a Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375 2013-05-09 13:00:14 -04:00
Ed Morley
8a04bf8e38 Backed out changeset a23a23055e13 (bug 863498) for compilation failures on a CLOSED TREE 2013-05-09 17:31:59 +01:00
Jeff Muizelaar
3709c7cd90 Bug 863498. Get the SurfaceTexture transform every draw. r=nical
ShadowImageLayerOGL::RenderLayer used to call gl()->GetSharedHandleDetails()
directly and uses that result.

This makes us do something similar. As a concequence we also drop the
mTextureTransform member because we are not caching it anymore.

I do wonder if it would make more sense for the content thread to send
the transform along with the update to make sure that it always matches.
This would also make it so that we have no chance of causing a GC
in the compositor to get the transform by calling through java.
2013-05-08 18:04:59 -04:00
Jim Mathies
8475194898 Bug 830347 - Fixup Windows omtc code so that it builds builds with the 601 sdk. r=bas 2013-05-09 10:32:50 -05:00
Jacek Caban
d0b651581b Bug 830347 - Fixed TextureD3D11.h compilation on GCC. 2013-05-08 13:48:56 +02:00
Joe Drew
099014057f Bug 869011 - Use the correct shader for RGBX gralloc textures. r=bjacob
--HG--
extra : rebase_source : cb20795caae616cbbaa7dcbe568d51afcc155e35
2013-05-06 14:27:37 -04:00
Bas Schouten
50da3357c5 Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel 2013-05-03 19:34:29 +02:00
Bas Schouten
1ed8695dc3 Bug 830347 - Part 1: Initialize D3D11 device when needed. r=jrmuizel 2013-05-01 16:27:09 +02:00
Nathan Froyd
dbba9baf39 Bug 858131 - rewrite FloatingPoint.h to be C++-only instead of C-compatible C++; r+original-author=Waldo 2013-05-01 16:55:13 -04:00
Kyle Huey
2934511e8c Merge backout of bug 830347. 2013-05-08 12:06:17 -07:00
Kyle Huey
0adceb0fa5 Back out bug 830347. 2013-05-08 12:04:11 -07:00
Mark Banner
e569d3dfb4 Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps 2013-05-08 19:31:52 +01:00
Bas Schouten
e3373b8d78 Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel 2013-05-03 19:34:29 +02:00
Bas Schouten
99e7961a1f Bug 830347 - Part 1: Initialize D3D11 device when needed. r=jrmuizel 2013-05-01 16:27:09 +02:00
Nicolas Silva
7568ebe499 Bug 869026 - Fix GLContext::GetTexImage crash when GLContext::mScreen is null. r=jgibert 2013-05-07 02:23:40 -04:00
Jacek Caban
d240224348 Bug 830347 - Fixed TextureD3D11.h compilation on GCC.
--HG--
extra : rebase_source : 150b94d6bab35540e42a9e2bbd75492a2c3a9959
2013-05-08 13:48:56 +02:00
Makoto Kato
0ec059eb04 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Ryan VanderMeulen
f6068dd244 Merge inbound to m-c. 2013-05-07 22:10:19 -04:00
Ryan VanderMeulen
1da98a6055 Backed out 4 changesets (bug 869178, bug 848490, bug 736276) for reftest crashes.
Backed out changeset f2d0107e85ec (bug 848490)
Backed out changeset f9a17848125a (bug 869178)
Backed out changeset c6904473984e (bug 736276)
Backed out changeset 84bdd96375ba (bug 736276)
2013-05-07 22:05:30 -04:00
Ryan VanderMeulen
ff9141abca Merge birch to m-c. 2013-05-07 21:58:41 -04:00
Michael Wu
d59dd9ac0f Bug 869251 - Disable omx decoder and camera on gonk-JB, r=doublec,glandium 2013-05-02 17:21:22 -04:00
Benoit Jacob
b59d90a877 Bug 868556 - We are not using gralloc on b2g anymore - r=vladv 2013-05-03 22:57:18 -04:00
Benoit Jacob
b4f8ba9013 Bug 869188 - Avoid mixing CheckedInt and float in Blur code - r=Bas 2013-05-07 08:14:26 -04:00
Benoit Jacob
d95ea70743 Bug 848481 - ♫ Don't say ClientWaitSync unless FOREVER ♫ - r=jgilbert
This fixes a flickering bug with some NVIDIA drivers. From the comment:

Wait FOREVER, primarily because some NVIDIA (at least Tegra) drivers
have ClientWaitSync returning immediately if the timeout delay is anything
else than FOREVER.

FIXME: should we try to use a finite timeout delay where possible?
2013-05-07 16:09:09 -04:00
Chris Pearce
fa654ac426 Bug 847267 - Add new image class to wrap D3D surfaces. r=Bas 2013-05-04 22:12:40 +12:00
Phil Ringnalda
5d3aa2950b Merge Birch and m-c 2013-05-03 19:38:56 -07:00
Ed Morley
62e49e6d1a Merge mozilla-central and birch 2013-05-03 13:35:02 +01:00
David Zbarsky
ced3b81df9 Bug 867459 - Fix gfx rooting hazards r=terrence 2013-05-02 22:02:40 -04:00
Gregory Szorc
c6c1177427 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Hugh Nougher
e64d1d5a2e Bug 689870 - Add d3dkmtQueryStatistics.h and enable GPU reporter for Win7+. r=jrmuizel 2013-05-02 10:50:51 -04:00
Kartikaya Gupta
9a688d104a Bug 867582 - Make the Axis overscroll correction use floats for more correctness. r=ajones 2013-05-02 09:24:16 -04:00
James Willcox
bf095377f8 Bug 863223 - Make canvas updates asynchronous once again r=nrc 2013-05-01 19:24:27 -04:00
Michael Wu
97ade089a6 Bug 868065 - Move GraphicBuffer.h include out of ImageContainer.h, r=vlad 2013-05-02 12:56:09 -04:00
Nicolas Silva
d44f4453e5 Bug 860146 - Add layers.draw-borders pref to see how a page is layered. r=jrmuizel 2013-03-21 18:08:01 +01:00
Jacek Caban
feca6da63d Bug 689870 - mingw fix 2013-05-03 15:01:49 +02:00