Jeff Gilbert
8ec455686e
Bug 1290774 - Validate frag shader output types match draw buffer types. r=lsalzman
...
MozReview-Commit-ID: FXQaUzJ0fDy
Differential Revision: https://phabricator.services.mozilla.com/D18611
2019-02-04 14:34:59 -08:00
Cosmin Sabou
5a2318f064
Backed out changeset 58fe5a3d3c40 (bug 1290774) for causing build bustages on WebGLContextDraw. CLOSED TREE
2019-02-01 05:58:38 +02:00
Jeff Gilbert
be41632dd0
Bug 1290774 - Validate frag shader output types match draw buffer types. r=lsalzman
...
MozReview-Commit-ID: HhGKDVWXR1A
Differential Revision: https://phabricator.services.mozilla.com/D18302
--HG--
extra : moz-landing-system : lando
2019-02-01 03:33:02 +00:00
Tooru Fujisawa
7983faeb5d
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jeff Gilbert
4098f41704
Bug 1498070 - Simplify and cache framebuffer and texture completeness. - r=kvark
...
Net-removes 700LOC, too!
Differential Revision: https://phabricator.services.mozilla.com/D8325
--HG--
extra : moz-landing-system : lando
2018-10-17 04:18:15 +00:00
Jeff Gilbert
b5299cdebb
Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
...
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-09 14:35:01 -07:00
Dorel Luca
5ef9c6f716
Backed out changeset e8023a02b6c2 (bug 1478909) on dev's request
2018-08-09 04:58:04 +03:00
Jeff Gilbert
8e0436b208
Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
...
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-08 16:15:12 -07:00
Jeff Gilbert
027c306ce3
Bug 1445577 - Fix -Wmicrosoft-unqualified-friend in WebGLProgram.h. - r=kvark
...
"unqualified friend declaration referring to type outside of the nearest enclosing
namespace is a Microsoft extension; add a nested name specifier
[-Wmicrosoft-unqualified-friend]"
2018-03-15 22:35:50 -07:00
Jeff Gilbert
d6af1e81ba
Bug 1404196 - Simplify and repair vertex fetch. - r=daoshengmu
...
MozReview-Commit-ID: FL7uibuv4VY
2017-11-01 15:18:27 -07:00
Jeff Gilbert
61b02e4fd7
Bug 1326159 - Update TF buffer restrictions. - r=daoshengmu
...
Update conformance2/buffers/bound-buffer-size-change-test.html to top-of-tree 2.0.0.
MozReview-Commit-ID: CgfP70Y0wul
2016-12-30 03:30:13 -08:00
Jeff Gilbert
a08f6f998c
Bug 1325699 (flattened) - Fix uniform block handling. - r=daoshengmu
...
Flattened with:
* Handle -1 attrib locations. - r=daoshengmu
2016-12-29 02:47:08 -08:00
Jeff Gilbert
0b065a7b71
Bug 1325301 (flattened) - Validate attribute base types match data base types. - r=bz,daoshengmu
...
Flattened with:
* Clean up generic vertex attribs. - r=bz,daoshengmu
* Remove EnsureAttrib() and friends. - r=daoshengmu
* Simplify EnumName behavior and usage and add ErrorInvalidEnumArg(). - r=daoshengmu
2016-12-29 02:46:46 -08:00
Jeff Gilbert
0801831c32
Bug 1325240 - Handle arrays in glsl variable location queries properly. - r=daoshengmu
...
MozReview-Commit-ID: 1XYwvh9QGmA
2016-12-25 13:44:31 -08:00
Jeff Gilbert
51d744aa93
Bug 1320030 - Simplify marking and deletion checks. - r=ethlin
2016-12-07 01:35:28 -08:00
Jeff Gilbert (:jgilbert)
1a57a7121a
Bug 1318507 - Update implementation. - r=ethlin
2016-11-22 23:59:24 -08:00
Jeff Gilbert (:jgilbert)
4b2a875e8b
Bug 1313541 - Reimplement glue in accordance to webidl deviation minimization. - r=ethlin
...
MozReview-Commit-ID: 6w56cfegTz5
2016-10-31 15:03:22 -07:00
Jeff Gilbert
6b423ece44
Bug 1300946 - Implement transform feedback. - r=jrmuizel
...
MozReview-Commit-ID: 1xrEX4Srij1
2016-09-22 19:13:21 -07:00
Jeff Gilbert
407bc3c38c
Bug 1288649 - Fix non-unified-build errors. - r=ethlin
...
MozReview-Commit-ID: EI7FtmuEBl7
2016-07-25 14:46:20 -07:00
JerryShih
c801d201b6
Bug 1241042 - remove the original implementation. r=jgilbert
2016-07-18 20:19:04 +08:00
JerryShih
b44cfb7256
Bug 1241042 - save frag translated varying names into LinkedProgramInfo. r=jgilbert
...
Save the frag name info to the LinkedProgramInfo object. Then the fragment shader can be freely detached at any time.
2016-07-18 20:19:04 +08:00
Jeff Gilbert
55d9d2af29
Bug 1136494 - Update LinkInfo. - r=mtseng
...
MozReview-Commit-ID: Fr4j8bHO5AG
2016-07-18 00:19:19 -07:00
Jeff Gilbert
8bbaf9eeee
Bug 1136410 - Forbid attrib aliasing. - r=mtseng'
...
MozReview-Commit-ID: 6shjIyJQQ6V
2016-07-11 13:18:36 -07: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
9b0ebddb01
Bug 1241042 - Get correct frag varying from angle validator. r=jmuizelaar
2016-03-14 02:48:00 -04:00
Morris Tseng
1ae8baf23c
Bug 917505 - Add WEBGL_compressed_texture_es3 support. r=jgilbert r=smaug
...
--HG--
extra : commitid : 96pBvjbX0be
2016-01-08 10:12:22 +08: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
Jeff Muizelaar
5c21dbd45c
Bug 1218939. Fixup GetTransformFeedbackVarying. r=jgilbert
2015-11-14 10:58:27 -05:00
Jeff Muizelaar
6933e0086e
Bug 1220783. Map GetUniformIndices names. r=jgilbert
...
This is needed for things to work with the shader translator
2015-11-04 13:35:35 -05:00
Ehsan Akhgari
ecda739d3e
Bug 1216177 - Remove the remaining nsRefPtr forward declarations; r=froydnj
2015-10-19 12:02:14 -04: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
Jeff Gilbert
2e4a1c88ee
Bug 1182371 - Misc WebGL cleanup. - r=kamidphish
2015-07-14 17:37:28 -07:00
Dan Glastonbury
4273e0dc68
Bug 1048724 - Sort out Transform Feedback Varyings. r=jgilbert
2015-04-25 08:26:50 +10:00
Andrew McCreight
0c176ddcff
Bug 1062479 - Use static strings for WeakReference type names. r=ehsan
2015-04-24 09:43:01 -07:00
Dan Glastonbury
5893d8a315
Bug 1048747 - Cleanup how uniform interface blocks are handled. r=jgilbert
2015-04-21 15:38:30 +10:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
dc24477d79
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Jeff Gilbert
e1fba64ee2
Bug 1124430 - Implement GetFragDataLocation. - r=kamidphish
2015-01-26 17:10:25 -08:00
Jeff Gilbert
625fccbb86
Bug 1109945 - Rewrite shader/program handling. - r=kamidphish
2015-01-15 15:40:39 -08:00
Carsten "Tomcat" Book
ad7392f70a
Backed out changeset b5c6dd9423cf (bug 1109945) for gl2 test failures on a CLOSED TREE
2015-01-13 09:07:26 +01:00
Jeff Gilbert
20706f09c9
Bug 1109945 - Rewrite shader/program handling. - r=kamidphish
2015-01-12 19:51:20 -08:00
Wes Kocher
43fd1c9428
Backout ca411b1cf001 (bug 1109945) for shader editor failures
2015-01-09 21:03:54 -08:00
Jeff Gilbert
c0dd0d5346
Bug 1109945 - Rewrite shader/program handling. - r=kamidphish
2015-01-09 18:40:56 -08:00
Jeff Gilbert
44fbf3bf13
Bug 1099427 - Reformat WebGL. - r=kamidphish
2014-11-13 20:03:50 -08:00
Ehsan Akhgari
1b1d6ffebf
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Wes Kocher
aa4c8834b7
Backed out changeset 2422647220de (bug 1038899) for mochitest-2 bustage on a CLOSED TREE
2014-08-07 19:08:10 -07:00