Commit Graph

2240 Commits

Author SHA1 Message Date
Jeff Muizelaar
b09c5a8340 Bug 821475. Moz2D: Remove flip when drawing gradient. r=mstange
We muck with the matrix before we draw the text. We need to set it back after.

--HG--
rename : mobile/android/base/FilePicker.java => mobile/android/base/ActivityHandlerHelper.java
extra : rebase_source : 4f937b0b2779ee6c771e030a7ae0894f14a7b211
2014-02-15 18:21:43 -05:00
Jeff Gilbert
e03fee76f2 Bug 972622 - MakeCurrent during WebGL.compressedTex(Sub)Image2D(). - r=kamidphish 2014-02-14 15:52:39 -08:00
Jeff Gilbert
b50d41f5c5 Bug 972620 - MakeCurrent during WebGL.hint(). - r=kamidphish 2014-02-14 15:52:38 -08:00
Ehsan Akhgari
dc28f1ce88 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)

--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox
7b82ee95c1 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
guozhu cheng
7cde7c73c3 Bug 927969 - Disable extensions when the WebGL context is lost. r=bjacob 2013-11-05 17:35:50 +08:00
Bobby Holley
4211893075 Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap 2014-02-13 18:57:36 -08:00
Jeff Gilbert
7d61fe1301 Bug 970775 - Fix error gen'd by CopyTex(Sub)Image2D for incomplete FBs. - r=bjacob 2014-02-13 15:08:08 -08:00
Jeff Gilbert
fa6d0c9dde Bug 970775 - Add more asserts to WebGLFramebuffer. - r=bjacob 2014-02-13 15:07:59 -08:00
Jeff Gilbert
fb236555b8 Bug 823454 - Implement EXT_frag_depth for WebGL. - r=kamidphish 2014-02-13 15:00:12 -08:00
Ted Mielczarek
06e04ce1b2 Bug 968837 - Move more Mochitests into manifests. r=jmaher
--HG--
rename : toolkit/components/places/tests/browser/bug_399606/399606-history.go-0.html => toolkit/components/places/tests/browser/399606-history.go-0.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-httprefresh.html => toolkit/components/places/tests/browser/399606-httprefresh.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.reload.html => toolkit/components/places/tests/browser/399606-location.reload.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.replace.html => toolkit/components/places/tests/browser/399606-location.replace.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.href.html => toolkit/components/places/tests/browser/399606-window.location.href.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.html => toolkit/components/places/tests/browser/399606-window.location.html
rename : toolkit/components/places/tests/browser/visituri/begin.html => toolkit/components/places/tests/browser/begin.html
rename : toolkit/components/places/tests/browser/visituri/final.html => toolkit/components/places/tests/browser/final.html
rename : toolkit/components/places/tests/browser/visituri/redirect_once.sjs => toolkit/components/places/tests/browser/redirect_once.sjs
rename : toolkit/components/places/tests/browser/visituri/redirect_twice.sjs => toolkit/components/places/tests/browser/redirect_twice.sjs
rename : toolkit/components/places/tests/browser/settitle/title1.html => toolkit/components/places/tests/browser/title1.html
rename : toolkit/components/places/tests/browser/settitle/title2.html => toolkit/components/places/tests/browser/title2.html
rename : toolkit/components/places/tests/mochitest/bug94514-postpage.html => toolkit/components/places/tests/bug94514-postpage.html
rename : toolkit/components/places/tests/mochitest/test_bug_411966.html => toolkit/components/places/tests/test_bug_411966.html
rename : toolkit/components/places/tests/mochitest/test_bug_461710_perwindowpb.html => toolkit/components/places/tests/test_bug_461710_perwindowpb.html
rename : toolkit/components/places/tests/mochitest/test_bug_94514.html => toolkit/components/places/tests/test_bug_94514.html
2014-02-06 15:37:30 -05:00
Jeff Gilbert
f300bc1aab Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-13 09:53:53 -05:00
Jon Coppeard
25c1a75044 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jeff Gilbert
ecef4e5795 Bug 968374 - Fix the null-term char being left on the string we return to JS. r=bjacob 2014-02-11 17:37:06 -05:00
Jeff Gilbert
8992de2c41 Bug 968374 - Implement WEBGL_debug_shaders. r=bjacob 2014-02-11 17:37:06 -05:00
Jeff Gilbert
1bf666a702 Bug 968374 - Fix conformance test to match spec for WEBGL_debug_shaders. r=bjacob 2014-02-11 17:37:06 -05:00
Jeff Gilbert
f3253bf19b Bug 968374 - Add test that chrome-only extensions don't work in non-chrome. r=bjacob 2014-02-11 17:37:05 -05:00
Jeff Gilbert
420b5d96a8 Bug 968374 - Add pref for enabling privileged extensions for non-chrome code. r=bjacob 2014-02-11 17:37:05 -05:00
Jeff Gilbert
b8c4fa5c79 Bug 968374 - Strip trailing whitespace from WebGLContextExtensions. r=bjacob 2014-02-11 17:37:05 -05:00
Ehsan Akhgari
f1e576aab3 Bug 969870 - Use fallible allocations to store the used attributes of a WebGL program; r=bjacob
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-09 18:16:38 -05:00
Ehsan Akhgari
4c364fa6ec Bug 969869 - Use fallible allocation in WebGL element array cache; r=bjacob
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-09 18:16:03 -05:00
Ms2ger
b995cb3325 Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
Phil Ringnalda
b8a00a6ff5 Back out 4 changesets (bug 777574) because it's the slaves, not the tests
Backed out changeset ce3f48acc244 (bug 777574)
Backed out changeset f3c918a0e91c (bug 777574)
Backed out changeset fd79a8abbbf8 (bug 777574)
Backed out changeset 371e42c987d6 (bug 777574)

--HG--
extra : rebase_source : 04c61c132e85f366088d2318f282acd63b5faa0e
2014-02-07 19:04:02 -08:00
Ryan VanderMeulen
7712bd0f3e Backed out changeset 8d885b139d7d (bug 912280) for bustage. 2014-02-07 10:38:27 -05:00
Jeff Gilbert
2969da41bc Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-07 10:21:49 -05:00
Phil Ringnalda
bbda68683b Bug 777574 - Skip quickCheckAPI-C.html on Linux Mesa since it fails on ASan tests all the time 2014-02-03 17:04:53 -08:00
Phil Ringnalda
d1893ca9ac Bug 777574 - Skip quickCheckAPI-B4.html on Linux Mesa since it fails on ASan tests all the time 2014-02-02 21:19:46 -08:00
Phil Ringnalda
b19f3b9c4d Bug 777574 - Skip quickCheckAPI-B3.html on Linux Mesa since it fails on ASan tests all the time 2014-02-02 18:39:18 -08:00
Phil Ringnalda
ec11ed2164 Bug 777574 - Skip quickCheckAPI-B2.html on Linux Mesa since it fails on ASan tests all the time
--HG--
extra : rebase_source : 4e4304169755fe6fa28457c3b330e173296b6393
2014-02-02 11:43:55 -08:00
Vladimir Vukicevic
da5ce4a38a b=738872; implement WebGL OES_texture_half_float; part 3 - desktop GL compat; r=jgilbert 2014-01-27 13:30:33 -05:00
Vladimir Vukicevic
63cb3e650f b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Dan Glastonbury
b098c3e967 Bug 953221 - Split out DRAW_BUFFER/READ_BUFFER state setup. r=bjacob 2014-01-24 14:02:07 +10:00
Dan Glastonbury
ba8d11d8f9 Bug 953221 - Disable glDrawBuffer/glReadBuffer when no color attachment. r=bjacob
This is mainly for OSX where the OGL version requires this so that the
framebuffer complete checks pass.
2014-01-24 14:01:10 +10:00
Dan Glastonbury
4086562d80 Bug 953221 - Minor erroneous complete check fails. r=bjacob 2014-01-24 13:59:33 +10:00
Dan Glastonbury
3f1115ce41 Bug 948002 - Add extra comments of meaning of GLenum to IsValidFBOXXX calls. r=jgilbert 2014-01-24 16:28:47 +10:00
Dan Glastonbury
9e7275ca42 Bug 948002 - Fix WebGL framebuffer completeness checks. r=bjacob
When changing WebGLTexture::ImageInfo to consistently store GL internal format
instead of format, code that checked for depth textures broke because general
depth component format type was being checked instead of the sized formats.

With :bjacob, we audited the locations of the checks and updated the code to
accept the internal formats by utilizing helper functions that check the
GLenum.
2014-01-24 13:53:53 +10:00
Dan Glastonbury
78c24fc871 Bug 948002 - Remove trailing whitespace. r=jgilbert 2014-01-24 13:52:33 +10:00
Dan Glastonbury
c913854ce2 Bug 948002 - Add functions getExtensionWithKnownPrefixes and getSupportedExtensionWithKnownPrefixes to fix tests that fail to parse. r=bjacob, r=jgilbert 2014-01-10 12:23:56 +10:00
Masatoshi Kimura
806a1ed8bb Bug 959958 - Implement ImageData constructor. r=bz 2014-01-28 22:04:40 +09:00
Dan Glastonbury
f80e7bac82 Bug 913597 - Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts. r=jgilbert 2014-01-28 05:59:24 +09:00
Benoit Jacob
28ff3ad25f Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
981c6431d3 Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Boris Zbarsky
6d43e0116e Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile.  C++ strikes
again.
2014-01-22 14:37:10 -05:00
Jeff Gilbert
f8ef9a2fc3 Bug 962392 - Clean up WebGLFramebuffer, particularly handling of RectangleObjects. - r=dglastonbury 2014-01-22 19:59:34 -08:00
Jeff Gilbert
6f66fd7621 Bug 962392 - Whitespace fixes. - r=dglastonbury 2014-01-22 19:59:33 -08:00
Wes Kocher
6ceffa63c0 Backed out 2 changesets (bug 958576) for osx 10.8 m-oth bustage on a CLOSED TREE
Backed out changeset 2ec09c9a9df1 (bug 958576)
Backed out changeset 49bec226f30e (bug 958576)
2014-01-22 16:17:25 -08:00
Boris Zbarsky
9f27c4fd14 Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile.  C++ strikes
again.
2014-01-22 14:37:10 -05:00
Ryan VanderMeulen
d1deda9bb5 Backed out changeset 07e5bf2cb7c8 (bug 913597) for desktop B2G failures.
CLOSED TREE
2014-01-22 12:48:44 -05:00
Dan Glastonbury
b1ebdd4f6a Bug 939117 - Don't reference NULL ptr. r=jgilbert 2014-01-20 14:13:23 +10:00
Dan Glastonbury
26eb4494f0 Bug 913597 - Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts. r=jgilbert 2014-01-23 00:44:16 +09:00