Commit Graph

2144 Commits

Author SHA1 Message Date
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
David Zbarsky
d338e52f46 Bug 929513 Part 5: Use LayerIntSize for CanUseCanvasLayerForSize r=nical 2013-10-27 17:53:27 -04:00
Peter Van der Beken
69e7c5ae55 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
88bbf03777 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
45ef6c1adc 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
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
5072f65f8c Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Birunthan Mohanathas
3560f05e45 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
a1e2d2bdbd Bug 928900 - Reduce some content/ #includes; r=jst
--HG--
extra : rebase_source : d2932ff888affe7e1e7a10233dfacac6fb9f07a7
2013-10-21 17:23:33 -04:00
Phil Ringnalda
f41a91d4ba Back out 15418b394a64 and 1945cbcef58f (bug 911394) for bustage
CLOSED TREE
2013-10-17 20:30:23 -07:00
Jeff Gilbert
21dec431d9 Bug 911394 - arrayless drawElements works on ANGLE. - r=bustage on a CLOSED TREE 2013-10-17 18:48:42 -07:00
Jeff Gilbert
1e88be7ed3 Bug 911394 - Add test for arrayless drawArrays. - r=bjacob 2013-10-17 17:27:09 -07:00
Christoph Diehl
a942ff0321 Bug 916128 - Add crash test. r=khuey 2013-10-16 22:55:45 -04:00
Stephen Pohl
bd50fe7dfa 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
739afbd931 Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-10-16 22:55:20 -04:00
Stephen Pohl
6d855025ed Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-10-16 22:55:15 -04:00
Stephen Pohl
a1933d949e Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc,bz 2013-10-16 22:55:08 -04:00
Stephen Pohl
458ffe7420 Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc,bz 2013-10-16 22:55:04 -04:00
Milan Sreckovic
4809fa2bff Bug 924573 - Deal with canvas 0 width and height more consistently. r=bas 2013-10-09 17:22:11 -04:00
Ed Morley
78777d624f Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures 2013-10-16 15:18:20 +01:00
Dan Glastonbury
560bce12ae 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
891788aa06 Bug 768067 - Implement canvasRenderingContext2D.get/setLineDash. r=roc 2013-10-16 08:27:59 -04:00
George Wright
3dd339e001 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
5c42e29ba2 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
9b609532b0 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
8d9374f04e Bug 924193 - Drop WebGLTexelConversions' custom FORCE_INLINE macro, use MOZ_ALWAYS_INLINE - r=jgilbert 2013-10-11 09:16:44 -04:00
Benoit Jacob
e52dbaed88 Bug 924192 - Use MOZ_BEGIN_ENUM_CLASS for the WebGLTexelPremultiplicationOp enum - r=jgilbert 2013-10-11 09:16:44 -04:00
Benoit Jacob
625d40fbff Bug 924191 - Use MOZ_BEGIN_ENUM_CLASS for the WebGLTexelFormat enum - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
2998967184 Bug 924189 - Use MOZ_BEGIN_ENUM_CLASS for the WebGL VertexAttrib0 enum - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
9ffc6b23d8 Bug 924188 - Use MOZ_ASSERT where appropriate in WebGL code - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
0e6cdbb7f0 Bug 924186 - Simplify WebGLFramebuffer's CC goop - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
76acfffadf Bug 924176 - Warn on prefixed WebGL extensions usage (deprecated) - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
31b388a74f Bug 922810 - Fix the build on compilers not supporting strong enums - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
c1068e71b9 Bug 922810 - Part 8: Defer/avoid initialization of texture images - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
f381117c01 Bug 922810 - Part 6: Clean up and optimize fake black textures implementation - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
70e268f927 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
d3ed28c249 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
0ada058e54 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
5e11f6d43d Bug 922810 - Part 2: reorganize the tracking of fake back statuses - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
d2a1326b16 Bug 922810 - Part 1: track image initialization with a WebGLImageDataStatus enum - r=jgilbert 2013-10-11 09:16:43 -04:00
Jeff Gilbert
8188f38ab2 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
9788cd061a 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
241cbe421d Followup to bug 872701 to fix tests on a CLOSED TREE 2013-10-09 19:13:34 -07:00
Jeff Gilbert
8db0e7c299 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
f76c2246e8 Backed out changeset 8517afe50156 (bug 540456) for reftest failures.
CLOSED TREE
2013-10-09 15:12:21 -04:00
Boris Zbarsky
6195bac64d 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
c6c93f2cad Bug 540456 - Support HTML5 canvas draw{Custom,System}FocusRing(). r=smaug 2013-10-09 12:59:50 -04:00
Ed Morley
b29a404ca7 Backed out changeset 8fa0cbe4a54d (bug 817194) for build failures 2013-10-09 17:48:13 +01:00
Boris Zbarsky
cd528c76db 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
6dbe7560f5 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
f63bf2b4f3 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
1246abd954 Backed out changesets 0beb30c3e1af, 584f639cdb03, and 6a3b0b83d3f6 (bug 916128) for depending on bug 817700. 2013-10-08 14:59:25 -04:00
Christoph Diehl
1a40394872 Bug 916128: Add crash test. r=khuey 2013-10-08 13:28:02 -04:00
Stephen Pohl
6e9d057083 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
adf6f0a2c3 Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-10-08 13:27:45 -04:00
Stephen Pohl
30e14e1d1b Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-10-08 13:27:40 -04:00
Stephen Pohl
5be9f3080d Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc,bz 2013-10-08 13:27:29 -04:00
Stephen Pohl
989d1311c0 Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc,bz 2013-10-08 13:27:25 -04:00
Ehsan Akhgari
a23cd291d5 Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Ms2ger
9d5ce8dfb7 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Jeff Gilbert
6f57186ec4 Bug 685184 - Finalize attachments slightly earlier. - r=jgilbert 2013-10-01 17:31:37 -07:00
Jeff Gilbert
e5fb5f3a5d Bug 685184 - Emulate depth_stencil RBs. - r=bjacob 2013-10-01 17:31:09 -07:00
Jeff Gilbert
37a2edd7e6 Bug 685184 - Differentiate textureTarget, texImageTarget, and internal 'face' vars. - r=bjacob 2013-10-01 17:30:38 -07:00
Jeff Gilbert
07bed4985f Bug 685184 - Delay attachment of RBs to FBs. - r=bjacob 2013-10-01 17:30:05 -07:00
Ehsan Akhgari
18ef76b0d7 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
2f361899e6 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
6ecd6b5eaa Bug 783914 - WEBGL_depth_texture doesn't work using ANGLE - r=jgilbert 2013-09-30 20:58:57 -04:00
Ehsan Akhgari
f720bbfbaa 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
89c902c7b2 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
c44d9c8614 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley
74e3d6ce30 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
47e946bebe Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
3d0a157ac2 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Jeff Gilbert
08af8593d1 Bug 911346 - Add a test for WebGL context creation. - r=bjacob 2013-09-27 19:12:12 -07:00
Benoit Jacob
0f90257361 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
fc8a5b44b2 Bug 917053 - Update webgl test manifest for Android x86 emulator; r=bjacob 2013-09-19 20:07:01 -06:00
Wes Kocher
a21793fc27 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
579c28c84e Bug 911346 - Strip trailing whitespace from new files. r=me 2013-09-19 15:42:45 -07:00
Jeff Gilbert
28947032a7 Bug 911346 - Add a test for WebGL context creation. - r=bjacob 2013-09-19 15:37:54 -07:00
Jeff Gilbert
346b9a951d Bug 917046 - Require instanced_non_arrays for WebGL2. r=bjacob 2013-09-19 15:33:22 -07:00
Jeff Gilbert
c584f65275 Bug 911394 - Allow non-instanced drawing with no zero divisor attrib. - r=bjacob 2013-09-19 15:30:19 -07:00
Jeff Gilbert
e453e29e37 Bug 890432 - Limit expression complexity on Mac+NV. - r=bjacob 2013-09-19 14:59:44 -07:00
Boris Zbarsky
9cc662a2d6 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
06ac3a989e Backout bug 817700 for causing various regressions. r=me 2013-09-13 14:14:36 -04:00
Stephen Pohl
c6a1e4e066 Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-09-12 17:04:20 -04:00
Stephen Pohl
673b8d0524 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-09-12 17:04:15 -04:00
Stephen Pohl
896265ffe7 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc,bz 2013-09-12 17:04:10 -04:00
Stephen Pohl
38f3d201c0 Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc,bz 2013-09-12 17:04:06 -04:00
Ryan VanderMeulen
b2d6edce8e Merge fx-team to m-c. 2013-09-11 21:48:20 -04:00
Martijn Wargers
a053abedf1 Bug 914940 - Remove some enablePrivilige calls. r=jgriffin 2013-09-11 10:51:09 +02:00
Nicholas Nethercote
fd238cabbe 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
dbad6e68d0 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
1670da33b0 Bug 914048 - Reduce includes in CanvasRenderingContext2D.cpp; r=dzbarsky 2013-09-10 09:03:38 +02:00
Ed Morley
50ba829a39 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
8e0e691623 Merge backout. 2013-09-09 16:56:18 +02:00
Ms2ger
7cc7e62ccd Backout changesets 194d051724a8:89e680f30d31 (bug 817700) for insufficient review. 2013-09-09 16:56:00 +02:00
Stephen Pohl
f6a47fb4e0 Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-09-06 12:30:36 -04:00
Stephen Pohl
299783d672 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-09-06 12:30:30 -04:00