Commit Graph

49 Commits

Author SHA1 Message Date
Jeff Gilbert
0a8b592fa5 Bug 1300946 - Implement transform feedback. - r=jrmuizel
MozReview-Commit-ID: 1xrEX4Srij1
2016-09-22 19:13:21 -07:00
Jeff Gilbert
df903c65f5 Bug 1303878 - Fix todos in WebGL. - r=mtseng
MozReview-Commit-ID: D15kLfHERAI
2016-09-22 19:13:16 -07:00
Jeff Gilbert
b5f396ad0b Bug 1293845 - Repair texture bindings->internals glue. - r=mtseng
MozReview-Commit-ID: CUDQGwhPTuU
2016-08-15 16:42:25 -07:00
Sebastian Hengst
e57392c50d Backed out changeset ca7b62d9efb7 (bug 1293845) 2016-08-13 12:38:25 +02:00
Jeff Gilbert
deed5d4def Bug 1293845 - Repair texture bindings->internals glue. - r=mtseng
MozReview-Commit-ID: CUDQGwhPTuU
2016-08-12 18:07:54 -07:00
Jeff Gilbert
344346e300 Bug 1288649 - Fix non-unified-build errors. - r=ethlin
MozReview-Commit-ID: EI7FtmuEBl7
2016-07-25 14:46:20 -07:00
Jeff Gilbert
5806b5d471 Bug 1280499 - Add stubs and forwards. - r=ethlin
MozReview-Commit-ID: BZUAGCjnINM
2016-07-25 13:52:41 -07:00
Jeff Gilbert
6f041c720e Bug 1136494 - Update uniform setters. - r=mtseng
MozReview-Commit-ID: 4jZrqgu4qQm
2016-07-18 00:19:19 -07:00
Jeff Gilbert
110109de0c Bug 1250710 - Add stub. - r=ethlin
MozReview-Commit-ID: B555z5b3pyx
2016-07-17 21:43:32 -07:00
Ethan Lin
6ca96b1f5a Bug 1237193 - Fix WebGL getActiveUniforms return type. r=jgilbert, r=smaug 2016-02-15 15:14:00 +01: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
Dan Glastonbury
a1e5d8020e Bug 1193070 - Implement GetFramebufferAttachmentParameter. r=jgilbert 2015-10-20 12:46:28 +10: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
f1604e10cc Bug 1170842 - Part 4: Implement FramebufferTextureLayer. r=jgilbert 2015-08-12 11:51:34 +10:00
Dan Glastonbury
a4d93f502d Bug 1170842 - Part 3: Implement GetInternalformatParameter. r=jgilbert, r=smaug 2015-08-12 11:51:16 +10:00
Dan Glastonbury
272a53bc63 Bug 1184402 - Reset format usage authority on context lose/restore. r=jgilbert 2015-08-06 10:30:51 +10:00
Jeff Gilbert
2d43600bc6 Bug 1188540 - Forward texture-related functions to WebGLTexture. - r=kamidphish 2015-08-03 14:34:46 -07:00
Jeff Gilbert
b1f1e1a811 Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Dan Glastonbury
235456fbd2 Bug 1170855 - Part 1: Extract WebGL 2 specific pnames. r=jgilbert 2015-06-11 15:12:05 +10:00
Phil Ringnalda
98e0a4358f Backed out 12 changesets (bug 1170855) for Windows build bustage
CLOSED TREE

Backed out changeset 47070f494c9e (bug 1170855)
Backed out changeset 86e3fb3a2295 (bug 1170855)
Backed out changeset 49284df5294e (bug 1170855)
Backed out changeset ae7c769cb78d (bug 1170855)
Backed out changeset 1fbb0ef29363 (bug 1170855)
Backed out changeset 1fd9140044be (bug 1170855)
Backed out changeset cca48a1bc6ef (bug 1170855)
Backed out changeset 835570bc63bf (bug 1170855)
Backed out changeset 4ee1883ffc65 (bug 1170855)
Backed out changeset c666d71f4899 (bug 1170855)
Backed out changeset 046422ea849f (bug 1170855)
Backed out changeset d38fb3aea20a (bug 1170855)
2015-06-10 20:47:07 -07:00
Dan Glastonbury
bacdca56cf Bug 1170855 - Part 1: Extract WebGL 2 specific pnames. r=jgilbert 2015-06-11 12:26:23 +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
730aa3bb4a Bug 1170454: Fix up instance type for VAOs. r=smaug,r=jgilbert 2015-06-10 11:53:08 +10:00
Andrea Marchesini
0b5ae9da6c Bug 1167423 - patch 5 - Handle return values of FallibleTArray functions in WebGL2Context, r=smaug 2015-05-25 12:50:15 +01:00
Dan Glastonbury
e8efe7e4db Bug 1048724 - Implement GetBufferSubData. r=jgilbert, r=smaug
The webidl and spec was wrong wrt returnedData param and the language
regarding its usage.
2015-04-22 11:24:12 +10:00
Dan Glastonbury
62a010a58d Bug 1155470 - Fix queries. r=jgilbert
es3fTransformFeedbackTests exposed problems with queries. Queries are needed
to get the number of transformed primitives.
2015-04-22 11:24:12 +10:00
Dan Glastonbury
9112cceae3 Bug 1048745 - Uniform array with Uint32Array. r=jgilbert, r=smaug 2015-03-26 14:27:44 +10:00
Dan Glastonbury
84bf0c5dba Bug 1145501 - Extend validation of BufferData usage. r=jgilbert 2015-03-24 10:41:24 +10:00
Dan Glastonbury
395913685e Bug 1048745 - Uniform with GLuint. r=jgilbert 2015-03-23 16:38:00 +10:00
Dan Glastonbury
ad878ca87a Bug 1048745 - Non square UniformMatrix. r=jgilbert 2015-03-23 16:37:59 +10:00
Ehsan Akhgari
ea41d8de48 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
3a822d99b4 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
Dan Glastonbury
2d825eb2f0 Bug 1048747 - [WebGL2] Implement uniform block/buffer. r=jgilbert, r=smaug 2014-12-16 15:20:15 +10: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
Dan Glastonbury
222307a25f Bug 1048745 - [WebGL2] Integer vertex attributes. r=jgilbert 2014-06-24 10:56:21 +10:00
Jeff Gilbert
d9b9968e9c Bug 1099427 - Reformat WebGL. - r=kamidphish 2014-11-13 20:03:50 -08:00
Dan Glastonbury
1b2697f028 Bug 1048719 - [WebGL2] Query objects. r=jgilbert 2014-11-03 15:35:04 +10:00
Benoit Jacob
e993a0bfea Bug 1083936 - WebGL2: Add texImage3D - r=jgilbert,smaug 2014-10-16 22:03:34 -04:00
David Anderson
2d522dd6dc WebGL2: implement TEXTURE_IMMUTABLE_FORMAT for getTexParameter (bug 1080299, r=jgilbert). 2014-10-14 16:33:59 -07:00
Benoit Jacob
f57cb21bd4 Bug 1081125 - WebGL2 3D textures - Part 4: implement texSubImage3D - r=jgilbert 2014-10-13 19:42:29 -04:00
Dan Glastonbury
87cd76bc13 Bug 1075195 - WebGL2: implement texStorage2D - r=bjacob,djg 2014-07-15 09:55:56 +10:00
Dan Glastonbury
26d916f798 Bug 1048666 - WebGL2 - Implement ClearBufferXXX APIs.; r=jgilbert,bjacob 2014-09-18 10:17:00 +10:00
Dan Glastonbury
561f8f6462 Bug 1002302 - WebGL2 - Stub WebGL 2.0 WebIDL, WebGL 2.0 Objects, and functions in WebGL2Context.; r=jgilbert,bjacob,smaug 2014-09-18 08:08:41 +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