Commit Graph

395 Commits

Author SHA1 Message Date
Benoit Jacob
2af097c600 Bug 665070 - part 3: use GetAndClearError in WebGLContext::GetError - r=jrmuizel 2011-07-07 20:01:16 -04:00
Benoit Jacob
be0be579a8 Bug 638549 - WebGL about:memory - part 3: add accounting for WebGLRenderbuffers - r=jrmuizel 2011-07-07 20:01:16 -04:00
Benoit Jacob
51ff318cf1 Bug 667465 - Fix unused variable warnings in WebGL - r=jrmuizel 2011-06-27 13:27:04 -04:00
Benoit Jacob
870132fa1d Bug 664066 - remove useless C casts in WebGL code - r=karlt
Just to make the code a little more robust.
2011-06-27 13:27:04 -04:00
Nikhil Marathe
8d1eed62d4 Bug 664577 - Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Blake Kaplan
83446b873d Backed out changeset 8b3dc129aed8. Missing bug number in the commit (bug 664577). 2011-06-16 16:57:51 -04:00
Nikhil Marathe
ced65c9a25 Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Nikhil Marathe
524b87e3d5 Bug 656519 - Fix consumers outside SpiderMonkey to use new ArrayBuffer APIs. r=mrbkap
--HG--
extra : rebase_source : f359987831611155029114b5f85080155c6a12d5
2011-06-14 15:37:21 -04:00
Benoit Jacob
3f7d139bd9 Bug 656277 - Prevent loading WebGL textures from cross-domain images - r=bzbarsky, a=jpr
This blocks using cross-domain images and tainted canvases as WebGL textures, in response to a timing attack allowing to get approximations of cross domain images' pixel data.

This is known to break legitimate Web content (e.g. bug 662570), so it's sad to have to land this. In the hopefully near future, a way forward will be implemented allowing affected Web content to resume working: we will allow cross-domain textures that have CORS approval. This is being coordinated with other WebGL implementers on the WebGL mailing lists.
2011-06-07 13:47:54 -04:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Benoit Jacob
fedd4697f5 Bug 657556 - crash in WebGL uniform setters when no program is bound - r=cdiehl
This crash was occurring when no program is bound and the uniform object isn't bound to a program either. The fix is to properly check if a program is bound.
2011-05-20 15:53:54 -04:00
Benoit Jacob
3b22833d8a Bug 636942 - stencil separate param validation must now occur on draw calls - r=jrmuizel
We were validating these params when they're set, and that was non-conformant behavior.
2011-05-20 15:53:53 -04:00
Benoit Jacob
c8c2f484a2 Bug 636913 - implement the WebGL backbuffer clear semantics - r=joedrew
This implements the WebGL backbuffer clearing behavior when preserveDrawingBuffer=false
2011-05-20 15:53:53 -04:00
Benoit Jacob
ee5166d905 Bug 636913 - state tracking needed for WebGL clear semantics - r=joedrew
We needed to remember more values instead of just passing them to the GL.
2011-05-20 15:53:53 -04:00
Vladimir Vukicevic
4b2230fe03 Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Benoit Jacob
398859cfe4 Bug 657201 - we must really avoid glValidateProgram() on Mac - r=cdiehl
We thought it was only crashy with NVIDIA, but it's now confirmed on ATI on Mac OS 10.6.7 too

It's OK to just not call it, as it's only a developer feature and not really useful in actual content.
2011-05-20 15:53:53 -04:00
Benoit Jacob
d1bac4c182 Bug 656752 - WebGL crash [@gleRunVertexSubmitImmediate()] - r=jrmuizel, a=clegnitto
Fix bookkeeping in webgl.bindBuffer()
2011-05-16 17:18:04 -04:00
Vladimir Vukicevic
a4aac0595c Bug 632587 - 1/3 - implement getSupportedExtensions - r=bjacob, a=blocking2.0 2011-03-01 17:25:22 -05:00
Benoit Jacob
84ea51cd32 Bug 636002 - better messages about attrib index validation - r=jrmuizel, a=joe 2011-02-24 17:17:34 -05:00
Benoit Jacob
16d3658b63 Bug 636356 - WebGL crash [@mozilla::WebGLBuffer::ZeroDataIfElementArray] - r=jrmuizel, a=joe 2011-02-24 17:17:34 -05:00
Benoit Jacob
ad8f7fa5c9 Bug 635666 - part 3/3 - WebGL crash [@mozilla::WebGLContext::CopyTexSubImage2D] - r=jrmuizel, a=joe 2011-02-24 17:17:34 -05:00
Benoit Jacob
7b38bd3532 Bug 635666 - part 2/3 - WebGL crash [@mozilla::WebGLContext::CopyTexSubImage2D] - r=jrmuizel, a=joe 2011-02-24 17:17:34 -05:00
Benoit Jacob
39d78774a8 Bug 635666 - part 1/3 - WebGL crash [@mozilla::WebGLContext::CopyTexSubImage2D] - r=jrmuizel, a=joe 2011-02-24 17:17:34 -05:00
Benoit Jacob
d6905754de Bug 631420 - OS X WebGL crash with too-small attrib 0 + optimizations - r=vlad, a=blocking2.0 2011-02-24 17:17:34 -05:00
Benoit Jacob
f1f9b80cdd Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Kyle Huey
c9434a9a90 Backing out Bug 632587. a=bsmedberg 2011-02-14 10:58:35 -05:00
Kyle Huey
af523adca3 Backed out changeset 7ed4cb02ffbf 2011-02-14 10:57:49 -05:00
Vladimir Vukicevic
cbdf33fdbe Bug 632587 - implement getSupportedExtensions - r=bjacob, a=blocker 2011-02-11 18:11:30 -05:00
Benoit Jacob
b0a4e99d3c Bug 632546 - pass is-object test - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
a271bc267f Bug 631707 - pass buffer-data-array-buffer... again - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Kyle Huey
9132ccf4bc Backout 2011-02-11 23:08:16 -05:00
Benoit Jacob
aeb24b4fe0 Bug 632546 - pass is-object test - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
9d4789070f Bug 631707 - pass buffer-data-array-buffer... again - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
4ff6fe0115 Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Vladimir Vukicevic
5a9819225e Bug 632587 - implement getSupportedExtensions - r=bjacob, a=blocker 2011-02-11 18:11:30 -05:00
Vladimir Vukicevic
364f2eea00 b=629149; [webgl] TextureImageUnits used instead of TextureUnits; r=bjacob 2011-01-31 13:10:49 -08:00
Benoit Jacob
c58d25cdd5 Bug 628382 - Use 24 bit depth buffers where available - r=vlad, a=joe 2011-01-25 22:20:35 -05:00
Benoit Jacob
f6146ea7aa Bug 569431 - Optimization in DrawElements - r=vlad, a=joe 2011-01-25 22:19:46 -05:00
Vladimir Vukicevic
d8fb8ce6db b=628800; [webgl] VALIDATE_STATUS should always be 1 on MacOS X; r=bjacob, a=b 2011-01-25 14:23:55 -08:00
Vladimir Vukicevic
89eb608706 b=622184; implement webgl colour conversion/premultiplication semantics; r=joe, a=b 2011-01-12 17:45:13 -08:00
Benoit Jacob
bf702c0855 b=623629; [webgl] fix copyTex[Sub]Image2D; r=vlad, a=b 2011-01-06 14:07:13 -08:00
Vladimir Vukicevic
4a4277793f b=623404; [webgl] misc additional test suite fixes; r=bjacob 2011-01-06 14:07:13 -08:00
Vladimir Vukicevic
8ce5d28ef2 b=623394; [webgl] don't allow non-ascii characters in GLSL source; r=bjacob 2011-01-06 14:07:13 -08:00
Vladimir Vukicevic
02f7125137 no bug, remove debug printfs that snuck in, a=b 2011-01-05 14:57:48 -08:00
Vladimir Vukicevic
7afd914e2a b=523286; [webgl] fix webgl framebuffer attachment test and misc error type; r=bjacob, a=b 2011-01-05 13:08:53 -08:00
Vladimir Vukicevic
213b65d8ea b=622956; [webgl] add stub extension mechanism, fixes extension tests; r=bjacob 2011-01-05 13:08:53 -08:00
Vladimir Vukicevic
8519d5a8e3 b=622957; [webgl] fix depth-stencil test and attachment point; r=bjacob 2011-01-05 13:08:53 -08:00
Vladimir Vukicevic
7214c89338 b=622959; [webgl] fix vertexattribpointer test; r=bjacob 2011-01-05 13:08:53 -08:00
Vladimir Vukicevic
c228ddb5ec b=621986; fix webgl is-object test; r=bjacob 2011-01-05 13:08:53 -08:00
Vladimir Vukicevic
fb4b3ea6da b=622961; [webgl] fix getparam/getuniform test; r=bjacob 2011-01-05 13:08:53 -08:00
Benoit Jacob
13a84cfec0 Bug 621987 - unary - applied to unsigned var in ConvertImage - r=vlad, a=joe 2011-01-03 12:01:16 -05:00
Vladimir Vukicevic
302f5a4df2 b=621571; fix webgl is-object test; r=vlad,a=b 2010-12-27 12:04:58 -08:00
Vladimir Vukicevic
8646735540 b=612334; (related) misc fixes in webgl, from original patch; r=bjacob, a=b 2010-12-22 15:31:02 -08:00
Benoit Jacob
b14c227c79 Bug 616691 - Update list of getParameter pnames - r=vlad, a=joe 2010-12-06 06:34:35 -05:00
Benoit Jacob
1de3f28ff0 Bug 616655 - Pass the tex-input-validation.html test - r=vlad 2010-12-06 06:34:35 -05:00
Benoit Jacob
2689520e00 Bug 616608 - Pass the rest of webgl-specific.html test (sections 6.4, 6.5, 6.7 of the spec) - part 3/3: formally support COLORSPACE_CONVERSION (just accessors) - r=vlad 2010-12-06 06:34:35 -05:00
Benoit Jacob
d647a3f4c0 Bug 616608 - Pass the rest of webgl-specific.html test - part 2/3: implement section 6.5 on separate parameters - r=vlad 2010-12-06 06:34:35 -05:00
Benoit Jacob
0f8d9b782f Bug 616608 - Pass the rest of webgl-specific.html test, part 1/3: implement section 6.7 on depthRange - r=vlad 2010-12-06 06:34:35 -05:00
Benoit Jacob
04ac270a3a Bug 615013 - Implement section 6.8 on mutually incompatible blend factors - r=vlad 2010-12-06 06:34:35 -05:00
Benoit Jacob
16619827b3 Bug 615003 - copyTex(Sub)Image methods also need to check/init the FBO - r=vlad 2010-12-06 06:34:35 -05:00
Benoit Jacob
c5342ace7c Bug 613306 - fix bufferSubData quickStub - r=vlad 2010-12-06 06:34:35 -05:00
Benoit Jacob
27b8817c93 Bug 614867 - Fix WebGL FBOs (pass framebuffer-object-attachment.html) - r=vlad 2010-12-06 06:34:35 -05:00
Vladimir Vukicevic
a5386bab8a b=616360; add missing return in WebGL RenderbufferStorage; r=bjacob, a=b 2010-12-03 14:44:01 -08:00
Daniel Holbert
0a08273c27 Bug 613283: Remove unused/duplicate method 'InternalFormatHasAlpha'. r=vlad a=bsmedberg 2010-11-30 21:27:30 -08:00
Benoit Jacob
cf89e4601d Bug 613350 - Pass 2 more WebGL draw-test - r=vladimir a=joe 2010-11-25 09:00:00 -05:00
Benoit Jacob
9a5d41bb65 Bug 613324 - update WebGL constants - r=vladimir 2010-11-25 08:59:35 -05:00
Vladimir Vukicevic
b9722edd50 b=612334; fix webgl read-pixels test; r=bjacob 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
da08b74ae8 b=612334; fix webgl tex-image-invalid-data test; r=bjacob 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
6187f48cf2 b=612334; fix webgl program-test test; r=bjacob 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
b56e0f1c92 b=612334; fix webgl invalid-passed-params test; r=bjacob 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
8de28684e8 b=612334; fix webgl depth-clear-value getter type; r=bjacob 2010-11-16 20:33:03 -08:00
Vladimir Vukicevic
36f8014890 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-11-16 20:33:03 -08:00
Benoit Jacob
a4ffbdf2ae Bug 610435 - WebGL crash in drawElements - r=vladimir, a=blocking-betaN 2010-11-14 12:26:26 -05:00
Benoit Jacob
ab9bf7d5a8 Bug 607774 - Implement the spec on Renderbuffers and Framebuffers - r=vladimir 2010-11-05 15:57:58 -04:00
Benoit Jacob
f14ad5f406 Bug 593867 - crash [@WebGLContext::ValidateProgram] in NVIDIA driver on Mac - r=vladimir 2010-11-05 15:57:58 -04:00
Benoit Jacob
7e7409bac3 Bug 606276 - More WebGL message fixes - r=vladimir 2010-11-05 15:57:58 -04:00
Benoit Jacob
6004bc5481 Bug 605462 - WebGLContextGL.cpp:3248: warning: unused variable 'debugFlags' - r=dholbert 2010-11-05 15:57:57 -04:00
Benoit Jacob
ed937ae331 Bug 576620 - crash: getParameter stack corruption in the paths returning 4 ints - r=joe, a=blocking-beta7 2010-11-01 13:13:00 -07:00
Benoit Jacob
9c58e4d58b Bug 598838 - Fix WebGL messages (were printing uninitialized values) - r=vladimir 2010-10-15 17:50:15 -04:00
Benoit Jacob
b4a76cc42b Bug 594352 - Optimize texture conversion when no conversion needed - r=vladimir 2010-10-15 17:50:15 -04:00
Benoit Jacob
f2663173fe Bug 593496 - Fix WebGL textures: conversions, flipping, premultiplication, unpack alignment - r=vladimir 2010-10-15 17:50:15 -04:00
Vladimir Vukicevic
627e0fc07d b=603235, fix string usage; r=bas, a=crash 2010-10-10 20:10:16 -07:00
Vladimir Vukicevic
d0b53174f7 b=602396; upgrade ANGLE to r445, mozilla portion; r=bjacob a=b 2010-10-09 12:44:25 -07:00
Vladimir Vukicevic
5585ebca9f b=582053; integrate webgl confromance suite as mochitest, angle followup; r=bjacob 2010-09-13 08:53:52 -07:00
Vladimir Vukicevic
c3fb6786b3 b=593850; [webgl] fix bad-arguments and null-object-behaviour tests; r=bjacob, a=b 2010-09-13 08:57:25 -07:00
Vladimir Vukicevic
d8a5653695 b=593850; [webgl] fix test null-uniform-location; r=bjacob 2010-09-13 08:56:01 -07:00
Vladimir Vukicevic
15f8e02ea1 b=593850; [webgl] fix gl-uniform-arrays test; r=bjacob 2010-09-13 08:55:45 -07:00
Vladimir Vukicevic
2fca7b118a b=593850; [webgl] fix gl-object-get-calls test; r=bjacob 2010-09-13 08:55:07 -07:00
Vladimir Vukicevic
c5d2c16c6c b=593720; make webgl less verbose; r=bjacob 2010-09-13 08:40:01 -07:00
Benoit Jacob
ec819c1af2 Bug 593608 - drawArrays() crash - r+a=vladimir 2010-09-05 17:27:04 -04:00
Benoit Jacob
68da606240 Bug 592416 - Various WebGL fixes - r=vladimir 2010-09-02 10:38:26 -04:00
Benoit Jacob
64bf8cac02 Bug 571054 - emulate vertex attrib 0 on desktop GL - r=vladimir 2010-09-02 10:34:08 -04:00
Benoit Jacob
f599f168f9 Bug 588918 - fix many valgrind uninitialized value errors - r=vladimir 2010-09-02 10:30:26 -04:00
Benoit Jacob
705b0dc1a4 Bug 591084 - various WebGLTexture improvements - r=vladimir 2010-09-02 10:29:41 -04:00
Benoit Jacob
970240fc6f Bug 591042 - validation fix in copyTexImage2D and update list of failing tests - r=vladimir, a=blocking2.0 2010-09-02 10:28:38 -04:00
Vladimir Vukicevic
e34eb5ed0f b=592101; [webgl] don't use GLSL translator output on real GLESv2 targets; r=bas a=b5 2010-08-30 19:56:40 -04:00
Vladimir Vukicevic
6f53c918aa b=592103; [webgl] return invalid uniform names as null correctly from webgl; r=bas; a=b5 2010-08-30 19:56:32 -04:00
Benoit Jacob
7331fd3eeb Bug 588918 - Make WebGL test suite pass without Valgrind errors - r=vladimir, a2.0=blocking+ 2010-08-25 08:17:08 -04:00
Benoit Jacob
73a8edee37 Bug 589901 - Fix validation typo in readPixels() - r=vladimir, a=blocking-beta5 2010-08-25 08:16:04 -04:00
Benoit Jacob
9452348114 Bug 586811 - Handle incomplete and NPOT textures - r=vladimir a=blocking2.0 2010-08-23 17:03:53 -04:00
Benoit Jacob
8277999173 Bug 585199 - Implement WebGLActiveInfo, remove NativeJSContext, adapt WebGL code to that - r=vladimir a=blocking2.0 2010-08-23 17:03:49 -04:00
Benoit Jacob
996e56543a Bug 584840 - Fix texParameter methods - r=vladimir a=blocking2.0 2010-08-23 17:03:44 -04:00
Benoit Jacob
bdd75613ba Bug 584501 - another round of texture fixes - r=vladimir a=blocking2.0 2010-08-23 17:03:35 -04:00
Vladimir Vukicevic
aaaa0e8330 b=587304; fix no-op optimization back to what it really says; r=jrmuizel 2010-08-14 12:59:52 -07:00
Vladimir Vukicevic
af97417715 b=587304; fix some string usage in WebGL shader validation; r=jeff 2010-08-14 12:59:29 -07:00
Vladimir Vukicevic
50178dcff6 b=585502; WebGL shader validation crash; r=bjacob 2010-08-09 23:51:56 -07:00
Vladimir Vukicevic
eb17125496 b=584815; enable WebGL shader validation and remove obsolete texture API; r=bjacob 2010-08-06 22:10:38 -07:00
Benoit Jacob
232c2bb77d Bug 568761; WebGL memory leaks; r=vladimir 2010-08-05 09:58:47 -04:00
Benoit Jacob
dafc0ae8dd Bug 579529; fix validation Uniform and VertexAttrib functions taking arrays; r=vladimir 2010-08-05 09:55:56 -04:00
Vladimir Vukicevic
a827c80a2f b=583375; update ANGLE to r367; r=vlad 2010-07-30 15:22:11 -07:00
Vladimir Vukicevic
74195c1120 b=580345; fix up some GLESv2 vs. desktop GL differences; r=joe 2010-07-28 14:24:09 -07:00
Vladimir Vukicevic
e25c12a8ab b=571831; use the new CreateOffscreen API in WebGL; r=bjacob 2010-07-18 22:01:14 -07:00
timeless@mozdev.org
17c47ea0b8 Bug 579316 warning: "LOCAL_GL_MAX_VARYING_VECTORS" redefined
r=bjacob

--HG--
extra : rebase_source : 4c28828d1e0163efda83be33c256ef4b6bdf7951
2010-07-18 04:26:38 +03:00
Benoit Jacob
725da75b5b Bug 579191; crash in WebGLContext::CompileShader; r=vladimir 2010-07-16 15:23:01 -04:00
Benoit Jacob
dabf3bdbc0 b=578843; Fix uniform arrays; r=vladimir 2010-07-16 10:31:53 -04:00
Benoit Jacob
1744b25626 b=578164; better invalid enum messages; r=vladimir 2010-07-16 10:31:48 -04:00
Benoit Jacob
1cb4d4966e b=577016; Reject transpose; r=vladimir 2010-07-16 10:30:32 -04:00
Benoit Jacob
ed72295022 b=577013; Rework GetConcreteObject and friends, return INVALID_VALUE on unexpected null objects; r=vladimir 2010-07-16 10:30:32 -04:00
Benoit Jacob
60151b43cf b=578769; handling of count==0 in drawArrays and drawElements; r=vladimir 2010-07-16 10:30:31 -04:00
Vladimir Vukicevic
54ce864ca8 b=571172; disable ANGLE compilation on Linux-x86_64, until build slaves are fixed 2010-07-14 20:52:37 -07:00
Vladimir Vukicevic
79bbb0f9ca b=571172; import and use ANGLE GLSL ES shader validator (disabled by default for now); r=joe 2010-07-14 20:52:34 -07:00
timeless@mozdev.org
aa5018590a Bug 576360 WebGLContext::VertexAttribPointer compares WebGLuint stride < 0
r=vlad

--HG--
extra : rebase_source : 640274fe5267a4caa6cf68fb1e0c9dec96fb6fbd
2010-07-02 17:21:13 +03:00
Benoit Jacob
482cbc4e3f b=576620; fix bufferData parameter validation; r=vladimir 2010-07-03 18:34:07 -04:00
Benoit Jacob
54efe381b9 b=576529; Last GL_SAME_METHOD validation fix, and pass WebGL types; r=vladimir 2010-07-03 18:33:05 -04:00
Benoit Jacob
75dbbc1f1f b=576067; Let WebGL use CheckedInt; r=vladimir 2010-07-03 18:32:19 -04:00
Benoit Jacob
df50b21008 b=576086; Remove sizeInBytes from WebGL; r=vladimir 2010-07-03 18:27:56 -04:00
Benoit Jacob
22cf5106de b=576081; Remove gfx/layers/opengl/glDefs.h; r=vladimir 2010-07-03 18:26:56 -04:00
Benoit Jacob
a5df0a74df b=573705; fix computation of texel sizes and refactor WebGLenum validation functions; r=vladimir 2010-06-30 11:49:59 -04:00
Benoit Jacob
f1886bd4e3 b=573541; More WebGLenum validation/fixes; r=vladimir 2010-06-30 11:48:30 -04:00
Benoit Jacob
018563d74f fix build on windows (NS_IMETHODIMP--->nsresult, discussed with Bas on IRC #developers) 2010-06-19 11:25:42 -04:00
Benoit Jacob
f1bfcf8e35 b=570779; validate enums in blend functions; r=vladimir 2010-06-19 10:48:44 -04:00
Benoit Jacob
95bc657a6d b=572018; DOMElementToImageSurface: fix memleak and work in one pass; r=vladimir 2010-06-19 10:47:53 -04:00
Benoit Jacob
6c594ab3c3 b=571029; readPixels API change, support both old and new signatures, also fix 572797 (allow non-fitting rectangles), and check that sizes are nonnegative; r=vladimir 2010-06-19 10:46:12 -04:00
Benoit Jacob
e605de34fb b=567499; fix getuniform for bool uniforms and return nsIVariant; r=vladimir 2010-06-19 10:43:40 -04:00
Benoit Jacob
e548bc3db5 b=567499; let getXxxParameter functions return nsIVariant; r=vladimir 2010-06-19 10:42:43 -04:00
Vladimir Vukicevic
58b27f08d0 b=571287; let canvas participate in cycle collection; r=bz 2010-06-15 14:38:05 -07:00
Benoit Jacob
db543d277d b=571027; implement new PixelStorei parameters for textures; r=vladimir 2010-06-15 11:59:39 -04:00
Benoit Jacob
3e15743355 b=571027; implement new TexImage2D signatures; r=vladimir 2010-06-15 11:54:03 -04:00
Benoit Jacob
f0a49876fe b=571076; Implement GetAttachedShaders; r=vladimir 2010-06-15 11:49:34 -04:00
Benoit Jacob
d96d512c4a b=571028; remove GetString and merge into GetParameter as per the updated spec; r=vladimir 2010-06-11 17:45:40 -04:00
Benoit Jacob
ef65032a3c b=569714; Fix GetParameter and let it return nsIVariant; r=vladimir 2010-06-11 17:36:34 -04:00
Vladimir Vukicevic
d23a940437 b=571078; fix webgl attribute validation; r=bjacob 2010-06-10 10:45:00 -07:00
Vladimir Vukicevic
65c3a85ff2 b=570538; [webgl] fix up buffer validation with interleaved data; r=bjacob 2010-06-08 15:14:43 -07:00
Benoit Jacob
81a5415676 # User Benoit Jacob <bjacob@mozilla.com>
b=569976; Make GetUniformLocation preserve equality, and invalidate uniform locations on relinking of program; r=vladimir
2010-06-08 17:25:27 -04:00
Benoit Jacob
4df06c8cec b=569943; validate Enable/Disable args; r=vladimir 2010-06-08 14:45:23 -04:00
Benoit Jacob
a28efc37b4 b=569714; Pass WebGL gl-get-calls conformance test; r=vladimir 2010-06-08 10:40:23 -04:00
Benoit Jacob
f831941708 b=569731; Implement canvas attribute in WebGLContext; r=vladimir 2010-06-08 10:34:56 -04:00
Vladimir Vukicevic
91ce5fd2e9 b=569985; don't allow webgl objects from other contexts to be used; r=bjacob 2010-06-04 12:03:37 -07:00
Vladimir Vukicevic
d08e1c9cb9 b=569984; [webgl] verify shader attachment/detachment and program completeness; r=bjacob 2010-06-04 12:03:33 -07:00
Benoit Jacob
c36ca62771 b=567449; fix webgl param getters; r=vlad 2010-06-01 23:09:19 -07:00
Benoit Jacob
4c1b5ed665 b=565404; add WebGLUniformLocation object; r=vlad 2010-06-01 23:09:19 -07:00
Benoit Jacob
d834cb1e8c b=567565; better WebGL buffer validation for element array buffers; r=vlad 2010-06-01 23:09:18 -07:00
Vladimir Vukicevic
1a00421b87 b=551771; WebGL calls broken with boolean args in loop (qsgen octet handling); also rename all WebGL types to avoid conflicts with system GL types; r=jorendroff,joe 2010-05-28 15:52:39 -07:00
Benoit Jacob
dcd971b230 b=525538; webgl readPixels fix; r=vlad 2010-05-26 16:53:15 -07:00
timeless@mozdev.org
1c329f2e8b Bug 565393 useless initialization of src in WebGLContext::DOMElementToImageSurface. r=vlad
--HG--
extra : rebase_source : fb8c42a04580f12e5d1ca89dd67861f8a2941bc8
2010-05-23 15:36:14 -07:00
Vladimir Vukicevic
16351c92d3 Some DEBUG_vladimir stuff needs to run on GLES2 only (npotb) 2010-05-19 13:47:13 -07:00
Vladimir Vukicevic
3d7e2b9c24 b=566129; synthesize GL errors instead of throwing exceptions in webgl; based on patch from Cedric Vivier <cedricv@neonux.com>; r=cedricv/vlad 2010-05-15 21:55:45 +08:00
Cedric Vivier
bc9e088401 b=566676; allow null as arg to teximage2d; r=vlad 2010-05-19 13:46:08 -07:00
Cedric Vivier
2b3ba55c20 b=566126; allow readpixels on arbitrary sized non-default framebuffer; r=vlad 2010-05-15 20:07:30 +08:00
Benoit Jacob
fa00de0fa0 b=525540; crash at WebGLObjectRefPtr::Zero, part 2; r=vlad 2010-05-19 13:46:08 -07:00
Mark Steele
738beb395a b=525540; crash at WebGLObjectRefPtr::Zero; r=vlad 2010-05-19 13:46:08 -07:00
Benoit Jacob
d1897f81ce b=565998; allow passing 0x0 texture size to webgl; r=vlad 2010-05-19 13:46:08 -07:00
Markus Stange
d7e8315247 Bug 549747 - Fix a bad null check in WebGLContext::ValidateProgram. r=vlad 2010-03-08 13:28:19 +01:00
Markus Stange
90f17b8799 Bug 549747 - Add a null check for tex in WebGLContext::FramebufferTexture2D. r=vlad 2010-03-08 13:27:22 +01:00
Vladimir Vukicevic
9f83ebcfb7 Nuke some stale/unused files
* * *
attempt to fix x86-64 burning
2010-01-22 18:29:49 -08:00
Robert O'Callahan
5ef23a16ea Backed out changeset b35354fe21e3 2010-03-04 14:38:00 +13:00
Vladimir Vukicevic
eec75b1143 Nuke some stale/unused files 2010-01-22 18:29:49 -08:00
Jae-Seong Lee-Russo
30218c70c3 Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Vladimir Vukicevic
2beaf43c12 b=543680; [webgl] use correct enum to obtain number of texture units; r=jdaggett 2010-02-02 01:18:34 -08:00
Vladimir Vukicevic
a3b000cac9 ugh, backout this until I figure out what's wrong with linux 2010-01-22 18:28:19 -08:00
Vladimir Vukicevic
ad09806b1d [webgl] (no bug, just removing unused/stale files) 2010-01-22 16:50:24 -08:00
Vladimir Vukicevic
21e2f78a75 b=539756; [webgl] remove old typed getters; r=jmuizelaar 2010-01-22 16:50:22 -08:00
Vladimir Vukicevic
553a8c9c5a b=533663; use js typed arrays in webgl; r=jmuizelaar,mrbkap,brendan 2010-01-22 13:34:25 -08:00
mwsteele@gmail.com
f782295830 b=528013; [webgl] BindFramebuffer checking target against wrong constants; r=vlad 2009-12-07 15:10:04 -08:00
Vladimir Vukicevic
e76548dd8f [webgl] revert part of previous commit, exposes strange latent bug 2009-12-06 19:29:17 -08:00
Vladimir Vukicevic
2e0f9d6bd7 b=523959; [webgl] enable WebGL with EGL on Maemo and WinCE; r=stuart 2009-12-06 16:07:58 -08:00
Vladimir Vukicevic
4353ae576f b=532541; [webgl] drawElements needs to support ubyte as well as ushort index arrays; r=mwsteele 2009-12-06 16:07:56 -08:00
Vladimir Vukicevic
4a9388f762 b=526957, use correct types 2009-12-02 13:38:39 -08:00
Mark Steele
6714e94c89 b=529717, change webgl object prefix to WebGL instead of Canvas; r=vlad 2009-12-02 13:38:39 -08:00
Mark Steele
87b01b3cfc b=526185, [webgl] accept WebGLArrays instead of JS arrays in texImage2D; r=vlad 2009-11-18 12:42:35 -08:00
Mark Steele
63bf2da952 b=526017, [webgl] collapse state query calls; r=vlad 2009-11-18 12:42:35 -08:00
Mark Steele
5a808159d5 b=524042, [webgl] texImage & texSubImage need to support flipY, r=vlad 2009-11-01 16:33:47 -08:00
Vladimir Vukicevic
bd9d980243 [webgl] Reland earlier-backed out patches, b=520708, b=520920, b=522201; r=me/mwsteele 2009-11-01 16:33:39 -08:00
Vladimir Vukicevic
bd38bc47ba Revert previous commits due to weird talos crash. 2009-10-30 01:09:24 -07:00
Mark Steele
bdd6d45aee b=522201, [webgl] clear() doesn't call invalidate correctly, r=vlad 2009-10-29 23:01:06 -07:00
Mark Steele
37c453311d b=520708, [webgl] crash at WebGLFramebuffer assignment, r=vlad 2009-10-29 23:01:06 -07:00
Vladimir Vukicevic
dd411b7dd9 b=520920, update webgl arrays to support views, part2; r=mark 2009-10-29 23:01:06 -07:00
Mark Steele
a2670491ca b=520920, update WebGL arrays to support views, r=vlad 2009-10-29 23:01:06 -07:00
Daniel Holbert
50681f7146 Bug 518894: Remove unused variable 'argPixelsLen' in WebGLContextGL.cpp. r=vlad 2009-10-19 16:57:50 -07:00
Vladimir Vukicevic
7a249d6564 b=523229; WebGL rename clearDepthf/depthRangef to get rid of f suffix; r=mwsteele 2009-10-19 15:14:09 -07:00
Mark Steele
f010e409f2 b=517717; fix up webGL array compat (rename WebGL*Array->Canvas); r=vlad 2009-09-20 14:33:40 -07:00
Mark Steele
56bcb7f28d b=517717; fix up webgl impl array args, accept Canvas*Arrays as valid params; r=vlad 2009-09-20 12:05:25 -07:00
Vladimir Vukicevic
371933ca83 b=516213; Freshen WebGL implementation and enable on trunk (part 2); r=mwsteele,roc 2009-09-17 23:01:12 -07:00
Mark Steele
aa9ed3207a b=516213; freshen WebGL implementation and enable on trunk (part 1); r=vlad 2009-09-17 23:01:07 -07:00
Mark Steele
0a322165de b=513156; update Canvas 3D to implement WebGL (still disabled by default via configure); r=vlad 2009-09-02 17:47:49 -07:00