Sotaro Ikeda
b226cd7960
Bug 1000525 - Defer Fence release until IPC delivery complete r=nical
2014-05-05 18:56:40 -07:00
Nicolas Silva
6fcaf72b1b
Bug 997699 - Move CompositableChild to the .cpp. r=bjacob
2014-04-24 20:13:59 +02: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
Matt Woodrow
bb7abcafef
Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc
2014-03-07 16:24:32 +13:00
L. David Baron
a6f4588149
Bug 995721 patch 1 - Honor the translation on mShadowTarget in ClientLayerManager::MakeSnapshotIfRequired. r=mattwoodrow
...
This switches from DrawTarget::CopySurface (which ignores the transform)
to DrawSurface (which honors the transform).
2014-04-14 11:12:00 -07:00
Ryan VanderMeulen
85031ba0a1
Backed out changeset c81707878977 (bug 974197) for Gaia integration test failures on a CLOSED TREE.
2014-04-09 22:14:13 -04:00
Matt Woodrow
8a6768002b
Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc
2014-03-07 16:24:32 +13:00
Chris Lord
d1dfc64ad5
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42:44 +01:00
Matt Woodrow
872b2cd61c
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Phil Ringnalda
9724e72fe9
Backed out 4 changesets (bug 991028) for nonunified bustage
...
CLOSED TREE
Backed out changeset 147581a518c3 (bug 991028)
Backed out changeset e5bacc566e58 (bug 991028)
Backed out changeset 6dc852777a4d (bug 991028)
Backed out changeset 780bec5571b9 (bug 991028)
2014-04-06 21:21:38 -07:00
Matt Woodrow
55957df8b3
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Matt Woodrow
608d153aa2
Bug 980642 - Implement Clear regions for ClientLayerManager/LayerManagerComposite. r=roc
2014-03-28 16:38:32 +13:00
Phil Ringnalda
c36364627a
Back out 87e39d7d851a (bug 984796) for printfing like log size is infinite
...
CLOSED TREE
2014-03-21 19:49:15 -07:00
Bas Schouten
9ad4390dc2
Bug 984796: Fix some small errors in path flattening code. r=jwatt
2014-03-22 00:55:36 +01:00
Matt Woodrow
5e9a82b885
Bug 982339 - Get rid of TextureClientPoolMember and use nsTArray so that we releases references when we shutdown. r=Bas
2014-03-18 12:06:25 +08:00
Chris Lord
2b976b2a09
Bug 983202 - Don't call Mutated more than necessary. r=mattwoodrow
...
We call Mutated when the invalid region isn't empty, but progressive updates
mean that we're calling this more frequently than is necessary as transactions
are repeated and the invalid region doesn't change between them.
2014-03-17 09:54:24 +00:00
Botond Ballo
66174331db
Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats
2014-03-13 02:34:34 -04:00
Vladimir Vukicevic
d54d1133ca
b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel
2014-03-10 14:34:57 -04:00
Vladimir Vukicevic
b3c98327c7
backout of rev 1a52e0063440 b=979489
2014-03-10 21:03:02 -04:00
Vladimir Vukicevic
fb606c7e0b
b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel
2014-03-10 14:34:57 -04: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
Ed Morley
f562024ef3
Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures
2014-03-07 15:45:59 +00:00
Matt Woodrow
521ba48e03
Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc
2014-03-07 16:24:32 +13:00
Matt Woodrow
307481e7c6
Bug 977891 - Move the ForceComposite message to PLayerTransaction so that we can identify the right compositor with e10s. r=nical
2014-03-03 13:59:58 +13:00
Sotaro Ikeda
5c8314f18d
Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang
2014-02-24 20:23:41 -08:00
Matt Woodrow
926f03749f
Bug 966679 - Mark Layers as Mutated if they have an invalid region. r=roc
2014-02-11 17:01:49 +13:00
Matt Woodrow
cc0cf06585
Bug 926745 - Don't call ForceRemove manually in compositable code. r=nical,sotaro
2014-02-10 15:24:27 +13:00
David Zbarsky
b8816e2953
Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical
2014-01-27 10:28:04 -05:00
Ryan VanderMeulen
7920a4d146
Merge m-c to inbound.
2014-01-23 15:58:06 -05:00
Sotaro Ikeda
f98a03468f
Bug 951732 - Keep TextureClient until Transaction complete. r=nical
2014-01-23 09:31:12 -05:00
Benoit Jacob
49238a878d
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
aeb3bee922
Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Ms2ger
c767890297
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Matt Woodrow
c5629ae923
Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc
2013-12-16 18:38:42 +13:00
Nicolas Silva
f7cec039bc
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 20:44:45 -05:00
Nicolas Silva
7b1119166c
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 20:44:44 -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
Nicolas Silva
1667466f01
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 13:05:11 -05:00
Nicolas Silva
bca10982d6
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 13:05:09 -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
Benoit Jacob
ec7fdaa3f7
Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical
2013-11-27 10:19:34 -05:00
Markus Stange
d7650b9dac
Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow
2013-11-27 08:32:19 +01:00
Ryan VanderMeulen
c710d8f498
Backed out changesets 7caa8e80b06a, 1509f8be5df3, a249bd79e71a, and 9cc4a77561e8 (bug 933082) for mochitest asserts on a CLOSED TREE.
2013-11-26 14:58:09 -05:00
Benoit Jacob
00b1601e4a
Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical
2013-11-26 14:00:29 -05:00
David Anderson
bbb19b39f3
Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc).
2013-11-21 11:25:16 -08:00
Kartikaya Gupta
1832b8e388
Bug 732971 - For Fennec move the resolution from the top-level presShell to the content presShell. r=BenWa
...
The bulk of this patch is fixing up pieces of code that infer the resolution
as the inverse of the scaling transform on the root layer. This used to be
how various bits of gfx code obtained the resolution, but now that we can set
the resolution on the actual presShell that contains the content, we can also
just read the resolution from the FrameMetrics directly.
2013-10-29 09:27:50 -04:00
David Anderson
00fb288816
Fix resize jank on Linux with OMTC (bug 926618, r=mattwoodrow).
2013-10-21 13:14:47 -07:00
Benoit Girard
bf46d71f84
Bug 918825 - Add frame duration marker. r=ehsan
2013-09-27 12:08:45 -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