Sotaro Ikeda
512b2fabb2
Bug 1082986 - Use RefPtr to hold Compositor r=nical
2014-10-16 06:48:29 -07:00
jdashg
aca62a5311
Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow
2014-10-08 13:04:19 -07:00
jdashg
a070a30c6a
Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow
2014-10-07 21:15:39 -07:00
jdashg
5fb64748e4
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
06e416819b
Bug 1079250 - SharedDataGonkOGL::DeleteTextureIfPresent to assert mCompositor rather than gl(). r=sotaro
2014-10-09 16:00:17 +02:00
Nicolas Silva
d74e31effc
Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro
2014-10-07 15:58:59 +02:00
Nicolas Silva
d0e870527f
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
d1f5d678d4
Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical
2014-10-06 15:45:03 -07:00
Phil Ringnalda
5e348eaecc
Back out ef1cd14c8cac (bug 1067455) for Windows assertion failures
...
CLOSED TREE
2014-10-05 19:16:56 -07:00
Sotaro Ikeda
b5b8786cc4
Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical
2014-10-05 14:14:33 -07:00
Chris Lord
90f77b66fd
Bug 1006797 - Only apply the window render offset when actually rendering to the window. r=nical
...
--HG--
extra : rebase_source : 24f2d8c50e5c0ddfa6683291040a78574d631678
2014-10-03 13:22:32 +13:00
Nicolas Silva
e207fcc8fd
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
44f409cd2d
Bug 1072491 - Make GrallocTextureHost more robust against some invalid states. r=sotaro
2014-09-26 10:32:59 -04:00
Sotaro Ikeda
cef74266f4
Bug 1017351 - Handle Sharing GrallocTextureHostOGL among ImageHosts r=nical
2014-09-26 04:30:11 -07:00
Jeff Muizelaar
67573bc01e
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.
--HG--
extra : rebase_source : ed7e98b35b3fb7c7ea902ee921e09f9cf620b245
2014-09-24 15:06:09 -04:00
Sotaro Ikeda
8f29162a26
Bug 1061435 - Set timeout to fClientWaitSync() r=nical
2014-09-24 07:00:19 -07:00
Jeff Gilbert
39ac1c0389
Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
...
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
Nicolas Silva
61aef5d8c8
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
ed630c6a86
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
fe19d22a4b
Back out a84f9edfe968 for bustage
2014-09-12 14:01:26 -05:00
Jeff Gilbert
a399ede263
Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp
2014-09-12 13:39:20 -05:00
Jeff Muizelaar
876ec2d266
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.
--HG--
extra : rebase_source : e0e170d191eef5887a2e6b17f71ac79037033006
2014-09-10 15:59:00 -04:00
Jonathan Watt
b3072839ca
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
013dcc3e2c
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
afb484359c
Bug 1046017 - Backed out changesets 1c213218173f & 8588817f7f86 (bugs 1017427 & 1006797)
2014-09-04 18:07:59 -07:00
Markus Stange
d07acdd93c
Bug 1055646 - Allow setting the uniforms of the blur shader on ShaderProgramOGL. r=nical
2014-09-02 14:09:26 +02:00
Markus Stange
703198fcf7
Bug 1055646 - Fix a typo in the blur shader. r=nical
2014-09-02 14:09:21 +02:00
Nicolas Silva
f63936f7f6
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
ce6b54b741
Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
...
--HG--
extra : rebase_source : 55e56423f6c8f5278315a6dc9dfcb9fb983c9309
2014-08-28 12:45:48 -04:00
James Willcox
12fa2997a0
Bug 1055259 - Correctly initialize SharedTextureClientOGL::mIsLocked r=nical
...
--HG--
extra : rebase_source : a57c1b1a510c9663a49b954fd69d9fbe02953296
2014-08-27 11:12:51 -05:00
Milan Sreckovic
735f45f426
Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten
2014-08-27 11:57:43 -04:00
Boris Chiou
625e45b64c
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
248ac41512
Bug 1057222 - Avoid uploading the whole tile when it's new but only partially valid. r=BenWa
...
--HG--
extra : rebase_source : 8fe73f903f2917830f05fd82a865a5376ecab31c
2014-08-27 18:52:24 +12:00
Sotaro Ikeda
3a2500deb7
Bug 1053927 - Add memory leak check to GrallocTextureHostOGL r=nical
2014-08-25 06:45:26 -07:00
Kartikaya Gupta
942bbe220f
Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa
2014-08-22 15:26:56 -04:00
Trevor Saunders
86b7aff8fc
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
5dd904a9c7
Bug 1055934 - Backout Bug 1028532
r=milan
2014-08-21 14:10:57 -07:00
Markus Stange
5f21c0ed00
Bug 1055585 - Support OP_SOURCE blend mode in CompositorOGL. r=mattwoodrow
2014-08-20 17:23:57 +02:00
chiajung hung
981893619b
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
3bffba3b99
Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc
2014-08-20 00:55:14 -04:00
Botond Ballo
1d16def11d
Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
...
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Jeff Muizelaar
bc537cc1e3
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
a4daec6b93
Bug 1052857 - Overdraw should report dst pixels, not src pixels. r=jrmuizel
2014-08-12 18:46:16 -04:00
Wes Kocher
235636ff24
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
Botond Ballo
034af10f54
Bug 923512 - Introduce strongly-typed coordinate classes (Part2: Changes to rest of codebase, and switching Axis to use the strongly-typed coordinates). r=kats
2014-07-29 17:24:12 -04:00
Jeff Muizelaar
bef7ed337f
Bug 1047507. Add a comment about keeping the KnownUniformName enum in sync.
...
--HG--
extra : rebase_source : 2445dd306a2aa4c3447293d5da88f786c679ced4
2014-08-01 13:26:46 -04:00
David Zbarsky
42e6fcdddb
Bug 952977: More gfx::Matrix cleanups r=nical
2014-08-01 08:31:49 -04:00
Wes Kocher
02d44fddfa
Backed out 11 changesets (bug 952977) for reftest-no-accel failures
...
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
26605d5924
Bug 952977: More gfx::Matrix cleanups r=nical
2014-07-29 19:18:51 -04:00
Nicolas Silva
6e9b2cde6d
Bug 1042052 - Add TextureClient::CreateSimilar and have component alpha buffer be of the same type. r=sotaro
2014-07-25 11:24:46 +02:00
David Zbarsky
4874796f6d
Fixup changeset f17694ec185b for bug 952977 r=me
2014-07-21 22:05:18 -04:00
David Zbarsky
42ce38a532
Bug 952977: Switch some remaining gfxMatrix uses in layers to gfx::Matrix r=nical
2014-07-21 21:37:57 -04:00
Sotaro Ikeda
24ef28834a
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-19 05:33:12 -07:00
Wes Kocher
8ddcd2a26d
Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures
2014-07-18 14:21:44 -07:00
Sotaro Ikeda
b7cddab42f
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-18 12:40:35 -07:00
Carsten "Tomcat" Book
273ec53f14
Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE
2014-07-18 16:09:15 +02:00
Sotaro Ikeda
7af2d14a42
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-18 06:21:24 -07:00
Sotaro Ikeda
6d26a992e6
Bug 1037360 - Fix SharedBufferManagerParent's destruction r=jrmuizel,jbacob
2014-07-16 13:05:42 -07:00
Wes Kocher
e9ddd746cd
Backed out changeset f4592864c982 (bug 1037360) for b2g mochitest-9 failures
2014-07-15 15:45:38 -07:00
Sotaro Ikeda
5920013e01
Bug 1037360 - Fix SharedBufferManagerParent's destruction r=jmuizelaar
2014-07-15 13:33:26 -07:00
Benoit Girard
e7aea75462
Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel
2014-07-15 11:37:45 -04:00
Jeff Gilbert
28df0dd6c9
Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow
2014-07-11 15:10:49 -07:00
CJKu
f2aaf7b5d6
Bug 1023928 - [System][UX] The waiting icon now comes with a dirty dot. r=nical
2014-07-07 07:36:00 -04:00
Kartikaya Gupta
ec4b613e76
Bug 1031494 - Move the FBO texture clamping code so that the OGL CompositingRenderTarget gets the unclamped size. r=BenWa
2014-07-04 20:21:36 -04:00
Sotaro Ikeda
e5768ec626
Bug 1031553 - Create GrallocTextureSourceOGL only when GrallocTextureHostOGL has a gralloc buffer r=nical
2014-07-04 06:16:13 -07:00
Boris Chiou
48e3a702de
Bug 975346 - Part 2: Support LayerScope for HwcComposer2D. r=dglastonbury
...
1. Retrieve buffer from GPU.
2. Refactor - use SenderHelper class to manage the Sender
static function structure.
2014-07-03 01:17:00 +02:00
Jeff Gilbert
d220b95c03
Bug 1033124 - Use correct and more precise coeffs for YCbCr->RGB conversion. - r=mattwoodrow,r=bas
2014-07-02 17:48:18 -07:00
Chris Peterson
7490224f5d
Bug 1031165 - Fix non-unified OS X build's warnings-as-errors in gfx/layers. r=bjacob
2014-06-26 23:36:27 -07:00
Markus Stange
43ed36fc07
Bug 987497 - Force buggy drivers to pick up the TexturePass2 uniform change. r=bjacob
...
--HG--
extra : rebase_source : 8784c1240c5e538d95608e10a7b161b4373037cb
2014-06-26 14:40:11 +02:00
Sotaro Ikeda
619ab290d7
Bug 1028532
- Remove Fence::merge() on gonk r=jmuizelaar
2014-06-25 06:13:34 -07:00
Benoit Jacob
2b28b04041
Bug 1029673 - Correctly report OMTC compositing in crash reports - r=Bas
2014-06-24 22:09:14 -04:00
Benoit Jacob
61e163f753
Bug 1028420 - Non-unified build fails when using --enable-warnings-as-errors - bustage fix, no review
2014-06-23 14:49:09 -04:00
Birunthan Mohanathas
f475f7189b
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Jeff Gilbert
bde621b73d
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-18 17:04:06 -07:00
Jonathan Watt
c403ea836d
Bug 1025490 - Stop using gfxImageSurface in the layers code. r=Bas
2014-06-17 18:35:51 +01:00
Sotaro Ikeda
d5975a06bb
Bug 1025781 - Add CreateDataSourceSurface() failure checks r=nical
2014-06-16 16:47:28 -07:00
Sotaro Ikeda
d665ba4a86
Bug 1024144 - Deliver acquire fence to HwComposer r=sushil,nical
2014-06-12 18:46:25 -07:00
Nicolas Silva
114ff5488a
Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob
2014-06-11 14:57:58 -04:00
Nicolas Silva
990da3c99a
Bug 1000103 - Fix intermittent OSX crash in TextureImageTextureSourceOGL::GetFormat. r=mattwoodrow
2014-06-09 17:30:53 -04:00
Chris Lord
36fd5d4bda
Bug 1017427 - Fix CompositorOGL RenderOffset not offsetting clipping rect. r=nical
2014-06-09 16:53:35 +01:00
Sotaro Ikeda
eb678948e0
Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical
2014-06-08 06:18:53 -07:00
Tatiana Meshkova
91e9ffd8dd
Bug 1019405 - Fix offscreen rendering for top level Layer manager. r=jgilbert
2014-06-03 20:41:00 +02:00
Wes Kocher
4fe99a4e72
Backed out changeset 3a764e34c366 (bug 1000640)
2014-06-04 18:27:22 -07:00
Jeff Gilbert
1379df57d8
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-04 15:20:26 -07:00
Carsten "Tomcat" Book
5b2053a8dd
Backed out changeset 07a74e6e53b2 (bug 1017427) for reftest failures on a CLOSED TREE
2014-06-04 16:05:24 +02:00
Chris Lord
d4bd9e4095
Bug 1017427 - Fix CompositorOGL RenderOffset not offsetting clipping rect. r=nical
2014-06-04 13:26:57 +01:00
Phil Ringnalda
6b150d744d
Back out 710b11cd8e47 (bug 1016086) for Android robocop bustage
2014-06-01 13:16:44 -07:00
Andreas Gal
c5b375c0d6
Bug 1016086 - Part 4: Setup attribute configuration when we start compositing instead of for every draw command (r=Bas)
2014-06-01 10:44:42 -07:00
Phil Ringnalda
61966eed95
Merge f-t to m-c
2014-05-31 20:31:07 -07:00
Andreas Gal
f3f5be61c2
Bug 1017571 - Use TRIANGLES instead of TRIANGLE_STRIP to fix rendering glitchs on MacOSX with uniform array access (r=Bas)
2014-05-30 22:34:14 -04:00
Victor Porof
5643294005
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Andreas Gal
421c38a995
Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas)
2014-05-29 10:19:37 -04:00
Wes Kocher
c667760989
Backed out 3 changesets (bug 1016086) for robocop bustage on a CLOSED TREE
...
Backed out changeset 450878674b08 (bug 1016086)
Backed out changeset e6b0a5086a81 (bug 1016086)
Backed out changeset 9e572e6623e7 (bug 1016086)
2014-05-28 15:10:32 -07:00
Andreas Gal
bcc40bbe38
Bug 1016086 - Part 3: Setup attribute configuration when we start compositing instead of for every draw command (r=Bas)
2014-05-28 16:18:46 -04:00
Andreas Gal
3d07f31ea3
Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas)
2014-05-28 16:18:36 -04:00
Andreas Gal
325cd3faa1
Fix rebase error for bug 1012407 (r=CLOSED TREE)
2014-05-28 14:24:23 -04:00
Andreas Gal
a9e3ff88ad
Bug 1012407 - Part 9: Use CLAMP instead of GL_REPEAT to draw quads (r=Bas)
2014-05-28 14:07:15 -04:00
Andreas Gal
f5bb3eeaee
Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas)
2014-05-28 14:04:07 -04:00
Andreas Gal
13b59aa7e3
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-28 10:15:31 -04:00
Markus Stange
74e283127c
Bug 1016437
- Make TextureImageTextureSourceOGL::Update refuse uploading textures that exceed the maximum texture size if bigimage is disallowed. r=bjacob
2014-05-28 12:52:13 +02:00