Contact emails
kai...@chromium.org, k...@chromium.org
Spec
This is an experimental change, hidden behind a flag, with no formal spec. Any future version of this API which is intended to ship will have a different design, to be determined.
When a frame of an HTMLVideoElement is uploaded to a WebGLTexture, the metadata (width, height, and timestamp) of that frame shall be snapshotted. These values are accessed via the following attributes added to WebGLTexture, and shall be visible immediately after the return of the uploading function (e.g. texImage2D):
interface WebGLTexture {
readonly attribute unsigned long lastUploadedVideoWidth;
readonly attribute unsigned long lastUploadedVideoHeight;
readonly attribute double lastUploadedVideoTimestamp;
};
Summary
Allows WebGL developers to query metadata about the exact frame that is visible to their WebGL application via a WebGLTexture.
Motivation
This experimental API is a request from the YouTube 360 team. It will allow them to experiment with getting better alignment of their metadata and video stream with the frame that's currently being displayed. A future, specified, cross-browser API will replace this API for real use.Interoperability and Compatibility Risk
Never intended to launch. The API which replaces this experiment will be vetted by all UAs for implementability.
Ongoing technical constraints
This is expected to be removed after prototyping is complete, in preparation for a formally specified API to take its place.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
OWP launch tracking bug
Will never launch.
Link to entry on the feature dashboard
N/A
Requesting approval to ship?
No.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Contact emails
kai...@chromium.org, k...@chromium.org
Spec
This is an experimental change, hidden behind a flag, with no formal spec. Any future version of this API which is intended to ship will have a different design, to be determined.
When a frame of an HTMLVideoElement is uploaded to a WebGLTexture, the metadata (width, height, and timestamp) of that frame shall be snapshotted. These values are accessed via the following attributes added to WebGLTexture, and shall be visible immediately after the return of the uploading function (e.g. texImage2D):
interface WebGLTexture {
readonly attribute unsigned long lastUploadedVideoWidth;
readonly attribute unsigned long lastUploadedVideoHeight;
readonly attribute double lastUploadedVideoTimestamp;
};
Summary
Allows WebGL developers to query metadata about the exact frame that is visible to their WebGL application via a WebGLTexture.
Motivation
This is to be used for experimental prototyping efforts to make sure that a similar API will provide the necessary info to applications.
Interoperability and Compatibility Risk
Never intended to launch. The API which replaces this experiment will be vetted by all UAs for implementability.
Ongoing technical constraints
This is expected to be removed after prototyping is complete, in preparation for a formally specified API to take its place.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
OWP launch tracking bug
Never intended to launch.