Skip to content
Commit 1087e70b authored by Maya Lekova's avatar Maya Lekova Committed by Chromium LUCI CQ
Browse files

v8binding: Introduce interface type support with [NADC]

This CL extends the list of supported argument types for fast V8 API
calls by allowing embedder objects to be passed. The NADC callback uses
the same mechanism for type checking that the default callback is
currently using, so no performance improvement is anticipated for now.
This will change in the future when embedder instance types are
implemented in V8: https://bugs.chromium.org/p/v8/issues/detail?id=11476.

The CL enables the new argument type for gl.bindBuffer.

Bug: chromium:1052746
Change-Id: I0bee5930f96e6e55d9352d433e6597fe7b5a17b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2877085


Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: default avatarYuki Shiino <yukishiino@chromium.org>
Reviewed-by: default avatarJustin Novosad <junov@chromium.org>
Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#882422}
parent eebef47d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment