Results 1 to 3 of 3

Thread: i have a question about priority settings...

  1. #1
    Guest

    i have a question about priority settings...

    how can I show a certain function higher priority than DrawGLScene?

    I want this other funtion to update faster than the display. Any help is greatly appreciated.

    -Ixstala

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,574

    Re: i have a question about priority settings...

    ... I don't know what kind of OS you are using that calls functions based on priority. Have whatever calls this function call some other function (that you want to have greater "priority") more. Even better, intersperce within your rendering code calls calls to other, "high priority" functions. So, if you want to have some function get called twice for every render loop, call it twice inside the render loop. Very simple, if you stop and think about it.

  3. #3
    Member Contributor
    Join Date
    Dec 2000
    Location
    Halifax, Nova Scotia, Canada
    Posts
    86

    Re: i have a question about priority settings...

    I'll assume Windows here; As Korval said, you can't set function priority, but if you use different threads, SetThreadPriority(h, Priority); might work for you.
    Joe

Similar Threads

  1. Question about common profile state settings
    By sthomas in forum COLLADA
    Replies: 12
    Last Post: 09-19-2006, 12:48 PM
  2. Swapbuffers priority
    By macarter in forum OpenGL: Advanced Coding
    Replies: 34
    Last Post: 04-23-2006, 09:12 AM
  3. set priority
    By Mickey_dup1 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 03-12-2006, 02:51 PM
  4. Texture Priority Problem
    By ysatou in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 02-05-2002, 05:01 PM
  5. Radeon's priority buffers
    By h2 in forum OpenGL: Advanced Coding
    Replies: 29
    Last Post: 03-17-2001, 09:16 PM

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