Bug 1735097 - Geolocation: use EpochTimeStamp instead of DOMTimeStamp r=saschanaz...
[gecko.git] / gfx / gl / AndroidSurfaceTexture.h
blob6351a42d0a0883ce7d87a90dd28bbbeb00ee1310
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 // vim:set ts=2 sts=2 sw=2 et cin:
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef AndroidSurfaceTexture_h__
8 #define AndroidSurfaceTexture_h__
10 #include "mozilla/gfx/Matrix.h"
12 typedef uint32_t AndroidSurfaceTextureHandle;
14 #ifdef MOZ_WIDGET_ANDROID
16 # include "SurfaceTexture.h"
18 namespace mozilla {
19 namespace gl {
21 class AndroidSurfaceTexture {
22 public:
23 static void Init();
24 static void GetTransformMatrix(
25 java::sdk::SurfaceTexture::Param surfaceTexture,
26 mozilla::gfx::Matrix4x4* outMatrix);
29 } // namespace gl
30 } // namespace mozilla
32 #endif // MOZ_WIDGET_ANDROID
34 #endif // AndroidSurfaceTexture_h__