Changes

Jump to navigation Jump to search
Line 1,199: Line 1,199:  
| 40 || [[#CreateManagedDisplayLayer]]
 
| 40 || [[#CreateManagedDisplayLayer]]
 
|-
 
|-
| 41 || [4.0.0+] IsSystemBufferSharingEnabled
+
| 41 || [4.0.0+] [[#IsSystemBufferSharingEnabled]]
 
|-
 
|-
| 42 || [4.0.0+] GetSystemSharedLayerHandle
+
| 42 || [4.0.0+] [[#GetSystemSharedLayerHandle]]
 
|-
 
|-
| 43 || [5.0.0+] GetSystemSharedBufferHandle
+
| 43 || [5.0.0+] [[#GetSystemSharedBufferHandle]]
 
|-
 
|-
 
| 50 || [[#SetHandlesRequestToDisplay]]
 
| 50 || [[#SetHandlesRequestToDisplay]]
Line 1,329: Line 1,329:  
=== CreateManagedDisplayLayer ===
 
=== CreateManagedDisplayLayer ===
 
Returns an output u64 LayerId which is then used by the user-process with [[Display_services#OpenLayer]].
 
Returns an output u64 LayerId which is then used by the user-process with [[Display_services#OpenLayer]].
 +
 +
=== IsSystemBufferSharingEnabled ===
 +
No input/output.
 +
 +
Not available when the current applet is an Application ([[#AppletId]] == 0x01).
 +
 +
Checks whether SystemBufferSharing is enabled, throwing an error otherwise.
 +
 +
=== GetSystemSharedLayerHandle ===
 +
No input, returns two output u64s "nn::vi::fbshare::SharedBufferHandle" and "nn::vi::fbshare::SharedLayerHandle".
 +
 +
Runs code similar to [[#IsSystemBufferSharingEnabled]] first.
 +
 +
=== GetSystemSharedBufferHandle ===
 +
No input, returns an output u64 "nn::vi::fbshare::SharedBufferHandle".
 +
 +
Runs code similar to [[#IsSystemBufferSharingEnabled]] first.
 +
 +
Same as [[#GetSystemSharedLayerHandle]] except this just gets the SharedBufferHandle.
    
=== SetHandlesRequestToDisplay ===
 
=== SetHandlesRequestToDisplay ===

Navigation menu