© Jan Newmarch 2017

Jan Newmarch, Raspberry Pi GPU Audio Video Programming , 10.1007/978-1-4842-2472-4_4

4. Dispmanx on the Raspberry Pi

Jan Newmarch

(1)Oakleigh, Victoria, Australia

Dispmanx is the lowest level of programming for the RPi’s GPU. I don’t go very deeply into it in this chapter, but you’ll learn enough to get a native window for use by other toolkits.

Building Programs

The following is a Makefile to build the program in this chapter:

DMX_INC =  -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linuxINCLUDES = $(DMX_INC)CFLAGS = $(INCLUDES)CPPFLAGS = -march=armv7-a -mtune=cortex-a7DMX_LIBS =  -L/opt/vc/lib/ -lbcm_host -lvcos -lvchiq_arm -lpthreadLDFLAGS ...

Get Raspberry Pi GPU Audio Video Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.