diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/MediaTexture.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/android/MediaTexture.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/MediaTexture.cpp b/Source/WebCore/platform/graphics/android/MediaTexture.cpp index e12518e..98dca22 100644 --- a/Source/WebCore/platform/graphics/android/MediaTexture.cpp +++ b/Source/WebCore/platform/graphics/android/MediaTexture.cpp @@ -64,6 +64,7 @@ MediaTexture::MediaTexture(jobject webViewRef) : android::LightRefBase<MediaText } m_contentTexture = 0; + m_isContentInverted = false; m_newWindowRequest = false; } @@ -80,6 +81,17 @@ MediaTexture::~MediaTexture() } } +bool MediaTexture::isContentInverted() +{ + android::Mutex::Autolock lock(m_mediaLock); + return m_isContentInverted; +} +void MediaTexture::invertContents(bool invertContent) +{ + android::Mutex::Autolock lock(m_mediaLock); + m_isContentInverted = invertContent; +} + void MediaTexture::initNativeWindowIfNeeded() { { |