opengl testing build

This commit is contained in:
Nicholas Ricciuti 2022-11-20 21:00:54 -05:00
parent ae84c4a618
commit 7b212b003c
No known key found for this signature in database
GPG key ID: CBB28CCF1964C6D1
5 changed files with 16 additions and 9 deletions

View file

@ -406,10 +406,9 @@ Rotate = 0
# Leave enabled unless a mobile gpu doesn't support it.
EnableFragmentDepthWrite = 0
# Hardware per pixel lighting, supposedly good for GLES3.1 devices or higher.
EnableHWLighting = 0
EnableHWLighting = 1
# Do not use shaders to emulate N64 blending modes. Works faster on slow GPU. Can cause glitches.
EnableLegacyBlending = 1
# ^^ If this doesn't work, simply declare it a mesa issue.
EnableLegacyBlending = 0
###### Enhancements #######
# Internal render resoluton rather than output. So 2 x 240p is 480p, etc.

View file

@ -104,7 +104,7 @@ else
fi
# RSP
RSP=$(get_setting rsp_plugin)
RSP=$(get_setting rsp_plugin n64)
if [ "${RSP}" == "default" ] || [ "${RSP}" == "hle" ]; then
SET_PARAMS="$SET_PARAMS --set UI-Console[RspPlugin]=mupen64plus-rsp-hle.so"
else

View file

@ -33,7 +33,10 @@ make_target() {
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -D_REENTRANT"
export SDL_LDLIBS="-lSDL2_net -lSDL2"
export USE_GLES=1
if [ "${DEVICE}" = "RG552" || "${DEVICE}" = "X86_64"]
then
export USE_GLES=1
fi
export V=1
export OSD=0
make -C projects/unix clean

View file

@ -24,9 +24,14 @@ make_target() {
case ${ARCH} in
arm|aarch64)
export HOST_CPU=aarch64
export USE_GLES=1
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
PKG_MAKE_OPTS_TARGET+="-DNOHQ=On -DCRC_ARMV8=On -DEGL=0n -DNEON_OPT=On"
if [ "${DEVICE}" = "RG552" ]
then
PKG_MAKE_OPTS_TARGET+="-DNOHQ=On -DCRC_ARMV8=On -DNEON_OPT=On"
else
export USE_GLES=1
PKG_MAKE_OPTS_TARGET+="-DNOHQ=On -DCRC_ARMV8=On -DEGL=0n -DNEON_OPT=On"
fi
;;
esac
export APIDIR=$(get_build_dir mupen64plussa-core)/.install_pkg/usr/local/include/mupen64plus

View file

@ -19,9 +19,9 @@ mupen64plus-EnableEnhancedTextureStorage = "False"
mupen64plus-EnableFBEmulation = "True"
mupen64plus-EnableFragmentDepthWrite = "False"
mupen64plus-EnableHiResAltCRC = "False"
mupen64plus-EnableHWLighting = "False"
mupen64plus-EnableHWLighting = "True"
mupen64plus-EnableInaccurateTextureCoordinates = "False"
mupen64plus-EnableLegacyBlending = "True"
mupen64plus-EnableLegacyBlending = "False"
mupen64plus-EnableLODEmulation = "True"
mupen64plus-EnableNativeResFactor = "1"
mupen64plus-EnableNativeResTexrects = "Optimized"