Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GNASH_VAAPISURFACEPROXY_H
00021 #define GNASH_VAAPISURFACEPROXY_H
00022
00023 #include "vaapi_common.h"
00024
00025 namespace gnash {
00026
00027
00028 class VaapiContext;
00029 class VaapiSurface;
00030 class VaapiImage;
00031
00033 class DSOEXPORT VaapiSurfaceProxy {
00034 boost::shared_ptr<VaapiContext> _context;
00035 boost::shared_ptr<VaapiSurface> _surface;
00036
00037 public:
00038 VaapiSurfaceProxy(boost::shared_ptr<VaapiSurface> surface,
00039 boost::shared_ptr<VaapiContext> context);
00040 ~VaapiSurfaceProxy();
00041
00043 boost::shared_ptr<VaapiSurface> get() const { return _surface; }
00044
00046 boost::shared_ptr<VaapiContext> getContext() const { return _context; }
00047 };
00048
00049 }
00050
00051 #endif // GNASH_VAAPISURFACEPROXY_H
00052
00053
00054
00055
00056
00057