In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
568 bytes added ,  05:12, 10 December 2015
Line 183: Line 183:  
|uint32_t OSScreenGetBufferSizeEx(int bufferNum)
 
|uint32_t OSScreenGetBufferSizeEx(int bufferNum)
 
|This returns the total byte-size of the primary+secondary framebuffers for the specified screen(single_framebufsize*2).
 
|This returns the total byte-size of the primary+secondary framebuffers for the specified screen(single_framebufsize*2).
 +
|-
 +
|OSScreenSetBufferEx
 +
|void OSScreenSetBufferEx(int bufferNum, uint32_t *vaddr_framebufptr)
 +
|This sets the framebuffer addresses for the specified screen. primary_framebuf = vaddr_framebufptr+0, secondary_framebuf = vaddr_framebufptr+single_framebuf_bytesize. The physical framebuffer addresses in hardware won't get updated until OSScreenFlipBuffersEx() is called. This function must be called before using any of the other OSScreen functions with this screen(besides OSScreenEnableEx), otherwise a crash will occur due to the framebuf addrs not being initialized.
 
|-
 
|-
 
|OSScreenFlipBuffersEx
 
|OSScreenFlipBuffersEx
340

edits

Navigation menu