Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    Unsolved cache QImage on grapics card for fast blitting?

    General and Desktop
    1
    2
    104
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      davecotter last edited by davecotter

      On the mac, i can cache a bitmap on the graphics card by converting it to a CGLayerRef, then blitting that into my CGContext instead of directly from my bitmap. This makes the blit much faster.

      Is there an equivalent for QImage / QPainter?

      looking for a solution that works on windows too.

      1 Reply Last reply Reply Quote 0
      • D
        davecotter last edited by

        note i'm drawing into a QGraphicsView for all this. Would it be better to instead draw into a QOpenGLWidget ?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post