Commit Graph

146 Commits

Author SHA1 Message Date
Dan Glastonbury
3ebe077748 Bug 1048731 - [WebGL2] Implement new buffer binding targets. r=jgilbert 2014-12-05 17:04:55 +10:00
Benjamin Bouvier
3a3034429c Bug 1102870: Add Float32x4 and Int32x4 to the list of Scalar::Types; r=sfink,luke 2014-12-05 05:01:47 +01:00
Dan Glastonbury
a0c3443f2f Bug 1048724 - [WebGL2] Transform Feedback. r=jgilbert,smaug 2014-11-26 12:00:06 +10:00
Dan Glastonbury
6f8cfefdc5 Bug 1048741 - [WebGL2] texParameter: TEXTURE_COMPARE_MODE and TEXTURE_COMPARE_FUNC support. r=jgilbert 2014-11-11 15:36:14 +10:00
Jeff Gilbert
d9b9968e9c Bug 1099427 - Reformat WebGL. - r=kamidphish 2014-11-13 20:03:50 -08:00
Dan Glastonbury
9e2f5217e7 Bug 1048747 - [WebGL2] Query active uniform blocks. r=jgilbert 2014-10-27 09:43:34 +10: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
5eca006fc3 Bug 1088345 - Don't run GL commands that may cause non-OOM errors. - r=kamidphish 2014-10-23 15:10:57 -07:00
Jeff Gilbert
e237fec314 Bug 912196 - Deal with reading RGBA from RGBX. - r=kamidphish 2014-10-08 16:34:14 -07: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
David Anderson
2d522dd6dc WebGL2: implement TEXTURE_IMMUTABLE_FORMAT for getTexParameter (bug 1080299, r=jgilbert). 2014-10-14 16:33:59 -07:00
Benoit Jacob
458083b846 Bug 1082248 - Skip redundant deferred texture image initialization when doing full-image updates - r=jgilbert 2014-10-14 08:54:52 -04: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
3532274f7e Bug 1081125 - WebGL2 3D textures - Part 1: add WebGLTexDimensions enum instead of using plain ints to distinguish between 2D and 3D calls - r=jgilbert 2014-10-13 19:42:15 -04:00
Benoit Jacob
e7f788f23b Bug 1081125 - WebGL2 3D textures - Part 0: stop using plain ints for jsArrayTypes - r=jgilbert 2014-10-13 19:42:11 -04:00
Jeff Gilbert
0542549a35 Bug 1079848 - Large allocs should be infallible and handled. - r=kamidphish 2014-10-10 16:25:07 -07:00
Benoit Jacob
4eff5f81b9 Bug 1081286 - WebGL2: account for the fact that SRGB formats break the 1:1 mapping between sized formats and (unsized format, type) pairs - r=jgilbert 2014-10-11 19:07:33 -04:00
jdashg
94deb5c4cc Bug 1080266 - Simplify WebGLContext::LinkProgram. - r=kamidphish 2014-10-03 14:47:00 -07: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
Dan Glastonbury
87cd76bc13 Bug 1075195 - WebGL2: implement texStorage2D - r=bjacob,djg 2014-07-15 09:55:56 +10:00
Benoit Jacob
4a67c88f79 Bug 1072680 - Untangle the mixup of formats vs internalformats in the WebGL implementation - r=jgilbert 2014-10-04 22:24:24 -04: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
Walter Litwinczyk
fd49f3f717 Bug 1073216 - WebGL add strong GLenum support for VAO/Buffer bindings, and texture min/mag/wrap types. r=jgilbert 2014-09-26 13:11:51 -07:00
Walter Litwinczyk
51596c1d36 Bug 1071233 - WebGL add strong GLenum support for framebuffers and renderbuffers. r=jgilbert 2014-09-25 08:21:33 -07: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
2af5c23394 Bug 1036068 - Update ANGLE to chromium/2151. r=jrmuizel 2014-09-19 16:35:54 -07: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
Peter Van der Beken
93bfe771d8 Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, remove instances of non-refcounted sequence return type. r=bz. 2014-08-28 00:43:55 +02: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
Walter Litwinczyk
80768080f8 Bug 1049960 - WebGL generate invalid operation errors when copyTex[Sub]Image2D is called with a format that is not a subset of the FBO format. r=jgilbert 2014-08-20 13:38:42 -07:00
Wes Kocher
9dc30ef802 Backed out changeset 2422647220de (bug 1038899) for mochitest-2 bustage on a CLOSED TREE 2014-08-07 19:08:10 -07:00
Walter Litwinczyk
163777952e Bug 1038899 - WebGL fix attribute and uniform name lookup in WebGLProgram. r=vlad,jgilbert a=kwierso 2014-08-04 16:40:59 -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
Walter Litwinczyk
104847e127 Bug 1046473 - WebGL generates invalid operation errors when using a depth/stencil format on incompatible functions. r=kamidphish 2014-07-30 17:56:29 -07:00
Vladimir Vukicevic
2e7a0ead11 b=965848; implement EXT_shader_texture_lod for WebGL; r=jgilbert, r=bz 2014-07-24 11:58:43 -04: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