JerryShih
dba5aca856
Bug 1267100 - add makeCurrent() for WebGLContext::GetFramebufferAttachmentParameter(). r=jgilbert
2016-04-27 18:58:47 +02:00
Sebastian Hengst
20d8787f86
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
2ad5dac3ff
Bug 1267100 - add makeCurrent() for WebGLContext::GetFramebufferAttachmentParameter(). r=jgilbert
2016-04-25 22:04:00 +02:00
Jeff Gilbert
6d4a92f9df
Bug 1263018 - Only update active prog info if linking active prog. - r=jrmuizel
2016-04-20 12:02:07 -07:00
Ethan Lin
c6c688f778
Bug 1259696 - Check read buffer mode when doing CopyTexImage. r=jgilbert
...
MozReview-Commit-ID: FYMiMaiRhii
2016-03-31 23:06:33 -07:00
Chris Peterson
bc4e04fea6
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
b88b091d53
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
00b17e492f
Bug 1094458 - Implement RenderbufferStorageMultisample. - r=jrmuizel
2016-02-12 19:31:58 -08:00
Jeff Gilbert
31bba9ce8e
Bug 1246007 - Ignore RENDERBUFFER_SAMPLES outside of webgl2. - r=jrmuizel
2016-02-05 16:41:21 -08:00
Jeff Gilbert
6920ca909b
Bug 1243907 - Don't query _BITS enums on Core profiles. - r=jrmuizel
2016-01-22 18:00:54 -08:00
Wes Kocher
b685d0890c
Backed out changeset 6f964a309e55 (bug 1233046) for winxp m(gl) bustage
2016-02-03 14:17:56 -08:00
Jeff Gilbert
f7c4038259
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
f1354981e0
Bug 1240673 - Fix WebGL2 framebuffer parameter problem. r=jgilbert
2016-01-20 23:12:00 -05:00
Chris Peterson
e2605dcc26
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
db38fa9f04
Bug 1236784 - [WebGL2] pass getRenderbufferParameter in gl-object-get-calls.html, r=jgilbert
2016-01-20 15:50:47 +08:00
Morris Tseng
9cfe03d3ec
Bug 1238865 - Part 2: Add more format/type checks for WebGL2. r=jgilbert
2016-01-21 14:51:59 +08:00
peter chang
f835843f32
Bug 1236395 - [WebGL2] pass getFramebufferAttachmentParameter in gl-object-get-calls.html, r=jgilbert
2016-01-11 19:56:00 +01:00
Jeff Gilbert
4a5ab73d9e
Bug 1237637 - Disallow negative levels for framebuffer attachments. - r=jrmuizel
2016-01-07 16:22:45 -08:00
Dan Glastonbury
1709fd5b64
Bug 1205168 - Part 7: Remove unneeded functions. r=jgilbert
...
* GLFormatForTexelFormat
* GetWebGLTexelFormat
2015-12-22 22:08:00 +01:00
Dan Glastonbury
624003ccf9
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
9c942b0c25
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
1add00c8b3
Bug 1229585 - Add helpful error text for fb incompleteness. - r=kamidphish
2015-12-14 16:11:59 -08:00
Lars T Hansen
50c0a41719
Bug 1176214 - Part 12: Changes to WebGL. r=bz, r=clb
2015-11-26 12:47:53 +01:00
Jeff Gilbert
d658f53faf
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-24 20:15:29 -08:00
Phil Ringnalda
80310b6e5c
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
8e72348cfc
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-23 19:27:13 -08:00
Nathan Froyd
ceab0f404d
Bug 1216611 - add mozilla::MakeUniqueFallible and convert uses throughout the tree; r=Waldo
2015-11-05 16:24:24 -05:00
Nicholas Nethercote
7f19b68d7f
Bug 1209812 (part 3) - Rename SurfaceFormat::R5G6B5 as R5G6B5_UINT16. r=Bas.
2015-10-22 23:01:31 -07:00
Nathan Froyd
4e6d8f6705
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
2015-10-18 01:24:48 -04:00
Nathan Froyd
bf7f6dda03
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
2e86dd92c2
Bug 1147441 - Add SharedArrayBuffer support to WebGL and WebGL 2. r=jgilbert, r=bzbarsky
2015-10-14 11:18:19 +05:30
Morris Tseng
7a41b6b29e
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.
2015-10-12 11:21:03 +08:00
Wes Kocher
bbd458236d
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
3d989074c9
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.
2015-10-05 10:50:16 +08:00
Wes Kocher
20f2b1dd4d
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
af4e4ca4d9
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
2d43600bc6
Bug 1188540 - Forward texture-related functions to WebGLTexture. - r=kamidphish
2015-08-03 14:34:46 -07:00
Dan Glastonbury
14147fd843
Bug 1184402 - Part 4: Use WebGLFormat for validation in RenderbufferStorage_base. r=jgilbert
2015-07-30 13:33:39 +10:00
Bobby Holley
710865df63
Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Kyle
21ae48919b
Bug 1106138 - Remove the early unpremultiply in WebGLContext::SurfaceFromElementResultToImageSurface, and let the texel conversion code handle it instead. r=jgilbert
2015-07-16 17:23:11 -04:00
Jeff Gilbert
b1f1e1a811
Bug 1182371 - Misc WebGL cleanup. - r=kamidphish
2015-07-14 17:37:28 -07:00
Edwin Flores
9b3693bbd6
Bug 1170893 - Return null for invalid internal format. r=kamidphish
2015-07-07 16:24:25 +10:00
Dan Glastonbury
84c39f7b52
Bug 1179556 - Only call EnsureColorAttachPoints with a color attachment. r=jgilbert
2015-07-02 10:47:45 +10:00
Dan Glastonbury
280ba1346e
Bug 1151736 - Lose context on OOM instead of crashing. r=jgilbert
2015-06-17 23:49:35 -04:00
Boris Zbarsky
414efa829e
Bug 1176153. Have binding code grab the array buffer view type for ArrayBufferView arguments, so consumers don't have to manually use JSAPI to do it. Use the new setup in WebGL code. r=smaug
2015-06-24 08:10:15 -07:00
Dan Glastonbury
c8fe1f498a
Bug 1167504 - Part 4: Remove BindableName - Texture. r=jgilbert
2015-06-10 13:24:18 +10:00
Dan Glastonbury
541a259b37
Bug 1167504 - Part 2: Remove BindableName - Renderbuffer. r=jgilbert
2015-06-10 13:24:17 +10:00
Dan Glastonbury
42f0b21a3e
Bug 1167504 - Part 1: Remove BindableName - Framebuffer. r=jgilbert
2015-06-10 13:24:16 +10:00
Jeff Muizelaar
2013dfd997
Bug 1171021. Rewrite SetFullAlpha to choose one method of iterating.
...
Perviously it had two.
2015-06-04 14:48:43 -04:00
Dan Glastonbury
1cebb60156
Bug 1159117 - Enable support for legacy formats. r=jgilbert
...
ALPHA, LUMINANCE, and LUMINANCE_ALPHA texture formats are removed in
OpenGL core profiles. Emulate these via RED, RG and texture swizzling.
2015-05-28 12:15:42 +10:00