Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Hollywood MAL AMIStore App Store A600 Memory

AuthorTopic: colour pens question..  (Read 1821 times)

0 Members and 1 Guest are viewing this topic.

Offline Minuous

Re: colour pens question..
« Reply #15 on: February 20, 2012, 07:18:27 AM »
I replaced the call to WritePixelArray8() with SetRGB32() & WritePixel(); this works but is very slow. Presumably doing efficient >8-bit output would require CGX/P96. That's probably not worth it in the case of this particular program.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
  • Total likes: 0
    • http://www.iki.fi/sintonen/
Re: colour pens question..
« Reply #16 on: February 20, 2012, 07:23:27 AM »
Quote from: Minuous;681076
I replaced the call to WritePixelArray8() with SetRGB32() & WritePixel(); this works but is very slow.

Yeah, there's a lot of overhead when writing single pixels like this.
Quote
Presumably doing efficient >8-bit output would require CGX/P96.

cybergraphics/WritePixelArray can be used to render truecolor gfx. P96 emulates this API.

Quote
That's probably not worth it in the case of this particular program.

Yeah. If it begins to matter then you should use cgx/WPA.