Botond Ballo
7bcef4b705
Bug 1206915 - Move dumping of compositor textures under its own environment variable. r=mattwoodrow
...
The rationale is that it's broken at least on some platforms (e.g.
TextureHost::GetAsSurface() is not implemented), and moving it under its own
environment variable allows us to use the client-side parts of paint dumping
without crashing while attempting to do the compositor-side parts.
2015-09-21 18:27:27 -04:00
Bobby Holley
710865df63
Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07: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
Robert O'Callahan
1bebcba55f
Bug 1143575. Route ImageCompositeNotifications to ImageContainers. r=nical
...
For frame statistics to work properly, we have to notify an ImageContainer
when it has been composited. This requires a few changes, which have
been lumped together in this patch:
-- Create PImageContainer and ImageContainerParent/ImageContainerChild.
-- Add mFrameID and mProducerID everywhere we're passing around images.
-- Route composition notifications from the compositor back to
ImageContainerChild.
2015-07-06 15:02:26 +12:00
Markus Stange
9219f35eb7
Bug 1148582 - Support multiple mask layers per layer in LayerManagerComposite.
2015-07-01 17:32:19 -04:00
Markus Stange
3000f6c8eb
Back out bug 1148582 for static analysis bustage.
2015-07-01 01:20:59 -04:00
Markus Stange
1757913bd9
Bug 1148582 - Support multiple mask layers per layer in LayerManagerComposite.
2015-07-01 00:52:09 -04:00
Bas Schouten
55ffc4f52c
Bug 1167235 - Part 5: Make CanvasLayerComposite ImageHost type agnostic. r=nical
2015-06-19 01:07:22 +02:00
Thibaud Backenstrass
253b857733
Bug 1158122 - Remove all occurences of nsIntRect in gfx/layers/composite. r=nical
2015-05-07 11:07:42 +02:00
Nicolas Silva
d73f54cb00
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
Nicolas Silva
d88ccba361
Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro
2015-03-27 11:16:18 +01:00
Jeff Muizelaar
6cbfabbc4c
Bug 1141864. Replace a bunch nsAutoPtr.h includes with nsRefPtr.h
2015-03-10 20:48:09 -04:00
Vladimir Vukicevic
fd5bc411b9
Bug 1036602 - add generic gfx/layers functionality for VR rendering; r=nical
2014-07-09 12:26:18 -07:00
Nicolas Silva
bde710ee12
Bug 1101552 - Remove the double-buffered ImageClient. r=sotaro
2014-11-20 19:49:51 +01:00
David Parks
d7e8a996ec
Bug 918634 - swapFrameLoader not implemented for e10s r=nical
...
Allow layers to change layermanager if using LayerManagerComposite.
2014-10-14 15:11:38 -07:00
Boris Chiou
5203a8f909
Bug 975346 - Part 1: General functions for Effects. r=dglastonbury
...
1. Support GenEffectChain() for LayerComposite.
Each layer can use this API to gen the
EffectChain (only primary effect now)
2. Support GenEffect() for CompositableHost.
3. Move AutoLock to compositeHost.
2014-06-22 19:06:00 +02:00
Benoit Girard
c36e97ca50
Bug 1027496 - Stream display list and layers dump. r=mattwoodrow
2014-06-19 18:36:25 -04:00
Nicolas Silva
8a0c258ce9
Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats
2014-05-22 12:11:45 +02:00
Matt Woodrow
15b808349e
Bug 950312 - Part 2: Add Effect for BlendModes. r=nical
2014-05-09 21:48:29 +12:00
Benoit Jacob
6f2d2f66cd
Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
...
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(NONE\|TILE_BORDERS\|LAYER_BORDERS\|BIGIMAGE_BORDERS\|FLASH_BORDERS\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/DiagnosticTypes\:\:NONE/DiagosticTypes::NO_DIAGNOSTIC/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(IMAGE\|CONTENT\|CANVAS\|COLOR\|CONTAINER\|TILE\|BIGIMAGE\|COMPONENT_ALPHA\|REGION_RECT\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)EFFECT_\(MASK\|MAX_SECONDARY\|RGB\|YCBCR\|COMPONENT_ALPHA\|SOLID_COLOR\|RENDER_TARGET\|MAX\)\($\|[^A-Za-z0-9_]\)/\1EffectTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(CONTENT\|SHMEM\|YCBCR\|SHARED_GL\|SHARED_GL_EXTERNAL\|STREAM_GL\|FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureClientType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(BUFFER_UNKNOWN\|BUFFER_IMAGE_SINGLE\|BUFFER_IMAGE_BUFFERED\|BUFFER_BRIDGE\|BUFFER_CONTENT\|BUFFER_CONTENT_DIRECT\|BUFFER_CONTENT_INC\|BUFFER_TILED\|BUFFER_SIMPLE_TILED\|COMPOSITABLE_IMAGE\|COMPOSITABLE_CONTENT_SINGLE\|COMPOSITABLE_CONTENT_DOUBLE\|BUFFER_COUNT\)\($\|[^A-Za-z0-9_]\)/\1CompositableType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/CompositableType\:\:COMPOSITABLE_/CompositableType::/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_HOST_\(DEFAULT\|TILED\|COPY_PREVIOUS\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureHostFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)Texture\(Front\|Back\|OnWhiteFront\|OnWhiteBack\)\($\|[^A-Za-z0-9_]\)/\1TextureIdentifier::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(OPEN_NONE\|OPEN_READ\|OPEN_WRITE\|OPEN_READ_WRITE\|OPEN_READ_ONLY\|OPEN_WRITE_ONLY\)\($\|[^A-Za-z0-9_]\)/\1OpenMode::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(MaskNone\|Mask2d\|Mask3d\|NumMaskTypes\)\($\|[^A-Za-z0-9_]\)/\1MaskType::\2\3/g'
find gfx -type f | xargs sed -i 's/Diagostic/Diagnostic/g'
2014-04-25 22:34:06 -04:00
Blair McBride
2628f554b1
Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
...
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
3b4f604917
Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
2014-04-25 22:34:06 -04:00
Nicolas Silva
74681a5e4a
Bug 984338 - Add a pref to flash layer borders when they are created. r=jrmuizel
2014-03-25 17:54:39 +01:00
L. David Baron
eccc6c3bd1
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Benoit Jacob
0e7cdc387f
Bug 971678 - Validate the compositable type in SetCompositableHost - r=nical
2014-02-20 15:07:04 -05:00
Benoit Jacob
1ef38e439e
Bug 967824 - Make SetCompositableHost gracefully handle errors instead of just aborting - r=nical
2014-02-20 08:05:30 -05:00
David Zbarsky
9fb599abba
Bug 952977: Perform some cleanup r=nical
2014-01-27 15:25:19 -05:00
David Zbarsky
a54742d02b
Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical
2014-01-24 17:49:19 -08:00
Andreas Pehrson
1cde164801
Bug 877115 - Remove GetTexImage from GLContext helper. r=nical
2014-01-08 09:37:58 +01:00
Dan Glastonbury
d3e369fabe
Bug 830881 - Port layerscope GL changes to new layers. r=vlad
2013-11-29 14:11:49 +10:00
Andreas Pehrson
543ad6de03
Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al
2013-11-27 10:59:01 +01:00
Benoit Girard
64d7fffdfd
Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc
2013-11-17 16:47:40 -05:00
Matt Woodrow
e0cd223ec5
Bug 35380 - Part 5: Remove aOffset from everywhere. r=nrc
2013-11-07 22:53:08 +13:00
Ehsan Akhgari
a15756e3c9
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Jerry Shih
6ad2eae5ec
Bug 911730 - Only dump layer tree(using MOZ_LAYERS_HAVE_LOG). r=mattwoodrow
2013-09-12 11:08:50 -04:00
Nicholas Cameron
c0356ccfd8
Bug 909185. Use an RAII helper class for Add/RemoveMaskEffect. r=nical
2013-08-28 16:44:03 +12:00
Nicholas Cameron
3469537db3
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Wes Kocher
d86939a3ee
Backed out changeset 315c9f0af9bb (bug 902929)
2013-08-20 20:50:20 -07:00
Nicholas Cameron
f3ee0047e6
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Nicholas Cameron
6ff5d55180
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Nicholas Cameron
286f32664c
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Matt Woodrow
ad14f0f924
Bug 900133 - Support MaskLayers that are backed by a NewTextureHost. r=nical
2013-08-01 21:12:16 -04:00
Nicolas Silva
c039b2a50f
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
Nicolas Silva
ca1eef4bc6
Bug 867656 - Part 1. Implement GetAsSurface for GL TextureHosts. r=bjacob
2013-05-26 04:43:43 +02:00
Nicolas Silva
76c25a1b0a
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-25 18:25:33 -04:00
Ryan VanderMeulen
6c68f704b3
Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
...
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva
f653739991
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-24 15:40:26 -04:00
Nicolas Silva
ee77840a7b
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
2013-04-24 14:42:40 -04:00
Nicholas Cameron
777d942480
Bug 844928, remove PTexture. r=nical
2013-04-12 19:28:55 +12:00