JerryShih
7712664858
Bug 1288598 - Handle gl.getFramebufferAttachmentParameter() call for default framebuffer. r=jgilbert
2016-07-22 07:42:00 -04:00
Jeff Gilbert
b13a015811
Bug 1136494 - Update uniform setters. - r=mtseng
...
MozReview-Commit-ID: 4jZrqgu4qQm
2016-07-18 00:19:19 -07:00
Jeff Gilbert
55d9d2af29
Bug 1136494 - Update LinkInfo. - r=mtseng
...
MozReview-Commit-ID: Fr4j8bHO5AG
2016-07-18 00:19:19 -07:00
Jeff Gilbert
3284f23b83
Bug 1250710 - ANGLE ES2 still requires HALF_FLOAT for ReadPixels, not HALF_FLOAT_OES. - r=ethlin
...
MozReview-Commit-ID: JwrigS3yNTJ
2016-07-17 21:45:34 -07:00
Jeff Gilbert
ed96544c4b
Bug 1250710 - Mark specific InvalidEnum case. - r=ethlin
...
MozReview-Commit-ID: HusUzReTnS6
2016-07-17 21:45:24 -07:00
Jeff Gilbert
bca2475b84
Bug 1250710 - Remove unused functions. - r=ethlin
...
MozReview-Commit-ID: BbDSh9yI4wC
2016-07-17 21:45:14 -07:00
Jeff Gilbert
b5ab6cc177
Bug 1250710 - Workaround nvidia when stride is longer than the last row with PBOs. - r=jrmuizel
...
MozReview-Commit-ID: FaGumqLiIrA
2016-07-17 21:45:11 -07:00
Jeff Gilbert
93f65aed12
Bug 1250710 - Add PACK PBO support. - r=jrmuizel
...
MozReview-Commit-ID: DK7FgtE9ymm
2016-07-17 21:44:05 -07:00
Jeff Gilbert
8a8e457903
Bug 1136508 - Removed unused READ_BUFFER out-var from ValidateCurFBForRead. - r=mtseng
...
MozReview-Commit-ID: 4qOQNbMkfUX
2016-07-13 11:58:29 -07:00
Jeff Gilbert
4e33074bf3
Bug 1284346 - Fix PACK_ params. - r=jrmuizel
...
MozReview-Commit-ID: 4cEwl5ekuoh
2016-07-05 12:52:42 -07:00
Jeff Gilbert
97c7597e73
Bug 1284355 - Mark DoReadPixelsAndConvert branch properly. - r=ethlin
...
MozReview-Commit-ID: GBNlnOqQei4
2016-07-05 12:52:42 -07:00
eyim
b0ca07b635
Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
...
MozReview-Commit-ID: FjLA9xNH3zD
--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
Chris Peterson
11ef78ae89
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
...
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
JerryShih
dc3eae0de8
Bug 1267100 - add makeCurrent() for WebGLContext::GetFramebufferAttachmentParameter(). r=jgilbert
2016-04-27 18:58:47 +02:00
Sebastian Hengst
5fcb84c80e
Backed out changeset de77b0c64ad9 (bug 1267100) for unexpected passes in test_conformance__glsl__misc__shaders-with-name-conflicts.html. r=backout
...
de77b0c64ad9
2016-04-27 18:49:57 +02:00
JerryShih
eeaa88231c
Bug 1267100 - add makeCurrent() for WebGLContext::GetFramebufferAttachmentParameter(). r=jgilbert
...
--HG--
extra : rebase_source : d6a28a318fac9ba2712e9d4500eee2ae757780a1
2016-04-25 22:04:00 +02:00
Jeff Gilbert
9c3993e371
Bug 1263018 - Only update active prog info if linking active prog. - r=jrmuizel
2016-04-20 12:02:07 -07:00
Ethan Lin
d1268b5e73
Bug 1259696 - Check read buffer mode when doing CopyTexImage. r=jgilbert
...
MozReview-Commit-ID: FYMiMaiRhii
--HG--
extra : rebase_source : 9f71a99d40df8430543d90f1eb64cda01d060b88
2016-03-31 23:06:33 -07:00
Chris Peterson
88de54c16e
Bug 1247532 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in dom/canvas/. r=jgilbert
...
dom/canvas/WebGLContextGL.cpp:845:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-02-10 23:10:02 -08:00
Jeff Gilbert
4ef83a5f6f
Bug 1249483 - Stop filling A with 1.0 on readback from no-alpha. - r=jrmuizel
2016-02-25 17:47:50 -08:00
Jeff Gilbert
c6dad7bd09
Bug 1094458 - Implement RenderbufferStorageMultisample. - r=jrmuizel
2016-02-12 19:31:58 -08:00
Jeff Gilbert
8969ca59b4
Bug 1246007 - Ignore RENDERBUFFER_SAMPLES outside of webgl2. - r=jrmuizel
2016-02-05 16:41:21 -08:00
Jeff Gilbert
f534188807
Bug 1243907 - Don't query _BITS enums on Core profiles. - r=jrmuizel
2016-01-22 18:00:54 -08:00
Wes Kocher
ee541d1491
Backed out changeset 6f964a309e55 (bug 1233046) for winxp m(gl) bustage
...
--HG--
extra : commitid : C6wnJkjSq7L
2016-02-03 14:17:56 -08:00
Jeff Gilbert
ea04ebebca
Bug 1233046 - Fix OES_texture_float on Mac and add tests for extensions. - r=jrmuizel
2016-02-03 12:27:50 -08:00
Ethan Lin
d31232b919
Bug 1240673 - Fix WebGL2 framebuffer parameter problem. r=jgilbert
...
--HG--
extra : rebase_source : 2c131d0b6178666e80f5771030c8cb61afeb8766
2016-01-20 23:12:00 -05:00
Chris Peterson
1d19e74439
Bug 1242120 - Remove switch fallthrough to avoid -Wimplicit-fallthrough warning in dom/canvas/. r=mtseng
...
dom/canvas/WebGLContextGL.cpp:1329:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-01-22 21:36:49 -08:00
peter chang
275089b227
Bug 1236784 - [WebGL2] pass getRenderbufferParameter in gl-object-get-calls.html, r=jgilbert
...
--HG--
extra : rebase_source : 0d2b263da0f5dfd6ed3c211684c04381c6f32b65
2016-01-20 15:50:47 +08:00
Morris Tseng
794c8843cb
Bug 1238865 - Part 2: Add more format/type checks for WebGL2. r=jgilbert
...
--HG--
extra : commitid : 6746QJFsDKZ
2016-01-21 14:51:59 +08:00
peter chang
d8bb5481f5
Bug 1236395 - [WebGL2] pass getFramebufferAttachmentParameter in gl-object-get-calls.html, r=jgilbert
...
--HG--
extra : rebase_source : 5cab2380be2efc8e6eae0b71183646443f654a5f
2016-01-11 19:56:00 +01:00
Jeff Gilbert
f3b0f8b2c7
Bug 1237637 - Disallow negative levels for framebuffer attachments. - r=jrmuizel
2016-01-07 16:22:45 -08:00
Dan Glastonbury
892ace5b27
Bug 1205168 - Part 7: Remove unneeded functions. r=jgilbert
...
* GLFormatForTexelFormat
* GetWebGLTexelFormat
2015-12-22 22:08:00 +01:00
Dan Glastonbury
bac0a15f6a
Bug 1205168 - Part 1 - Sort all the WebGLTexelFormats. r=jgilbert
...
In preparation for adding new formats and conversion code, sort the
existing ones into some semblance of order.
2015-12-22 19:59:00 +01:00
Jeff Muizelaar
9d9541f65f
Bug 1229210. Handle the new formats required by WebGL2 in ReadPixels. r=jgilbert
...
This is required for deqp/functional/gles3/builtinprecision00.html to pass on Linux
2015-12-16 22:10:53 -05:00
Jeff Gilbert
30a228420f
Bug 1229585 - Add helpful error text for fb incompleteness. - r=kamidphish
2015-12-14 16:11:59 -08:00
Lars T Hansen
49063542c0
Bug 1176214 - Part 12: Changes to WebGL. r=bz, r=clb
...
--HG--
extra : rebase_source : 65b6b69a0a5fd7987d390832cedf844588a41846
2015-11-26 12:47:53 +01:00
Jeff Gilbert
19d84fb0fe
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-24 20:15:29 -08:00
Phil Ringnalda
71a6f5da62
Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures
2015-11-23 21:55:59 -08:00
Jeff Gilbert
87397c265b
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-23 19:27:13 -08:00
Nathan Froyd
e763192040
Bug 1216611 - add mozilla::MakeUniqueFallible and convert uses throughout the tree; r=Waldo
2015-11-05 16:24:24 -05:00
Nicholas Nethercote
a34d272e2b
Bug 1209812 (part 3) - Rename SurfaceFormat::R5G6B5 as R5G6B5_UINT16. r=Bas.
...
--HG--
extra : rebase_source : 1efcfb2522e823e55b5c7b77531a9d2c42c49c8b
2015-10-22 23:01:31 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Jukka Jylanki
ba964b1f9c
Bug 1147441 - Add SharedArrayBuffer support to WebGL and WebGL 2. r=jgilbert, r=bzbarsky
...
--HG--
extra : histedit_source : 141390e44859f0cdb1692979f08f873ad3480754
2015-10-14 11:18:19 +05:30
Morris Tseng
d5147a9b2a
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
--HG--
extra : rebase_source : ce16acdc340cbe67102da651552f574eee897ca9
2015-10-12 11:21:03 +08:00
Wes Kocher
c1750b75c7
Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
...
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Morris Tseng
2d11e76151
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers. r=nical, r=jgilbert, r=jrmuizel, sr=ehsan
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
--HG--
extra : rebase_source : 16b8b4eaa5f4c649c02cbae6425e895134d4ae41
2015-10-05 10:50:16 +08:00
Wes Kocher
8631de9c2b
Backed out 13 changesets (bug 709490) for android webgl-color-test.html failures
...
Backed out changeset 5be7514914b6 (bug 709490)
Backed out changeset 04b6f94fbe8a (bug 709490)
Backed out changeset 00c0e85dd8cd (bug 709490)
Backed out changeset 221385b7b81a (bug 709490)
Backed out changeset ecc38c18734f (bug 709490)
Backed out changeset 22878c936384 (bug 709490)
Backed out changeset 0edcbb60eee3 (bug 709490)
Backed out changeset 5feceec2014b (bug 709490)
Backed out changeset 835b655cb873 (bug 709490)
Backed out changeset 6fbb4a3f8cf7 (bug 709490)
Backed out changeset a5f8646fa156 (bug 709490)
Backed out changeset 2ae1386916b3 (bug 709490)
Backed out changeset 6b29a2a0a8fb (bug 709490)
2015-09-29 08:57:36 -07:00
Morris Tseng
1d4157900a
Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers., r=ehsan, r=jgilbert, r=nical
2015-09-29 11:51:24 +01:00
Jeff Gilbert
f0e28e9429
Bug 1188540 - Forward texture-related functions to WebGLTexture. - r=kamidphish
2015-08-03 14:34:46 -07:00