gecko-dev/gfx
Jamie Nicol e18bbe2c58 Bug 1417310 - Don't attempt to create buffers of unreasonable sizes. r=bas
Currently ContentClient will attempt to create a buffer of any size
that Layers requires it to. If that fails it will then warn if the
requested buffer was an unreasonable size. This change makes it so
that we check whether the size is reasonable first, and do not attempt
to create the buffer if it is unreasonable.

Previously the operating system would have managed to allocate some
buffers that we deem unreasonable, but at the cost of the system
becoming unresponsive. Now, some large buffers which would previously
have been created won't be, but the chances of the system becoming
unresponsive should decrease.

Ideally Layers wouldn't request buffers of these sizes in the first
place - there are measures in place to try to prevent it, and more work
is certainly required. However, this will act as a last ditch defence.

MozReview-Commit-ID: 7WCqEwkmViy
2017-12-13 15:49:41 -06:00
..
2d Fix race condition when mapping a D2D surface while its DrawTarget mutates. (bug 1418348, r=bas) 2017-12-12 14:52:54 -06:00
angle Bug 1394734 - Simplify various corner cases r=glandium 2017-12-07 22:10:19 +01:00
cairo Bug 1394734 - Simplify various corner cases r=glandium 2017-12-07 22:10:19 +01:00
config Bug 1391159 - Handle WebRender ProgramBinary usage r=nical 2017-11-24 20:58:24 +09:00
doc Bug 1424280 - Update webrender to commit f9bc4a5c263e707e3498bea47d3ec9096cc3d099. r=jrmuizel 2017-12-10 13:48:41 -05:00
docs
gl Bug 1423524 - Fix YUVColorSpace of TSurfaceDescriptorDXGIYCbCr at GLBlitHelper::BlitImage() r=jgilbert 2017-12-08 11:50:42 +09:00
graphite2 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
harfbuzz Bug 1422898 - Update Harfbuzz to 1.7.2. r=jfkthame 2017-12-05 07:44:54 -05:00
ipc Bug 1419834 - Add hit-testing results for MozMouseHittest events to APZTestData. r=botond,mrbkap 2017-11-29 23:16:26 -05:00
layers Bug 1417310 - Don't attempt to create buffers of unreasonable sizes. r=bas 2017-12-13 15:49:41 -06:00
ots Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium 2017-10-25 15:12:09 -07:00
qcms Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium 2017-12-08 13:46:13 +01:00
sfntly Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium 2017-10-25 15:12:09 -07:00
skia Bug 1394734 - Simplify various corner cases r=glandium 2017-12-07 22:10:19 +01:00
src Bug 1399787 - Part 11.a. Use PrintTargetEMF to print content documents. r=jwatt 2017-11-05 04:36:37 +08:00
tests Backed out changeset 497efe3a096b (bug 1406231) for windows build bustages on build\build\src\obj-firefox\dist\include\mozilla/layers/ScrollingLayersHelper.h(48) r=backout on a CLOSED TREE 2017-12-08 13:04:05 +02:00
thebes Bug 1399787 - Part 15. Detect and handle breakage of the IPC channel. r=jwatt 2017-11-06 22:12:31 +08:00
vr Bug 1384279 - Oculus Rift Core 2.0 Adjustments r=daoshengmu 2017-12-07 15:27:03 -08:00
webrender Bug 1424280 - Update webrender to commit f9bc4a5c263e707e3498bea47d3ec9096cc3d099. r=jrmuizel 2017-12-10 13:48:41 -05:00
webrender_api Bug 1424280 - Update webrender to commit f9bc4a5c263e707e3498bea47d3ec9096cc3d099. r=jrmuizel 2017-12-10 13:48:41 -05:00
webrender_bindings Bug 1415034 - Add drop-shadow support. r=kats 2017-12-13 12:57:01 -06:00
ycbcr Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium 2017-12-08 13:46:13 +01:00
moz.build Bug 1402862 - Remove ENABLE_INTL_API conditional from gfx build files. r=milan 2017-09-25 17:32:47 +01:00