2021-05-20 16:34:30 +02:00
|
|
|
// Copyright 2021 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2021-05-20 16:34:30 +02:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include <jni.h>
|
|
|
|
|
2022-01-29 18:30:11 +01:00
|
|
|
#include "VideoCommon/PostProcessing.h"
|
2021-05-20 16:34:30 +02:00
|
|
|
#include "jni/AndroidCommon/AndroidCommon.h"
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
|
|
|
JNIEXPORT jobjectArray JNICALL
|
|
|
|
Java_org_dolphinemu_dolphinemu_features_settings_model_PostProcessing_getShaderList(JNIEnv* env,
|
|
|
|
jclass)
|
|
|
|
{
|
|
|
|
return VectorToJStringArray(env, VideoCommon::PostProcessing::GetShaderList());
|
|
|
|
}
|
|
|
|
|
|
|
|
JNIEXPORT jobjectArray JNICALL
|
|
|
|
Java_org_dolphinemu_dolphinemu_features_settings_model_PostProcessing_getAnaglyphShaderList(
|
|
|
|
JNIEnv* env, jclass)
|
|
|
|
{
|
|
|
|
return VectorToJStringArray(env, VideoCommon::PostProcessing::GetAnaglyphShaderList());
|
|
|
|
}
|
|
|
|
|
|
|
|
JNIEXPORT jobjectArray JNICALL
|
|
|
|
Java_org_dolphinemu_dolphinemu_features_settings_model_PostProcessing_getPassiveShaderList(
|
|
|
|
JNIEnv* env, jclass)
|
|
|
|
{
|
|
|
|
return VectorToJStringArray(env, VideoCommon::PostProcessing::GetPassiveShaderList());
|
|
|
|
}
|
|
|
|
}
|