Commit Graph

1231 Commits

Author SHA1 Message Date
Ed Morley
b07a613e74 Backout cc37cd8dac59 (bug 744303) for M1 orange 2012-04-25 16:15:11 +01:00
Jeff Gilbert
86e1c58f50 Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob 2012-04-25 15:05:35 +01:00
Patrick Wong
30fd6e9e6a Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Jeff Muizelaar
4735650f00 Bug 745818. Fix crashtest bustage. a=bustage
Disable the test added in 3b31c3121e98 as it still crashes
in lots of places.

--HG--
extra : rebase_source : 31274e7ac05dae017615a18f1601c219b4f0b4a9
2012-04-23 17:55:56 -04:00
Jeff Muizelaar
05f4d55e08 Bug 743499. Handle negative sizes in CG backend. r=bas, a=akeybl
I didn't realize Sizes could be negative when originally writing this code.
2012-04-23 17:09:57 -04:00
Jeff Muizelaar
c207ef7bd3 Bug 745818. Ignore invalid cairo surfaces. r=bas, a=blassey
With bug 686453, we're not really supposed to get NULL surfaces
anymore. Instead we get Invalid ones that we should still ignore.

--HG--
extra : rebase_source : eee8213c897c01508815a810436d1e04e133f752
2012-04-23 17:03:36 -04:00
Tom Schuster
fef9c89dba 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
cad24b13b9 Bug 736481 - 7/7 - ForceLoseContext should not do anything on already lost context awaiting event - no review, a=blocking-fennec
Sorry for this little no-review patch. I meant to roll this into another of the patches for review and apparently forgot. It's 3 lines and quite trivial.
2012-04-21 16:48:22 -04:00
Benoit Jacob
38dc22d68b Bug 736481 - 6/7 - WebGL lost context handling: check if we still have a canvas - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Benoit Jacob
d0af5e0960 Bug 736481 - 5/7 - make memory-pressure observer lifetime match WebGL context lifetime - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Benoit Jacob
6fad1ca1da 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
46b8e1d691 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
9cf9a2137b Bug 736481 - 2/7 - lose WebGL context on memory-pressure events - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Benoit Jacob
2ed6d0ff79 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
33464ca392 Bug 746296 - Check for antialiasing should be samples>1 not samples>0 - r=jgilbert, a=akeybl 2012-04-19 23:28:01 -04:00
Benoit Jacob
8a1e7ebf9c 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
Jonathan Kew
4ae6a27c36 bug 745699 - canvas2d rendering context needs to call gfxFontGroup::UpdateFontList() before MakeTextRun() to ensure user font generation is up to date. r=roc a=blassey 2012-04-18 20:56:19 +01:00
Benoit Jacob
7697afac6d Bug 732233 - Explicitly enforce spec in uniform setters - r=jgilbert 2012-04-16 15:56:12 -04:00
Benoit Jacob
30ec0fc1a6 Bug 734657 - Upgrade ANGLE to r1042 - no review
The upstream is at:
  http://code.google.com/p/angleproject/

This update allows to pass all conformance tests on Windows with ANGLE renderer; also fixes 2 crashes (see dependent bugs).
2012-04-15 15:05:00 -04:00
Benoit Jacob
e43028cc2d Bug 743813 - fix build bustage due to signedness warning in WARNINGS_AS_ERRORS dir - no review 2012-04-10 12:23:23 -04:00
Benoit Jacob
0d7e1b4c91 Bug 743813 - Fix the warnings generated by WebGL activeTexture - r=jgilbert 2012-04-10 11:51:30 -04:00
Benoit Jacob
574847287b Bug 686735 - 1/2 - Implement no-gfx-driver-workarounds mode - r=joe,ajuma,jgilbert
Part 1: introduce the gfx.work-around-driver-bugs preference and handle most existing workarounds
2012-04-10 11:49:10 -04:00
Matias Juntunen
552bde7b2a Bug 743475 - Patch to fix the wrong template parameters in call to WebGLBuffer::FindMaxElementInSubArray - r=jgilbert 2012-04-09 19:51:29 -07:00
Jeff Gilbert
7b29231360 Bug 685156 - webgl.hint() must accept GENERATE_MIPMAP_HINT - r=bjacob 2012-04-04 18:57:35 -07:00
Jeff Gilbert
330a3cd6f9 Bug 738126 - Enforce spec for webgl.generateMipmap, and zero is not PoT - r=bjacob 2012-04-03 16:42:06 -07:00
Benoit Jacob
e4eb0d9b1b Bug 737182 - drop WebGL cube map workaround, now that we have it handled in GLContext - r=jrmuizel 2012-03-31 12:48:32 -04:00
Peter Van der Beken
176c7f9686 Undo accidental mode change to webgl-conformance-tests.html. No bug. 2012-03-30 22:04:54 -07:00
Peter Van der Beken
c2e642fbcc Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Benoit Jacob
2455dbf469 Bug 734423 - further WebGL test upgrade to 1.0.1 r17159 - no review 2012-03-26 17:54:08 -04:00
Benoit Jacob
b7438ab568 Bug 713369 - don't try to fall back to another GL provider, *at all* - r=jgilbert 2012-03-26 15:20:35 -04:00
Benoit Jacob
408619d76d Bug 734423 - refactor the gc() helper used by WebGL conformance tests - no review, will upstream - NPOTB 2012-03-26 15:20:34 -04:00
Benoit Jacob
b646a4cffc Bug 734423 - Upgrade WebGL conformance test suite to 1.0.1 in-principle-final (r17063) - no review
1.0.1 is in principle a done thing. This is also the occasion to do a clean upgrade, by rm and cp, instead of applying a diff.

Upstream:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/
2012-03-26 15:10:40 -04:00
Benoit Jacob
b50b67bbf5 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
This patch adds the diff between the previous iteration of the patch (which I accidentally committed in previous cset) and the one that peterv actually r+'d.
2012-03-26 15:02:43 -04:00
Benoit Jacob
e8dddcde54 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv 2012-03-26 14:59:04 -04:00
Matt Brubeck
e7b4a5e4bc Bug 736696 - Back out changes to test_webgl_conformance_test_suite.html from 3812d0ce274e because of incorrect merge [r=sgautherie] 2012-03-26 09:43:58 -07:00
Jeff Gilbert
0c50aa229e Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew 2012-03-23 15:10:50 -07:00
Ms2ger
18b67b5a12 Bug 736752 - Compartment mismatch in JetPack 'test-content-proxy.testTypedArrays', r=bholley 2012-03-20 13:57:00 -07:00
Aryeh Gregor
9d84462dee Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz 2012-03-16 16:07:09 -04:00
Jonathan Watt
ce86671d1b Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert. 2012-03-20 12:15:55 +00:00
Marco Bonardo
ff249f47c5 Merge inbound and central 2012-03-16 13:42:16 +01:00
Ms2ger
126a61ae1e Bug 722154 - Part f: Remove custom quickstubs for vertexAttrib[1-4]fv; r=bjacob 2012-03-16 10:53:41 +01:00
Ms2ger
0fa822c551 Bug 722154 - Part e: Remove custom quickstubs for uniform[1-4][i,f]v and uniformMatrix[2-4]fv; r=bjacob 2012-03-16 10:52:42 +01:00
Ms2ger
3cd4c66188 Bug 727590 - uniformMatrix*fv handles its transpose argument incorrectly; r=bjacob 2012-03-16 10:51:04 +01:00
Ms2ger
6c8b1e6b1c Bug 722154 - Part d: Remove custom quickstub for readPixels; r=bjacob 2012-03-16 10:50:51 +01:00
Ms2ger
9fe057f15e Bug 722154 - Part c: Remove custom quickstubs for compressedTexImage2D and compressedTexSubImage2D; r=bjacob 2012-03-16 10:50:33 +01:00
Ms2ger
475f50510f Bug 722154 - Part b: Remove custom quickstub for bufferSubData; r=bjacob 2012-03-16 10:50:18 +01:00
Ms2ger
3b2c005617 Bug 722154 - Part a: Remove custom quickstub for bufferData; r=bjacob 2012-03-16 10:50:00 +01:00
Ms2ger
ea07526c91 Bug 732704 - compressedTexSubImage2D should take 8 arguments, not 7; r=bjacob 2012-03-16 10:49:29 +01:00
Ms2ger
b2bb2520d9 Bug 550309 - Part f: Return real ImageData from CreateImageData; r=bz 2012-03-16 10:49:16 +01:00
Ms2ger
90fe48b371 Bug 550309 - Part e: Remove custom quickstub for getImageData and return an actual ImageData; r=bz 2012-03-16 10:48:55 +01:00