Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
render thread question
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: render thread question (Read 1631 times)
MichaelJPCT
float
Posts: 267
render thread question
«
on:
March 15, 2020, 09:50:38 am »
hi Egon,
when World.draw() returns, has GL finished drawing? or is it still working when my program does other work?
does framebuffer.display() finish all render work before return?
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: render thread question
«
Reply #1 on:
March 16, 2020, 08:05:40 am »
Depends on which renderer you are using. For the normal GL renderer, the work is done after World.draw(); The AWTGLRenderer renders in another thread, you can detect if it's done or not by using the IRenderHook.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
render thread question