Commit Graph

35 Commits

Author SHA1 Message Date
Dan Glastonbury
280ba1346e Bug 1151736 - Lose context on OOM instead of crashing. r=jgilbert 2015-06-17 23:49:35 -04:00
Dan Glastonbury
c8fe1f498a Bug 1167504 - Part 4: Remove BindableName - Texture. r=jgilbert 2015-06-10 13:24:18 +10:00
Jeff Gilbert
5d26eae68a Bug 1159034 - Only fake no-alpha for the backbuffer. - r=kamidphish 2015-04-30 17:30:26 -07:00
Milan Sreckovic
73051ae88b Bug 1151736 - More information to pick up with crash reports. r=jgilbert 2015-04-23 11:57:10 -07:00
Jeff Gilbert
26f1de3dba Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-24 16:00:28 -07:00
Jeff Gilbert
b9a6065068 Bug 1143979 - Use RAII local instead of useless temporary. - r=kamidphish 2015-03-16 19:38:06 -07:00
Boris Zbarsky
3a822d99b4 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Phil Ringnalda
7f62a0d1a1 Back out f7657171e034 (bug 1017865) for relanding after already being backed out because it causes orange
CLOSED TREE
2015-03-16 21:32:52 -07:00
Jeff Gilbert
2421a850ae Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-16 18:22:17 -07:00
Wes Kocher
4a58efef7f Backed out changeset ff27f90ed289 (bug 1017865) for gl orange 2015-03-16 18:03:40 -07:00
Jeff Gilbert
292148c1ae Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-16 12:48:52 -07:00
Jeff Muizelaar
2ff79c79b2 Bug 1090518. Fix crash during webgl-depth-texture.html conformance test. r=jrmuizel
The crash happens because we get a GL error back from glTexImage2D when we try
to glTexImage2D a depth texture in EnsureNoUnitializedImageData. Uploading
glTexImage2D is not supported with the ANGLE_depth_texture extension. We need
to use the framebuffer path.
2014-12-08 11:36:19 -05:00
Jeff Gilbert
d9b9968e9c Bug 1099427 - Reformat WebGL. - r=kamidphish 2014-11-13 20:03:50 -08:00
Dan Glastonbury
e9b4063ae5 Bug 1002281 - Change WebGLBindableName to make mGLName const. r=jgilbert
Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.
2014-11-17 12:21:04 +10:00
Phil Ringnalda
f0b536377b Back out changeset 63d194784378 (bug 1002281) for b2g build bustage
CLOSED TREE
2014-11-13 21:51:22 -08:00
Dan Glastonbury
6c1bf3e3e8 Bug 1002281 - Change WebGLBindableName to make mGLName const. r=jgilbert
Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.
2014-11-14 14:15:10 +10:00
Jeff Gilbert
9564f8da60 Bug 1083611 - Use UniquePtr and fallible allocations. - r=kamidphish 2014-10-15 20:11:30 -07:00
David Anderson
cf8097d054 WebGL2: support TEXTURE_BASE_LEVEL and TEXTURE_MAX_LEVEL (bug 1080957, r=jgilbert). 2014-10-16 13:07:01 -07:00
David Anderson
97747b76eb Backout 2cf543c271dc (wrong patch, no bug, r=me). 2014-10-16 13:04:35 -07:00
David Anderson
6a3235b8f5 WebGL2: support TEXTURE_BASE_LEVEL and TEXTURE_MAX_LEVEL. (bug 1080957, r=jgilbert) 2014-10-15 02:07:34 -07:00
David Anderson
70cf1db348 WebGL2: Support non-power-of-two textures. (bug 1080921, r=jgilbert). 2014-10-14 19:10:15 -07:00
Benoit Jacob
1eb6639325 Bug 1081125 - WebGL2 3D textures - Part 2: update our texture state tracking to handle 3D textures - r=jgilbert 2014-10-13 19:42:20 -04:00
Benoit Jacob
c6438deb30 Bug 1080137 - WebGL2: misc fixes to make new tex formats and sized internalformats actually work - r=jgilbert 2014-10-09 16:07:07 -04:00
Benoit Jacob
68bf45ea3d Bug 1077183 - Untangle the confusion between effective and unsized internalformats in the WebGL implementation - r=jgilbert 2014-10-07 19:52:58 -04:00
Peter Van der Beken
3467274091 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz. 2014-10-07 11:44:49 +02:00
Dan Glastonbury
87cd76bc13 Bug 1075195 - WebGL2: implement texStorage2D - r=bjacob,djg 2014-07-15 09:55:56 +10:00
Dan Glastonbury
841f96bceb Bug 1075305 - WebGL2 - remove WebGL prefix from WebGLTexture::ImageInfo.; r=bjacob 2014-09-30 13:50:00 +10:00
Dan Glastonbury
4faa9cd653 Bug 1705305 - Rename WebGLTexture::ImageInfo::WebGLFormat to WebGLTexture::ImageInfo::WebGLInternalFormat.; r=bjacob 2014-07-15 09:55:33 +10:00
Benoit Jacob
70a03a31bb Bug 1071340 - Convert to STRONG_GLENUM: TexType, TexFormat, TexInternalFormat - r=djg 2014-09-23 13:48:27 -04:00
Walter Litwinczyk
686f80f7f6 Bug 1063053 - Add stronger types to WebGL texture code for better debug/compile time checking. r=jgilbert,kamidphish 2014-09-18 16:14:22 -07:00
Ryan VanderMeulen
f471120b18 Backed out changeset 944bd4284ace (bug 1063053) for B2G bustage. 2014-09-19 13:59:51 -04:00
Walter Litwinczyk
7d8617619a Bug 1063053 - Add stronger types to WebGL texture code for better debug/compile time checking. r=jgilbert,kamidphish 2014-09-18 16:14:22 -07:00
Walter Litwinczyk
5ae19d5feb Bug 1006908 - WebGL differentiate texture image targets vs texture binding locations better. r=jgilbert 2014-09-03 12:17:18 -07:00
Dan Glastonbury
e96312e8d7 Bug 1002281 - WebGL2 - Refactor common functions into WebGLBindableName.; r=jgilbert
WebGLBindableName represents a GL 'name' (GLuint) that can be bound to
part of the GL state machine. Similar code appeared in a number of
classes that represent GL bindable names, such as WebGLBuffer,
WebGLTexture, WebGLFramebuffer, etc.

Cleanup to reduce copy-n-paste code that's needed for creating new
objects for WebGL 2.
2014-05-07 13:11:18 +10:00
Birunthan Mohanathas
3ae7697323 Bug 946065 - Part 1: Move content/canvas/ to dom/ and flatten subdirectories. r=ehsan 2014-07-25 14:15:35 -07:00