Commit Graph

353 Commits

Author SHA1 Message Date
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
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
f22901a7a1 Bug 924241 - Don't force-present after post-resize clear. r=bjacob 2013-10-31 09:52:24 -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
Milan Sreckovic
4809fa2bff Bug 924573 - Deal with canvas 0 width and height more consistently. r=bas 2013-10-09 17:22:11 -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
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
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
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
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
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
Stephen Pohl
5be9f3080d Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc,bz 2013-10-08 13:27:29 -04: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
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
Stephen Pohl
06ac3a989e Backout bug 817700 for causing various regressions. r=me 2013-09-13 14:14:36 -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
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
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
1e6232e229 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc 2013-09-06 12:30:21 -04:00
Nicholas Nethercote
9d7bc3d7f1 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
Benoit Jacob
d5baca5fc2 Bug 912255 - traverse/unlink mDefaultVertexArray - r=smaug 2013-09-04 11:29:36 -04:00
Benoit Jacob
94f74c705d 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
e915fc8cb0 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
a53a6563d1 Bug 911855 - Remove redundant WebGL integer typedefs - r=jgilbert 2013-09-04 08:14:43 -04:00
Guillaume Abadie
7b862f997f bug 908841 - step 1 - Move WebGL extension managment in WebGLContextExtensions.cpp - r=jgilbert 2013-08-26 17:12:53 -04:00
Jeff Gilbert
e7b98f217c Bug 783674 - WebGLContext::Render to use ReadScreen* and mark its surfaces as dirty. r=bjacob 2013-08-26 11:26:27 -04:00
Kyle Huey
f05ce97507 Bug 907595: Forward declare ImageData and stop including it in headers. r=bz 2013-08-22 22:17:11 -07:00
Guillaume Abadie
e9d0da63f5 bug 908232 - step 2 - [WebGL 2.0] Add RASTERIZER_DISCARD tracking - r=jgilbert 2013-08-22 20:11:40 -04:00
Guillaume Abadie
72ecad07aa bug 904330 - step 03 - Uses mozilla::GLFeature instead of old extension group queries - r=jgilbert 2013-08-22 13:42:05 -04:00
Guillaume Abadie
0c828225cf bug 903480 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN - r=jgilbert 2013-08-21 21:11:03 -04:00
Guillaume Abadie
f54c0d20fb bug 903481_- step 3 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_BUFFER - r=jgilbert 2013-08-20 11:36:20 -04:00
Guillaume Abadie
cd03bdb26a bug 902063 - GLContext complete extension group queries - r=bjacob,jgilbert 2013-08-15 15:58:20 -04:00
Guillaume Abadie
86136e3f00 bug 900767 - Implement the WebGL extension ANGLE_instanced_arrays - r=jgilbert 2013-08-13 18:11:01 -04:00
Nathan Froyd
3647971db9 Bug 901947 - part 1 - don't null-check |new X| in content/; r=smaug 2013-08-08 13:55:20 -04:00
Guillaume Abadie
55c0e32502 bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert 2013-08-06 20:05:51 -04:00
Guillaume Abadie
aa8c3fc910 bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert 2013-08-06 17:23:46 -04:00
Guillaume Abadie
a74600c6cf bug 900439 - Let WebGL 2 be independent of webgl.enable-draft-extensions - r=jgilbert 2013-08-01 22:18:07 -04:00
Guillaume Abadie
f11e4e269e Bug 890379 - [WebGL 2.0] Add existing WebGL 1 extensions as WebGL 2 features. r=jgilbert 2013-07-17 12:13:38 -04:00
Guillaume Abadie
79fae3c7f5 Bug 890049 - WebGL2 Replace WebGLContext by WebGLContext with one subclass WebGL1Context. r=jgilbert 2013-07-16 10:32:24 -04:00
David Cook
412014a446 Bug 890573 - Ignore webgl.disable-extensions for the chrome-only WEBGL_debug_renderer_info. r=jgilbert 2013-07-09 09:09:15 -04:00
Jeff Gilbert
50c144b3da Bug 860543 - Consider NaNs as always shadowed correctly. - r=bjacob 2013-07-03 12:53:22 -07:00
Phil Ringnalda
82c46bbf46 Backed out 43e688b70d84 (bug 843667) for compilation failures
CLOSED TREE
2013-07-02 14:30:20 -07:00
Guillaume Abadie
b1f85af139 bug 843667 - update WebGL EXT_draw_buffers to fix a potential crash on mobile - r=bjacob 2013-07-02 16:50:31 -04:00
Guillaume Abadie ext:(%20and%20James%20King%20%3Cjames%40agentultra.com%3E)
310f9b591a bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob 2013-06-27 17:07:21 -04:00
Jeff Gilbert
7d7648d33f Bug 860543 - Check shadowing for all four channels. - r=bjacob 2013-06-26 17:42:56 -07:00