Commit Graph

395 Commits

Author SHA1 Message Date
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