Commit Graph

337 Commits

Author SHA1 Message Date
Jeff Gilbert
57b45a3076 Bug 735560 - Emulate GLSL math on Mac+Intel - r=bjacob 2012-07-05 19:34:01 -07:00
Benoit Jacob
0721d25d47 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
9731887958 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
bd2c343af0 Bug 765137 - 3/3 - WebGL: more cleanup and renaming around extensions - r=jgilbert 2012-06-16 01:12:30 -04:00
Benoit Jacob
fd19d43820 Bug 765198 - WebGL crash in readPixels with null destination - r=bz 2012-06-15 17:36:48 -04:00
Benoit Jacob
e5980e012f Bug 763190 - WebGL readPixels shouldn't call EnsureBackbufferClearedAsNeeded - r=jgilbert 2012-06-12 17:20:21 -04:00
Ms2ger
e9e1333685 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
52c79a615c Bug 748211 - getVertexAttrib should reject the VERTEX_ATTRIB_ARRAY_POINTER pname - r=jgilbert 2012-06-01 15:32:18 -04:00
Boris Zbarsky
ac1bfb338d Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Boris Zbarsky
464164e820 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
6af95f383e Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Jeff Gilbert
f8f460ebb2 Bug 750527 - Rebind program if current program is relinked - r=bjacob 2012-05-30 17:00:38 -07:00
Jeff Gilbert
3df70b7320 Bug 746740 - GetProgramInfoLog should return null on GL error - r=bjacob 2012-05-30 16:05:37 -07:00
Benoit Jacob
a242610fe1 Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert 2012-05-29 14:44:31 -04:00
Benoit Jacob
64d27bf023 back out 90292e7ec6fb for mochitest-1 orange 2012-05-29 16:33:29 -04:00
Benoit Jacob
cd15023a4f Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert 2012-05-29 14:44:31 -04:00
Boris Zbarsky
1981fc313b Bug 755636 part 1. Convert sequence argument codegen to dom::Sequence. r=peterv 2012-05-25 01:08:22 -04:00
Benoit Jacob
db88428777 Bug 754669 - remove legacy cast to int32 in vertexAttribPointer - r=bz 2012-05-23 22:17:10 -04:00
Boris Zbarsky
30034bb67a 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
1b816f558a 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
fbb7fbfea3 Bug 743753 - 3/4 - WebGL: rename LogMessage to GenerateWarning - r=vlad 2012-05-23 12:07:29 -04:00
Benoit Jacob
6050dbf104 Bug 743753 - 2/4 - remove the webgl.verbose preference (always be verbose) - r=vlad 2012-05-23 12:07:19 -04:00
Benoit Jacob
3c02193f4d Bug 757526 - Use stdint instead of PRInt types in WebGL implementation - r=Ms2ger 2012-05-23 12:07:01 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benoit Jacob
6de3cc03da 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
0f956d7307 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
fa8d5e0469 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
eb1579639e Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
93fca3e280 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
1720b18a60 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Benoit Jacob
af9f70aa31 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
57e20d6acb back out e8f3fd02ba3e for windows build failure 2012-05-07 14:04:10 -04:00
Benoit Jacob
58ff026b42 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
f5224451f6 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
73485dea64 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
15ea61df18 Back out 1907bf7e6d7c (bug 749485) for build bustage 2012-05-05 20:33:59 -07:00
Boris Zbarsky
d6697e4410 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
fc02e7d83a 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
f739bcc07c backout b13c1d8d2cda / bug 747619 for build failure (-Werror) 2012-05-03 16:54:14 -04:00
Benoit Jacob
236dd8e7f5 Bug 747619 - fix uniform setter validation: allow partial uniform array updates - r=jgilbert 2012-05-03 15:57:25 -04:00
Benoit Jacob
6d6be3fa98 Bug 743748 - Reenable ANGLE shader translation on Android - r=jgilbert 2012-04-30 17:43:12 -04:00
Ed Morley
c01b046b59 Backout cc37cd8dac59 (bug 744303) for M1 orange 2012-04-25 16:15:11 +01:00
Jeff Gilbert
56b2df3e35 Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob 2012-04-25 15:05:35 +01:00
Tom Schuster
886fac49f9 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
624971ba3e 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
Benoit Jacob
97a7619819 Bug 736481 - 3/7 - Add missing checks for lost WebGL contexts - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Benoit Jacob
894fc57672 Bug 736481 - 1/7 - simplification in WebGL lost context handling - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Benoit Jacob
a582724204 Bug 696495 - set tex min filter before generateMipmap calls, to work around driver bugs - r=jgilbert, a=akeybl 2012-04-19 23:28:01 -04:00
Benoit Jacob
b3b05df356 Bug 732233 - Explicitly enforce spec in uniform setters - r=jgilbert 2012-04-16 15:56:12 -04:00
Benoit Jacob
9a8b846bd4 Bug 743813 - fix build bustage due to signedness warning in WARNINGS_AS_ERRORS dir - no review 2012-04-10 12:23:23 -04:00