Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Jamie Nicol 74e9823383 Bug 1496540 - Handle overlapping border corners in webrender r=gw
When some of a border's corners have a border-radius, and that radius
is larger than the sum of the border width and element size, then it
results in the corners of the border overlapping. Webrender draws
borders by rasterizing each segment individually in to the cache, then
compositing them together. In this overlapping case, this has 2
problems:

a) we composite overlapping segments on top of eachother
b) corner segments are not correctly clipped to the curve of the
   overlapping adjacent corners

This patch allows corner segments to be clipped by their adjacent
corners. We provide the outer corner position and radii of the
adjacent corners to the border shader, which then applies those clips,
if required, along with the segment's own corner clip when rasterizing
the segment.

As the adjacent corners now affect the result of the cached segment,
they are added to the cache key.

We continue to rasterize the entire segment in to the cache as before,
but now modify the local rect and texel rect of the BrushSegment so
that it only composites the subportion of the corner segment which
does not overlap with the opposite edges of the border.

Differential Revision: https://phabricator.services.mozilla.com/D16872

--HG--
extra : moz-landing-system : lando
2019-01-31 18:31:47 +00:00
.cargo Bug 1504507 - Update serde branch for changes in WR PR #3264. r=kats 2018-11-05 13:14:07 +00:00
.vscode Bug 1514820 - Recommend a VSCode extension for IDL language highlighting r=jya 2018-12-18 19:43:33 +00:00
accessible Bug 1523931 - Always create accessibles for div elements if they contain a br element, r=Jamie 2019-01-31 06:58:49 +00:00
browser Bug 1524230 - UrlbarView: Display the device name for remote tab results. r=mak 2019-01-31 16:51:46 +00:00
build Bug 1523851 - Make ac_cv_prog_*_works act as a cache. r=froydnj 2019-01-31 02:11:50 +00:00
caps Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
chrome Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
config Bug 1522066 - Disable unused ICU code during build. r=froydnj,m_kato 2019-01-31 12:22:10 +00:00
db Bug 1523851 - Remove system sqlite compile option tests. r=mak 2019-01-31 09:58:29 +00:00
devtools Bug 1522901 - Include packet.stacktrace when computing repeatId; r=julienw. 2019-01-31 14:22:53 +00:00
docshell Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
dom Bug 1524087 - Use exp2 instead of pow in OscillatorNode r=padenot 2019-01-31 15:11:35 +00:00
editor Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
embedding Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-01-24 08:11:00 +00:00
extensions Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
gfx Bug 1496540 - Handle overlapping border corners in webrender r=gw 2019-01-31 18:31:47 +00:00
gradle/wrapper Bug 1509572 - Part 1: Bump Gradle wrapper to 4.10.2; decouple script from Gradle version. r=snorp 2018-11-26 21:42:27 +00:00
hal Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
image Bug 1524313 - ImageCacheKey should use the right method to check if a window is 3rd party, r=Ehsan 2019-01-31 17:51:58 +00:00
intl Bug 1522066 - Disable unused ICU code during build. r=froydnj,m_kato 2019-01-31 12:22:10 +00:00
ipc Bug 1513687 - remove chromium's random code from IPC in favor of our own; r=froydnj 2019-01-30 21:37:11 +00:00
js Bug 1501578 - Add LexicalScopeEmitter. r=jorendorff 2019-01-31 16:48:38 +00:00
layout Bug 1496540 - Handle overlapping border corners in webrender r=gw 2019-01-31 18:31:47 +00:00
media Bug 1523412: compare GetStreamCaps return values against S_OK. r=dminor 2019-01-29 21:21:33 +00:00
memory Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
mfbt Bug 1523949 - part 1 - make MOZ_THREAD_LOCAL name lookups work anywhere; r=erahm 2019-01-30 17:26:27 -05:00
mobile Bug 1515774 - Pass current GeckoView position with touch events to APZC. r=geckoview-reviewers,snorp 2019-01-31 16:46:15 +00:00
modules Bug 1514680 - Strictly enforce the MIME type of scripts loaded by importScripts(). r=dveditz 2019-01-30 22:21:26 +00:00
mozglue Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
netwerk Bug 1524262 - URL-Classifier should not check all the blacklist tables always, r=dimi 2019-01-31 15:15:03 +00:00
nsprpub Bug 1477680, NSPR 4.20 RTM, no code change, only version number, r=me 2018-08-28 16:21:01 +02:00
other-licenses Bug 1523118 atk: Implement scrollsubstringto ATK API. r=surkov 2019-01-26 20:38:53 +01:00
parser Merge mozilla-inbound to mozilla-central. a=merge 2019-01-30 23:54:54 +02:00
python Bug 1517177: Fix hash verification of downloaded toolchains; r=glandium 2019-01-30 17:26:26 +00:00
security No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-01-31 13:34:21 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-01-31 13:34:21 +00:00
servo Bug 1523712 - Make -moz-binding chrome / UA only. r=boris 2019-01-30 20:55:54 +00:00
startupcache Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
storage Bug 1523851 - Remove system sqlite compile option tests. r=mak 2019-01-31 09:58:29 +00:00
taskcluster Bug 1523444 - Don't hardcode branch names in partials.py helper, let it inherit from scriptworkers. r=sfraser 2019-01-31 15:51:29 +00:00
testing Bug 1522537 - set test step in buffer-full-inspect-buffer-during-callback.html to expect a timeout on all platforms including linux32 debug r=jgraham 2019-01-31 17:48:31 +00:00
third_party Bug 1522173: Bump Cranelift to 0.28; r=sunfish 2019-01-24 10:51:17 +01:00
toolkit Bug 1258897 - Ensure that both test_ext_sendmessage_reply2 tab scripts are ready to exchange messages. r=mixedpuppy 2019-01-31 16:43:30 +00:00
tools Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
uriloader Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 7 - cryptomining, r=ehsan,johannh 2019-01-30 14:01:51 +01:00
view Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
widget Bug 1515774 - Pass current GeckoView position with touch events to APZC. r=geckoview-reviewers,snorp 2019-01-31 16:46:15 +00:00
xpcom Bug 1523851 - Remove the dynamic_cast<void*> test. r=froydnj 2019-01-30 14:25:33 +00:00
xpfe/appshell Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky 2018-12-16 17:27:58 -08:00
.arcconfig Bug 1460463 - Update .arcconfig to make history mutable; r=gps 2018-05-09 23:49:52 +00:00
.clang-format Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
.clang-format-ignore Bug 1508115 - Web Authentication - Support Windows Hello r=keeler,jcj,baku 2019-01-21 01:10:44 +00:00
.cron.yml Bug 1514087: [taskgraph] Add an option to not optimize target tasks in cron graphs; r=dustin 2018-12-26 14:43:34 +00:00
.eslintignore Bug 1508985 - Enable ESLint for dom/tests/browser (manual changes) r=Standard8,qdot 2019-01-22 21:26:02 +00:00
.eslintrc.js Bug 1515942 - Enable ESLint for gfx/ (manual fixes). r=kats 2018-12-27 09:45:01 +00:00
.flake8 Bug 1519307 - Add a new project to build useful parts of breakpad independently. r=froydnj 2019-01-11 16:01:15 +00:00
.gdbinit Bug 1486903 - Add "ftl" command to dump frame subtree to .gdbinit. r=Ehsan 2018-08-28 20:20:21 +00:00
.gdbinit_python
.git-blame-ignore-revs Merge mozilla-inbound to mozilla-central. a=merge 2019-01-22 05:56:10 +02:00
.gitignore Bug 1513450 - Do not ignore .rej/.orig files. r=firefox-build-system-reviewers,nalexander 2018-12-17 21:41:01 +00:00
.hg-annotate-ignore-revs Bug 1508324 - Generate list of past changesets to be skipped for blame. r=me NPOTB DONTBUILD 2018-12-27 18:08:25 -02:00
.hg-format-source Bug 1511181 - Quick fix for .hg-format-source that has an empty line. r=ehsan, a=aryx 2018-11-30 13:25:44 +02:00
.hgignore Bug 1513450 - Do not ignore .rej/.orig files. r=firefox-build-system-reviewers,nalexander 2018-12-17 21:41:01 +00:00
.hgtags No bug - Tagging mozilla-central 5d9c5aa981a5b824e6132c923c2f201b3fa49397 with FIREFOX_NIGHTLY_66_END a=release DONTBUILD CLOSED TREE 2019-01-28 04:56:31 -08:00
.lldbinit Bug 1481555: Use lldb's python API to summarise nsAtoms. r=froydnj 2018-08-08 15:11:22 +00:00
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Bug 1521264 - add clientId to action context + description. r=dustin 2019-01-29 20:46:13 +00:00
.trackerignore Bug 1486468 - Add .trackerignore file to avoid GNOME Tracker indexing mozilla-central files. r=ahal 2018-08-27 16:45:03 +02:00
.yamllint
.ycm_extra_conf.py Bug 1522135 - Make .ycm_extra_conf.py work with python3. r=jgraham 2019-01-24 13:51:28 +01:00
AUTHORS Bug 1481409 - Use HTTPS protocol for Mozilla's Credits link in AUTHORS file r=mossop 2018-08-13 16:39:30 +00:00
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-12-10 07:58:12 -08:00
Cargo.lock Bug 1495062 - [geckodriver] Release 0.24.0. r=ato 2019-01-28 15:20:03 +00:00
Cargo.toml Bug 1507524 - Move webrender to gfx/wr. r=jrmuizel 2018-11-22 21:47:48 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1507334 - Remove '10' argument to profileserver.py; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers 2019-01-10 01:34:39 +00:00
README.txt Bug 1480997 - Remove "Mozilla FTP server" link in README.txt r=mossop 2018-10-23 10:06:29 +00:00
aclocal.m4 Bug 1519603 - Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander 2019-01-14 18:37:06 +00:00
build.gradle Bug 1503455 - Part 4: Compile with SDK28. r=nalexander,snorp 2019-01-28 18:32:11 +00:00
client.mk Bug 1498031 - Merge code paths for running configure between Tup and Make based backends. r=firefox-build-system-reviewers,mshal 2018-10-16 22:21:36 +00:00
client.py
configure.in
configure.py Bug 1520394 - Don't invoke js subconfigure as a separate process. r=nalexander 2019-01-16 23:42:12 +00:00
gradle.properties Bug 1453413 - Use aapt2 to build Firefox for Android. r=mcomella 2018-04-11 09:59:22 -07:00
gradlew
mach
moz.build Bug 1507334 - Add mozconfigs for 3-stage PGO; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers 2019-01-10 01:34:49 +00:00
moz.configure Backed out 6 changesets (bug 1516228) for causing bug 1523056. a=backout 2019-01-26 21:12:33 +02:00
mozilla-config.h.in Bug 1504022 - Map GetExceptionCode to a nop to avoid an error r=bobowen 2018-11-02 13:28:01 -05:00
old-configure.in Bug 1523851 - Remove system sqlite compile option tests. r=mak 2019-01-31 09:58:29 +00:00
package-lock.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
package.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
settings.gradle Bug 1444546 - Part 2: Build annotationProcessors with Gradle. r=jchen 2018-02-22 16:11:14 -08:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.