Results 1 to 3 of 3

Thread: Texture Management

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2000

    Texture Management

    Hi, All!

    I can set texture priority by using glPrioritizeTextures(). Textures with hi priority are moved in "working set" and textures with low priority are moved out from it, if it's correct. That's good. But how can I determine size of "working set" for managing my textures, or may be I don't need to think about this stuff?

    Yours, Mad Max.

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2000

    Re: Texture Management

    You don't really need to think about the size, because the video card driver will move the texture in and out of memory when you use glTex and glDeletetex.

    But one thing you have to think about though is that if you working set is huge, maybe all the textures won't fit into your video card memory, so then the driver will put them in main memory or in Virtual memory(depending on the size of your ram). This will slow things up if their is a lot of swapping.

    But you shouldn't care about it too much. Just test your working set and don't worry about the size, and if in the end you that your program is not fast enough, well one the the bottleneck could be texture size, so you'll have to load less texture in memory and then you'll be able to put a MAX_SIZE for your program.

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2000

    Re: Texture Management

    Thank's, Gorg.

Similar Threads

  1. texture management
    By eixuery in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-17-2004, 09:46 AM
  2. texture management
    By MarsuGL in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 03-05-2002, 07:29 AM
  3. Banked Texture Management
    By Leo in forum OpenGL: Advanced Coding
    Replies: 19
    Last Post: 05-04-2001, 11:18 AM
  4. gl texture memory management
    By Xelatihy in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 12-17-2000, 10:57 AM
  5. texture management problems
    By Bruno in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 12-08-2000, 10:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean