~ubuntu-branches/ubuntu/saucy/gnash/saucy-proposed

« back to all changes in this revision

Viewing changes to libdevice/vaapi/VaapiSurfaceGLX.cpp

  • Committer: Package Import Robot
  • Author(s): Micah Gersten
  • Date: 2012-03-04 03:19:06 UTC
  • mfrom: (1.1.18) (3.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20120304031906-p6q5rnb0xhgpof7o
Tags: 0.8.10-3ubuntu1
* Merge from Debian testing (FFe: LP: #940876), remaining changes:
  - Use mozilla-flashplugin as the alternative for now
  - Change xulrunner-dev build dep to firefox-dev
* Drop the plugin API porting patch, this has been fixed upstream
  - drop debian/patches*
* Drop the following change as we want Adobe's player to take priority
  if it's installed
  - Set alternative priority to 50 so that it matches Adobe Flash's priority

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// VaapiSurfaceGLX.cpp: VA/GLX surface abstraction
2
2
// 
3
 
// Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
 
3
//   Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
4
4
// 
5
5
// This program is free software; you can redistribute it and/or modify
6
6
// it under the terms of the GNU General Public License as published by
202
202
 
203
203
    reset(reinterpret_cast<uintptr_t>(surface));
204
204
 
205
 
    log_debug("  -> surface %p\n", this->surface());
 
205
    log_debug(_("  -> surface %p\n", this->surface()));
206
206
}
207
207
 
208
208
VaapiSurfaceGLXImpl::~VaapiSurfaceGLXImpl()
209
209
{
210
210
    // GNASH_REPORT_FUNCTION;
211
211
 
212
 
    log_debug("VaapiSurface::~VaapiSurface(): surface %p\n", surface());
 
212
    log_debug(_("VaapiSurface::~VaapiSurface(): surface %p\n", surface()));
213
213
 
214
214
    if (!surface()) {
215
215
        return;
263
263
 
264
264
bool VaapiSurfaceGLX::update(boost::shared_ptr<VaapiSurface> surface)
265
265
{
266
 
    log_debug("VaapiSurfaceGLX::update(): from surface 0x%08x\n", surface->get());
 
266
    log_debug(_("VaapiSurfaceGLX::update(): from surface 0x%08x\n", surface->get()));
267
267
 
268
268
    return dynamic_cast<VaapiSurfaceGLXImpl *>(_impl.get())->update(surface);
269
269
}