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

« back to all changes in this revision

Viewing changes to libdevice/egl/eglDevice.h

  • 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
//
2
 
//   Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
3
 
//   Foundation, Inc
 
2
//   Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
 
3
//   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
38
38
# error "This file needs EGL, which is part of OpenGL-ES"
39
39
#endif
40
40
 
 
41
#include "Point2d.h"
 
42
 
41
43
namespace gnash {
42
44
 
43
45
namespace renderer {
74
76
    /// Return a string with the error code as text, instead of a numeric value
75
77
    const char *getErrorString(int error);
76
78
 
 
79
    size_t getStride() {
 
80
        return getDepth() * getWidth();
 
81
    };
 
82
 
77
83
    // Accessors for the settings needed by higher level code.
78
84
    // Surface accessors
79
85
    size_t getWidth() {
80
86
        return getWidth(_eglSurface);
81
87
    };
 
88
    
82
89
    size_t getHeight() {
83
90
        return getHeight(_eglSurface);
84
91
    }