Commit Graph

1579 Commits

Author SHA1 Message Date
James Willcox
a26f168731 Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert 2014-10-17 10:35:11 -05:00
James Willcox
f24f3efdd8 Bug 1014614 - Do not try to use a temporary texture for SurfaceTexture r=jgilbert 2014-10-17 10:35:11 -05:00
James Willcox
20e61c9ede Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert 2014-10-17 10:35:10 -05:00
Nicolas Silva
a2cb98c27c Bug 1077301 - Simplify the gralloc texture code. r=sotaro 2014-10-16 19:08:32 +02:00
Ryan VanderMeulen
7a57c1a082 Backed out changeset d16adf321576 (bug 1077301) for B2G bustage.
CLOSED TREE
2014-10-16 14:38:29 -04:00
Nicolas Silva
1619f4f6ab Bug 1077301 - Simplify the gralloc texture code. r=sotaro 2014-10-16 19:08:32 +02:00
Sotaro Ikeda
88543b81f5 Bug 1082986 - Use RefPtr to hold Compositor r=nical 2014-10-16 06:48:29 -07:00
jdashg
bc7e26ddd9 Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow 2014-10-08 13:04:19 -07:00
jdashg
f4e7d402a7 Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow 2014-10-07 21:15:39 -07:00
jdashg
fd685b2322 Bug 1066280 - Fixes. - r=kamidphish,mattwoodrow
From 4e9f52ab105333e8b1120342e9583b2d833a4465 Mon Sep 17 00:00:00 2001
---
 dom/canvas/WebGLContext.cpp                | 10 +++++--
 gfx/gl/GLContext.cpp                       | 20 --------------
 gfx/gl/GLContext.h                         |  3 --
 gfx/gl/GLReadTexImageHelper.cpp            |  5 +++-
 gfx/gl/GLScreenBuffer.cpp                  | 13 +++++++--
 gfx/gl/GLUploadHelpers.cpp                 | 27 ++++++++++++++++++
 gfx/gl/SharedSurfaceGralloc.cpp            | 14 ++++------
 gfx/gl/SharedSurfaceGralloc.h              | 10 +++++--
 gfx/gl/SurfaceTypes.cpp                    |  2 ++
 gfx/gl/SurfaceTypes.h                      |  1 +
 gfx/layers/client/CanvasClient.cpp         | 44 ++++++++++++++++++------------
 gfx/layers/client/CanvasClient.h           |  8 +++---
 gfx/layers/client/ClientCanvasLayer.cpp    |  6 ++++
 gfx/layers/client/ClientCanvasLayer.h      |  2 +-
 gfx/layers/client/TextureClient.cpp        | 11 ++++----
 gfx/layers/client/TextureClient.h          |  6 ++--
 gfx/layers/composite/TextureHost.cpp       | 15 +++++-----
 gfx/layers/composite/TextureHost.h         | 10 +++----
 gfx/layers/d3d10/CanvasLayerD3D10.cpp      |  9 ++++--
 gfx/layers/d3d9/CanvasLayerD3D9.cpp        |  8 ++++--
 gfx/layers/ipc/LayersSurfaces.ipdlh        |  4 +--
 gfx/layers/moz.build                       |  4 ++-
 gfx/layers/opengl/GrallocTextureClient.cpp | 26 +++++++++++++++++-
 gfx/layers/opengl/GrallocTextureClient.h   |  3 ++
 24 files changed, 171 insertions(+), 90 deletions(-)
2014-10-07 21:11:54 -07:00
Nicolas Silva
0efea2e28c Bug 1079250 - SharedDataGonkOGL::DeleteTextureIfPresent to assert mCompositor rather than gl(). r=sotaro 2014-10-09 16:00:17 +02:00
Nicolas Silva
7a57c1cd43 Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro 2014-10-07 15:58:59 +02:00
Nicolas Silva
a849e8790f Bug 1016540 - GrallocTextureSource::DeallocateDeviceData must assert that it has a compositor, rather than a gl context. r=sotaro 2014-10-07 10:45:04 +02:00
Sotaro Ikeda
58627884b4 Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical 2014-10-06 15:45:03 -07:00
Phil Ringnalda
8c416baa34 Back out ef1cd14c8cac (bug 1067455) for Windows assertion failures
CLOSED TREE
2014-10-05 19:16:56 -07:00
Sotaro Ikeda
7af905ca5f Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical 2014-10-05 14:14:33 -07:00
Chris Lord
d97c2034f7 Bug 1006797 - Only apply the window render offset when actually rendering to the window. r=nical 2014-10-03 13:22:32 +13:00
Nicolas Silva
48fb21a778 Bug 1054581 - Have all compositor backends behave consistently when creating a zero-sized intermediate render target. r=jrmuizel 2014-09-26 15:02:35 -04:00
Nicolas Silva
9024a64423 Bug 1072491 - Make GrallocTextureHost more robust against some invalid states. r=sotaro 2014-09-26 10:32:59 -04:00
Sotaro Ikeda
a9bf07a253 Bug 1017351 - Handle Sharing GrallocTextureHostOGL among ImageHosts r=nical 2014-09-26 04:30:11 -07:00
Jeff Muizelaar
a47e21007e Bug 1073039. Change uniform workaround to use raw gl. r=mstange
Bug 1073036 is changing the way we track shader state. Making
this use raw gl instead of Activate() allows CompositorOGL
to remain ignorant of it.
2014-09-24 15:06:09 -04:00
Sotaro Ikeda
346fe2da80 Bug 1061435 - Set timeout to fClientWaitSync() r=nical 2014-09-24 07:00:19 -07:00
Jeff Gilbert
4943991010 Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp 2014-09-17 08:13:29 -05:00
Nicolas Silva
469c52e3f9 Bug 1061699 - Only crash debug builds if BorrowDrawTarget is called on an unlocked TextureClient. r=Bas 2014-09-16 14:32:24 +02:00
Milan Sreckovic
404755b4da Bug 1000634 - Only ask for the composer if we have a compositable host, when doing fencing. r=sikeda,nsilva 2014-09-08 14:05:41 -04:00
James Willcox
e07d73a455 Back out a84f9edfe968 for bustage 2014-09-12 14:01:26 -05:00
Jeff Gilbert
63c2e0ad7f Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Jeff Muizelaar
4f3610dd6b Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.

Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.
2014-09-10 15:59:00 -04:00
Jonathan Watt
727b0a4e88 Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Jeff Muizelaar
e9003d6610 Bug 1049564. Remove sketchy sizing code from CompositorOGL. r=nical
This came from the layers refactoring and taking it out doesn't
seem to cause any test failures.
2014-09-08 10:54:26 -04:00
Michael Comella
ea27988781 Bug 1046017 - Backed out changesets 1c213218173f & 8588817f7f86 (bugs 1017427 & 1006797) 2014-09-04 18:07:59 -07:00
Markus Stange
d35c0e34d4 Bug 1055646 - Allow setting the uniforms of the blur shader on ShaderProgramOGL. r=nical 2014-09-02 14:09:26 +02:00
Markus Stange
4df2032de2 Bug 1055646 - Fix a typo in the blur shader. r=nical 2014-09-02 14:09:21 +02:00
Nicolas Silva
acfa5af9d6 Bug 1059793 - Mark the compositor's gl context destroyed before the widget is gone. r=jgilbert 2014-09-02 14:05:00 +02:00
Botond Ballo
f4e48b3a62 Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats 2014-08-28 12:45:48 -04:00
James Willcox
a543cd79d2 Bug 1055259 - Correctly initialize SharedTextureClientOGL::mIsLocked r=nical 2014-08-27 11:12:51 -05:00
Milan Sreckovic
e5735c90c6 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Boris Chiou
fe8104f342 Bug 987527 - Register Vsync monitor to HWComposer. r=mwu
In order to enable/disable the Vsync from mHwc, we should make sure
the order of each command is correct. In this patch, I added an
interface for registering these mHwc callback functions and some
accessor/helper functions for manipulating Hwc Vsync.
2014-08-27 01:17:00 -04:00
Matt Woodrow
6d530846fe Bug 1057222 - Avoid uploading the whole tile when it's new but only partially valid. r=BenWa 2014-08-27 18:52:24 +12:00
Sotaro Ikeda
f9084025e5 Bug 1053927 - Add memory leak check to GrallocTextureHostOGL r=nical 2014-08-25 06:45:26 -07:00
Kartikaya Gupta
2383d93a79 Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa 2014-08-22 15:26:56 -04:00
Trevor Saunders
d67df400c1 bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Sotaro Ikeda
44bb942afc Bug 1055934 - Backout Bug 1028532 r=milan 2014-08-21 14:10:57 -07:00
Markus Stange
c5d0dc7b4e Bug 1055585 - Support OP_SOURCE blend mode in CompositorOGL. r=mattwoodrow 2014-08-20 17:23:57 +02:00
chiajung hung
bcd394f716 Bug 1002823 - [Stingray] Add a new kind of image layer without graphic buffer for overlaying video input. r=nical 2014-08-18 22:14:00 -04:00
Ehsan Akhgari
6ad78acff0 Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc 2014-08-20 00:55:14 -04:00
Botond Ballo
29e678a8e8 Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas 2014-08-19 13:08:16 -04:00
Jeff Muizelaar
46a8420ee3 Bug 1016539. Add support for accelerated a11y filters. r=mwoodrow
This adds the ability to render to a temporary surface and use that
to apply a filter effect to all of the content.
2014-08-07 17:44:08 -04:00
Benoit Girard
3b9e50ba1d Bug 1052857 - Overdraw should report dst pixels, not src pixels. r=jrmuizel 2014-08-12 18:46:16 -04:00
Wes Kocher
84b7885915 Backed out 3 changesets (bug 923512) for mochitest-2 bustage on a CLOSED TREE
Backed out changeset f8720d81b74f (bug 923512)
Backed out changeset f431232084b7 (bug 923512)
Backed out changeset dff51863663c (bug 923512)
2014-08-06 16:36:35 -07:00