does GLEventListener.reshape() call display()

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

does GLEventListener.reshape() call display()

bcothren
Simple (?) question for yall...

When you resize the window that contains the GLEventListener I am assuming that reshape() gets called.  Is display() called once reshape is finished?

I've got to run, but I can elaborate on my interest into this question later if need be.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: does GLEventListener.reshape() call display()

snmvaughan
No. The GLEventListener is a notification/callback mechanism. Reshape doesn't change the size, it notifies you that the size was changed.

The order (in JOGL 2) is:

Init
Reshape
Display+

Until the size changes, then

Reshape
Display+

Until it is closed, then

Destroy.

--------------------------
Sent from my BlackBerry Wireless Handheld

 
From: bcothren [via jogamp] [mailto:[hidden email]]
Sent: Tuesday, March 15, 2011 05:33 PM
To: Vaughan, Steve
Subject: does GLEventListener.reshape() call display()
 
Simple (?) question for yall...

When you resize the window that contains the GLEventListener I am assuming that reshape() gets called.  Is display() called once reshape is finished?

I've got to run, but I can elaborate on my interest into this question later if need be.

Thanks


If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/does-GLEventListener-reshape-call-display-tp2683938p2683938.html
To start a new topic under jogl, email [hidden email]
To unsubscribe from jogl, click here.
Reply | Threaded
Open this post in threaded view
|

Re: does GLEventListener.reshape() call display()

bcothren
ahh, I see.  Thanks for the reply.