Benoit Jacob
56b126b4bc
Bug 777943 - Let WebGL getRenderbufferParameter return the WebGL format rather than re-querying the GL and tweaking - r=jgilbert
2012-07-26 19:58:53 -04:00
Benoit Jacob
60faad2875
Bug 777883 - Avoid calling glLinkProgram when we know that a bad shader is attached - r=jgilbert
2012-07-26 19:58:52 -04:00
Benoit Jacob
7b994b10fc
Bug 771408 - Warn on WebGL drawing without attrib 0 array enabled - r=jgilbert
2012-07-25 12:13:45 -04:00
Benoit Jacob
1e7ce80f83
Bug 771669 - Crash with memory-pressure, WebGL bufferData - r=jgilbert
2012-07-25 12:13:45 -04:00
Benoit Jacob
db37d31897
Bug 775234 - WebGL: fix 1-byte out-of-bounds access in compileShader - r=jgilbert
2012-07-25 12:13:45 -04:00
Jeff Gilbert
2ff44fcfc8
Bug 735560 - Emulate GLSL math on Mac+Intel - r=bjacob
2012-07-05 19:34:01 -07:00
Benoit Jacob
06a3b7f799
Bug 769810 - Mac ATI OpenGL driver still needs math function emulation on 10.8 - r=jgilbert
2012-07-05 10:13:57 -04:00
Peter Van der Beken
1d58234ea3
Fix for bug 768050 (Make TypedArray::Create take a wrapper cache and create JS objects in the compartment of the cache's wrapper). r=bz.
...
--HG--
extra : rebase_source : 3ec03b33913e14a113bf9283566a68fe3be5fe02
2012-06-25 18:37:46 +02:00
Benoit Jacob
c52c12fbb8
Bug 765137 - 3/3 - WebGL: more cleanup and renaming around extensions - r=jgilbert
2012-06-16 01:12:30 -04:00
Benoit Jacob
ef8f0631cb
Bug 765198 - WebGL crash in readPixels with null destination - r=bz
2012-06-15 17:36:48 -04:00
Benoit Jacob
fa0ec2aecb
Bug 763190 - WebGL readPixels shouldn't call EnsureBackbufferClearedAsNeeded - r=jgilbert
2012-06-12 17:20:21 -04:00
Ms2ger
ffbf1dffd2
Bug 759726 - Move mCanvasElement to nsICanvasRenderingContextInternal and make SetCanvasElement return void; f=bz r=bjacob
2012-06-06 09:42:47 +02:00
Benoit Jacob
8d4e604e05
Bug 748211 - getVertexAttrib should reject the VERTEX_ATTRIB_ARRAY_POINTER pname - r=jgilbert
2012-06-01 15:32:18 -04:00
Boris Zbarsky
1ead997ef4
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Boris Zbarsky
19d2fed0a9
Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too.
2012-05-31 16:20:49 -04:00
Boris Zbarsky
1dbd12b802
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Jeff Gilbert
17d345849f
Bug 750527 - Rebind program if current program is relinked - r=bjacob
2012-05-30 17:00:38 -07:00
Jeff Gilbert
41e9d93854
Bug 746740 - GetProgramInfoLog should return null on GL error - r=bjacob
2012-05-30 16:05:37 -07:00
Benoit Jacob
3499d12a20
Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert
2012-05-29 14:44:31 -04:00
Benoit Jacob
aef31b1e2d
back out 90292e7ec6fb for mochitest-1 orange
2012-05-29 16:33:29 -04:00
Benoit Jacob
3acd5b0163
Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert
2012-05-29 14:44:31 -04:00
Boris Zbarsky
86da6f4a01
Bug 755636 part 1. Convert sequence argument codegen to dom::Sequence. r=peterv
2012-05-25 01:08:22 -04:00
Benoit Jacob
5b5b75da2d
Bug 754669 - remove legacy cast to int32 in vertexAttribPointer - r=bz
2012-05-23 22:17:10 -04:00
Boris Zbarsky
d89832f628
Bug 757699. Use JS::NumberValue, not JS::DoubleValue, for returning uint32_t values to JS. r=bjacob
2012-05-23 12:44:48 -04:00
Benoit Jacob
c10e4e1949
Bug 743753 - 4/4 - fix the case issues in WebGL method names in warnings - r=vlad
2012-05-23 12:07:35 -04:00
Benoit Jacob
63291875e4
Bug 743753 - 3/4 - WebGL: rename LogMessage to GenerateWarning - r=vlad
2012-05-23 12:07:29 -04:00
Benoit Jacob
b457d41c24
Bug 743753 - 2/4 - remove the webgl.verbose preference (always be verbose) - r=vlad
2012-05-23 12:07:19 -04:00
Benoit Jacob
e81c3b2e13
Bug 757526 - Use stdint instead of PRInt types in WebGL implementation - r=Ms2ger
2012-05-23 12:07:01 -04:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benoit Jacob
6598b33e08
Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Ed Morley
d38b916352
Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures
2012-05-14 21:05:24 +01:00
Benoit Jacob
43d4449b09
Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Jon Buckley
f4f2e1efb0
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
8a8e40fff3
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
56d33b746c
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Benoit Jacob
802a3dc0cf
Bug 749711 - Lots of WebGL texture conversion fixes and improvements - r=jgilbert
...
* Templatize pack/unpack routines
** Inside anonymous namespace in a naive attempt to not hammer PGO linker
memory usage.
* Support conversions changing texel size
* Support conversion from integer to float formats
* Support RGBA32F properly
* Avoid compiling useless paths (code size down to 17k from 44k)
2012-05-07 13:05:32 -04:00
Benoit Jacob
70ef0e73d6
back out e8f3fd02ba3e for windows build failure
2012-05-07 14:04:10 -04:00
Benoit Jacob
826a893d64
Bug 749711 - Lots of WebGL texture conversion fixes and improvements - r=jgilbert
...
* Templatize pack/unpack routines
** Inside anonymous namespace in a naive attempt to not hammer PGO linker
memory usage.
* Support conversions changing texel size
* Support conversion from integer to float formats
* Support RGBA32F properly
* Avoid compiling useless paths (code size down to 17k from 44k)
2012-05-07 13:05:32 -04:00
Benoit Jacob
047847bb94
Bug 747619 - Fix WebGL uniform setter validation - r=jgilbert
...
This bug, introduced by the patch from bug 732233, caused us to wrongly reject
legitimate WebGL uniform setters, especially when doing a partial update of
a uniform array.
2012-05-06 23:09:36 -04:00
Boris Zbarsky
fa88b9861d
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Phil Ringnalda
d3adeb4433
Back out 1907bf7e6d7c (bug 749485) for build bustage
2012-05-05 20:33:59 -07:00
Boris Zbarsky
cc67ef4fb6
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Boris Zbarsky
ab17ec6502
Bug 745897. Add the new DOM bindings APIs to WebGLContext. r=bjacob
...
This adds APIs suitable for calling from the new DOM bindings to WebGLContext and makes the XPCOM
versions of the WebGL context API call through to the new-binding versions.
2012-05-04 12:38:44 -04:00
Benoit Jacob
d0aad62dac
backout b13c1d8d2cda / bug 747619 for build failure (-Werror)
2012-05-03 16:54:14 -04:00
Benoit Jacob
c1db69d7ab
Bug 747619 - fix uniform setter validation: allow partial uniform array updates - r=jgilbert
2012-05-03 15:57:25 -04:00
Benoit Jacob
b6fab9255a
Bug 743748 - Reenable ANGLE shader translation on Android - r=jgilbert
2012-04-30 17:43:12 -04:00
Ed Morley
a3e0f65181
Backout cc37cd8dac59 (bug 744303) for M1 orange
2012-04-25 16:15:11 +01:00
Jeff Gilbert
b00fa67275
Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob
2012-04-25 15:05:35 +01:00
Tom Schuster
0fe26d128c
Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw]
2012-01-14 09:43:00 -08:00
Benoit Jacob
b5fa6b73b1
Bug 736481 - 4/7 - WebGL lost contexts: remove ShouldEnableRobustnessTimer, rename Robustness to ContextLoss - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00