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:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Justin Novosad <junov@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Cr-Commit-Position: refs/heads/master@{#882422}
Loading
Please register or sign in to comment