update copyright date
[gnash.git] / libvaapi / VaapiDisplayGLX.h
blob2c25a1068ceb19e9a139bc9aa685e1bbb6ffaa8a
1 // VaapiDisplayGLX.h: VA/GLX display representation
2 //
3 // Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifndef GNASH_VAAPIDISPLAYGLX_H
21 #define GNASH_VAAPIDISPLAYGLX_H
23 #include "log.h"
24 #include <va/va_glx.h>
25 #include "VaapiDisplayX11.h"
27 namespace gnash {
29 /// VA/GLX display representation
30 struct VaapiDisplayGLX : public X11Display, VaapiDisplay {
31 VaapiDisplayGLX()
32 : VaapiDisplay(vaGetDisplayGLX(X11Display::get()))
33 { /* do nothing */ }
36 } // gnash namespace
38 #endif // GNASH_VAAPIDISPLAY_H
40 // local Variables:
41 // mode: C++
42 // indent-tabs-mode: nil
43 // End: