Drops
host_applications/android/apps/vidtex
interface/mmal/openmaxil
interface/mmal/client(/brcmjpeg)
as they aren't directly supported and need further fixup for 64bit.
When building software targeting Pi, it's common practice to use
the pkgconfig to assist building by specifying PKG_CONFIG_PATH.
Unfortunately, the presence of the legacy pkgconfig that conflict with
Mesa's libraries will cause issues for users that build against the
firmware pkgconfig, but wish to target Mesa. (Pi 4B or earlier revisions
using the f/kms overlay).
Although a possible workaround may be to omit the custom PKG_CONFIG_PATH
of the firmware pkgconfig during build, there are plausible use cases in
which to target a software build against Mesa whilst also leveraging
the non GL-specific firmware libraries (e.g. MMAL for hardware codec support
that works on the FKMS overlay, or BCM_HOST for basic board detection).
Note: this conflict is already resolved via the Raspbian packages by deliberately
omitting the conflicting .pc files during the packaging stage; see https://github.com/raspberrypi/firmware/issues/857
At the moment, much of the codebase compiles on 64-bit targets, but not
all (mostly 32-bit assembly). -DARM64=ON allows for skipping
directories which currently do not compile correctly.
This is backwards compatible with existing behavior (i.e. no -DARM on a
32-bit target compiles everything as before), and hopefully will
ultimately become unnecessary as remaining components are fixed for
64-bit use.
many packages expect packageconfig support especially for detecting EGL
libraries. This patch helps in compiling those packages on RPi
Signed-off-by: Khem Raj <raj.khem@gmail.com>
this helps in compiling components which use packageconfig to poke for
library versions and requiring minimum supported version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update RaspiStill framework to provide access to the new EGL image
targets that provide a fastpath for mapping the individual YUV planes to
one byte per pixel GL_LUMINANCE buffers. These are still accessed as OES
textures so this is effectively a greyscale image created from a single
plane of a MMAL buffer.
Also added some example code (yuv, sobel) that demonstrates how to use
the new EGL image targets.
Also, add -gc to the command line to capture the GL frame-buffer as a TGA file.
Thanks to Tim Gover
This function has been reimplemented in assembly, so that the data to be
processed can be preloaded ahead of when it is needed. To suit the quirks
of the BCM2708 L2 cache, each 32-byte cache line is preloaded only once,
and only at its lowest address. Speed improvements of up to 2.2x have been
measured over the un-optimised code.