Commit Graph

432 Commits

Author SHA1 Message Date
Benoit Jacob
166ef569dd fix build on windows (NS_IMETHODIMP--->nsresult, discussed with Bas on IRC #developers) 2010-06-19 11:25:42 -04:00
Benoit Jacob
1840b51335 b=570779; validate enums in blend functions; r=vladimir 2010-06-19 10:48:44 -04:00
Benoit Jacob
3f27f7568b b=572018; DOMElementToImageSurface: fix memleak and work in one pass; r=vladimir 2010-06-19 10:47:53 -04:00
Benoit Jacob
daa03541ae 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
54306dde5e b=567499; fix getuniform for bool uniforms and return nsIVariant; r=vladimir 2010-06-19 10:43:40 -04:00
Benoit Jacob
94ed436cac b=567499; let getXxxParameter functions return nsIVariant; r=vladimir 2010-06-19 10:42:43 -04:00
Boris Zbarsky
0f77839ff1 Bug 517056. Drawing an incomplete image to the canvas shouldn't throw; should instead silently do nothing. r=vlad 2010-06-18 12:23:05 -04:00
Vladimir Vukicevic
476259b7bf b=571287; let canvas participate in cycle collection; r=bz 2010-06-15 14:38:05 -07:00
Vladimir Vukicevic
95fa2311a2 webgl test suite update 2010-06-15 10:30:13 -07:00
Benoit Jacob
a70d69dc53 b=571027; implement new PixelStorei parameters for textures; r=vladimir 2010-06-15 11:59:39 -04:00
Benoit Jacob
5a63875239 b=571027; implement new TexImage2D signatures; r=vladimir 2010-06-15 11:54:03 -04:00
Benoit Jacob
5d0602a31e b=571076; Implement GetAttachedShaders; r=vladimir 2010-06-15 11:49:34 -04:00
Benoit Jacob
9bd9071af6 b=569236; better WebGL messages; r=vladimir 2010-06-14 14:44:12 -04:00
Benoit Jacob
9bbddc24a1 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
7617ef1b94 b=569714; Fix GetParameter and let it return nsIVariant; r=vladimir 2010-06-11 17:36:34 -04:00
Vladimir Vukicevic
33d5c655ac b=571078; fix webgl attribute validation; r=bjacob 2010-06-10 10:45:00 -07:00
Vladimir Vukicevic
ad7b242575 b=570660; add ability to resize pbuffer GL contexts; r=joe 2010-06-09 15:07:12 -07:00
Daniel Holbert
fcee2be1fc Bug 570257: fix unsigned/signed comparison build warning in WebGLContextValidate.cpp. r=vlad 2010-06-09 13:28:29 -07:00
Vladimir Vukicevic
39732698ea b=570538; [webgl] fix up buffer validation with interleaved data; r=bjacob 2010-06-08 15:14:43 -07:00
Vladimir Vukicevic
6897f88628 [webgl] test suite additions; npotb 2010-06-08 15:14:39 -07:00
Benoit Jacob
dcf3d6aa92 # 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
ccaca6a20d b=569943; validate Enable/Disable args; r=vladimir 2010-06-08 14:45:23 -04:00
Benoit Jacob
5a02571ff5 b=569714; Pass WebGL gl-get-calls conformance test; r=vladimir 2010-06-08 10:40:23 -04:00
Benoit Jacob
391edb011c b=569731; Implement canvas attribute in WebGLContext; r=vladimir 2010-06-08 10:34:56 -04:00
Vladimir Vukicevic
0b07d48001 [npotb] Import WebGL test suite into tree 2010-06-04 12:03:40 -07:00
Vladimir Vukicevic
b4c9523f52 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
f70029e803 b=569984; [webgl] verify shader attachment/detachment and program completeness; r=bjacob 2010-06-04 12:03:33 -07:00
Vladimir Vukicevic
d77c194467 bustage fix for webgl-disabled builds 2010-06-02 14:05:24 -07:00
Benoit Jacob
52baf42be7 b=567449; fix webgl param getters; r=vlad 2010-06-01 23:09:19 -07:00
Benoit Jacob
4268806ff0 b=565404; add WebGLUniformLocation object; r=vlad 2010-06-01 23:09:19 -07:00
Benoit Jacob
723eb61a5d b=567565; better WebGL buffer validation for element array buffers; r=vlad 2010-06-01 23:09:18 -07:00
Vladimir Vukicevic
8d6816b2c9 b=568526 (related); add env var for switching 2d canvas to image surfaces; r=bz 2010-05-28 21:13:08 -07:00
Vladimir Vukicevic
3592754105 b=520136; clear canvaselement member on SetCanvasElement; r=joe 2010-05-28 16:41:02 -07:00
Vladimir Vukicevic
79688aa1e8 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
cc2978a0dd b=525538; webgl readPixels fix; r=vlad 2010-05-26 16:53:15 -07:00
timeless@mozdev.org
2bbea3a937 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
569d29edc3 b=563701; add memory reporters for imglib, canvas, and some gfx surfaces; r=joe 2010-05-21 21:10:14 -07:00
Jeff Walden
984fff647d Bug 565604 - Typed-array properties don't work when accessed from an object whose prototype is a typed array. r=vlad
--HG--
extra : rebase_source : 6ac630f7a9d2cb04a9a996c2a675be41130ea2b1
2010-05-19 14:25:20 -07:00
Vladimir Vukicevic
dea11722d4 Some DEBUG_vladimir stuff needs to run on GLES2 only (npotb) 2010-05-19 13:47:13 -07:00
timeless@mozdev.org
10d51e3e43 Bug 565620 the NativeJSContext constructor needs to initialize more variables or the class needs to be much more careful; r=vlad 2010-05-19 13:47:07 -07:00
Vladimir Vukicevic
78a39a81e0 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
07ab4df723 b=566676; allow null as arg to teximage2d; r=vlad 2010-05-19 13:46:08 -07:00
Vladimir Vukicevic
cfe5dea959 b=561168, removed too much from the NotSupported webgl file, putting it back 2010-05-19 13:46:08 -07:00
Benoit Jacob
c343923727 b=565417; add OSMesa GLContextProvider (pbuffers only); r=vlad 2010-05-19 13:46:08 -07:00
Cedric Vivier
ee8ba48977 b=566126; allow readpixels on arbitrary sized non-default framebuffer; r=vlad 2010-05-15 20:07:30 +08:00
Benoit Jacob
ba7702e9b5 b=525540; crash at WebGLObjectRefPtr::Zero, part 2; r=vlad 2010-05-19 13:46:08 -07:00
Mark Steele
a13e66f9f0 b=525540; crash at WebGLObjectRefPtr::Zero; r=vlad 2010-05-19 13:46:08 -07:00
Benoit Jacob
402eb8260f b=565998; allow passing 0x0 texture size to webgl; r=vlad 2010-05-19 13:46:08 -07:00
Robert O'Callahan
d7e60623a4 Bug 547924. Paint <canvas> using EXTEND_PAD to prevent seams. r=vlad 2010-05-19 15:04:32 +12:00
Vladimir Vukicevic
b5bb1450d6 followup fix for when webgl is not supported; files removed, forgot to remove this (really not good at removals) 2010-05-18 10:08:40 -07:00