Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4008640
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:46:48+00:00 2026-05-20T08:46:48+00:00

ios, quartz2d, fastest way of drawing bitmap context into window context? hallo, sorry for

  • 0

ios, quartz2d, fastest way of drawing bitmap context into window context?

hallo, sorry for my weak english,

I am looking hardly for fastest possible way of redrawing bitmap
context (which holds pointer to may raw bitmap data) onto iphone
view window context

in the examples i have found in the net people are doing this by
making CGImage from such bitmap context then making UIImage
from this and drawing it onto the view

i am thinking if it is a fastest way of doing it? do i need to create
then release CGImage – in documentation there is info that
making CGImage copy data – is it possible to send my bitmap context
data straight to window context without allocating/ copying then
releasing it in CGImage? (which seem physically not necessary)

parade

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T08:46:49+00:00Added an answer on May 20, 2026 at 8:46 am

    I think I see what you are getting at. You have a pointer to the bitmap data and you just want the window to display that. On the old Mac OS (9 and previous) you could write draw directly to video memory, but you can’t do that anymore. Back then video memory was part of RAM and now it’s all on the OpenGL card.

    At some level the bitmap data will have to be copied at least once. You can either do it directly by creating an OpenGL texture from the data and drawing that in an OpenGL context or you can use the UIImage approach. The UIImage approach will be slower and may contain two or more copies of the bitmap data, once to the UIImage and once when rendering the UIImage.

    In either case, you need to create and release the CGImage.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does iOS offer a way for an app to query the device for information
With iOS 5 and storyboarding, what is the best way to present a view
iOS: Splitting NSString into FilePath&Name + Extension How do I split @blah/.../myfile.txt into @blah/.../myfile
Using iOS 5's new TWRequest API, I've ran into a brick wall related with
iOS development is now done using only the latest SDK. Is there any way
Given iOS's SCNetworkReachability API configured like this: SCNetworkReachabilityRef reachabilityRef = SCNetworkReachabilityCreateWithName(NULL, example.com); SCNetworkReachabilityContext context
iOS 5's Mail app has a nifty little swipe gesture that brings up the
iOS apps will have a class that adopts the UIApplicationDelegate, called something like xxxAppDelegate.
iOS development guidelines suggest 44 points to be a minimum tappable area, comfortable for
iOS uses a variant of PNG processed a tool called pngcrush . If I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.