Kartikaya Gupta
bf737e2f0f
Bug 1024126 - Fix rounding errors and add a danger zone to the B2G AboutToCheckerboard heuristic function. r=Cwiiis
2014-06-23 20:54:32 -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
1c6ca9a0e9
Bug 1021085 - Miscellaneous cleanup. r=Cwiiis
2014-06-23 08:42:53 -04:00
Kartikaya Gupta
d533186fe2
Bug 1021085 - Use the entire compositor-side composition bounds as the coherent update rect on B2G. r=Cwiiis r=BenWa
2014-06-23 08:42:53 -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
96dcb424ca
Bug 1021085 - Inflate the painted rect a bit to deal with rounding error. r=Cwiiis
2014-06-23 08:42:19 -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
Kartikaya Gupta
b3703bb13a
Bug 1021085 - Refactor code to ensure we use the same scrolling ancestor layer everywhere. r=Cwiiis
2014-06-23 08:41:09 -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
06a137cc3a
Bug 1026756 - Detect when a scroll offset update is going to remove checkerboarding, and don't leave things in a low-precision state. r=Cwiiis
2014-06-19 09:27:31 -04:00
Sotaro Ikeda
1e3fa8c17c
Bug 1026432 - Add GetCompositorChild() to ClientLayerManager r=nical
2014-06-17 19:42:34 -07: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
73ef2da644
Bug 1025562 - Add logging to TiledContentClient. r=Cwiiis
2014-06-17 12:43:12 -04:00
Kartikaya Gupta
47ca9438a1
Bug 1023882 - Part 6 - Move all SetRepeatTransaction calls into ClientTiledThebesLayer so it's easier to follow the flow. r=Cwiiis
2014-06-11 12:42:45 -04:00
Wes Kocher
a831a1dd68
Backed out 8 changesets (bug 1023882) for b2g mochitest-4 orange on a CLOSED TREE
...
Backed out changeset 501167f9e525 (bug 1023882)
Backed out changeset 811d536995cf (bug 1023882)
Backed out changeset c38a0cb1e00c (bug 1023882)
Backed out changeset 4ba2f2a98114 (bug 1023882)
Backed out changeset 42e44e1eb363 (bug 1023882)
Backed out changeset a92435f75f89 (bug 1023882)
Backed out changeset 039cfd09fa32 (bug 1023882)
Backed out changeset 05e8c4ee536d (bug 1023882)
2014-06-11 16:39:01 -07:00
Wes Kocher
ee33c9f7ef
Backed out changeset bc9031f59e1c (bug 1021248) for Werror bustage
2014-06-11 14:46:59 -07:00
Kartikaya Gupta
7b10212a12
Bug 1021248 - Update the low-res tiles even when not in risk of checkerboarding. r=Cwiiis
2014-06-11 17:22:00 -04:00
Nicolas Silva
dc075c6966
Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob
2014-06-11 14:57:58 -04:00
Kartikaya Gupta
14f0ee8cde
Bug 1023882 - Part 6 - Move all SetRepeatTransaction calls into ClientTiledThebesLayer so it's easier to follow the flow. r=Cwiiis
2014-06-11 12:42:45 -04:00
Chris Lord
46041cdb7a
Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical
2014-06-11 14:52:19 +01: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
Victor Porof
298ca2ed1b
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -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
Kartikaya Gupta
c1acf6dc65
Bug 1001438 - Change layers.low-precision-resolution to be a float pref instead of a divide-by-1000 int pref. r=Cwiiis
2014-05-21 12:06:02 -04:00
Carsten "Tomcat" Book
670f72d234
Backed out changeset a6f85ff386c1 (bug 1011569) for m5 test failures on OS X
2014-05-19 13:46:02 +02:00
Chris Lord
8a939b2610
Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical
2014-05-19 10:45:12 +01:00
Kartikaya Gupta
aff8046747
Bug 1006579 - Fix the AboutToCheckerboard implementation to actually work. r=Cwiiis
2014-05-06 14:29:47 -04:00
Matt Woodrow
157581cc27
Bug 952721 - Don't crash if our surface allocation fails in TiledContentClient. r=Bas
2014-05-02 14:28:52 +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
Kartikaya Gupta
eaecf24b25
Bug 992218 - Don't flag texture clients for reuse if they're actually still being used. r=nical
2014-04-25 09:39:20 -04:00
Nicolas Silva
dca99e78f0
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Carsten "Tomcat" Book
5adb9c9e75
Backed out changeset 3747c80a1cde (bug 990871) for bustage on a CLOSED TREE
2014-04-10 13:15:47 +02:00
Nicolas Silva
be00cc4369
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Chris Lord
d1dfc64ad5
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42:44 +01:00
Kartikaya Gupta
9870c2a6d0
Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond
2014-03-28 10:36:47 -04:00
Chris Lord
862c56017e
Bug 983169 - Fix handling of tile resolution in TiledContentClient. r=bas
2014-03-27 18:52:09 +00: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
Chadd Williams
2b825153b5
Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
2014-03-21 17:48:08 -04:00
Chris Lord
a2bf73d8c3
Bug 982651 - Make sure to retain the frame resolution of tiled buffers. r=nical
...
Make sure the frame resolution of tiled buffers isn't discarded when they're
sent from client-side to host-side. This fixes drawing of low precision tiles
when the zoom has changed since they were last drawn.
2014-03-14 13:36:33 +00:00
Botond Ballo
cdd8d9b5eb
Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats
2014-03-12 12:46:57 -04:00
Botond Ballo
66174331db
Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats
2014-03-13 02:34:34 -04:00
Bas Schouten
a3c32e1319
Bug 981315 - Followup: Readd accidentally removed macro - for real this time on a CLOSED TREE. r=bustage
2014-03-13 06:44:41 +01: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
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
Milan Sreckovic
1135244a1a
Bug 971942: 6. layers.low-precision-resolution, layers.prefer-opengl, layers.prefer-d3d9, layers.enable-tiles, gfx.direct2d.disabled, gfx.direct2d.force-enabled, moved to gfxPrefs. r=bschouten
2014-02-26 21:53:32 -05:00