Difference between revisions of "Bdisp AllClr VRAM"

From WikiPrizm
Jump to navigationJump to search
Line 1: Line 1:
{{DISPLAYTITLE:Bdisp_AllClr_VRAM}}
+
{{syscall
== Synopsis ==
+
| name = Bdisp_AllClr_VRAM
'''Syscall:'''
+
| index =
 
+
| signature = void Bdisp_AllClr_VRAM(void)
'''Function declaration:''' void Bdisp_AllClr_VRAM(void);
+
| header =
 
+
| synopsis = Clears the contents of VRAM with white pixels.
Clears the contents of VRAM with white pixels.
+
| comments = It's not suggested you use this syscall to clear VRAM if speed is important.  Instead do 32-bit writes as (partially) described in [[Display#Optimization]]If you will be redrawing the entire display anyway, there is no need to clear VRAM in any case.
 
+
}}
=== Inputs ===
 
 
 
 
 
=== Outputs ===
 
 
 
 
 
== Comments ==
 
 
 
It's not suggested you use this syscall to clear VRAM; if possible, clear it with longwords in an inline for loop, for doubly as fast clearingAlso, if you are drawing to the entire LCD, it is advisable not to clear the LCD for speed reasons as it would be completely changed anyways.
 
 
 
[[Category:Syscalls]]
 

Revision as of 22:48, 16 May 2012


Synopsis

Header:
Syscall index:
Function signature: void Bdisp_AllClr_VRAM(void)

Clears the contents of VRAM with white pixels.

Comments

It's not suggested you use this syscall to clear VRAM if speed is important. Instead do 32-bit writes as (partially) described in Display#Optimization. If you will be redrawing the entire display anyway, there is no need to clear VRAM in any case.