Matt Woodrow
d60fcf9c67
Bug 1046025 - Add component alpha support to TiledContentClient/Host. r=nical
2014-07-29 17:21:02 +12:00
Nicolas Silva
8235a2b538
Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow
2014-08-06 14:40:03 +02:00
David Zbarsky
c1608d5a18
Bug 952977: More gfx::Matrix cleanup in TiledContentClient r=nical
2014-08-01 08:31:48 -04:00
Jeff Muizelaar
9d8eac9d0b
Bug 1044241. Discard tile back buffers that haven't been recently used. r=nical
...
Tracks tiles that have a back buffer with a nsExpirationTracker and discards
them after a while. This should help us claim back tile memory for tiles
that have stopped changing.
2014-07-31 23:25:37 -04:00
Wes Kocher
e230d2b1cf
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
7d603978fe
Bug 952977: More gfx::Matrix cleanup in TiledContentClient r=nical
2014-07-29 19:18:50 -04:00
Sotaro Ikeda
e9f22928b0
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-19 05:33:12 -07:00
Wes Kocher
a38cfddcd3
Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures
2014-07-18 14:21:44 -07:00
Sotaro Ikeda
010ff9062f
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
dbc1e7e9d8
Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE
2014-07-18 16:09:15 +02:00
Sotaro Ikeda
493aa8441b
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-18 06:21:24 -07:00
Benoit Girard
28eb7316ee
Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel
2014-07-15 11:37:45 -04:00
Kartikaya Gupta
a41424d8d3
Back out bug 1021248 for causing bug 1028271. r=backout
2014-06-23 14:38:02 -04:00
Kartikaya Gupta
e4121fd891
Bug 1021085 - Fix up the Fennec code path as well. r=Cwiiis
2014-06-23 08:42:53 -04:00
Kartikaya Gupta
58083022f8
Bug 1021085 - Remove unnecessary transform stored on the paint data. r=Cwiiis
2014-06-23 08:42:48 -04:00
Kartikaya Gupta
220edc1143
Bug 1021085 - Fix up the transform used for the compositor side composition bounds. r=Cwiiis
2014-06-23 08:42:01 -04:00
Sotaro Ikeda
38099c8f38
Bug 1027088 - Ensure fence delivery for TiledContentClient on gonk r=nical
2014-06-19 19:41:36 -07:00
Kartikaya Gupta
557575f896
Bug 1021248 - Update the low-res tiles even when not in risk of checkerboarding. r=Cwiiis
2014-06-19 09:27:32 -04:00
Kartikaya Gupta
a9d6a12a95
Bug 1025562 - Remove improper use of viewport in tiling calculations. r=Cwiiis
2014-06-17 12:44:12 -04:00
Kartikaya Gupta
7ec4e4cf22
Bug 1018387 - Update various variables and comments to reflect the fact that the values are in layer pixels and not layout device pixels. r=Cwiiis
2014-06-09 14:02:39 -04:00
Kartikaya Gupta
5b4ce702f7
Bug 1016558 - Rename some variables to be more meaningful, and update some comments. r=botond r=Cwiiis
...
Renames:
displayPortParent -> displayPortAncestor
scrollParent -> scrollAncestor
parent -> ancestor
displayPortParentParent -> displayPortAncestorGrandParent
layoutDeviceToScrollParentLayer -> layoutDeviceToDisplayPort
mTransformParentLayerToLayoutDevice -> mTransformDisplayPortToLayoutDevice
aTransformParentLayerToLayoutDevice -> aTransformDisplayPortToLayoutDevice
2014-05-29 12:47:41 -04: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
Jonathan Watt
55c20bd03b
Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow
2014-04-16 01:41:40 +01:00
Kyle Huey
b4a33be80b
Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
2014-04-14 12:04:25 -07:00
Ryan VanderMeulen
5aa07e1977
Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
...
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
ce170fee49
Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
2014-04-14 12:04:25 -07:00
Chris Lord
861ffdba16
Bug 983208 - Fix progressive tile update calculations. r=botond
...
A lot of this code used incorrect coordinate spaces or calculations that only
worked because things were setup in a certain way. Now that the input data is
more consistently correct and things have changed slightly, this code no
longer worked.
This patch reworks things to use what I think are the correct coordinate
spaces and calculations, and should hopefully be less prone to breakage.
2014-03-22 09:17:54 +00:00
Bas Schouten
645a5f4986
Bug 981315: Add ShmemSection and use it for gfxShmSharedReacLock. r=gal
2014-03-13 06:17:05 +01:00
Nicolas Silva
56c9fe4198
Bug 982128 - Check that shmem based locks are allocated properly. r=cwiiis
2014-03-12 17:09:37 +01:00
Botond Ballo
1d877f8d82
Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
2014-03-10 17:56:59 -04:00
Ehsan Akhgari
999764c74e
Bug 935778 - Part 0.8: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-03-08 12:14:32 -05:00
Bas Schouten
bcf9cda593
Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
...
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary
This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.
Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com >
Chris Lord <clord@mozilla.com >
Nicolas Silva <nsilva@mozilla.com >
In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com >
Benoit Girard <bgirard@mozilla.com >
2014-03-07 22:34:04 +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
Randall Barker
10d6507a66
Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis
2013-12-19 12:19:25 -08:00
Phil Ringnalda
25fe1508a4
Back out 024623d015e9:fa1dd7e7aa22 (bug 895358) for Windows build bustage
...
CLOSED TREE
2013-12-17 23:36:05 -08:00
Randall Barker
318e9198f5
Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis
2013-12-17 13:41:00 -08:00
Tor Arvid Lund
5b5cdaf8ab
Bug 929513 - Remove unused #include statements r=nical
2013-12-13 18:31:35 +01:00
Benoit Jacob
3895b6cff4
Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc
2013-12-11 20:45:05 -05:00
Benoit Jacob
ce19ae3286
Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc
2013-12-11 20:45:03 -05:00
Ryan VanderMeulen
cfb8c81a5f
Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
...
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Benoit Jacob
df39dc08f2
Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc
2013-12-11 13:05:32 -05:00
Benoit Jacob
fbec895ac4
Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc
2013-12-11 13:05:29 -05:00
Chris Lord
0231f47b50
Bug 931823 - Fix calculation of tiled update data and convert to typed units. r=kats,botond
...
Various changes to FrameMetrics and such have causes the tile coherency checks
to end up with nonsense values, meaning updates are always happening a tile at
a time.
This fixes the calculation of those values, adds some documentation and
converts a large part of it to using typed units, to make it easier to
understand what's happening.
2013-11-27 17:33:27 +00:00
Nicholas Cameron
46ccc7f01d
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Gregor Wagner
c76ffd3972
Backout Bug 907463 for causing bug 930575
2013-10-25 09:25:17 -07:00
Nicholas Cameron
bc80cf8511
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Benoit Jacob
80cb54ab4d
Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel
2013-09-24 16:45:14 -04:00
Benoit Jacob
f6f57bbbb4
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00