mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
Added framebuffer and related attributes to XRWebGLLayer
This commit is contained in:
parent
dc1da02aa4
commit
aa0a72df0f
10 changed files with 158 additions and 46 deletions
|
@ -30,9 +30,9 @@ interface XRWebGLLayer : XRLayer {
|
|||
readonly attribute boolean stencil;
|
||||
readonly attribute boolean alpha;
|
||||
|
||||
// readonly attribute WebGLFramebuffer framebuffer;
|
||||
// readonly attribute unsigned long framebufferWidth;
|
||||
// readonly attribute unsigned long framebufferHeight;
|
||||
readonly attribute WebGLFramebuffer framebuffer;
|
||||
readonly attribute unsigned long framebufferWidth;
|
||||
readonly attribute unsigned long framebufferHeight;
|
||||
|
||||
// // Methods
|
||||
XRViewport? getViewport(XRView view);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue