diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-08-30 12:36:03 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-08-30 12:36:40 +0200 |
commit | 4f504d46be3df72acba5892da090355b2189974d (patch) | |
tree | 3650276d8277244e1ba0839022e80c4db7dec949 /gfx/layers | |
parent | 1edc7328f216117a0178c78d70e43a7bfc705089 (diff) | |
download | uxp-4f504d46be3df72acba5892da090355b2189974d.tar.gz |
Revert "Bug 1388020. r=nical, a=RyanVM"
This reverts commit e7189e33f533f9b974b22c2110b522a13bc4c7f6.
Diffstat (limited to 'gfx/layers')
-rw-r--r-- | gfx/layers/composite/TextureHost.cpp | 3 | ||||
-rw-r--r-- | gfx/layers/opengl/TextureHostOGL.cpp | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gfx/layers/composite/TextureHost.cpp b/gfx/layers/composite/TextureHost.cpp index e4a2ffd869..b342f1d184 100644 --- a/gfx/layers/composite/TextureHost.cpp +++ b/gfx/layers/composite/TextureHost.cpp @@ -890,7 +890,8 @@ BufferTextureHost::Upload(nsIntRegion *aRegion) mFirstSource = mCompositor->CreateDataTextureSource(mFlags|TextureFlags::RGB_FROM_YCBCR); mFirstSource->SetOwner(this); } - return mFirstSource->Update(surf, aRegion); + mFirstSource->Update(surf, aRegion); + return true; } RefPtr<DataTextureSource> srcY; diff --git a/gfx/layers/opengl/TextureHostOGL.cpp b/gfx/layers/opengl/TextureHostOGL.cpp index ec6ba91312..02c398b51f 100644 --- a/gfx/layers/opengl/TextureHostOGL.cpp +++ b/gfx/layers/opengl/TextureHostOGL.cpp @@ -161,7 +161,9 @@ TextureImageTextureSourceOGL::Update(gfx::DataSourceSurface* aSurface, } } - return mTexImage->UpdateFromDataSource(aSurface, aDestRegion, aSrcOffset); + mTexImage->UpdateFromDataSource(aSurface, aDestRegion, aSrcOffset); + + return true; } void |