sotaro
551a052a4a
Bug 1410766 - Re-acquireDevices in gpu process when SimulateDeviceReset() is called r=dvander
2017-11-03 17:06:37 +09:00
Daniel Holbert
126bd9e1a4
Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: 77D61xpSmIl
--HG--
extra : rebase_source : c6162fa3cf539a07177a19838324bf368faa162b
2017-10-27 16:10:06 -07:00
Daniel Holbert
ecf5ee687e
Bug 1412427 part 4: Indent under-indented MPL boilerplate comments by 1 space, for consistency & alignment. (whitespace-only) r=jrmuizel
...
This patch was automatically generated. I found the files to be fixed in this
patch with the following command:
grep -r "^\* This Source Code" gfx
...and then I modified each of these files with the following script
(where $1 is the filename to be modified):
###
line1="\* This Source Code Form is subject to the terms of the Mozilla Public"
line2="\* License, v\. 2\.0\. If a copy of the MPL was not distributed with this"
line3="\* file, You can obtain one at http://mozilla\.org/MPL/2\.0/ \. \*/"
# Insert 1 space at beginning:
sed -i s%"^$line1"%" $line1"% $1
sed -i s%"^$line2"%" $line2"% $1
sed -i s%"^$line3"%" $line3"% $1
###
MozReview-Commit-ID: HXBMrfnhlVr
--HG--
extra : rebase_source : de4c78563711f8366e2978c5199a5041875fbe38
2017-10-27 15:55:37 -07:00
Kartikaya Gupta
1c54bb2347
Bug 1377090 - Make the Matrix class templated so we can instantiate it with a double type. r=bas
...
This extracts a BaseMatrix template of which Matrix is now a particular
specialization. The BaseMatrix allows us to reuse the same code for
floats and doubles, much like the other "base" classes (BasePoint,
BaseRect, etc.).
MozReview-Commit-ID: HO7bA83S9E0
--HG--
extra : rebase_source : dcd84d9a978cdea00bb54eb11eefcca9c6635901
2017-07-05 11:18:48 -04:00
David Anderson
d1eec3b0e9
Don't require a Compositor to track async compositable ownership. (bug 1365879 part 13, r=mattwoodrow)
2017-06-20 01:17:20 -07:00
Sebastian Hengst
8bd051237a
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Miko Mynttinen
9f15e545a5
Bug 1345849 - Part 1: Use DrawTriangles() instead of DrawTriangle() in OpenGL compositor backend r=jrmuizel
...
MozReview-Commit-ID: H11vFsMlIaA
--HG--
extra : rebase_source : 56da41251925d335f8ba80f1a302e9a9a92ac972
2017-03-27 13:59:15 -04:00
David Anderson
ce7cc32129
Improve pixel fill statistics in the D3D11 compositor overlay. (bug 1352151 part 6, r=bas)
...
This introduces two new statistics to the overlay. The first is the ratio of
pixel shader invocations (as determined by the GPU) to the number of pixels we
determined need to be redrawn. The ideal ratio is 1.0, indicating that we
filled every pixel exactly once. Anything over 1.0 indicates overdraw.
We also add the ratio of shaded pixels to window size. This indicates how well
we computed the invalid region, and whether or not we overfilled that
region.
Note that the OpenGL and Basic compositors do not yet query the GPU for
this statistic, so they will estimate shader invocations by the area of
DrawQuad calls.
Finally, we remove the feature where layout can request the most
recent overdraw statistic. It was not implemented on all compositors, and the
only test that used it was disabled.
--HG--
extra : rebase_source : 448a162998921974575a1a988bcfde52c959d3ed
2017-04-10 19:44:46 -07:00
Kevin Chen
d83dc709cb
Bug 1356119 - Skip Flush to old context after device reset. r=dvander
2017-04-14 00:19:00 -04:00
David Anderson
8217a1b1a7
Attach Compositables to TextureSourceProviders instead of Compositors. (bug 1343814 part 5, r=mattwoodrow)
2017-03-21 20:32:56 -07:00
David Anderson
4d00ab76d4
Factor texture methods out of Compositor into a TextureSourceProvider class. (bug 1343814 part 1, r=mattwoodrow)
2017-03-21 20:32:53 -07:00
David Anderson
990418f338
Remove the Direct3D9 compositor. (bug 1318558 part 2, r=mattwoodrow)
2017-03-08 00:17:36 -08:00
Kartikaya Gupta
f62b8b3b3f
Merge m-c to graphics
...
MozReview-Commit-ID: IN2hMCjMHLL
--HG--
rename : browser/components/extensions/test/browser/browser_ext_url_overrides.js => browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillContent.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHandler.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHeuristics.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/content/FormAutofillFrameScript.js
rename : browser/themes/shared/devedition/urlbar-history-dropmarker.svg => browser/themes/shared/compacttheme/urlbar-history-dropmarker.svg
rename : config/tests/makefiles/autodeps/check_mkdir.tpy => config/tests/makefiles/autodeps/check_mkdir.py
rename : dom/bindings/MozMap.h => dom/bindings/Record.h
rename : dom/bindings/parser/tests/test_mozmap.py => dom/bindings/parser/tests/test_record.py
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.cpp => dom/media/platforms/wrappers/MediaDataDecoderProxy.cpp
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.h => dom/media/platforms/wrappers/MediaDataDecoderProxy.h
rename : dom/tests/mochitest/general/test_interfaces.html => dom/tests/mochitest/general/test_interfaces.js
rename : dom/workers/test/test_navigator.html => dom/workers/test/test_navigator.js
rename : js/src/jsautokw.py => js/src/frontend/GenerateReservedWords.py
rename : js/src/vm/Keywords.h => js/src/frontend/ReservedWords.h
rename : layout/base/RestyleManager.cpp => layout/base/GeckoRestyleManager.cpp
rename : layout/base/RestyleManager.h => layout/base/GeckoRestyleManager.h
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002-ref.xht => layout/reftests/bugs/1313772-ref.xhtml
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002.xht => layout/reftests/bugs/1313772.xhtml
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/deny_public_fields/Cargo.toml
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/domobject_derive/Cargo.toml
rename : servo/components/plugins/lints/ban.rs => servo/components/script_plugins/ban.rs
rename : servo/components/plugins/jstraceable.rs => servo/components/script_plugins/jstraceable.rs
rename : servo/components/plugins/lib.rs => servo/components/script_plugins/lib.rs
rename : servo/components/plugins/lints/unrooted_must_root.rs => servo/components/script_plugins/unrooted_must_root.rs
rename : servo/components/plugins/utils.rs => servo/components/script_plugins/utils.rs
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex-manual.html
rename : testing/web-platform/tests/preload/link_header_preload_delay_onload.html.headers => testing/web-platform/tests/preload/link-header-preload-delay-onload.html.headers
rename : testing/web-platform/tests/preload/link_header_preload.html.headers => testing/web-platform/tests/preload/link-header-preload.html.headers
rename : services/sync/tests/unit/test_extension_storage_crypto.js => toolkit/components/extensions/test/xpcshell/test_ext_storage_sync_crypto.js
rename : toolkit/components/telemetry/TelemetryComms.h => toolkit/components/telemetry/ipc/TelemetryComms.h
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.cpp => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.cpp
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.h => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.h
extra : amend_source : 7411c39541f0b530b4b94cf359dc73e385abea4d
2017-02-17 23:33:24 -05:00
sotaro
e4ed208ec0
Bug 1339323 - Remove WebRenderCompositorOGL r=nical
2017-02-16 11:46:31 +09:00
Kartikaya Gupta
c7fda3b4ca
Merge m-c to graphics
...
MozReview-Commit-ID: KzmBdQoXRRI
2017-01-17 09:01:06 -05:00
Kartikaya Gupta
694703aee5
Merge m-c to graphics
...
MozReview-Commit-ID: 4IBPvJvxXEM
2016-12-15 10:15:36 -05:00
Morris Tseng
1ea8752292
Merge mozilla-central to graphics.
2016-11-28 10:46:02 +08:00
sotaro
a450a2754f
Bug 1317935 - Use GetCompositeUntilTime() to trigger next composition r=nical?
2016-11-24 15:48:01 +09:00
Kartikaya Gupta
77565d2492
Merge m-c to graphics
...
MozReview-Commit-ID: 5qSWNo7gKJK
2016-11-17 10:13:36 -05:00
sotaro
7b82075a9e
Bug 1312316 - Add stubbed WebRenderCompositorOGL r=nical
2016-11-17 18:02:56 +09:00
Miko Mynttinen
c0b2cd5b45
Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 3: Use BSPTree for layer sorting r=jrmuizel,mattwoodrow
...
MozReview-Commit-ID: 3Hy4IRDFgaP
--HG--
extra : rebase_source : ec31672ba66a81537cd21356466c8774023edd60
2016-12-06 13:39:01 -10:00
Miko Mynttinen
d8d0459a98
Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 2: Rename Polygon3D to Polygon, and use 4D points for all calculations r=kip
...
MozReview-Commit-ID: I6DB8xldpjO
--HG--
extra : rebase_source : c881f68722404e0d749a00424eb17d284a7383d2
2016-12-04 17:49:32 +01:00
Nicolas Silva
5e3ab0af14
Bug 1300121 - Flush the D3D11 immediate context if a composition is cancelled to avoid resources queing up in the driver. r=Bas
2016-10-11 14:10:22 +02:00
Miko Mynttinen
139ddef384
Bug 1323797 - Add compositor support for triangle layers (for BasicCompositor backend) - Part 2: Add DrawTriangles() and DrawPolygon() r=mattwoodrow
...
MozReview-Commit-ID: 3wgtRO5yK3T
--HG--
extra : rebase_source : 0c675e4e5e01fe178e4d7446c632b4d7c338bd24
2017-01-10 16:16:33 +02:00
Sotaro Ikeda
92926a0f41
Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical
2016-11-15 22:01:30 -08:00
David Anderson
efe562eabb
Move composition time from Compositor to HostLayerManager. (bug 1339688 part 1, r=mattwoodrow)
2017-02-15 19:03:20 -08:00
Matt Woodrow
5ab6ff0b97
Bug 1313281 - Part 6: Remove FenceHandle. r=sotaro
2016-10-27 21:02:12 +13:00
Matt Woodrow
4d0b10822d
Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro
2016-10-27 13:17:10 +13:00
Miko Mynttinen
1314efc774
Bug 1286412 - Add compositor support for triangle layers (for OpenGL backend) r=jrmuizel
...
MozReview-Commit-ID: 75q8ja7G1ko
--HG--
extra : rebase_source : 99e2684351a6403d7a957b876337de20b16de139
2016-10-07 10:58:13 -07:00
Matt Woodrow
2b82a4295e
Bug 1302918 - Remove old Compositor sharing code. r=nical
2016-09-23 09:44:46 +12:00
Matt Woodrow
356ce39110
Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical
2016-09-21 21:24:43 +12:00
Carsten "Tomcat" Book
f918af64da
Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
...
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow
2cb0c77257
Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical
...
--HG--
extra : rebase_source : 7498abba1e4e364e9a299ee55b44070c6a65f55a
2016-09-21 15:36:09 +12:00
Carsten "Tomcat" Book
b3103bcc88
Backed out changeset da04776fc1bd (bug 1288618)
2016-09-15 16:34:07 +02:00
Matt Woodrow
5c29dcbfd9
Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical
2016-09-15 23:17:59 +12:00
Randall Barker
8adc72b766
Bug 1297853 - White flash when creating a private browsing tab r=jchen,kats
2016-09-06 18:01:36 -07:00
Sotaro Ikeda
1ff245b181
Bug 1259571 - Reduce tearing with basic layers on Windows r=dvander
...
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-23 15:18:55 -07:00
Randall Barker
a9be905342
Bug 1294857 - Compositor uses page's background color to clear in Fennec r=kats
2016-08-18 14:03:26 -07:00
Carsten "Tomcat" Book
90f6c2d3fd
Backed out changeset 02d76f158f3d (bug 1259571) for talos xperf regressions
...
--HG--
rename : gfx/thebes/DeviceManagerDx.cpp => gfx/thebes/DeviceManagerD3D11.cpp
rename : gfx/thebes/DeviceManagerDx.h => gfx/thebes/DeviceManagerD3D11.h
2016-08-08 11:53:51 +02:00
Sotaro Ikeda
41a9daf725
Bug 1259571 - Try tearing-free drawing with GDI r=dvander,mattwoodrow
...
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-07 23:54:12 -07:00
Sotaro Ikeda
b1f63863e8
Bug 1287627 - Handle flush TextureHost without composition r=nical
2016-07-19 05:38:35 -07:00
Sotaro Ikeda
9a92018d0c
Bug 1254011 - Avoid allocating RGB buffer for YUV data everytime r=nical
2016-07-08 18:59:59 -07:00
eyim
731d8bd1c6
Bug 1002846
- Add telemetry to OpenGL compositor r=BenWa
...
MozReview-Commit-ID: 1HA0dmX0SmN
--HG--
extra : rebase_source : 545c5e48c25428c5fb4736e3a3d9f25280805472
2016-07-05 15:41:21 -04:00
David Anderson
3f0ea0572d
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
...
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
2016-07-01 01:15:16 -07:00
Phil Ringnalda
0d0d24bccc
Back out 7 changesets (bug 1281998) for Windows Marionette crashes
...
Backed out changeset d806fac2c856 (bug 1281998)
Backed out changeset b8d4fedfd7eb (bug 1281998)
Backed out changeset a72929c0c3ec (bug 1281998)
Backed out changeset 74198f88fa37 (bug 1281998)
Backed out changeset 54a0e73f6906 (bug 1281998)
Backed out changeset 99d1da1293b7 (bug 1281998)
Backed out changeset a5a9585754b1 (bug 1281998)
--HG--
rename : widget/CompositorWidget.cpp => widget/CompositorWidgetProxy.cpp
rename : widget/CompositorWidget.h => widget/CompositorWidgetProxy.h
rename : widget/windows/WinCompositorWidget.cpp => widget/windows/WinCompositorWidgetProxy.cpp
rename : widget/windows/WinCompositorWidget.h => widget/windows/WinCompositorWidgetProxy.h
2016-06-29 19:35:24 -07:00
David Anderson
804c1ee06f
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
...
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
extra : rebase_source : 8ecf59ad6039f0d0d2a51008aef53ef37aa2ce0e
2016-06-29 16:47:22 -04:00
Nicolas Silva
e3b9d57c76
Bug 1280762 - ReadUnlock the TextureHost when its IPDL actor dies. r=sotaro
2016-06-21 18:06:34 +02:00
Sotaro Ikeda
f731d220ed
Bug 1252835 - Make TextureHost recycling implicit r=nical
2016-06-15 04:28:10 -07:00
Nicolas Silva
bdb76dfbb8
Bug 1272600 - Part 7 - Add some documentation to TextureReadLock. r=sotaro
2016-06-02 11:00:33 +02:00
Nicolas Silva
1d7c8451c8
Bug 1272600 - Part 3 - Move the ReadUnlock logic from compositable to texture. r=sotaro
2016-06-02 11:00:21 +02:00