laura (lschmid++at++mcopn1.dseg.ti.com)
Wed, 16 Nov 94 20:01:08 PST
I'm trying to find any examples or guidance of using
pixmode(PM_INPUT_FORMAT, PM_LUMINANCE) in a performer
application. The code works in a gl application, but
in the perf. program as a channel draw callback it
won't work.
The draw callback basically reads the framebuffer
(current channel) into an array of unsigned bytes and writes
the array back to the framebuffer. It seems to be reading ok,
but nothing writes back to the framebuffer. I'm pretty sure
I've made all the proper configuration calls: PM_STRIDE, PM_OFFSET,
PM_INPUT_FORMAT, readcomponent(), etc.
Any help would be greatly appreciated!
Laura Schmid
Texas Instruments
(214) 575-6122
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:40 PDT