DRM support in Android

Daniel Vetter daniel at ffwll.ch
Fri Jan 15 02:24:08 PST 2016


On Fri, Jan 15, 2016 at 09:35:27AM +0800, Chih-Wei Huang wrote:
> 2016-01-09 16:37 GMT+08:00 vijay kumar <vijaycn042 at gmail.com>:
> > Thanks Greg .You Helped me a lot.
> >
> > On Thu, Jan 7, 2016 at 10:52 PM, Greg Hackmann <ghackmann at google.com> wrote:
> >>
> >> On Tue, Jan 5, 2016 at 12:06 AM, vijay kumar <vijaycn042 at gmail.com> wrote:
> >>>
> >>> Hii all,
> >>>               I want to know some information regarding DRI and DRM
> >>> support in android.Does Android uses DRI drivers in MESA for Direct
> >>> rendering.
> >>
> >> The vendor needs to supply an EGL implementation at a well-known path
> >> (https://android.googlesource.com/platform/frameworks/native/+/android-6.0.1_r5/opengl/libs/EGL/Loader.cpp#41).
> >> This can be Mesa or a proprietary library.
> 
> Android-x86 is the first open source project
> that brought Mesa/DRM to the Android platform.
> Refer to:
> 
> http://sourceforge.net/p/android-x86/external_libdrm/
> http://sourceforge.net/p/android-x86/external_mesa/
> http://sourceforge.net/p/android-x86/external_drm_gralloc/ (Drm based
> gralloc HAL)
> 
> It's glad to see drm_gralloc is now a part of
> AOSP marshmallow release.
> Google Pixel C is probably the first (and only?) one
> android product that uses it.
> 
> We have a devel group working on that.
> If you are interesting, I can invite you to join.

Fyi Google just opened up their drm_hwcomposer implementation. Open as in
actually open for patches!

https://dev.chromium.org/android/contributing-to-drm_hwcomposer

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list