Commit Graph

29 Commits

Author SHA1 Message Date
Jeff Gilbert (:jgilbert)
d0027ac1fa 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)
1b8947ea4f Bug 1305540 - Lazily bind PBO targets. - r=ethlin
MozReview-Commit-ID: B9WiCNfNsfY
2016-09-28 12:45:39 -07:00
Jeff Gilbert (:jgilbert)
5b92a25f0d 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)
88de7b2663 Bug 1300946 - Forbid simultaneous binding to TF and non-TF bind points. - r=jrmuizel 2016-09-22 19:13:21 -07:00
Jeff Gilbert
0a8b592fa5 Bug 1300946 - Implement transform feedback. - r=jrmuizel
MozReview-Commit-ID: 1xrEX4Srij1
2016-09-22 19:13:21 -07:00
Jeff Gilbert
f0605689d8 Bug 1300946 - GetCurrentBinding is the wrong approach. - r=jrmuizel
MozReview-Commit-ID: 866FkuUMMob
2016-09-22 19:13:20 -07:00
Ethan Lin
f993440190 Bug 1285100 - Fix bufferSubData when the returnData is null. r=jgilbert 2016-07-06 20:42:00 -04:00
Carsten "Tomcat" Book
177c17f3de Backed out changeset 323b479bd91f (bug 1285100) for webgl issues 2016-07-21 08:03:23 +02:00
Ethan Lin
0ae2159b92 Bug 1285100 - Fix bufferSubData when the returnData is null. r=jgilbert 2016-07-06 20:42:00 +02:00
eyim
e2c2b0b56c Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD
2016-06-06 11:17:23 -04:00
Jeff Gilbert
273e017f50 Bug 1220450 - Clear length on cache OOM. r=kamidphish
DONTBUILD a=relanding
2016-01-01 14:00:48 -05:00
Ryan VanderMeulen
b39294b97b Backout changeset 740e4ce7bb16 (bug 1220450) for landing with oddball whitespace. 2016-01-01 19:49:46 -05:00
Jeff Gilbert
dba34b6bfe Bug 1220450 - Clear length on cache OOM. r=kamidphish 2016-01-01 14:00:48 -05:00
Lars T Hansen
50c0a41719 Bug 1176214 - Part 12: Changes to WebGL. r=bz, r=clb 2015-11-26 12:47:53 +01: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
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
Dan Glastonbury
74e42988ad Bug 1167504 - Part 13: Unbind buffers from cached state on buffer deletion. r=jgilbert 2015-06-10 13:52:11 +10:00
Dan Glastonbury
0f72bf3eaa 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
05df9b16d3 Bug 1048724 - Sort out Transform Feedback Varyings. r=jgilbert 2015-04-25 08:26:50 +10:00
Mike Hommey
44945d9d4c 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
3ebe077748 Bug 1048731 - [WebGL2] Implement new buffer binding targets. r=jgilbert 2014-12-05 17:04:55 +10:00
Dan Glastonbury
a0c3443f2f Bug 1048724 - [WebGL2] Transform Feedback. r=jgilbert,smaug 2014-11-26 12:00:06 +10:00
Jeff Gilbert
d9b9968e9c Bug 1099427 - Reformat WebGL. - r=kamidphish 2014-11-13 20:03:50 -08:00
Dan Glastonbury
e9b4063ae5 Bug 1002281 - Change WebGLBindableName to make mGLName const. r=jgilbert
Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.
2014-11-17 12:21:04 +10:00
Phil Ringnalda
f0b536377b Back out changeset 63d194784378 (bug 1002281) for b2g build bustage
CLOSED TREE
2014-11-13 21:51:22 -08:00
Dan Glastonbury
6c1bf3e3e8 Bug 1002281 - Change WebGLBindableName to make mGLName const. r=jgilbert
Split the two functions into two classes. WebGLRenderBuffer and
WebGLVertexArray are special cases.
2014-11-14 14:15:10 +10:00
Jeff Gilbert
9564f8da60 Bug 1083611 - Use UniquePtr and fallible allocations. - r=kamidphish 2014-10-15 20:11:30 -07:00
Dan Glastonbury
e96312e8d7 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.
2014-05-07 13:11:18 +10:00
Birunthan Mohanathas
3ae7697323 Bug 946065 - Part 1: Move content/canvas/ to dom/ and flatten subdirectories. r=ehsan 2014-07-25 14:15:35 -07:00