Bug 1084514 - Fix AndroidSourceTexture namespace issues. r=dholbert CLOSED TREE

This worked in the unified build because it borrowed includes
and namespace references from other files.
This commit is contained in:
Ralph Giles 2014-10-17 11:31:00 -07:00
Родитель e75e48ed45
Коммит 9dbc70f9ac
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -18,6 +18,7 @@
#include "GLContext.h"
using namespace mozilla;
using namespace mozilla::gl;
using namespace mozilla::widget::android;
// UGH

Просмотреть файл

@ -5,6 +5,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "GLBlitHelper.h"
#include "AndroidSurfaceTexture.h"
#include "GLContext.h"
#include "ScopedGLHelpers.h"
#include "mozilla/Preferences.h"
@ -738,7 +739,7 @@ GLBlitHelper::BlitSurfaceTextureImage(layers::SurfaceTextureImage* stImage)
surfaceTexture->UpdateTexImage();
Matrix4x4 transform;
gfx::Matrix4x4 transform;
surfaceTexture->GetTransformMatrix(transform);
mGL->fUniformMatrix4fv(mTextureTransformLoc, 1, false, &transform._11);