Commit Graph

2107 Commits

Author SHA1 Message Date
Benoit Jacob
55d6cf1e20 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
fe05342d0f Bug 917053 - Update webgl test manifest for Android x86 emulator; r=bjacob 2013-09-19 20:07:01 -06:00
Wes Kocher
3675a4e9fc 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
265289963c Bug 911346 - Strip trailing whitespace from new files. r=me 2013-09-19 15:42:45 -07:00
Jeff Gilbert
cf1277a469 Bug 911346 - Add a test for WebGL context creation. - r=bjacob 2013-09-19 15:37:54 -07:00
Jeff Gilbert
ffd252acc1 Bug 917046 - Require instanced_non_arrays for WebGL2. r=bjacob 2013-09-19 15:33:22 -07:00
Jeff Gilbert
e5ab532bae Bug 911394 - Allow non-instanced drawing with no zero divisor attrib. - r=bjacob 2013-09-19 15:30:19 -07:00
Jeff Gilbert
1ebd51c92e Bug 890432 - Limit expression complexity on Mac+NV. - r=bjacob 2013-09-19 14:59:44 -07:00
Boris Zbarsky
7f755053b4 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
4914dcba49 Backout bug 817700 for causing various regressions. r=me 2013-09-13 14:14:36 -04:00
Stephen Pohl
b90b7d7ff9 Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-09-12 17:04:20 -04:00
Stephen Pohl
f663c56d9f Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-09-12 17:04:15 -04:00
Stephen Pohl
3fb3164736 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc,bz 2013-09-12 17:04:10 -04:00
Stephen Pohl
9374fb23d2 Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc,bz 2013-09-12 17:04:06 -04:00
Ryan VanderMeulen
ed0259103b Merge fx-team to m-c. 2013-09-11 21:48:20 -04:00
Martijn Wargers
3c5aa5b67c Bug 914940 - Remove some enablePrivilige calls. r=jgriffin 2013-09-11 10:51:09 +02:00
Nicholas Nethercote
7983bb2a7f 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
3047b2a24e 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
82bad2ff16 Bug 914048 - Reduce includes in CanvasRenderingContext2D.cpp; r=dzbarsky 2013-09-10 09:03:38 +02:00
Ed Morley
f7bce95a91 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
b336ed5c33 Merge backout. 2013-09-09 16:56:18 +02:00
Ms2ger
7154345fcf Backout changesets 194d051724a8:89e680f30d31 (bug 817700) for insufficient review. 2013-09-09 16:56:00 +02:00
Stephen Pohl
29b38447bc Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-09-06 12:30:36 -04:00
Stephen Pohl
b3f397f710 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-09-06 12:30:30 -04:00
Stephen Pohl
6deaee5772 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc 2013-09-06 12:30:21 -04:00
Stephen Pohl
41d7e2e0e3 Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc 2013-09-06 12:30:17 -04:00
Nicholas Nethercote
cc604f4854 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
d867abcf6a 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
888aba875b Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Benoit Jacob
a653be5aa4 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
4dec0a7644 Merge inbound to m-c. 2013-09-06 20:55:41 -04:00
Ryan VanderMeulen
6e6b0eb9c7 Merge m-c to b2g-inbound. 2013-09-06 18:01:09 -04:00
Jeff Gilbert
6710a7e369 Bug 912606 - Test that mismatched webgl context request ids fails. - r=bjacob 2013-09-06 11:48:47 -07:00
Benoit Jacob
754372677d Bug 905227 - Adjust WebGL reftest.list for UNEXPECTED-PASS - r=nical 2013-09-06 08:03:53 -04:00
Benoit Jacob
ee0dd7b14a 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
03e7828db2 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
26ceee4fb5 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
e6e55b7023 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
1f32372424 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
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Benoit Jacob
6977a4abd2 Bug 912255 - traverse/unlink mDefaultVertexArray - r=smaug 2013-09-04 11:29:36 -04:00
Benoit Jacob
8ec75b058c 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
d3c3db52fa 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
f526e5a919 Bug 811371 - Remove nsISupports inheritance in remaining (i.e. new) WebGL classes - r=continuation 2013-09-04 08:14:48 -04:00
Benoit Jacob
64e6b3a0ae Bug 911857 - Move CheckedBufferData to WebGLContextBuffers.cpp - r=jgilbert 2013-09-04 08:14:46 -04:00
Benoit Jacob
2a253a692e 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
7e265eab98 Bug 911855 - Remove redundant WebGL integer typedefs - r=jgilbert 2013-09-04 08:14:43 -04:00
Benoit Jacob
3b4ac1f606 Bug 911851 - Check WebGL sizeiptr arguments - r=jgilbert 2013-09-04 08:14:39 -04:00
Benoit Jacob
6c5bf3a9b1 Bug 911850 - BindBufferRange should check for out-of-bounds range - r=jgilbert 2013-09-04 08:14:37 -04:00
Benoit Jacob
0429632cf3 Bug 911848 - WebGLBuffer's mByteLength should be a WebGLsizeiptr - r=jgilbert 2013-09-04 08:14:35 -04:00