Re: [RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-09-03 Thread Ander Conselvan de Oliveira
On 09/02/2013 05:57 PM, Daniel Vetter wrote: On Fri, Aug 23, 2013 at 05:15:48PM +0300, Ander Conselvan de Oliveira wrote: From: Ander Conselvan de Oliveira This patch adds a feature to the DRM backend that uses libva for encoding the screen contents in H.264. Screen recording can be activated

Re: [RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-09-02 Thread Daniel Vetter
On Fri, Aug 30, 2013 at 06:25:30PM +0300, Ander Conselvan de Oliveira wrote: > On 08/30/2013 07:37 AM, Kristian Høgsberg wrote: > >On Fri, Aug 23, 2013 at 05:15:48PM +0300, Ander Conselvan de Oliveira wrote: > >>From: Ander Conselvan de Oliveira > >> > >>This patch adds a feature to the DRM backen

Re: [RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-09-02 Thread Daniel Vetter
On Fri, Aug 23, 2013 at 05:15:48PM +0300, Ander Conselvan de Oliveira wrote: > From: Ander Conselvan de Oliveira > > This patch adds a feature to the DRM backend that uses libva for > encoding the screen contents in H.264. Screen recording can be > activated by pressing mod-shift-space q. A file

Re: [RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-08-30 Thread Kristian Høgsberg
On Fri, Aug 30, 2013 at 09:10:06AM -0400, Daniel Stone wrote: > Hi, > > On 30 August 2013 03:56, wrote: > > On 30/08/2013 06:37, Kristian Høgsberg wrote: > >> On Fri, Aug 23, 2013 at 05:15:48PM +0300, Ander Conselvan de Oliveira > >> wrote: > >>> +PKG_CHECK_MODULES(LIBVA, [libva >= 0.34.0 libva-

Re: [RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-08-30 Thread Ander Conselvan de Oliveira
On 08/30/2013 07:37 AM, Kristian Høgsberg wrote: On Fri, Aug 23, 2013 at 05:15:48PM +0300, Ander Conselvan de Oliveira wrote: From: Ander Conselvan de Oliveira This patch adds a feature to the DRM backend that uses libva for encoding the screen contents in H.264. Screen recording can be activa

Re: [RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-08-30 Thread Daniel Stone
Hi, On 30 August 2013 03:56, wrote: > On 30/08/2013 06:37, Kristian Høgsberg wrote: >> On Fri, Aug 23, 2013 at 05:15:48PM +0300, Ander Conselvan de Oliveira >> wrote: >>> +PKG_CHECK_MODULES(LIBVA, [libva >= 0.34.0 libva-drm >= 0.34.0], >>> [have_libva=yes], [have_libva=no]) >>> +AS_IF([test "x$h

Re: [RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-08-30 Thread sardemff7+wayland
On 30/08/2013 06:37, Kristian Høgsberg wrote: On Fri, Aug 23, 2013 at 05:15:48PM +0300, Ander Conselvan de Oliveira wrote: +PKG_CHECK_MODULES(LIBVA, [libva >= 0.34.0 libva-drm >= 0.34.0], [have_libva=yes], [have_libva=no]) +AS_IF([test "x$have_libva" = "xyes"], + [AC_DEFINE([HAVE_LIBVA], [

Re: [RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-08-29 Thread Kristian Høgsberg
On Fri, Aug 23, 2013 at 05:15:48PM +0300, Ander Conselvan de Oliveira wrote: > From: Ander Conselvan de Oliveira > > This patch adds a feature to the DRM backend that uses libva for > encoding the screen contents in H.264. Screen recording can be > activated by pressing mod-shift-space q. A file

[RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-08-23 Thread Ander Conselvan de Oliveira
From: Ander Conselvan de Oliveira This patch adds a feature to the DRM backend that uses libva for encoding the screen contents in H.264. Screen recording can be activated by pressing mod-shift-space q. A file named capture.h264 will be created in the current directory, which can be muxed into an