-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support danmaku mask https://www.bilibili.com/read/cv24222913/ * Fix ntohll missing in some platform * Fix build error * import ntohll * Support PS4 * remove useless code * Fix incomplete display of danmaku in blank areas * Fix danmaku not following video speed Intrduced by: 5a3bf75 * Fix PS4 GPU crash * Add ui option * Update borealis
- Loading branch information
Showing
27 changed files
with
711 additions
and
20 deletions.
There are no files selected for viewing
Submodule borealis
updated
33 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -329,6 +329,7 @@ | |
}, | ||
"filter": { | ||
"header": "彈幕篩選", | ||
"mask": "智慧防擋", | ||
"top": "頂部", | ||
"scroll": "滾動", | ||
"bottom": "底部", | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<brls:Box | ||
id="space/container" | ||
axis="column" | ||
width="auto" | ||
height="auto"> | ||
</brls:Box> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
FROM vitasdk/vitasdk:latest | ||
|
||
MAINTAINER xfangfang <[email protected]> | ||
|
||
RUN apk update && \ | ||
apk add cmake ninja meson pkgconf bash git zstd tar patch && \ | ||
git config --global --add safe.directory $(pwd) | ||
|
||
# Copy PVR_PSP2 (GLES) to vita toolchain dir | ||
RUN mkdir -p /vita/dependencies/include && \ | ||
mkdir -p /vita/dependencies/lib && \ | ||
mkdir -p /vita/dependencies/suprx && \ | ||
pvr_psp2_version=3.9 && \ | ||
wget https://github.com/GrapheneCt/PVR_PSP2/archive/refs/tags/v$pvr_psp2_version.zip -P/tmp && \ | ||
unzip /tmp/v$pvr_psp2_version.zip -d/tmp && \ | ||
cp -r /tmp/PVR_PSP2-$pvr_psp2_version/include/* /vita/dependencies/include && \ | ||
sed -i -e s/__drvkhrplatform_h_/__khrplatform_h_/ /vita/dependencies/include/KHR/khrplatform.h && \ | ||
wget https://github.com/GrapheneCt/PVR_PSP2/releases/download/v$pvr_psp2_version/vitasdk_stubs.zip -P/tmp && \ | ||
unzip /tmp/vitasdk_stubs.zip -d/tmp/pvr_psp2_stubs && \ | ||
find /tmp/pvr_psp2_stubs -type f -name "*.a" -exec cp {} /vita/dependencies/lib \; && \ | ||
wget https://github.com/GrapheneCt/PVR_PSP2/releases/download/v$pvr_psp2_version/PSVita_Release.zip -P/tmp && \ | ||
unzip /tmp/PSVita_Release.zip -d/tmp/PSVita_Release && \ | ||
rm /tmp/PSVita_Release/libGLESv1_CM.suprx && \ | ||
rm /tmp/PSVita_Release/libpvr2d.suprx && \ | ||
mv /tmp/PSVita_Release/*.suprx /vita/dependencies/suprx/ && \ | ||
cp -rv /vita/dependencies/* ${VITASDK}/arm-vita-eabi && \ | ||
rm -rf /vita && \ | ||
rm -rf /tmp/* | ||
|
||
# Install VDPM Dependencies | ||
ADD . /vdpm | ||
RUN vdpm mbedtls libass harfbuzz fribidi freetype libpng libwebp && \ | ||
adduser --gecos '' --disabled-password builder && \ | ||
echo 'builder ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/builder && \ | ||
chown -R builder:builder /vdpm && \ | ||
ls -l /vdpm && \ | ||
su - builder -c "cd /vdpm/ffmpeg && vita-makepkg" && \ | ||
su - builder -c "cd /vdpm/curl && vita-makepkg" && \ | ||
su - builder -c "cd /vdpm/sdl2 && vita-makepkg" && \ | ||
vdpm /vdpm/ffmpeg/*-arm.tar.xz && \ | ||
vdpm /vdpm/sdl2/*-arm.tar.xz && \ | ||
touch /tmp/vdpm_install_ffmpeg && \ | ||
touch /tmp/vdpm_install_sdl2 && \ | ||
su - builder -c "cd /vdpm/mpv && vita-makepkg" && \ | ||
vdpm /vdpm/curl/*-arm.tar.xz && \ | ||
vdpm /vdpm/mpv/*-arm.tar.xz && \ | ||
touch /tmp/vdpm_install_curl && \ | ||
touch /tmp/vdpm_install_mpv && \ | ||
rm -rf /vdpm | ||
|
||
RUN mkdir /src/ &&\ | ||
echo \#\!/bin/bash -i >> /entrypoint.sh &&\ | ||
echo >> /entrypoint.sh &&\ | ||
echo "set -e" >> /entrypoint.sh &&\ | ||
echo "make -p /src/scripts/psv/module/" >> /entrypoint.sh &&\ | ||
echo "cp ${VITASDK}/arm-vita-eabi/suprx/*.suprx /src/scripts/psv/module/" >> /entrypoint.sh &&\ | ||
echo "cd /src" >> /entrypoint.sh &&\ | ||
echo "echo \"\$@\"" >> /entrypoint.sh &&\ | ||
echo "bash -c \"\$@\"" >> /entrypoint.sh &&\ | ||
chmod +x /entrypoint.sh | ||
|
||
VOLUME /src/ | ||
WORKDIR /src/ | ||
SHELL ["/bin/bash", "-i", "-c"] | ||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mpv.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// | ||
// Created by fang on 2022/6/14. | ||
// | ||
|
||
// register this fragment in main.cpp | ||
//#include "fragment/home_recommends.hpp" | ||
// brls::Application::registerXMLView("HomeRecommends", HomeRecommends::create); | ||
// <brls:View xml=@res/xml/fragment/home_recommends.xml | ||
|
||
#pragma once | ||
|
||
#include "presenter/home_recommends.hpp" | ||
#include "view/auto_tab_frame.hpp" | ||
|
||
namespace brls { | ||
class Box; | ||
} | ||
|
||
class SpaceTab : public AttachedView, public Home { | ||
public: | ||
SpaceTab(); | ||
|
||
void onRecommendVideoList( | ||
const bilibili::RecommendVideoListResultWrapper &result) override; | ||
|
||
~SpaceTab() override; | ||
|
||
static View *create(); | ||
|
||
void onCreate() override; | ||
|
||
void draw(NVGcontext *vg, float x, float y, float width, float height, | ||
brls::Style style, brls::FrameContext *ctx) override; | ||
|
||
void onLayout() override; | ||
|
||
void willDisappear(bool resetState) override; | ||
|
||
void willAppear(bool resetState) override; | ||
|
||
void onResume(); | ||
|
||
void onError(const std::string &error) override; | ||
|
||
private: | ||
BRLS_BIND(brls::Box, recyclingGrid, "space/container"); | ||
brls::Rect oldRect = brls::Rect(-1, -1, -1, -1); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.