Lee Salzman
b12346a876
Bug 1205045 - remove GTK calls from compositor thread. r=jmuizelaar
2015-09-15 16:46:39 -04:00
David Anderson
1a4428bb7b
Support all blend modes in the basic compositor. (bug 1203829 part 1, r=mattwoodrow)
2015-09-15 13:07:05 -07:00
Bas Schouten
ff5eb8de72
Bug 1182147: Ensure ImageHost does not attempt to call DrawQuad with an effect unsupported by the compositor. r=nical
2015-09-04 18:31:52 +00:00
Kearwood (Kip) Gilbert
0cac799a77
Bug 1157984 - Part 3: Correct bounding box transformations to support projections and correct clipping when transforming behind the camera,r=vlad
...
- Update callsites of Matrix4x4::TransformBounds to use
Matrix4x4::TransformAndClipBounds.
2015-08-06 17:26:09 -07:00
Lee Salzman
cf925a3450
Bug 1188462 - Fix inclusion of skia headers to use correct directory prefixes. r=jrmuizel
2015-07-29 16:31:40 -04:00
Kearwood (Kip) Gilbert
d3ad55b783
Bug 1181240 - Part 3: Replace gfx3DMatrix with Matrix4x4 in gfx,r=vlad
...
- Refactored code to use Matrix4x4 instead of gfx3DMatrix.
- There is not expected to be any functional effect.
2015-07-10 17:06:35 -07:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Nicolas Silva
00587681b3
Bug 1180688 - Detect whether the widget will be able to present frames with BasicCompositor on Mac. r=mstange
2015-07-13 16:46:48 +02:00
Nathan Froyd
92a8124fef
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Kearwood (Kip) Gilbert
47e5ded309
Bug 766345 - Part 1 - Implement DEAA Antialiasing for transformed layers (v5 Patch). r=vladimir, r=djg
2014-12-17 16:28:45 -08:00
Lee Salzman
db27f83933
Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel
2015-05-13 11:54:17 +09:00
Thibaud Backenstrass
2547682c40
Bug 1158122 - Remove some occurences of nsIntRect in gfx/layers/. r=nical
2015-05-07 11:07:35 +02:00
Ryan VanderMeulen
4d6b54749b
Backed out changesets 230adc57e016 and 61bd6e2c6e72 (bug 1072898) for reftest failures.
...
CLOSED TREE
2015-05-06 11:27:32 -04:00
Kearwood (Kip) Gilbert
7bb44371a5
Bug 1072898: Part 1 - Correct rendering of layers that are both in front and behind the w=0 plane. r=mattwoodrow
...
- The BasicCompositor now transforms vertices prior to rendering in Skia, using
a function that clips against frustum clipping planes in homogenous
coordinate space.
2015-04-21 16:57:18 -07:00
2eb1f17cee
Bug 1151749 - "Win-Only: Disabled Hardware Acceleration + CSS 3D transform on canvas -> black artefacts on hover". r=nical
2015-04-07 06:33:00 +02:00
Steve Singer
2dbd8ae93d
Bug 1141642 - Fix disable-skia builds. r=jmuizelaar
2015-04-18 19:44:00 +02:00
Nicolas Silva
ea494e1155
Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas
2015-04-21 17:22:30 +02:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Mike Hommey
52f555d41d
Bug 1136958 - Reintroduce pixman code path removed in bug 1097776 for --disable-skia builds. r=jmuizelaar
2015-03-17 10:04:19 +09:00
Nicolas Silva
e028df6dbb
Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt
2015-02-14 12:37:32 +01:00
David Anderson
eea61cd9aa
Implement GetMaxTextureSize in the basic compositor. (bug 1135883, r=mattwoodrow)
2015-02-24 13:39:01 -08:00
Benoit Girard
caff1329d4
Bug 1135857 - Remove ContentClientIncremental. r=mattwoodrow
2015-02-23 18:22:06 -05:00
Carsten "Tomcat" Book
e490f29775
Backed out changeset d81339c7ac52 (bug 1128934)
2015-02-17 14:32:11 +01:00
Nicolas Silva
ff457ea683
Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt
2015-02-14 12:37:32 +01:00
Nicholas Nethercote
b6036175c1
Bug 1117639 - Remove AbortFrame() because it is dead. r=bas.
2015-01-05 15:54:51 -08:00
Markus Stange
0ce0a699d2
Bug 1097776 - Don't leak the SkBitmapDevice. r=jrmuizel
2014-11-18 17:22:01 -05:00
Markus Stange
e57d259ce2
Bug 1097776 - Use Skia for unaccelerated rendering of 3D transforms. r=jrmuizel
2014-11-18 17:21:45 -05:00
Wes Kocher
0f4d8822b7
Backed out changeset 0092a5e1467d (bug 1097776) for reftest failures and leaks
2014-11-18 11:00:08 -08:00
Markus Stange
dd7dbf7578
Bug 1097776 - Use Skia for unaccelerated rendering of 3D transforms. r=jrmuizel
2014-11-18 11:36:17 -05:00
Benoit Girard
6f6cda359f
Bug 1087530 - Retain container's intermediate surfaces for up to one frame. r=jmuizelaar
2014-11-03 17:27:32 -05:00
Carsten "Tomcat" Book
45e1979ee5
Backed out changeset 48667a14f94d (bug 1092360) for test bustage / crashes on a CLOSED TREE
2014-11-14 08:14:22 +01:00
Benoit Girard
b53c7a7ac8
Bug 1092360 - Avoid redundant framebuffer switches. r=jrmuizel
2014-11-12 17:39:17 -05:00
Jonathan Watt
2eb7a06afd
Bug 1074128, part 3 - Update the Mozilla code to use AutoSaveTransform's new name. r=Bas
2014-09-29 18:32:36 +01: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
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
Jonathan Watt
74357509dd
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
2014-09-10 14:26:12 +01:00
Carsten "Tomcat" Book
fa3af35d11
Backed out changeset e6b766d8a815 (bug 1065127) for bustage
2014-09-10 14:30:36 +02:00
Jonathan Watt
b001556151
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
2014-09-10 11:45:42 +01:00
Milan Sreckovic
e5735c90c6
Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten
2014-08-27 11:57:43 -04:00
Matt Woodrow
99e2227448
Bug 1037226 - Don't crash when surface allocation fails in BasicCompositor. r=Bas
2014-07-24 15:48:28 +12:00
Kartikaya Gupta
e480e44f68
Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas
2014-07-22 09:12:14 -04:00
David Zbarsky
20ea50717f
Bug 952977: Switch some remaining gfxMatrix uses in layers to gfx::Matrix r=nical
2014-07-21 21:37:57 -04:00
Matt Woodrow
92c8aefeaf
Bug 1039145 - Part 2: Fully remove component alpha/background copying support from BasicCompositor. r=roc
2014-07-18 18:48:23 +12:00
Carsten "Tomcat" Book
a9f417483c
Backed out changeset 49c713f92304 (bug 1039145)
2014-07-18 10:45:20 +02:00
Matt Woodrow
9772ed7433
Bug 1039145 - Part 2: Fully remove component alpha/background copying support from BasicCompositor. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
fde473e939
Bug 1032431 - Handle device offsets correctly when 3d transforming in BasicCompositor. r=Bas
2014-07-14 14:15:28 +12:00
Jeff Gilbert
6b722909fc
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-18 17:04:06 -07:00
Jeff Gilbert
48665cf192
Bug 1000640 - Death to whitespace. - r=mattwoodrow
2014-06-18 17:04:05 -07:00
Wes Kocher
d32736cdbc
Backed out changeset 9d1dd5a9be4f (bug 1000640)
2014-06-04 18:27:41 -07:00