Results 1 to 7 of 7

Thread: Can i Add a component into object?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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.

  2. #2
    Quote Originally Posted by Sascha Willems View Post
    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...

    Thank you Sascha Willems...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •