Commit Graph

1257 Commits

Author SHA1 Message Date
Yury
28d71f4a36 Bug 753758 - Saving state doesn't carry mozFillRule. r=jrmuizel 2012-05-11 10:35:31 -07:00
Ed Morley
79899a6f75 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
1941fb1bb4 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Benoit Jacob
725ba8f732 Bug 736123 - short-term fix: blacklist adreno using the global GLContext to get renderer info - r=bgirard
It really works, but it's not future-proof as it relies on the global GL context that's going away soon. But it probably won't go away in Aurora 14, so this should at least allow us to ship Fennec 14.

Longer term, we need to do some message passing so we can get the LayerManager's OpenGL context's renderer id, from the OMTC thread.
2012-05-08 15:55:52 -04:00
Jon Buckley
abfe75ece8 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
5885a6edd0 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
3954a6b841 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Benoit Jacob
1b095471a0 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
e191b75e54 back out e8f3fd02ba3e for windows build failure 2012-05-07 14:04:10 -04:00
Benoit Jacob
5f074bf235 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
f9c841e475 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
90b5c814e8 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
ce8665a6aa Back out 1907bf7e6d7c (bug 749485) for build bustage 2012-05-05 20:33:59 -07:00
Boris Zbarsky
1833a29c14 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
668193e91d Bug 749539. Make IsContextStable an inline function. r=bjacob 2012-05-05 09:28:25 -04:00
Boris Zbarsky
8655f9d9aa 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
Boris Zbarsky
6cb0048f56 Bug 747825. Make the WebGLContext a wrapper cache. r=peterv 2012-05-04 12:36:40 -04:00
Benoit Jacob
5804afacb8 backout b13c1d8d2cda / bug 747619 for build failure (-Werror) 2012-05-03 16:54:14 -04:00
Benoit Jacob
cb02a36272 Bug 747619 - fix uniform setter validation: allow partial uniform array updates - r=jgilbert 2012-05-03 15:57:25 -04:00
Jonathan Kew
cb92c263ae bug 751129 - ensure the font list is updated if necessary before accessing metrics. r=roc 2012-05-03 08:56:26 +01:00
Benoit Jacob
ecbe969082 Bug 743748 - Reenable ANGLE shader translation on Android - r=jgilbert 2012-04-30 17:43:12 -04:00
Benoit Jacob
4ec1ab3d62 Bug 736123 - blacklist Adreno renderers for WebGL - r=joe 2012-04-30 17:43:12 -04:00
Bas Schouten
f9e2392e1e Bug 749467: Properly mark mPathTransformWillUpdate false. r=roc 2012-04-27 07:07:01 +02:00
Masatoshi Kimura
95f8a3cace Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
John Daggett
69edaef745 Bug 718539. Trim out old featureSettings string code. r=jkew 2012-04-26 15:27:08 +09:00
John Daggett
f3be29b833 Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron 2012-04-26 15:25:29 +09:00
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