gfx/gl/AndroidSurfaceTexture.h
author Mozilla Releng Treescript <release+treescript@mozilla.org>
Fri, 16 Nov 2018 16:05:12 +0000
changeset 501264 f7da5f0188e1cdb842cef460b4e8bfd9af67f2fd
parent 442382 b6aad6761527b5156a11979eb2a6ed7b844eb224
child 444832 b2dca24b1741e6089c7fc1080493e2e230b52cb3
child 507309 5d897c0c7a25a155fae7347954d8dc9b58bb5703
permissions -rw-r--r--
No bug - Tagging 7473fdd1c21c00299314892ad74b10aa5af67179 with FIREFOX_64_0b10_RELEASE a=release CLOSED TREE DONTBUILD

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
// vim:set ts=2 sts=2 sw=2 et cin:
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef AndroidSurfaceTexture_h__
#define AndroidSurfaceTexture_h__
#ifdef MOZ_WIDGET_ANDROID

#include "mozilla/gfx/Matrix.h"
#include "SurfaceTexture.h"

typedef uint32_t AndroidSurfaceTextureHandle;

namespace mozilla {
namespace gl {

class AndroidSurfaceTexture {
public:
  static void GetTransformMatrix(java::sdk::SurfaceTexture::Param surfaceTexture,
                                 mozilla::gfx::Matrix4x4* outMatrix);

};

} // gl
} // mozilla

#endif // MOZ_WIDGET_ANDROID
#endif // AndroidSurfaceTexture_h__