July 30, 2010, 09:31:28 am
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Calendar
Login
Register
JavaGaming.org
/
Java Game APIs & Engines
/
jogl - Java Bindings for OpenGL
(Moderators:
ryanm
,
kapta
,
Ken Russell
,
TheAnalogKid
,
Riven
,
teletubo
)
/
Topic:
GLCanvas - Render on request - flickering
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: GLCanvas - Render on request - flickering (Read 172 times)
0 Members and 1 Guest are viewing this topic.
Nitram
JGO n00b
Offline
Posts: 1
GLCanvas - Render on request - flickering
«
on:
March 15, 2010, 05:15:52 am »
Hello,
I have a pretty nasty problem that does not go away.
I'm using a GLCanvas to render the OpenGL graphics to a pure AWT window upon request. The Canvas is a child of a Scrollpane and when ever AWT request redrawing the element, the OpenGL graphics are redrawn. Thats the part that works. How ever the graphics on the Canvas flicker. It looks like they are drawn and removed again shortly after.
I tried -Dsun.awt.noerasebackground=true to remove the problem. It worked, how ever it leads to major problems at the rest of my GUI. There are buttons within Panels with floating layout. Those move when the window is resized and then they leave traces on the background of the window.
Any ideas how to solve this?
Or is there any code needed to make it clearer?
Nitram
Logged
Pages: [
1
]
Go Up
Print
JavaGaming.org
/
Java Game APIs & Engines
/
jogl - Java Bindings for OpenGL
(Moderators:
ryanm
,
kapta
,
Ken Russell
,
TheAnalogKid
,
Riven
,
teletubo
)
/
Topic:
GLCanvas - Render on request - flickering
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussions
=> Off Topic
=> Newless Clubies
=> Tutorials
=> General Business Discussions
=> Jobs and Resumes
=> Suggestions
-----------------------------
Games Center
-----------------------------
=> Featured Games
=> Showcase
=> Contests
===> Tiny Game 2010
===> JGO Comp -Petite-
===> JGO Comp 2009
===> 4K Game Competition - 2010
===> 4K Game Competition - 2009
===> 4K Game Competition - 2008
===> 4K Game Competition - 2007
===> 4K Game Competition - 2006
===> 4K Game Competition - 2005
===> 16K LWJGL Competition - 2005
===> Java Technology Game Development Contest - 2004
-----------------------------
Game Development Topics
-----------------------------
=> Game Play/Design
=> OnLine Game Development & Networking
=> Performance Tuning
=> Tools Discussion
=> Shared Code
=> AI and Game Logic
=> Game Physics
=> Community & Volunteer Projects
-----------------------------
Java Game APIs & Engines
-----------------------------
=> JavaFX
=> Android
=> Java 3D
=> Java 2D
=> Java Sound
=> J2ME
=> jogl - Java Bindings for OpenGL
=> joal - Java Bindings for OpenAL
=> jinput - Java Game Controller API
=> jMonkeyEngine
=> LWJGL Development
=> Xith3D Forums
Loading...