Firemonkey is a separate framework. All the components in FireMonkey have been rewritten from scratch and don't use VCL at all (on windows it uses DirectX, on other platforms OpenGL (ES)), so that's why it may work there. And it's based on VGScene afaik, and not on glscene (though I've heard they "stole" some code from glScene).
So there is no way so i can put a twincontrol component in opengl behave like a glscene object?
No?
Well, you could draw the canvas of the TPanel (or all other TWinControls) to a Bitmap with e.g. BitBlt, and then feed that bitmap to OpenGL as a texture. This would allow you to display your TWinControl inside OpenGL. Though that won't be very fast.
Well, you could draw the canvas of the TPanel (or all other TWinControls) to a Bitmap with e.g. BitBlt, and then feed that bitmap to OpenGL as a texture. This would allow you to display your TWinControl inside OpenGL. Though that won't be very fast.
Yes i know about this... and already try it... it slow and became slower where more objects put in the panel... not so good option....
So i must think another way to decode the video and audio in the texture to use in glplane...
Bookmarks