Commit Graph

298 Commits

Author SHA1 Message Date
Nicholas Cameron
a44e014503 Bug 933549. Preqrequisites - Matrix::HasNonIntegerTranslation and SetAntialiasingFlags. r=mattwoodrow 2014-01-08 10:06:08 +13:00
Nicholas Cameron
632494d218 backed out bug 933549 on a CLOSED TREE 2014-01-08 10:27:14 +13:00
Nicholas Cameron
a5ff98613f Bug 933549. Preqrequisites - Matrix::HasNonIntegerTranslation and SetAntialiasingFlags. r=mattwoodrow 2014-01-08 10:06:08 +13:00
Robert O'Callahan
13d4ba530e Bug 945203. Part 2: Fix bogus comment. r=mattwoodrow
--HG--
extra : rebase_source : a7ef13ff14808109b003a72a6e55b21014801bc0
2013-12-17 00:01:02 +13:00
Robert O'Callahan
273ddfc1ac Bug 945203. Part 1: Add Layers API to annotate layers with hit-test regions. r=kats
--HG--
extra : rebase_source : baa695c0d6104f620a5b45a83e5b230ef584abd9
2013-12-16 23:47:06 +13:00
Tor Arvid Lund
19ca402f3f Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical 2013-12-20 11:46:29 -05:00
Matt Woodrow
eb8c0db39a Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc 2013-12-16 18:38:42 +13:00
Benoit Girard
f335da97be Bug 941095 - Part 2: Disable subpixelaa + component alpha. r=mattwoodrow
--HG--
extra : rebase_source : 7e3a0d3710fb29b47615cc0254135d3b44637ed8
2013-12-13 13:53:18 -05:00
Kartikaya Gupta
c140804ff3 Bug 949310. r=BenWa 2013-12-12 13:34:50 -05:00
Ryan VanderMeulen
c8bf34a922 Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Nicholas Cameron
83ac5d30d9 Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Kartikaya Gupta
cb968a6256 Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa 2013-12-09 22:14:53 -05:00
Brad Lassey
6420e3c893 Bug 915673 - Only use tiled layers for scrollable layers on b2g. r=tn,bgirard
Introduce a constructor for thebes layers that can take a hint about what the
layer will be used for, and use that hint to only create tiled layers when
the layer represents scrollable content.
2013-09-17 13:55:09 -04:00
Morris
61f30fb321 Bug 938528 - Check if data in the layer is still valid. r=gw280, r=snorp 2013-12-04 17:46:20 -05:00
Markus Stange
66dccf3af2 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Phil Ringnalda
a1bcd56fe8 Backed out 7 changesets (bug 946958, bug 865033)
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
c9776c970e Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
David Anderson
51ca221b03 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Benoit Jacob
012417f2af Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00
Benoit Girard
6702bd8431 Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Matt Woodrow
61dcbad0a4 Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc 2013-11-07 08:10:50 +13:00
Ehsan Akhgari
18ef76b0d7 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
Nicholas Cameron
a8a95dc820 Bug 882113. Azurification of compositor classes. r=mattwoodrow 2013-09-27 12:37:19 +12:00
Benoit Jacob
5a16c8030b 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
0f90257361 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
Masayuki Nakano
0b6d808310 Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Rik Cabanier
8c970079ca Bug 902525 - Part 2: Create layers for isolated groups when blending is involved r=roc 2013-09-14 20:30:00 -07:00
Rik Cabanier
f95ea751f0 Bug 902525 - Part 1: Layers changes r=roc 2013-09-14 20:23:46 -07:00
Corey Ford
f01a1f674f Bug 897105 - Part 2: Add layer fields for sticky positioning. r=roc 2013-09-11 21:17:58 -07:00
Nicholas Cameron
cca4ba2d92 Don't include mozilla-config.h in gfx.layers. No bug. r=me 2013-09-09 08:55:48 +12:00
Nicholas Cameron
b6f3b6ba96 Bug 786412. Conslidate container layer methods. r=mattwoodrow 2013-09-02 10:19:18 +12:00
Matt Woodrow
11914fb596 Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc 2013-08-23 18:13:55 +12:00
Nicholas Cameron
b5c77aec19 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Jeff Muizelaar
be2cbcb453 Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
This helps us include less.

--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Birunthan Mohanathas
60a64dee75 Bug 784739 - Switch from NULL to nullptr in gfx/layers/; r=ehsan
--HG--
extra : rebase_source : d6b0d229e1bdbe53c515b13c73c7b53839d9c756
2013-07-20 11:48:55 +03:00
Chris Lord
8c0e0a398a Bug 886298 - Convert Layers fixed position margins to typed units. r=kats 2013-07-22 09:50:13 +01:00
Chris Lord
5bcdfe829a Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats 2013-07-22 09:50:09 +01:00
Matt Woodrow
146fa01a1e Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc 2013-07-09 10:11:00 -04:00
Matt Woodrow
28c11b7893 Backout a17b6115cdd7 for causing reftest failures 2013-07-09 12:05:04 -04:00
Matt Woodrow
efcdad9840 Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc 2013-07-09 10:11:00 -04:00
Benoit Girard
38f8cfba6c Bug 775459 - Implement hit testing on layer tree + tests. r=kats
--HG--
extra : rebase_source : c596cc4c4dd9810319830ec8105a5e251e9b0ddb
2013-07-02 12:27:17 -04:00
Benoit Girard
78226b8419 Bug 775459 - Make APZC attachable only to container layers. r=kats
--HG--
extra : rebase_source : 5a94d9958013f92e64db4781e09bdc9db4b66c9a
2013-07-02 12:01:46 -04:00
Justin Lebar
09d2312322 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Matt Woodrow
a88b560e9c Bug 873944 - When we have OMTC, don't invalidate and wait for the widget paint event, just call DidPaint immediately. If we do get a widget paint event (from an OS initiated resize or similar), then block until the compositor has drawn the frame. r=roc 2013-06-18 19:59:29 +12:00
Matt Woodrow
139484072b Bug 873944 - Add FlushRendering API to the compositor interface. r=nrc 2013-06-18 19:58:43 +12:00
Matt Woodrow
5dbeaae395 Backout Bug 861805 for causing Bug 871729. rs=roc 2013-06-10 12:13:10 +12:00
David Zbarsky
67106717be Bug 788549 Part 5: Add a function to get opacity and transform property values from layers r=roc 2013-05-29 17:38:27 -07:00
Jeff Gilbert
028ad03f99 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Robert O'Callahan
8b339cab63 Bug 868082. Allow SetIsFixedPosition to be used on layers with transforms. In CompositorParent, use the animated transform value as the base transform in CompositorParent::TransformFixedLayers when it has been set by the animation sampler. r=cwiis
--HG--
extra : rebase_source : 3b809428bf8740753a98defc30ad7b7d96339442
2013-05-17 00:34:24 +12:00