Commit Graph

2271 Commits

Author SHA1 Message Date
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761 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
4b74788f31 Bug 937886 - Build content/canvas/src in unified mode - r=ehsan 2013-11-18 08:08:24 -05:00
Chris Double
867e379644 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
1d2b657a55 Bug 896047 - Clear builder when fill rule for path changes. r=Bas 2013-11-08 21:24:24 -06:00
Nathan Froyd
182df38e7c 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
68d16e5b58 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
af09204569 Bug 931404 - Move LOCAL_INCLUDES to moz.build in content/; r=gps 2013-11-11 09:04:06 +01:00
Jeff Muizelaar
8bd679c33e Bug 936246. Bustage fix for compiler warning as error.
CLOSED TREE
2013-11-07 23:42:04 -05:00
Jeff Muizelaar
905ea5189d 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
d8a3b0f0bb 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
faf6d0ae9f Backed out changeset bad6c063b01f (bug 932274) for build bustage 2013-11-04 14:40:50 -08:00
David Zbarsky
c848a3f8c1 Bug 932274: Use Moz2D size classes in ipdl r=nical 2013-11-04 16:43:10 -05:00
Dan Glastonbury
607685cff8 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
63eb811541 Bug 540456 - Support HTML5 canvas draw{Custom,System}FocusRing(). r=smaug 2013-11-04 14:52:24 -05:00
Matt Woodrow
0604fa2aa9 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
28f72138d2 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
6f6a8a6867 Bug 933030 - Eliminate thebes use from CanvasRenderingContext2D.cpp r=mattwoodrow 2013-11-03 08:28:30 -08:00
Benoit Jacob
48ee07d231 Bug 931335 - Handle mismatched texture target in framebufferTexture2D - r=jgilbert 2013-10-31 13:01:41 -04:00
Benoit Jacob
7614486fbe Bug 928697 - Fix crash in deferred WebGL texture initialization - r=jgilbert 2013-10-31 13:00:32 -04:00
Phil Ringnalda
2283c17528 Back out df0f69fc244f (bug 933030) for bustage
CLOSED TREE
2013-10-31 21:42:00 -07:00
Andreas Gal
189be09869 Bug 933030 - Eliminate thebes use in CanvasRenderingContext2D.cpp. r=roc 2013-10-31 23:19:22 -04:00
Ryan VanderMeulen
1e3f5ba856 Merge m-c to inbound on a CLOSED TREE. 2013-10-31 16:10:29 -04:00
Jeff Gilbert
e5eaa246c9 Bug 911394 - arrayless drawElements works on ANGLE and Android. - r=bjacob 2013-10-29 11:40:44 -07:00
Jeff Gilbert
782d9a2acb Bug 911394 - Add test for arrayless drawArrays. - r=bjacob 2013-10-29 11:25:46 -07:00
Jeff Gilbert
6100381224 Bug 924241 - Don't force-present after post-resize clear. r=bjacob 2013-10-31 09:52:24 -04:00
Rik Cabanier
cbb0aadad2 Bug 768067 - Fix style nits from original review. r=roc 2013-10-27 20:53:45 -04:00
Phil Ringnalda
a1f80ad10b Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
f001961e50 Bug 929513 Part 5: Use LayerIntSize for CanUseCanvasLayerForSize r=nical 2013-10-27 17:53:27 -04:00
Peter Van der Beken
cbf7a0c800 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Ms2ger
34f7a76bb1 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
a521d7eace Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
4c98f61956 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
e2ae65f67a Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Birunthan Mohanathas
872802570b Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan
--HG--
extra : rebase_source : 9237726507e8002479616a98a82646a763932507
2013-10-23 16:34:10 -04:00
Ehsan Akhgari
19c3c317bc Bug 928900 - Reduce some content/ #includes; r=jst
--HG--
extra : rebase_source : d2932ff888affe7e1e7a10233dfacac6fb9f07a7
2013-10-21 17:23:33 -04:00
Phil Ringnalda
9f79a6f12f Back out 15418b394a64 and 1945cbcef58f (bug 911394) for bustage
CLOSED TREE
2013-10-17 20:30:23 -07:00
Jeff Gilbert
5ca1693024 Bug 911394 - arrayless drawElements works on ANGLE. - r=bustage on a CLOSED TREE 2013-10-17 18:48:42 -07:00
Jeff Gilbert
7007d7f556 Bug 911394 - Add test for arrayless drawArrays. - r=bjacob 2013-10-17 17:27:09 -07:00
Christoph Diehl
18273ed0f8 Bug 916128 - Add crash test. r=khuey 2013-10-16 22:55:45 -04:00
Stephen Pohl
a0e40b6aaf Bug 916128 - Ensure that image encoding callbacks are released on the main thread. r=khuey 2013-10-16 22:55:41 -04:00
Stephen Pohl
b41e566a70 Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-10-16 22:55:20 -04:00
Stephen Pohl
5bd1b05b70 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-10-16 22:55:15 -04:00
Stephen Pohl
58f93a680b Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc,bz 2013-10-16 22:55:08 -04:00
Stephen Pohl
0641d62f77 Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc,bz 2013-10-16 22:55:04 -04:00
Milan Sreckovic
9635910d8f Bug 924573 - Deal with canvas 0 width and height more consistently. r=bas 2013-10-09 17:22:11 -04:00
Ed Morley
d2181e5021 Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures 2013-10-16 15:18:20 +01:00
Dan Glastonbury
5fef90e0a1 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.
2013-10-16 08:27:59 -04:00
Rik Cabanier
e71fc9d4bd Bug 768067 - Implement canvasRenderingContext2D.get/setLineDash. r=roc 2013-10-16 08:27:59 -04:00
George Wright
3ed9c2e5d6 Bug 915938 - Honour the glyph rendering options set by the platform when drawing text on a <canvas> r=jfkthame 2013-10-13 12:23:20 -04:00
Matt Woodrow
809492790e Bug 922942 - Use Moz2D for canvas snapshots when the canvas and content backends don't match. r=roc 2013-10-15 16:23:20 +13:00
Benoit Jacob
2237243c41 Bug 922921 - Consistently check attrib accesses in WebGLVertexArray. Also rename a few things. - r=jgilbert 2013-10-11 09:16:44 -04:00
Benoit Jacob
2d95c93adc Bug 924193 - Drop WebGLTexelConversions' custom FORCE_INLINE macro, use MOZ_ALWAYS_INLINE - r=jgilbert 2013-10-11 09:16:44 -04:00
Benoit Jacob
5748066634 Bug 924192 - Use MOZ_BEGIN_ENUM_CLASS for the WebGLTexelPremultiplicationOp enum - r=jgilbert 2013-10-11 09:16:44 -04:00
Benoit Jacob
4737a2f39a Bug 924191 - Use MOZ_BEGIN_ENUM_CLASS for the WebGLTexelFormat enum - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
0af3a472b6 Bug 924189 - Use MOZ_BEGIN_ENUM_CLASS for the WebGL VertexAttrib0 enum - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
8ed3756915 Bug 924188 - Use MOZ_ASSERT where appropriate in WebGL code - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
71b7b3665a Bug 924186 - Simplify WebGLFramebuffer's CC goop - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
7d91c2367e Bug 924176 - Warn on prefixed WebGL extensions usage (deprecated) - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
b357df1793 Bug 922810 - Fix the build on compilers not supporting strong enums - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
ad878d159b Bug 922810 - Part 8: Defer/avoid initialization of texture images - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
4f7ecb11e8 Bug 922810 - Part 6: Clean up and optimize fake black textures implementation - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
c551e065b9 Bug 922810 - Part 5: do not initialize depth textures before they get rendered to, use a fake black texture instead - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
13efa444f7 Bug 922810 - Part 4: make BindTexture smart enough to not clear the context's mFakeBlackStatus when nothing changed - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
96fd1f039f Bug 922810 - Part 3: introduce transparent fake black textures alongside existing opaque ones - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
583a85a3d0 Bug 922810 - Part 2: reorganize the tracking of fake back statuses - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
48f12fd3ca Bug 922810 - Part 1: track image initialization with a WebGLImageDataStatus enum - r=jgilbert 2013-10-11 09:16:43 -04:00
Jeff Gilbert
5887bc9d00 Bug 872701 - Add test that highp floats work iff GL gives a format for them. - r=bjacob 2013-10-10 17:59:39 -07:00
Phil Ringnalda
ed18c9d2ef Backed out 2 changesets (bug 872701)
CLOSED TREE

Backed out changeset 8fcfc380bfc9 (bug 872701)
Backed out changeset 31014a7ee3ab (bug 872701)
2013-10-09 21:40:21 -07:00
Wes Kocher
a11d9c9385 Followup to bug 872701 to fix tests on a CLOSED TREE 2013-10-09 19:13:34 -07:00
Jeff Gilbert
9f0bfa54d9 Bug 872701 - Add test that highp floats work iff GL gives a format for them. - r=bjacob 2013-10-09 16:41:56 -07:00
Ryan VanderMeulen
7f25797a79 Backed out changeset 8517afe50156 (bug 540456) for reftest failures.
CLOSED TREE
2013-10-09 15:12:21 -04:00
Boris Zbarsky
48ef79b3bb Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey 2013-10-09 12:05:22 -04:00
Rik Cabanier
8b42617ed2 Bug 540456 - Support HTML5 canvas draw{Custom,System}FocusRing(). r=smaug 2013-10-09 12:59:50 -04:00
Ed Morley
2c635d5d0c Backed out changeset 8fa0cbe4a54d (bug 817194) for build failures 2013-10-09 17:48:13 +01:00
Boris Zbarsky
cf8ba5ee47 Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey 2013-10-09 12:05:22 -04:00
Jukka Jylänki
c6a466fef4 Bug 924264 - Fix WebGL.getUniform on non-first array entry in uniform arrays - r=bjacob 2013-10-09 10:35:12 -04:00
Ryan VanderMeulen
7f5276fcb1 Backed out changesets 5fa68d64f749, 103b40656e24, b1ff3efb43cf, 096455736704, and 4afd6fa3da19 (bug 817700) for mochitest-1 failures.
CLOSED TREE
2013-10-08 15:00:17 -04:00
Ryan VanderMeulen
a5c967b4f9 Backed out changesets 0beb30c3e1af, 584f639cdb03, and 6a3b0b83d3f6 (bug 916128) for depending on bug 817700. 2013-10-08 14:59:25 -04:00
Christoph Diehl
207e44d021 Bug 916128: Add crash test. r=khuey 2013-10-08 13:28:02 -04:00
Stephen Pohl
12f2d287c8 Bug 916128: Ensure that image encoding callbacks are released on the main thread. r=khuey 2013-10-08 13:27:56 -04:00
Stephen Pohl
a311cb967e Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-10-08 13:27:45 -04:00
Stephen Pohl
99e2b9ad20 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-10-08 13:27:40 -04:00
Stephen Pohl
778109106b Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc,bz 2013-10-08 13:27:29 -04:00
Stephen Pohl
efc1b81df0 Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc,bz 2013-10-08 13:27:25 -04:00
Ehsan Akhgari
b6bef348c1 Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Ms2ger
105ce73cfa Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Jeff Gilbert
6520f15582 Bug 685184 - Finalize attachments slightly earlier. - r=jgilbert 2013-10-01 17:31:37 -07:00
Jeff Gilbert
3805e281d0 Bug 685184 - Emulate depth_stencil RBs. - r=bjacob 2013-10-01 17:31:09 -07:00
Jeff Gilbert
180c370f76 Bug 685184 - Differentiate textureTarget, texImageTarget, and internal 'face' vars. - r=bjacob 2013-10-01 17:30:38 -07:00
Jeff Gilbert
fd031b67ac Bug 685184 - Delay attachment of RBs to FBs. - r=bjacob 2013-10-01 17:30:05 -07:00
Ehsan Akhgari
6c364e9615 Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Milan Sreckovic
1dc55c080a Bug 916322 - Add UnsetAttr to HTMLCanvasElement to catch the removal of attributes and keep the context it owns of matching size. r=khuey, r=jmuizelaar
The test is debug only, asserting without this fix.
2013-09-30 17:02:40 -04:00
Benoit Jacob
2275eedfca Bug 783914 - WEBGL_depth_texture doesn't work using ANGLE - r=jgilbert 2013-09-30 20:58:57 -04:00
Ehsan Akhgari
0a3a2ee94a Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
  be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
  nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
  places which require it implicitly.
2013-09-30 17:26:04 -04:00
Gregory Szorc
cc1da2c22a Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
e53ac5e38d Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
d84dee3273 Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley
038cae0901 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
483a776413 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
cabc6369a6 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Jeff Gilbert
492d0866b9 Bug 911346 - Add a test for WebGL context creation. - r=bjacob 2013-09-27 19:12:12 -07:00
Benoit Jacob
c1d7f88886 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Geoff Brown
a1036a5105 Bug 917053 - Update webgl test manifest for Android x86 emulator; r=bjacob 2013-09-19 20:07:01 -06:00
Wes Kocher
47008ee7d0 Backed out 2 changesets (bug 911346)
Backed out changeset 6255c31609be (bug 911346)
Backed out changeset cae77be484b9 (bug 911346)
2013-09-19 18:27:33 -07:00
Jeff Gilbert
2e2e46ab65 Bug 911346 - Strip trailing whitespace from new files. r=me 2013-09-19 15:42:45 -07:00
Jeff Gilbert
df4e9a1ac1 Bug 911346 - Add a test for WebGL context creation. - r=bjacob 2013-09-19 15:37:54 -07:00
Jeff Gilbert
cdd6255ae1 Bug 917046 - Require instanced_non_arrays for WebGL2. r=bjacob 2013-09-19 15:33:22 -07:00
Jeff Gilbert
c97feedb8c Bug 911394 - Allow non-instanced drawing with no zero divisor attrib. - r=bjacob 2013-09-19 15:30:19 -07:00
Jeff Gilbert
facf0a2d7d Bug 890432 - Limit expression complexity on Mac+NV. - r=bjacob 2013-09-19 14:59:44 -07:00
Boris Zbarsky
ef66ca3e72 Bug 915971. Rename FooReturnValue unions to OwningFoo, because we use them for more than just return values. r=dzbarsky 2013-09-17 11:16:02 -04:00
Stephen Pohl
5a04a52cb9 Backout bug 817700 for causing various regressions. r=me 2013-09-13 14:14:36 -04:00
Stephen Pohl
b7cedef478 Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-09-12 17:04:20 -04:00
Stephen Pohl
09151157bc Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-09-12 17:04:15 -04:00
Stephen Pohl
dbecfcc4e2 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc,bz 2013-09-12 17:04:10 -04:00
Stephen Pohl
9cdb7bb93a Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc,bz 2013-09-12 17:04:06 -04:00
Ryan VanderMeulen
30168b484b Merge fx-team to m-c. 2013-09-11 21:48:20 -04:00
Martijn Wargers
a570d547c2 Bug 914940 - Remove some enablePrivilige calls. r=jgriffin 2013-09-11 10:51:09 +02:00
Nicholas Nethercote
9d1d4e73b0 Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Andrew McCreight
244c96a5bf Bug 912747 - Change nsCycleCollectionHoldDrop.h to mozilla/HoldDropJSObjects.h. r=khuey
--HG--
rename : xpcom/glue/nsCycleCollectionHoldDrop.h => xpcom/glue/HoldDropJSObjects.h
2013-09-10 08:29:43 -07:00
Ms2ger
6d02cd54c0 Bug 914048 - Reduce includes in CanvasRenderingContext2D.cpp; r=dzbarsky 2013-09-10 09:03:38 +02:00
Ed Morley
5eb2bdb5c4 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Ms2ger
6dfe58ad79 Merge backout. 2013-09-09 16:56:18 +02:00
Ms2ger
5d5e2ac59a Backout changesets 194d051724a8:89e680f30d31 (bug 817700) for insufficient review. 2013-09-09 16:56:00 +02:00
Stephen Pohl
5654874098 Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-09-06 12:30:36 -04:00
Stephen Pohl
8427b38ba8 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-09-06 12:30:30 -04:00
Stephen Pohl
b088ad8577 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc 2013-09-06 12:30:21 -04:00
Stephen Pohl
7af562d0f2 Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc 2013-09-06 12:30:17 -04:00
Nicholas Nethercote
85d3324d5e Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Ehsan Akhgari
8df24bbec7 Forward declare mozilla::dom::Nullable as a struct everywhere so that the MSVC linker can pick up the correct symbol name
This is needed for bug 848294
2013-09-09 11:43:52 +02:00
Kyle Huey
abebd382da Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Benoit Jacob
4b58797235 Bug 912974 - Split two classes out of GLContext.h, and remove many #includes in GLContext.h - r=jrmuizel 2013-09-06 22:13:37 -04:00
Ryan VanderMeulen
b244547589 Merge inbound to m-c. 2013-09-06 20:55:41 -04:00
Ryan VanderMeulen
ad4ed2d45b Merge m-c to b2g-inbound. 2013-09-06 18:01:09 -04:00
Jeff Gilbert
e359259b6e Bug 912606 - Test that mismatched webgl context request ids fails. - r=bjacob 2013-09-06 11:48:47 -07:00
Benoit Jacob
71a7e3748f Bug 905227 - Adjust WebGL reftest.list for UNEXPECTED-PASS - r=nical 2013-09-06 08:03:53 -04:00
Benoit Jacob
924b4b3cab Bug 905227 - Introduce 128 px threshold for Skia/GL, overridable by gfx.canvas.min-size-for-skia-gl preference - r=nical 2013-09-06 08:02:04 -04:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
ad36ee41a9 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
George Wright
ed5938e7b7 Bug 903722 - Only demote to a software canvas if we're a GL-backed Skia canvas r=bjacob 2013-08-30 14:35:30 -04:00
Nicholas Nethercote
43ad5b4dcf Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Benoit Jacob
1f20f10e0d Bug 912255 - traverse/unlink mDefaultVertexArray - r=smaug 2013-09-04 11:29:36 -04:00
Benoit Jacob
590564045c Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Benoit Jacob
85b927c85a Bug 911879 - Give WebGLContext.h a good round of removing unneeded inline method bodies - r=jgilbert 2013-09-04 08:14:50 -04:00
Benoit Jacob
0afaacdc90 Bug 811371 - Remove nsISupports inheritance in remaining (i.e. new) WebGL classes - r=continuation 2013-09-04 08:14:48 -04:00
Benoit Jacob
439cefafcb Bug 911857 - Move CheckedBufferData to WebGLContextBuffers.cpp - r=jgilbert 2013-09-04 08:14:46 -04:00
Benoit Jacob
b738c6e6c6 Bug 911856 - Remove the custom concept of "stable context" in favor of the standard concept of "lost context" - r=jgilbert 2013-09-04 08:14:44 -04:00
Benoit Jacob
2129bf3913 Bug 911855 - Remove redundant WebGL integer typedefs - r=jgilbert 2013-09-04 08:14:43 -04:00
Benoit Jacob
e5c9bf8781 Bug 911851 - Check WebGL sizeiptr arguments - r=jgilbert 2013-09-04 08:14:39 -04:00
Benoit Jacob
0a5dc380ba Bug 911850 - BindBufferRange should check for out-of-bounds range - r=jgilbert 2013-09-04 08:14:37 -04:00
Benoit Jacob
c62a68810a Bug 911848 - WebGLBuffer's mByteLength should be a WebGLsizeiptr - r=jgilbert 2013-09-04 08:14:35 -04:00
Andrew McCreight
4723c7c5e3 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Nicholas Nethercote
191ed08f6a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Ryan VanderMeulen
51102e8743 Merge inbound to m-c on a CLOSED TREE. 2013-08-29 16:04:45 -04:00
Guillaume Abadie
3df9431ee1 Bug 645792 - Replace throwing an exception by returning null on HTMLCanvasElement::GetContext. r=bjacob
CLOSED TREE
2013-08-29 10:14:22 -04:00
Ryan VanderMeulen
f3b02482a7 Backed out changeset a58d895d8197 (bug 645792) for OSX leaks. 2013-08-29 13:46:10 -04:00
Benoit Jacob
c15cad772d Bug 905141 - Increase fuzziness of some WebGL reftests on B2G - no review, bustage fix
These were already marked as fuzzy on B2G for 83 pixels. With the B2G emulator BGRA patch now deployed on the test slaves, it appears from reftests logs that the fuzziness needs to be updated from 83 pixels to 90 or 91 pixels depending on the test.
2013-08-29 13:09:53 -04:00
Andrew Quartey
2b23d44aa0 Bug 811371 - Drop nsISupports inheritance on WebGL object classes. r=bjacob 2013-08-29 11:39:17 -04:00
Guillaume Abadie
d07c89b64a bug 645792 - replace throwing an exception by returning null on HTMLCanvasElement::GetContext - r=bjacob 2013-08-29 10:14:22 -04:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
2d1403efe0 Bug 831193 (part 5) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in CanvasRenderingContext2D.cpp. r=jmuizelaar.
--HG--
extra : rebase_source : f26ea74c9c53a044d1a30f48500ae83ef005c82d
2013-01-17 16:45:11 -08:00
Mina Almasry
0a77b28320 Bug 775843 - Always BindAttribLocation something to attrib 0 if possible. r=jgilbert 2013-08-27 09:01:44 -04:00
Guillaume Abadie
3aa0455093 bug 908316 - [WebGL 2.0] Refactor query object's targets - r=jgilbert 2013-08-26 18:18:48 -04:00
Guillaume Abadie
f59578b7e7 bug 908841 - step 4 - Add more natively supported extensions in WebGL 2 - r=jgilbert 2013-08-26 17:12:54 -04:00
Guillaume Abadie
ec46ed3e56 bug 908841 - step 3 - Change the WebGL 2 validation mechanism - r=jgilbert 2013-08-26 17:12:54 -04:00
Guillaume Abadie
563b83bc1c bug 908841 - step 2 - Factorise WebGL extensions naming - r=jgilbert 2013-08-26 17:12:53 -04:00
Guillaume Abadie
b4dd4b85f7 bug 908841 - step 1 - Move WebGL extension managment in WebGLContextExtensions.cpp - r=jgilbert 2013-08-26 17:12:53 -04:00
Guillaume Abadie
835dca74d3 bug 908985 - [WebGL 2.0] also bind buffers on the general binding point when binding to an indexed one - r=jgilbert 2013-08-26 16:03:32 -04:00
James Willcox
c9f4c10cfa Bug 902651 - Restore the DrawTarget transform and clip when demoting r=mattwoodrow,bz
--HG--
rename : browser/config/mozconfigs/win64/common-opt => browser/config/mozconfigs/win64/nightly
extra : rebase_source : 1f1438d54fb97935c9186b69afc37a5d17028dbb
2013-08-23 09:52:32 -04:00
Jeff Gilbert
53f8d69f34 Bug 783674 - WebGLContext::Render to use ReadScreen* and mark its surfaces as dirty. r=bjacob 2013-08-26 11:26:27 -04:00
Boris Zbarsky
f9dfbe132d Bug 908576 part 7. Move the various DOMProxyHandler classes into the binding implementation files. r=smaug 2013-08-23 22:42:42 -04:00
Matt Woodrow
64b190a16a Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc 2013-08-23 18:13:55 +12:00
Kyle Huey
64a98a331b Bug 907595: Forward declare ImageData and stop including it in headers. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
98cc114fd5 Bug 903772: Part 1 - Add an API for creating typed arrays that doesn't require the caller to be wrapper cached. r=peterv 2013-08-22 22:17:07 -07:00
Guillaume Abadie
2c25ab3df4 bug 908232 - step 2 - [WebGL 2.0] Add RASTERIZER_DISCARD tracking - r=jgilbert 2013-08-22 20:11:40 -04:00
Guillaume Abadie
0f47241bc3 bug 908232 - step 1 - Refactor the WebGL state tracking - r=jgilbert 2013-08-22 20:11:27 -04:00
Guillaume Abadie
341027053c bug 904330 - step 03 - Uses mozilla::GLFeature instead of old extension group queries - r=jgilbert 2013-08-22 13:42:05 -04:00
Mina Almasry
1b2b0d7b9e Bug 728629 - canvas2D fillText & strokeText do not throw exceptions when non-finite doubles are passed for the position. r=vlad 2013-08-22 10:16:06 -04:00
Ms2ger
8bfa279bb1 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
87ae95251c Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
2d7391b50d Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
4ea4dafae0 Bug 907606 - Remove BindingUtils.h include from WebGLContext.h; r=mounir 2013-08-22 08:34:54 +02:00
Guillaume Abadie
a547469d5d bug 903480 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN - r=jgilbert 2013-08-21 21:11:03 -04:00
Nicholas Nethercote
42ccf38dcd Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Guillaume Abadie
9ea19440eb bug 903481_- step 3 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_BUFFER - r=jgilbert 2013-08-20 11:36:20 -04:00
Guillaume Abadie
892f0e1dee bug 903481 - step 1 - Move WebGL buffers function into GLContextBuffers.cpp - r=jgilbert 2013-08-20 11:36:19 -04:00
Guillaume Abadie
d00425a189 bug 903455 - [WebGL 2.0] Implement transform feedback: RASTERIZER_DISCARD - r=jgilbert 2013-08-15 20:43:47 -04:00
Guillaume Abadie
c4915cab8f bug 902488 - [WebGL 2.0] Occlusion queries optimizations - r=jgilbert 2013-08-15 19:47:26 -04:00
Guillaume Abadie
3530bc7f3f bug 902063 - GLContext complete extension group queries - r=bjacob,jgilbert 2013-08-15 15:58:20 -04:00
Christian Holler
f628f65531 Bug 902132 - Disable WebGL gl-max-texture-dimensions test on Mesa. r=bjacob
--HG--
extra : rebase_source : 612e6de1a09be531e9ec05c57b696c7e6345f038
2013-08-14 15:54:02 +02:00
Ms2ger
a04009b5b7 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
6d567ab3cc Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger
df8525f77d Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Jeff Gilbert
f707e8a8c5 Bug 881681 - Add reftest for resizing a WebGL canvas. - r=dzbarsky 2013-08-13 16:54:51 -07:00
Guillaume Abadie
317bbc20f4 bug 900767 - Implement the WebGL extension ANGLE_instanced_arrays - r=jgilbert 2013-08-13 18:11:01 -04:00
James Willcox
509aaed52a Bug 902426 - Do not allow duplicate entries in the CRC2D demotion list r=mattwoodrow
--HG--
extra : rebase_source : c7c344f2b88065f46c06c99fa0bf868367b6b9ab
2013-08-09 17:19:21 -04:00