Results 1 to 2 of 2

Thread: OpenGL texture question

                  
   
  1. #1
    DCEmu Newbie
    Join Date
    Feb 2008
    Posts
    4
    Rep Power
    0

    Default OpenGL texture question

    Hello!

    This is a question for chui and his SDL-GL driver.

    When I load a texture I create a buffer with the raw data and then I create a texture id. After this I delete the buffer. Is this correct?

    If the Dreamcast hasn't got enough space in VRAM for textures does GL mantain a copy of it in the RAM? OpenGL does as I've said in a computer, but I dont' know how is it implemented in your driver.

    Thanks!

    David

  2. #2
    4ALLs coder chui's Avatar
    Join Date
    Aug 2004
    Location
    Madrid
    Posts
    414
    Rep Power
    74

    Default

    Quote Originally Posted by davidgf View Post
    Hello!

    This is a question for chui and his SDL-GL driver.

    When I load a texture I create a buffer with the raw data and then I create a texture id. After this I delete the buffer. Is this correct?

    If the Dreamcast hasn't got enough space in VRAM for textures does GL mantain a copy of it in the RAM? OpenGL does as I've said in a computer, but I dont' know how is it implemented in your driver.

    Thanks!

    David
    After create texture you can free this memory, it is not necessary any more times because GL has made a VRAM texture, so GL only support 8MB of 16bit textures.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •