Commit Graph

2143 Commits

Author SHA1 Message Date
Dan Glastonbury
3fd4360014 Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob 2013-11-26 13:25:25 +10:00
Nicholas Nethercote
c82c609ac3 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
c1d4029597 Bug 936964 (part 6, attempt 2) - Rename WebGLMemoryReporterWrapper as WebGLMemoryTracker. r=bjacob.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : a1acb54039e2273319d91cf705fb2a0b3eaa068c
2013-11-25 16:03:38 -08:00
Nicholas Nethercote
ce427b171e Bug 936964 (part 5, attempt 2) - Make WebGLMemoryReporterWrapper ref-counted. r=bjacob.
--HG--
extra : rebase_source : 034998bcb782f683d9770f18ba64922fd3d1b8f5
2013-11-25 16:01:52 -08:00
Ehsan Akhgari
6220f98ec6 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050 Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
0b49067039 Bug 936964 (part 6) - Rename WebGLMemoryReporterWrapper as WebGLMemoryTracker. r=bjacob.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 7a215cf3dbcf0b78f8ab823828360dd0cfba26d3
2013-11-25 16:03:38 -08:00
Nicholas Nethercote
e42e475b4f Bug 936964 (part 5) - Make WebGLMemoryReporterWrapper ref-counted. r=bjacob.
--HG--
extra : rebase_source : 4a0d989d47ee2687d0a9a77ac0a31b1cfb0009a6
2013-11-25 16:01:52 -08:00
Boris Zbarsky
5d9137eda5 Bug 935855 part 1. Add a [StoreInSlot] WebIDL annotation to bindings. r=peterv 2013-11-25 20:59:34 -05:00
John Daggett
595e66c8e0 Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame 2013-11-25 13:59:56 +09:00
Benoit Jacob
20940c8f1f Bug 938411 - Check for lost context in PresentScreenBuffer - r=jgilbert 2013-11-23 21:21:45 -05:00
Benoit Jacob
3c410edd4b Bug 924600 - WebGL.getUniform should not throw - r=jgilbert 2013-11-23 21:20:48 -05:00
Benoit Jacob
0187cd7e3d Bug 935303 - WebGL.texImage2D should not throw when passed a not-yet-loaded image - r=jgilbert 2013-11-23 21:20:48 -05:00
Benoit Jacob
d6c2066a07 Bug 924382 - Allow getting the integer type corresponding to a MOZ_BEGIN_ENUM_CLASS - r=Waldo 2013-11-23 21:20:38 -05:00
Ryan VanderMeulen
14bce8a31f Merge b-i to m-c. 2013-11-22 15:35:31 -05:00
Dan Glastonbury
832f739e81 Bug 939368 - Add lost context check to WebGLContext::DrawBuffers() to stop NULL
ptr dereference inside ErrorInvalidValue(). r=jgilbert

--HG--
extra : rebase_source : f828512ff3026840794b023c8d0ef98f8700f24c
2013-11-21 16:53:00 +10:00
Dale Harvey
4a1e0b3e0c Bug 935672 - Only use accelerated skia on gonk. r=matt.woodrow 2013-11-22 11:06:05 +00:00
Nathan Froyd
4b14bb683e Bug 938702 - check for a valid encoding before creating an input stream in canvas code; r=smaug 2013-11-20 19:55:53 -05:00
Atte Kettunen
13ed4349be Bug 934939: Add crash test. r=roc 2013-11-20 23:27:38 -05:00
Stephen Pohl
cc24c23a5c Bug 934939: Avoid crashing by gracefully handling invalid canvas sizes. r=roc 2013-11-20 23:27:33 -05:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Benoit Jacob
d841cb9da9 Bug 937886 - Build content/canvas/src in unified mode - r=ehsan 2013-11-18 08:08:24 -05:00
Chris Double
255c0264b4 Bug 874897 - Fix canvas copying of Ogg video frames with aspect ratio - r=jmuizelaar
--HG--
extra : rebase_source : 6f0e03c10de90b14d5bca5d7951af9eb7bced736
2013-11-18 18:26:46 +13:00
Yury Delendik
86f4a50ea7 Bug 896047 - Clear builder when fill rule for path changes. r=Bas 2013-11-08 21:24:24 -06:00
Nathan Froyd
c63b55e8d9 Bug 938612 - ensure the image buffers for canvases are freed; r=smaug
Landing this on a CLOSED TREE
2013-11-14 11:15:48 -05:00
Jeff Gilbert
3e6c5bc27a Bug 936738 - 'uniform{2,3,4}i' should not check for valid sampler texUnit values. r=bjacob 2013-11-12 08:31:32 -05:00
Ms2ger
84b1d4041e Bug 931404 - Move LOCAL_INCLUDES to moz.build in content/; r=gps 2013-11-11 09:04:06 +01:00
Jeff Muizelaar
c5f36ede95 Bug 936246. Bustage fix for compiler warning as error.
CLOSED TREE
2013-11-07 23:42:04 -05:00
Jeff Muizelaar
642914e8ce Bug 936246. Enable WEBGL_draw_buffers by default. r=jgilbert
--HG--
extra : rebase_source : 29ee857517ab6f30ef67dc57b5c2b875e136e386
2013-11-07 22:44:30 -05:00
Nicholas Nethercote
b9e0d05f7e Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Wes Kocher
f0c23390fe Backed out changeset bad6c063b01f (bug 932274) for build bustage 2013-11-04 14:40:50 -08:00
David Zbarsky
906bff4c2b Bug 932274: Use Moz2D size classes in ipdl r=nical 2013-11-04 16:43:10 -05:00
Dan Glastonbury
442a70f72a Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.

OSX 10.6 has a failure when reading back the results from an sRGB format
texture attached to an FBO. Blacklist MacOSX 10.6 and all lower versions.
2013-11-04 16:05:04 -05:00
Rik Cabanier
7f0313f389 Bug 540456 - Support HTML5 canvas draw{Custom,System}FocusRing(). r=smaug 2013-11-04 14:52:24 -05:00
Matt Woodrow
0e77492dbc Bug 922942 - Use the screen reference draw target in SVG. r=jwatt
--HG--
extra : rebase_source : 230fd579b052649c59b4e1f5f6725fc60f6a05ae
2013-10-15 13:29:15 +13:00
Matt Woodrow
adea8db602 Bug 927413 - Gracefully handle 0 sized DrawWindow rects. r=roc
--HG--
extra : rebase_source : 660845f58092277004157f898f31d03502bbfa9a
2013-11-04 14:47:17 +13:00
Andreas Gal
30d020981d Bug 933030 - Eliminate thebes use from CanvasRenderingContext2D.cpp r=mattwoodrow 2013-11-03 08:28:30 -08:00
Benoit Jacob
6d45877a85 Bug 931335 - Handle mismatched texture target in framebufferTexture2D - r=jgilbert 2013-10-31 13:01:41 -04:00
Benoit Jacob
dd7aaa4dc2 Bug 928697 - Fix crash in deferred WebGL texture initialization - r=jgilbert 2013-10-31 13:00:32 -04:00
Phil Ringnalda
8cadd9d368 Back out df0f69fc244f (bug 933030) for bustage
CLOSED TREE
2013-10-31 21:42:00 -07:00
Andreas Gal
c65871f1e3 Bug 933030 - Eliminate thebes use in CanvasRenderingContext2D.cpp. r=roc 2013-10-31 23:19:22 -04:00
Ryan VanderMeulen
3181194b69 Merge m-c to inbound on a CLOSED TREE. 2013-10-31 16:10:29 -04:00
Jeff Gilbert
59aa8cf815 Bug 911394 - arrayless drawElements works on ANGLE and Android. - r=bjacob 2013-10-29 11:40:44 -07:00
Jeff Gilbert
3b8db956ba Bug 911394 - Add test for arrayless drawArrays. - r=bjacob 2013-10-29 11:25:46 -07:00
Jeff Gilbert
f22901a7a1 Bug 924241 - Don't force-present after post-resize clear. r=bjacob 2013-10-31 09:52:24 -04:00
Rik Cabanier
8d58106239 Bug 768067 - Fix style nits from original review. r=roc 2013-10-27 20:53:45 -04:00
Phil Ringnalda
0f6fec1509 Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00