Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next v8 - Filters #400

Merged
merged 79 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
500eccf
Adjustment Filter (WIP)
bbazukun123 Dec 29, 2023
8c3512d
Bloom Filter (WIP - Breaking)
bbazukun123 Dec 29, 2023
18849d9
Add Adjustment Filter WebGPU
bbazukun123 Dec 29, 2023
88a08c2
Fix rollup for wgsl
bbazukun123 Dec 29, 2023
6c52b5f
Base Structure Changes
bbazukun123 Dec 29, 2023
e5425d1
Merge branch 'next-v8-base' into next-v8-webgl
bbazukun123 Dec 29, 2023
3797ca2
Updated Bloom Filter (Still not working properly)
bbazukun123 Dec 29, 2023
aa0869e
Update Grayscale Filter
bbazukun123 Dec 30, 2023
bc896d2
Update Twist Filterr
bbazukun123 Dec 30, 2023
a287d90
Update Pixelate Filter
bbazukun123 Dec 30, 2023
194450d
Update Glow Filter
bbazukun123 Dec 30, 2023
bc22ce1
Update HSL Adjustment Filter
bbazukun123 Dec 30, 2023
2374fe9
Update RGB Split Filterr
bbazukun123 Jan 1, 2024
dc60c38
Update ASCII Filter
bbazukun123 Jan 1, 2024
3d79c59
Update Cross Hatch Filter
bbazukun123 Jan 1, 2024
5dc64ac
Update Convolution Filter
bbazukun123 Jan 1, 2024
08b6e17
Update Dot Filter
bbazukun123 Jan 1, 2024
44bf1be
Greyscale spelling fix
bbazukun123 Jan 1, 2024
87caf19
Add back and update Shockwave Filter
bbazukun123 Jan 2, 2024
63cb98a
Update Zoom Blur Filter
bbazukun123 Jan 2, 2024
a148418
Update Color Overlay Filter
bbazukun123 Jan 2, 2024
442d112
Update Color Replace Filter
bbazukun123 Jan 2, 2024
cfc2c1e
Update Multi Color Replace Filter
bbazukun123 Jan 2, 2024
345a0ce
Update Color Map Filter
bbazukun123 Jan 2, 2024
570a5fc
Update Color Gradient Filter
bbazukun123 Jan 3, 2024
b451567
Update Bulge Pinch Filter
bbazukun123 Jan 3, 2024
5014a88
Update Bevel Filter
bbazukun123 Jan 3, 2024
5de74f3
Update CRT Filter
bbazukun123 Jan 3, 2024
f4b0691
Update Godray Filter
bbazukun123 Jan 3, 2024
0076c3f
Update Reflection Filter
bbazukun123 Jan 3, 2024
3831b72
Update Simple Lightmap Filter
bbazukun123 Jan 3, 2024
d441bf4
Update Kawase Blur Filter
bbazukun123 Jan 3, 2024
099983c
Update Motion Blur Filter
bbazukun123 Jan 3, 2024
c293470
Update Outline Filter
bbazukun123 Jan 3, 2024
4441ef6
Update Emboss Filter
bbazukun123 Jan 3, 2024
db81454
Update Radial Blur Filter
bbazukun123 Jan 3, 2024
e2d691b
Remove Outline log
bbazukun123 Jan 4, 2024
928311b
Update Glitch Filter (WIP)
bbazukun123 Jan 4, 2024
354b5d0
Update Advanced Bloom Filter (WIP)
bbazukun123 Jan 4, 2024
3773cfd
Update Old Film Filter
bbazukun123 Jan 4, 2024
ee36341
Update Tilt Shift Filter (WIP)
bbazukun123 Jan 4, 2024
22bd155
Update Drop Shadow Filter
bbazukun123 Jan 4, 2024
1fda986
Update Glitch Filter (WIP) 2
bbazukun123 Jan 4, 2024
529d5f4
Fix incorrect use of textureSample
bbazukun123 Jan 4, 2024
d8ffdf5
Align sampler / texture namings
bbazukun123 Jan 4, 2024
a3694cf
Cleanups
bbazukun123 Jan 4, 2024
fcd7c66
Resolve WGSL (WIP)
bbazukun123 Jan 4, 2024
7cf7401
Quick fixes
bbazukun123 Jan 5, 2024
7b959d1
More known issue fixes
bbazukun123 Jan 5, 2024
38a2b49
Update color gradient
bbazukun123 Jan 5, 2024
184fddc
Fix water tiling sprite not showing
bbazukun123 Jan 6, 2024
7bfc122
Merge branch 'next-v8-base' into next-v8-webgl
bbazukun123 Jan 6, 2024
3c641ee
Fix lint warningsn
bbazukun123 Jan 6, 2024
cee5f8b
Add skipLibCheck on TSConfig
bbazukun123 Jan 6, 2024
579c2fd
Revert Color Uniforms to be Float32Arrays + Fix Color Gradient Filter
bbazukun123 Jan 7, 2024
fdf3b6d
Fix HSL Filterr
bbazukun123 Jan 8, 2024
6a15ca3
Update Screenshots Tool
bbazukun123 Jan 8, 2024
10641b2
RC2 Bump
bbazukun123 Jan 8, 2024
af01777
Type Fix
bbazukun123 Jan 8, 2024
e5c2a8f
Fix Docs Issues
bbazukun123 Jan 8, 2024
e4f309f
wip
Zyie Jan 17, 2024
7d0c07b
wip
Zyie Jan 17, 2024
9c0f1de
wip
Zyie Jan 17, 2024
dcffaba
wip
Zyie Jan 17, 2024
7bc0a68
convert filters to multiple exports
Zyie Jan 17, 2024
28b0ec1
update extension scripts
Zyie Jan 17, 2024
cf78772
fix ci
Zyie Jan 17, 2024
078459e
fix ci again
Zyie Jan 17, 2024
f70edd5
Fix typo in sub-module exports, move eslintrc to package.json
bigtimebuddy Jan 18, 2024
aaae414
Add file list for packaging
bigtimebuddy Jan 18, 2024
277231b
Fix publishing workflow to use extension-scripts on CI
bigtimebuddy Jan 18, 2024
9b6a2af
Upgrade to Node.js 18, prerelease tag support
bigtimebuddy Jan 18, 2024
96c674f
Bump extension-scripts to support publish tag
bigtimebuddy Jan 18, 2024
62532cd
Run with xvfb
bigtimebuddy Jan 18, 2024
9a6890f
Fix documentation copy
bigtimebuddy Jan 18, 2024
5496c22
Fix linting, fix index exports, fix generate-exports script
bigtimebuddy Jan 18, 2024
316e85d
Use published event
bigtimebuddy Jan 18, 2024
664b41e
Fix module exports
bigtimebuddy Jan 18, 2024
b360d40
Merge pull request #401 from pixijs/exports
bigtimebuddy Jan 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
55 changes: 25 additions & 30 deletions .github/workflows/nodejs.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,85 +1,78 @@
name: Node.js CI

name: Automation
on:
push:
branches: [ '**' ]
tags: [ '**' ]
release:
types: [ published ]
pull_request:
branches: [ '**' ]

jobs:
build:
name: Build
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN || '' }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID || '' }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
SOURCE_DIR: 'dist'
SOURCE_DIR: 'deploy'
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Canvas Dependencies
- uses: actions/checkout@v3
- name: Install xvfb
run: sudo apt-get install xvfb
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Install npm
run: npm install -g npm@8
- name: Install Dependencies
run: npm install
run: npm ci

- name: Build for Distribution
run: xvfb-run --auto-servernum npm run deploy:ci

# All the below are deploy-related steps
- name: Extract Branch Name
id: branch_name
if: github.event_name == 'push'
if: github.event_name == 'push' && !contains(github.ref, 'refs/tags')
run: echo BRANCH_NAME=${GITHUB_REF/refs\/heads\//} >> $GITHUB_OUTPUT

- name: Build for Distribution
run: xvfb-run --auto-servernum npm run dist

# Append assets to releases
- name: Upload Assets to Release
if: github.event_name == 'release'
uses: softprops/action-gh-release@v1
with:
files: |
./bundle/dist/browser/*
- name: Extract Tag Name
id: tag_name
if: github.event_name == 'release' || contains(github.ref, 'refs/tags')
run: echo TAG_NAME=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT

# Examples:
# 1) PR feature/acme merged into dev
# 2) branch A merged into branch B
# 3) branch A pushed directly to git
- name: Deploy Non-Tag Branches
uses: jakejarvis/s3-sync-action@master
if: github.event_name == 'push' && env.AWS_ACCESS_KEY_ID != ''
if: github.event_name == 'push' && !contains(github.ref, 'refs/tags') && env.AWS_ACCESS_KEY_ID != ''
with:
args: --acl public-read --follow-symlinks --delete --cache-control "max-age=60"
env:
DEST_DIR: ${{ steps.branch_name.outputs.BRANCH_NAME }}

# Release is published and deployed into s3://bucket-name/v5.2.2/
# Release is published and deployed into s3://bucket-name/v5.22/
- name: Deploy Released Branches
uses: jakejarvis/s3-sync-action@master
if: github.event_name == 'release' && env.AWS_ACCESS_KEY_ID != ''
if: (github.event_name == 'release' || contains(github.ref, 'refs/tags')) && env.AWS_ACCESS_KEY_ID != ''
with:
args: --acl public-read --follow-symlinks --delete --cache-control "max-age=2592000"
env:
DEST_DIR: ${{ github.event.release.tag_name }}
DEST_DIR: ${{ steps.tag_name.outputs.TAG_NAME }}

# Same release from previous deployed into s3://bucket-name/latest/
# Same release from previous deployed into s3://bucket-name/release/
- name: Deploy Latest Release
uses: jakejarvis/s3-sync-action@master
if: github.event_name == 'release' && github.event.release.prerelease == false && env.AWS_ACCESS_KEY_ID != ''
if: (github.event_name == 'release' || contains(github.ref, 'refs/tags')) && env.AWS_ACCESS_KEY_ID != ''
with:
args: --acl public-read --follow-symlinks --delete --cache-control "max-age=1209600"
env:
DEST_DIR: 'latest'

# Publish to NPM
- name: Publish Latest Release
if: github.event_name == 'release' && github.event.release.prerelease == false && env.NODE_AUTH_TOKEN != ''
Expand All @@ -88,4 +81,6 @@ jobs:
# Publish to NPM with prerelease dist-tag
- name: Publish Latest Prerelease
if: github.event_name == 'release' && github.event.release.prerelease && env.NODE_AUTH_TOKEN != ''
run: npm run publish-ci -- --dist-tag prerelease
run: npm run publish-ci
env:
XS_PUBLISH_TAG: prerelease
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ node_modules
*.log
docs
dist
lib
deploy
tools/demo/index.js
tools/demo/index.js.map
.DS_Store
/out
filters/*/index.d.ts
bundle/index.d.ts
example.api.*
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

Loading