Go to advanced search

by AllenBarnett
Fri Apr 05, 2019 1:16 am
Forum: Graphics programming
Topic: Transparency in an 8BPP dispmanx resource
Replies: 2
Views: 949

Re: Transparency in an 8BPP dispmanx resource

That works great! And sneaky, too! Thanks so much.

The color of my overlay don't look exactly like I would expect. Is it possible that the 32-bit palette format is BGRA?
by AllenBarnett
Thu Apr 04, 2019 12:07 am
Forum: Graphics programming
Topic: Transparency in an 8BPP dispmanx resource
Replies: 2
Views: 949

Transparency in an 8BPP dispmanx resource

Is it possible to make transparent pixels in a dispmanx resource with a type of VC_IMAGE_8BPP? The palette seems to be defined as an array of RGB565 colors. Is it possible to include an alpha value other than on the whole dispmanx element? I'm trying to draw a non-square image in one dispmanx layer ...
by AllenBarnett
Tue May 06, 2014 11:23 am
Forum: Graphics programming
Topic: gdb hangs in bcm_host_init
Replies: 4
Views: 3374

Re: gdb hangs in bcm_host_init

I don't know if it has been reported elsewhere. I did find a kind of work-around. See https://sourceware.org/gdb/onlinedocs/gdb/Non_002dStop-Mode.html. Setting non-stop to "on" allows you to run past bcm_host_init and get control back in your main thread. However, the drawback seems to be that you c...
by AllenBarnett
Sun May 04, 2014 4:39 pm
Forum: Graphics programming
Topic: gdb hangs in bcm_host_init
Replies: 4
Views: 3374

gdb hangs in bcm_host_init

With an up to date system, gdb hangs when calling bcm_host_init. 94 bcm_host_init(); (gdb) n [New Thread 0xb624a400 (LWP 2349)] (...wait a while and then go to another console and kill the process being debugged...) [Thread 0xb624a400 (LWP 2349) exited] warning: Unable to fetch general register. war...
by AllenBarnett
Mon Jan 06, 2014 5:40 pm
Forum: OpenVG
Topic: Square sqaures, Circular circles
Replies: 4
Views: 2412

Re: Square sqaures, Circular circles

ajstarks wrote: you may want to try a high-level library to help you: https://github.com/ajstarks/openvg
I was already looking at your rshapes example from another thread. The openvg library is very easy to use. I've now discovered that the TFT panel is not square to the TV's plastic frame :-) Thanks!
by AllenBarnett
Mon Jan 06, 2014 12:29 pm
Forum: OpenVG
Topic: Square sqaures, Circular circles
Replies: 4
Views: 2412

Re: Square sqaures, Circular circles

Thanks for tip, Andy. I'll break out the tape measure.

(Still getting the hang of this forum interface.)
by AllenBarnett
Sun Jan 05, 2014 3:44 pm
Forum: OpenVG
Topic: Square sqaures, Circular circles
Replies: 4
Views: 2412

Square sqaures, Circular circles

My Pi is connected via the composite output to one of these tiny TVs: http://www.adafruit.com/products/946 . I'm working on an application using OpenVG. I'm trying to find a combination of /boot/config.txt attributes, DISPMANX/EGL buffer size, and OpenVG view matrix such that drawing fills the TV sc...

Go to advanced search