зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
e75e48ed45
Коммит
9dbc70f9ac
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче