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
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
ad64b41497
Bug 1450148 - Generic TF Buffer slot moved to Context from TFO. - r=kvark
...
MozReview-Commit-ID: C2YkjedeFTy
2018-04-03 16:25:21 -07:00
Jeff Gilbert
ff584c03d1
Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak
...
MozReview-Commit-ID: HxWWPmD1Yzu
2017-12-19 22:28:49 -08: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
JerryShih
8f4560dc72
Bug 1379995 - reset the mBufferFetchingIsVerified flag after the webgl deleteBuffer call. r=jgilbert
...
If the buffer status was changed, we should do the ValidateBufferFetching() again.
MozReview-Commit-ID: 7czQFT3qauE
--HG--
extra : rebase_source : ee2635289d0d3e7c115b2a9d9f52c3ae876830d5
2017-08-23 16:57:41 +08:00
Jeff Gilbert
d401ac72c1
Bug 1339256 - Simplify index validation. - r=kvark
...
MozReview-Commit-ID: 4FALdIyhBP8
2017-03-09 18:57:43 -08:00
Jeff Gilbert
5a028b1063
Bug 1330022 - Centralize VertexAttrib[I]Pointer calls to improve perf. - r=kvark
...
MozReview-Commit-ID: IcGNZhJTU5K
2017-02-13 15:37:54 -08:00
Sebastian Hengst
e430d3ec19
Backed out changeset 0528322db042 (bug 1330022) for failing test_conformance__more__functions__vertexAttribPointerBadArgs.htm. r=backout
2017-02-10 23:32:32 +01:00
Jeff Gilbert
ef8ebd3d10
Bug 1330022 - Centralize VertexAttrib[I]Pointer calls to improve perf. - r=kvark
...
MozReview-Commit-ID: IcGNZhJTU5K
2017-02-10 13:31:08 -08: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
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
3f9fc7d30d
Bug 1325516 (flattened) - Misc fixes and simplify IMPL_COLOR_READ_FORMAT/TYPE and ensure that we only return valid ones. - r=daoshengmu
2016-12-25 13:44:49 -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)
38330f393b
Bug 1310247 - Check if buffers are bound for transform feedback. - r=ethlin
...
MozReview-Commit-ID: 4EsOdz7vXNH
2016-11-23 13:19:07 -08:00
Jeff Gilbert (:jgilbert)
1a57a7121a
Bug 1318507 - Update implementation. - r=ethlin
2016-11-22 23:59:24 -08:00
Emilio Cobos Álvarez
042aca2b61
Bug 1301671 - Cannot bind deleted objects. - r=jgilbert
...
MozReview-Commit-ID: DV6a2pYMyIU
2016-11-17 13:31:05 -08:00
Jeff Gilbert (:jgilbert)
6ffdc434af
Bug 1313541 - GetBufferSubData impl. - r=ethlin
...
MozReview-Commit-ID: BOQYxIAqsDN
2016-10-31 15:02:56 -07:00
Jeff Gilbert (:jgilbert)
8926e3f440
Bug 1313541 - Buffer[Sub]Data impl. - r=ethlin
...
MozReview-Commit-ID: 4cmfDQuegxm
2016-10-31 15:02:48 -07:00
Jeff Gilbert (:jgilbert)
cdf8519d85
Bug 1305190 - Fix vertex attrib elem size calculations. - r=ethlin
...
MozReview-Commit-ID: KXpLbIu8pRr
2016-09-29 13:49:25 -07:00
Jeff Gilbert (:jgilbert)
d74696d42b
Bug 1305540 - Lazily bind PBO targets. - r=ethlin
...
MozReview-Commit-ID: B9WiCNfNsfY
2016-09-28 12:45:39 -07:00
Jeff Gilbert (:jgilbert)
f349254d5d
Bug 1300946 - Only clear TFO indexed bindings on delete if TFO is inactive. - r=ethlin
...
MozReview-Commit-ID: JNG2I3saqva
2016-09-22 19:13:22 -07:00
Jeff Gilbert (:jgilbert)
baf5383538
Bug 1300946 - Forbid simultaneous binding to TF and non-TF bind points. - r=jrmuizel
2016-09-22 19:13:21 -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
9f5c1ddc1d
Bug 1300946 - GetCurrentBinding is the wrong approach. - r=jrmuizel
...
MozReview-Commit-ID: 866FkuUMMob
2016-09-22 19:13:20 -07:00
Ethan Lin
e2381526b7
Bug 1285100 - Fix bufferSubData when the returnData is null. r=jgilbert
...
--HG--
extra : rebase_source : 7a844e306abd398de96142a3192eadd009864ccd
2016-07-06 20:42:00 -04:00
Carsten "Tomcat" Book
0e01bff3d3
Backed out changeset 323b479bd91f (bug 1285100) for webgl issues
...
--HG--
extra : rebase_source : 12fe2e27927b16c971667ecb4fa625f67b3f1be5
2016-07-21 08:03:23 +02:00
Ethan Lin
dbede03dce
Bug 1285100 - Fix bufferSubData when the returnData is null. r=jgilbert
2016-07-06 20:42:00 +02: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
Jeff Gilbert
7a82450687
Bug 1220450 - Clear length on cache OOM. r=kamidphish
...
DONTBUILD a=relanding
--HG--
extra : source : 740e4ce7bb1623505a8555c9a2be80f8700e32fe
extra : amend_source : 9026a1b1416a7f46978b816f7866fa298bc85bba
2016-01-01 14:00:48 -05:00
Ryan VanderMeulen
6c23983753
Backout changeset 740e4ce7bb16 (bug 1220450) for landing with oddball whitespace.
2016-01-01 19:49:46 -05:00
Jeff Gilbert
ca26d27230
Bug 1220450 - Clear length on cache OOM. r=kamidphish
2016-01-01 14:00:48 -05: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
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
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
Dan Glastonbury
71efcb229e
Bug 1167504 - Part 13: Unbind buffers from cached state on buffer deletion. r=jgilbert
2015-06-10 13:52:11 +10:00
Dan Glastonbury
a116578a52
Bug 1167504 - Part 11: Clean up buffer binding constraints. r=jgilbert
...
Checked against http://www.khronos.org/registry/webgl/sdk/tests/conformance2/buffers/
2015-06-10 13:52:10 +10:00
Dan Glastonbury
4273e0dc68
Bug 1048724 - Sort out Transform Feedback Varyings. r=jgilbert
2015-04-25 08:26:50 +10:00
Mike Hommey
c39e359c7d
Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Dan Glastonbury
ebb118a497
Bug 1048731 - [WebGL2] Implement new buffer binding targets. r=jgilbert
...
--HG--
extra : rebase_source : cbba1bb1995a35e7238b40a6819274d2fb15a40c
extra : source : 0f5fc69cd1f616e224ff5837f4c7486c126197e0
2014-12-05 17:04:55 +10:00
Dan Glastonbury
baf3f4332f
Bug 1048724 - [WebGL2] Transform Feedback. r=jgilbert,smaug
...
--HG--
extra : rebase_source : 40fe3ec66b091ced40f5a773fdc23d06bf6abc11
2014-11-26 12:00:06 +10:00
Jeff Gilbert
44fbf3bf13
Bug 1099427 - Reformat WebGL. - r=kamidphish
2014-11-13 20:03:50 -08:00
Dan Glastonbury
89a0a8b4f6
Bug 1002281 - Change WebGLBindableName to make mGLName const. r=jgilbert
...
Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.
--HG--
extra : source : 547e328ef878882bce8df3fc1b1e28926d910f1d
2014-11-17 12:21:04 +10:00
Phil Ringnalda
9d65fddd43
Back out changeset 63d194784378 (bug 1002281) for b2g build bustage
...
CLOSED TREE
2014-11-13 21:51:22 -08:00
Dan Glastonbury
155f4147de
Bug 1002281 - Change WebGLBindableName to make mGLName const. r=jgilbert
...
Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.
--HG--
extra : source : 3e8c03d1e6a7845a608c4770981cec1dd8b09977
2014-11-14 14:15:10 +10:00
Jeff Gilbert
47497b0b94
Bug 1083611 - Use UniquePtr and fallible allocations. - r=kamidphish
2014-10-15 20:11:30 -07:00
Dan Glastonbury
6b75239d46
Bug 1002281 - WebGL2 - Refactor common functions into WebGLBindableName.; r=jgilbert
...
WebGLBindableName represents a GL 'name' (GLuint) that can be bound to
part of the GL state machine. Similar code appeared in a number of
classes that represent GL bindable names, such as WebGLBuffer,
WebGLTexture, WebGLFramebuffer, etc.
Cleanup to reduce copy-n-paste code that's needed for creating new
objects for WebGL 2.
--HG--
extra : source : ad7803e3daf5862099f62f24fdbc83639be1ed5a
2014-05-07 13:11:18 +10:00