wip
This commit is contained in:
parent
5d4a00f164
commit
203c312fee
|
|
@ -3,7 +3,7 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { createTexture, initShaderProgram } from '../webgl.js';
|
||||
import { createTexture, initShaderProgram } from '../utility/webgl.js';
|
||||
|
||||
export type ImageCompositorFunctionParams = Record<string, any>;
|
||||
|
||||
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
// PIZZAX --- A lightweight store
|
||||
|
||||
// TODO: Misskeyのドメイン知識があるのでutilityなどに移動する
|
||||
|
||||
import { onUnmounted, ref, watch } from 'vue';
|
||||
import { BroadcastChannel } from 'broadcast-channel';
|
||||
import type { Ref } from 'vue';
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
import QRCodeStyling from 'qr-code-styling';
|
||||
import { url, host } from '@@/js/config.js';
|
||||
import { getProxiedImageUrl } from '../media-proxy.js';
|
||||
import { ImageCompositor } from './ImageCompositor.js';
|
||||
import type { ImageCompositorFunction, ImageCompositorLayer } from './ImageCompositor.js';
|
||||
import { ImageCompositor } from '../../lib/ImageCompositor.js';
|
||||
import type { ImageCompositorFunction, ImageCompositorLayer } from '../../lib/ImageCompositor.js';
|
||||
import { ensureSignin } from '@/i.js';
|
||||
|
||||
export type ImageEffectorRGB = [r: number, g: number, b: number];
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { defineImageCompositorFunction } from '../image-effector/ImageCompositor.js';
|
||||
import { defineImageCompositorFunction } from '../../lib/ImageCompositor.js';
|
||||
import shader from './frame.glsl';
|
||||
|
||||
export const FN_frame = defineImageCompositorFunction<{
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
import QRCodeStyling from 'qr-code-styling';
|
||||
import { url } from '@@/js/config.js';
|
||||
import ExifReader from 'exifreader';
|
||||
import { ImageCompositor } from '../image-effector/ImageCompositor.js';
|
||||
import { ImageCompositor } from '../../lib/ImageCompositor.js';
|
||||
import { FN_frame } from './frame.js';
|
||||
import { ImageEffector } from '@/utility/image-effector/ImageEffector.js';
|
||||
import { ensureSignin } from '@/i.js';
|
||||
|
|
|
|||
Loading…
Reference in New Issue