summaryrefslogtreecommitdiffstats
path: root/gfx
Commit message (Collapse)AuthorAgeLines
* Don't trust convexity when applying transforms.wolfbeast2019-02-18-1/+1
| | | | | | | | | | | | In theory, a convex shape transformed by an affine matrix should still be convex. However, due to numerical imprecision of floats, when we try to determine if something is convex, we can get different answers pre and post a transformation (think of two line segments nearly co-linear). Convex paths take a faster scan converter, but it is only well behaved if the path is, in fact, convex. Thus we have to be conservative about which paths we mark as convex, and cant's trust transformed paths to retain their convexity. We re-calculate when a transform is applied.
* Skia: Validate allocation size in GrBufferAllocPool using SkSafeMath.wolfbeast2019-02-17-3/+8
| | | | Upstream port of commit 7469a9341afab19271b8ef07af5c16a0f2c4ccc1
* Skia: Be consistent about int for incReserve.wolfbeast2019-02-17-3/+5
| | | | Upstream port.
* Revert "Port several Skia upstream fixes."wolfbeast2019-02-17-58/+35
| | | | | | This reverts commit 260b06c1c96285459947231a93f08e413be89dd0. This fixes #976
* Port several Skia upstream fixes.wolfbeast2019-02-14-35/+58
|
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-152/+2
|
* Clear weak pointers in FT2 font list shutdown observers.wolfbeast2018-12-12-6/+12
|
* Remove VR hardware support.wolfbeast2018-11-26-13702/+3
| | | | This resolves #881
* Backport some upstream Skia patches.wolfbeast2018-11-02-12/+38
| | | | | | Backport of: https://skia.googlesource.com/skia/+/1e259cda4fb7f12e98dd611bd651f40ebef2d14a https://skia.googlesource.com/skia/+/73be50da2a1fe8944f2623a511fda1957eed708a
* Backport some upstream Skia patches.wolfbeast2018-11-02-9/+24
| | | | | | Backport of: https://skia.googlesource.com/skia/+/c3d8a48f1b27370049aa512019cd726c59354743 https://skia.googlesource.com/skia/+/8051d38358293df1e5b8a1a513f8114147ec9fa3
* Clean up a number of unused variables.wolfbeast2018-09-29-2/+0
| | | | Tag #21.
* gfx: add pref for enabling APZ without e10sLeorize2018-09-25-5/+6
|
* Remove all C++ telemetry autotimerswolfbeast2018-09-04-4/+0
|
* Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03-186/+8
| | | | | This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables). Stub resolution/removal should be a follow-up to this.
* Revert "Bug 1388020. r=nical, a=RyanVM"wolfbeast2018-08-30-41/+6
| | | | This reverts commit e7189e33f533f9b974b22c2110b522a13bc4c7f6.
* Remove unused variabletrav902018-08-19-1/+0
|
* Bug 1335296 - Expand about:support WebGL informationjanekptacijarabaci2018-08-01-0/+68
|
* ANGLE: Initialize uniform blocks before detaching shaderswolfbeast2018-07-24-1/+11
| | | | This resolves #668
* Add pref to control CanOptimizeToImageLayer for large downscale factors.wolfbeast2018-07-14-0/+1
| | | | This resolves #626
* Switch to Lanczos scaling from Hamming to get acceptable fast downscaling.wolfbeast2018-07-14-15/+10
| | | | | | | | | | In visual tests we see that Hamming-1 is not as good as Lanczos-2, however it is about 40% faster, and Lanczos-2 itself is about 30% faster than Lanczos-3. The use of Hamming-1 has been deemed an unacceptable trade-off between quality and speed due to the limited pixel space it operates in, so we pick Lanczos-2 here. On modern hardware, Lanczos-2 doesn't have any noticeable impact in normal use.
* Ad workaround for broken B5G6R5 format in Intel driver.wolfbeast2018-07-11-2/+16
|
* Re-apply genericDraw* fixeswolfbeast2018-07-11-6/+6
|
* Roll back to ANGLE/2845wolfbeast2018-07-11-55178/+21143
|
* Bug 604026 - Sync event loops in workers should be created only if ↵janekptacijarabaci2018-07-05-1/+1
| | | | compatible with the worker shutdown status
* Rework gfxFontUtils::MapCharToGlyphFormat4 to be more robust. DiDwolfbeast2018-07-01-42/+57
|
* Bug 1464039 - Only reject qcms transform with invalid grid size if the ↵Nicolas Silva2018-06-30-2/+8
| | | | transform function uses the grid size. r=Bas a=jcristau
* Bug 1464039 - Reject some invalid transforms in qcms. r=mwoodrow, a=RyanVMNicolas Silva2018-06-30-0/+4
|
* Improve the SSSE3 scaler.wolfbeast2018-06-07-9/+25
|
* Account for offsets when creating buffers for image textures.wolfbeast2018-06-07-3/+44
|
* Bug 1462682 - Skia path bounds rounding fix. r=rhunt, a=RyanVMLee Salzman2018-06-07-14/+8
|
* Remove SPS profiler.wolfbeast2018-05-24-60/+2
| | | | | - Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions.
* Remove IPC CrashReporterClient/Hostwolfbeast2018-05-22-15/+0
| | | | Tag #20.
* Remove gfxCrashReporterUtils.wolfbeast2018-05-20-240/+0
| | | | Tag #20.
* Fix missing include in Skia SafeMathwolfbeast2018-05-17-0/+1
|
* Add omitted Skia "Safe Math" includes.wolfbeast2018-05-15-0/+2
|
* Remove other gonk widget conditionals and unused files.wolfbeast2018-05-13-2/+2
| | | | Tag #288.
* Remove MOZ_B2G leftovers and some dead B2G-only components.wolfbeast2018-05-12-45/+5
|
* Bug 1454692 - Backport some upstream Skia fixes to ESR52. r=rhunt, a=abillingsLee Salzman2018-05-10-4/+17
| | | | | --HG-- extra : histedit_source : 0fcd64cabe6f54a2286083d6518e4e6451183a19%2C37f5e7f9dbbfc01102631c33b23329d2af5aa71b
* Font fallback should detect emoji range for color emoji font.wolfbeast2018-05-09-50/+44
|
* Fix build bustagewolfbeast2018-05-09-4/+3
| | | | Fix nsAtom->nsIAtom and FindAndAddFamilies()
* Use font.name-list.emoji preference for emoji presenration.wolfbeast2018-05-09-19/+88
|
* Issue #325 Part 3: Remove support for using legacy Gecko normalization in ↵wolfbeast2018-05-04-34/+6
| | | | gfxHarfBuzzShaper.
* Merge pull request #295 from janekptacijarabaci/_native_52ESR_events_auxclick_1Moonchild2018-04-29-0/+1
|\ | | | | UI Events - implement auxclick
| * Implement auxclickjanekptacijarabaci2018-02-04-0/+1
| | | | | | | | | | | | Bug(s): https://bugzilla.mozilla.org/show_bug.cgi?id=1304044 (native in moebius)
* | Use SRWlocks for mutexes in cairo on Windows.wolfbeast2018-04-28-11/+12
| |
* | Bug 1393367 - Change MOZ_ASSERT to MOZ_RELEASE_ASSERT. r=mstange, r=fbraun, ↵Miko Mynttinen2018-04-19-1/+1
| | | | | | | | | | | | | | | | a=RyanVM --HG-- extra : source : 1908cd8ed88dd4f77a99dff39c193d7d3f435195 extra : intermediate-source : 9718d92fab4d9a39acdc2afb0302b6fcd7997f6c
* | Bug 1388020. r=nical, a=RyanVMAndrew Osmond2018-04-19-6/+41
| |
* | Bug 1441941 - Limit allocations in SkTDArray. r=jrmuizel, a=RyanVMLee Salzman2018-04-19-3/+145
| |
* | Bug 1440717 - Use RefPtr for CompositingRenderTargetOGL::mGL. r=Bas, a=rituNicolas Silva2018-04-19-2/+2
| | | | | | | | | | | | --HG-- extra : source : b6d2d55223d2aa5cb85bbdf33075d1d38f2a9a30 extra : intermediate-source : 0ec90964e0bc479412a4da8a61d48b665211736e
* | Rebase on masterwolfbeast2018-04-11-7/+7
|\ \