Other Tools

// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/GeckoSurfaceTextureWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
const char GeckoSurfaceTexture::name[] =
"org/mozilla/gecko/gfx/GeckoSurfaceTexture";
constexpr char GeckoSurfaceTexture::AttachToGLContext_t::name[];
constexpr char GeckoSurfaceTexture::AttachToGLContext_t::signature[];
auto GeckoSurfaceTexture::AttachToGLContext(int64_t a0, int32_t a1) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<AttachToGLContext_t>::Call(GeckoSurfaceTexture::mCtx, &rv, a0, a1);
return rv;
}
constexpr char GeckoSurfaceTexture::DecrementUse_t::name[];
constexpr char GeckoSurfaceTexture::DecrementUse_t::signature[];
auto GeckoSurfaceTexture::DecrementUse() const -> void
{
return mozilla::jni::Method<DecrementUse_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
}
constexpr char GeckoSurfaceTexture::DestroyUnused_t::name[];
constexpr char GeckoSurfaceTexture::DestroyUnused_t::signature[];
auto GeckoSurfaceTexture::DestroyUnused(int64_t a0) -> void
{
return mozilla::jni::Method<DestroyUnused_t>::Call(GeckoSurfaceTexture::Context(), nullptr, a0);
}
constexpr char GeckoSurfaceTexture::DetachFromGLContext_t::name[];
constexpr char GeckoSurfaceTexture::DetachFromGLContext_t::signature[];
auto GeckoSurfaceTexture::DetachFromGLContext() const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<DetachFromGLContext_t>::Call(GeckoSurfaceTexture::mCtx, &rv);
return rv;
}
constexpr char GeckoSurfaceTexture::GetHandle_t::name[];
constexpr char GeckoSurfaceTexture::GetHandle_t::signature[];
auto GeckoSurfaceTexture::GetHandle() const -> int32_t
{
return mozilla::jni::Method<GetHandle_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
}
constexpr char GeckoSurfaceTexture::GetTexName_t::name[];
constexpr char GeckoSurfaceTexture::GetTexName_t::signature[];
auto GeckoSurfaceTexture::GetTexName() const -> int32_t
{
return mozilla::jni::Method<GetTexName_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
}
constexpr char GeckoSurfaceTexture::IncrementUse_t::name[];
constexpr char GeckoSurfaceTexture::IncrementUse_t::signature[];
auto GeckoSurfaceTexture::IncrementUse() const -> void
{
return mozilla::jni::Method<IncrementUse_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
}
constexpr char GeckoSurfaceTexture::IsAttachedToGLContext_t::name[];
constexpr char GeckoSurfaceTexture::IsAttachedToGLContext_t::signature[];
auto GeckoSurfaceTexture::IsAttachedToGLContext(int64_t a0) const -> bool
{
return mozilla::jni::Method<IsAttachedToGLContext_t>::Call(GeckoSurfaceTexture::mCtx, nullptr, a0);
}
constexpr char GeckoSurfaceTexture::IsSingleBuffer_t::name[];
constexpr char GeckoSurfaceTexture::IsSingleBuffer_t::signature[];
auto GeckoSurfaceTexture::IsSingleBuffer() const -> bool
{
return mozilla::jni::Method<IsSingleBuffer_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
}
constexpr char GeckoSurfaceTexture::IsSingleBufferSupported_t::name[];
constexpr char GeckoSurfaceTexture::IsSingleBufferSupported_t::signature[];
auto GeckoSurfaceTexture::IsSingleBufferSupported() -> bool
{
return mozilla::jni::Method<IsSingleBufferSupported_t>::Call(GeckoSurfaceTexture::Context(), nullptr);
}
constexpr char GeckoSurfaceTexture::Lookup_t::name[];
constexpr char GeckoSurfaceTexture::Lookup_t::signature[];
auto GeckoSurfaceTexture::Lookup(int32_t a0) -> GeckoSurfaceTexture::LocalRef
{
return mozilla::jni::Method<Lookup_t>::Call(GeckoSurfaceTexture::Context(), nullptr, a0);
}
constexpr char GeckoSurfaceTexture::ReleaseTexImage_t::name[];
constexpr char GeckoSurfaceTexture::ReleaseTexImage_t::signature[];
auto GeckoSurfaceTexture::ReleaseTexImage() const -> void
{
return mozilla::jni::Method<ReleaseTexImage_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
}
constexpr char GeckoSurfaceTexture::UpdateTexImage_t::name[];
constexpr char GeckoSurfaceTexture::UpdateTexImage_t::signature[];
auto GeckoSurfaceTexture::UpdateTexImage() const -> void
{
return mozilla::jni::Method<UpdateTexImage_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
}
const char GeckoSurfaceTexture::NativeGLBlitHelper::name[] =
"org/mozilla/gecko/gfx/GeckoSurfaceTexture$NativeGLBlitHelper";
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::New_t::name[];
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::New_t::signature[];
auto GeckoSurfaceTexture::NativeGLBlitHelper::New() -> NativeGLBlitHelper::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(NativeGLBlitHelper::Context(), nullptr);
}
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::Blit_t::name[];
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::Blit_t::signature[];
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::Close_t::name[];
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::Close_t::signature[];
auto GeckoSurfaceTexture::NativeGLBlitHelper::Close() const -> void
{
return mozilla::jni::Method<Close_t>::Call(NativeGLBlitHelper::mCtx, nullptr);
}
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::Create_t::name[];
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::Create_t::signature[];
auto GeckoSurfaceTexture::NativeGLBlitHelper::Create(int32_t a0, mozilla::jni::Object::Param a1, int32_t a2, int32_t a3) -> NativeGLBlitHelper::LocalRef
{
return mozilla::jni::Method<Create_t>::Call(NativeGLBlitHelper::Context(), nullptr, a0, a1, a2, a3);
}
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::DisposeNative_t::name[];
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::DisposeNative_t::signature[];
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::NativeCreate_t::name[];
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::NativeCreate_t::signature[];
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::MTargetSurface_t::name[];
constexpr char GeckoSurfaceTexture::NativeGLBlitHelper::MTargetSurface_t::signature[];
auto GeckoSurfaceTexture::NativeGLBlitHelper::MTargetSurface() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MTargetSurface_t>::Get(NativeGLBlitHelper::mCtx, nullptr);
}
auto GeckoSurfaceTexture::NativeGLBlitHelper::MTargetSurface(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Field<MTargetSurface_t>::Set(NativeGLBlitHelper::mCtx, nullptr, a0);
}
} /* java */
} /* mozilla */