Skip to content

Document vram_mgr - #44

Merged
dogo merged 1 commit into
masterfrom
feature/doc-vram-mgr
Sep 1, 2024
Merged

Document vram_mgr#44
dogo merged 1 commit into
masterfrom
feature/doc-vram-mgr

Conversation

@dogo

@dogo dogo commented Sep 1, 2024

Copy link
Copy Markdown
Owner

Summary

Added Doxygen documentation to vram_mgr.h, covering all macros, global variables, and functions related to VRAM management in OSLib.

Key Points

  • Macros: Documented OSL_VRAM_SIZE, OSL_VRAM_BASE, and OSL_VRAM_END.
  • Global Variables: Added descriptions for osl_useVramManager and osl_currentVramPtr.
  • Functions:
    • oslVramMgrInit(): Initializes the VRAM manager.
    • oslVramMgrAllocBlock(int blockSize): Allocates a block of VRAM.
    • oslVramMgrFreeBlock(void *blockAddress, int blockSize): Frees a VRAM block.
    • oslVramMgrSetParameters(void *adrStart, int size): Configures VRAM parameters.

This improves code clarity and aids future maintenance.

@dogo
dogo merged commit ac5b0c0 into master Sep 1, 2024
@dogo
dogo deleted the feature/doc-vram-mgr branch September 1, 2024 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant