@girs/gstgl-1.0 1.0.0-3.2.6 → 1.0.0-3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gstgl-1.0.d.cts +75 -75
- package/gstgl-1.0.d.ts +75 -75
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GstGL-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for GstGL-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gstgl-1.0.d.cts
CHANGED
|
@@ -520,27 +520,27 @@ export enum GLSLProfile {
|
|
|
520
520
|
* An option that can be activated on bufferpools to request OpenGL
|
|
521
521
|
* synchronization metadata on buffers from the pool.
|
|
522
522
|
*/
|
|
523
|
-
export const BUFFER_POOL_OPTION_GL_SYNC_META: string
|
|
523
|
+
export const BUFFER_POOL_OPTION_GL_SYNC_META: string
|
|
524
524
|
/**
|
|
525
525
|
* String used for %GST_GL_TEXTURE_TARGET_2D as a #GstBufferPool pool option
|
|
526
526
|
*/
|
|
527
|
-
export const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D: string
|
|
527
|
+
export const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D: string
|
|
528
528
|
/**
|
|
529
529
|
* String used for %GST_GL_TEXTURE_TARGET_EXTERNAL_OES as a #GstBufferPool pool option
|
|
530
530
|
*/
|
|
531
|
-
export const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES: string
|
|
531
|
+
export const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES: string
|
|
532
532
|
/**
|
|
533
533
|
* String used for %GST_GL_TEXTURE_TARGET_RECTANGLE as a #GstBufferPool pool option
|
|
534
534
|
*/
|
|
535
|
-
export const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE: string
|
|
535
|
+
export const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE: string
|
|
536
536
|
/**
|
|
537
537
|
* Name of the caps feature indicating the use of GL buffers
|
|
538
538
|
*/
|
|
539
|
-
export const CAPS_FEATURE_MEMORY_GL_BUFFER: string
|
|
539
|
+
export const CAPS_FEATURE_MEMORY_GL_BUFFER: string
|
|
540
540
|
/**
|
|
541
541
|
* Name of the caps feature for indicating the use of #GstGLMemory
|
|
542
542
|
*/
|
|
543
|
-
export const CAPS_FEATURE_MEMORY_GL_MEMORY: string
|
|
543
|
+
export const CAPS_FEATURE_MEMORY_GL_MEMORY: string
|
|
544
544
|
/**
|
|
545
545
|
* GL Allocation flag indicating that the implementation should allocate the
|
|
546
546
|
* necessary resources.
|
|
@@ -570,77 +570,77 @@ export const GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_SYSMEM: number
|
|
|
570
570
|
/**
|
|
571
571
|
* The name for %GST_GL_API_GLES1 used in various places
|
|
572
572
|
*/
|
|
573
|
-
export const GL_API_GLES1_NAME: string
|
|
573
|
+
export const GL_API_GLES1_NAME: string
|
|
574
574
|
/**
|
|
575
575
|
* The name for %GST_GL_API_GLES2 used in various places
|
|
576
576
|
*/
|
|
577
|
-
export const GL_API_GLES2_NAME: string
|
|
577
|
+
export const GL_API_GLES2_NAME: string
|
|
578
578
|
/**
|
|
579
579
|
* The name for %GST_GL_API_OPENGL3 used in various places
|
|
580
580
|
*/
|
|
581
|
-
export const GL_API_OPENGL3_NAME: string
|
|
581
|
+
export const GL_API_OPENGL3_NAME: string
|
|
582
582
|
/**
|
|
583
583
|
* The name for %GST_GL_API_OPENGL used in various places
|
|
584
584
|
*/
|
|
585
|
-
export const GL_API_OPENGL_NAME: string
|
|
585
|
+
export const GL_API_OPENGL_NAME: string
|
|
586
586
|
/**
|
|
587
587
|
* The name of the GL buffer allocator
|
|
588
588
|
*/
|
|
589
|
-
export const GL_BASE_MEMORY_ALLOCATOR_NAME: string
|
|
589
|
+
export const GL_BASE_MEMORY_ALLOCATOR_NAME: string
|
|
590
590
|
/**
|
|
591
591
|
* The name of the GL buffer allocator
|
|
592
592
|
*/
|
|
593
|
-
export const GL_BUFFER_ALLOCATOR_NAME: string
|
|
593
|
+
export const GL_BUFFER_ALLOCATOR_NAME: string
|
|
594
594
|
/**
|
|
595
595
|
* The currently supported formats that can be converted
|
|
596
596
|
*/
|
|
597
|
-
export const GL_COLOR_CONVERT_FORMATS: string
|
|
597
|
+
export const GL_COLOR_CONVERT_FORMATS: string
|
|
598
598
|
/**
|
|
599
599
|
* The currently supported #GstCaps that can be converted
|
|
600
600
|
*/
|
|
601
|
-
export const GL_COLOR_CONVERT_VIDEO_CAPS: string
|
|
601
|
+
export const GL_COLOR_CONVERT_VIDEO_CAPS: string
|
|
602
602
|
/**
|
|
603
603
|
* The canonical name of a #GstStructure that contains a configuration for a
|
|
604
604
|
* #GstGLContext.
|
|
605
605
|
*/
|
|
606
|
-
export const GL_CONFIG_STRUCTURE_NAME: string
|
|
607
|
-
export const GL_CONTEXT_TYPE_CGL: string
|
|
608
|
-
export const GL_CONTEXT_TYPE_EAGL: string
|
|
609
|
-
export const GL_CONTEXT_TYPE_EGL: string
|
|
610
|
-
export const GL_CONTEXT_TYPE_GLX: string
|
|
611
|
-
export const GL_CONTEXT_TYPE_WGL: string
|
|
606
|
+
export const GL_CONFIG_STRUCTURE_NAME: string
|
|
607
|
+
export const GL_CONTEXT_TYPE_CGL: string
|
|
608
|
+
export const GL_CONTEXT_TYPE_EAGL: string
|
|
609
|
+
export const GL_CONTEXT_TYPE_EGL: string
|
|
610
|
+
export const GL_CONTEXT_TYPE_GLX: string
|
|
611
|
+
export const GL_CONTEXT_TYPE_WGL: string
|
|
612
612
|
/**
|
|
613
613
|
* The name used in #GstContext queries for requesting a #GstGLDisplay
|
|
614
614
|
*/
|
|
615
|
-
export const GL_DISPLAY_CONTEXT_TYPE: string
|
|
615
|
+
export const GL_DISPLAY_CONTEXT_TYPE: string
|
|
616
616
|
/**
|
|
617
617
|
* The name of the GL memory allocator
|
|
618
618
|
*/
|
|
619
|
-
export const GL_MEMORY_ALLOCATOR_NAME: string
|
|
619
|
+
export const GL_MEMORY_ALLOCATOR_NAME: string
|
|
620
620
|
/**
|
|
621
621
|
* The name of the GL Memory PBO allocator
|
|
622
622
|
*/
|
|
623
|
-
export const GL_MEMORY_PBO_ALLOCATOR_NAME: string
|
|
623
|
+
export const GL_MEMORY_PBO_ALLOCATOR_NAME: string
|
|
624
624
|
/**
|
|
625
625
|
* List of video formats that are supported by #GstGLMemory
|
|
626
626
|
*/
|
|
627
|
-
export const GL_MEMORY_VIDEO_FORMATS_STR: string
|
|
627
|
+
export const GL_MEMORY_VIDEO_FORMATS_STR: string
|
|
628
628
|
/**
|
|
629
629
|
* The name of the GL renderbuffer allocator
|
|
630
630
|
*/
|
|
631
|
-
export const GL_RENDERBUFFER_ALLOCATOR_NAME: string
|
|
631
|
+
export const GL_RENDERBUFFER_ALLOCATOR_NAME: string
|
|
632
632
|
/**
|
|
633
633
|
* String used for %GST_GL_TEXTURE_TARGET_2D in things like caps values
|
|
634
634
|
*/
|
|
635
|
-
export const GL_TEXTURE_TARGET_2D_STR: string
|
|
635
|
+
export const GL_TEXTURE_TARGET_2D_STR: string
|
|
636
636
|
/**
|
|
637
637
|
* String used for %GST_GL_TEXTURE_TARGET_EXTERNAL_OES in things like caps values
|
|
638
638
|
*/
|
|
639
|
-
export const GL_TEXTURE_TARGET_EXTERNAL_OES_STR: string
|
|
639
|
+
export const GL_TEXTURE_TARGET_EXTERNAL_OES_STR: string
|
|
640
640
|
/**
|
|
641
641
|
* String used for %GST_GL_TEXTURE_TARGET_RECTANGLE in things like caps values
|
|
642
642
|
*/
|
|
643
|
-
export const GL_TEXTURE_TARGET_RECTANGLE_STR: string
|
|
643
|
+
export const GL_TEXTURE_TARGET_RECTANGLE_STR: string
|
|
644
644
|
/**
|
|
645
645
|
* Flag indicating that we should map the GL object instead of to system memory.
|
|
646
646
|
*
|
|
@@ -665,7 +665,7 @@ export function context_get_gl_display(context: Gst.Context): [ /* returnType */
|
|
|
665
665
|
* @param display resulting #GstGLDisplay
|
|
666
666
|
*/
|
|
667
667
|
export function context_set_gl_display(context: Gst.Context, display: GLDisplay | null): void
|
|
668
|
-
export function gl_api_from_string(api_s: string
|
|
668
|
+
export function gl_api_from_string(api_s: string): GLAPI
|
|
669
669
|
export function gl_api_to_string(api: GLAPI): string | null
|
|
670
670
|
export function gl_base_memory_alloc(allocator: GLBaseMemoryAllocator, params: GLAllocationParams): GLBaseMemory | null
|
|
671
671
|
export function gl_base_memory_error_quark(): GLib.Quark
|
|
@@ -679,7 +679,7 @@ export function gl_base_memory_init_once(): void
|
|
|
679
679
|
* multiple times. This must be called before any other #GstGLBuffer operation.
|
|
680
680
|
*/
|
|
681
681
|
export function gl_buffer_init_once(): void
|
|
682
|
-
export function gl_check_extension(name: string
|
|
682
|
+
export function gl_check_extension(name: string, ext: string): boolean
|
|
683
683
|
export function gl_config_caveat_to_string(caveat: GLConfigCaveat): string | null
|
|
684
684
|
export function gl_config_surface_type_to_string(surface_type: GLConfigSurfaceType): string | null
|
|
685
685
|
export function gl_context_error_quark(): GLib.Quark
|
|
@@ -760,7 +760,7 @@ export function gl_memory_pbo_init_once(): void
|
|
|
760
760
|
* @param b another 2-dimensional 4x4 array of #gfloat
|
|
761
761
|
*/
|
|
762
762
|
export function gl_multiply_matrix4(a: number[], b: number[]): /* result */ number[]
|
|
763
|
-
export function gl_platform_from_string(platform_s: string
|
|
763
|
+
export function gl_platform_from_string(platform_s: string): GLPlatform
|
|
764
764
|
export function gl_platform_to_string(platform: GLPlatform): string | null
|
|
765
765
|
/**
|
|
766
766
|
* Performs a GST_QUERY_CONTEXT query of type "gst.gl.local_context" on all
|
|
@@ -789,7 +789,7 @@ export function gl_stereo_downmix_mode_get_type(): GObject.GType
|
|
|
789
789
|
export function gl_sync_meta_api_get_type(): GObject.GType
|
|
790
790
|
export function gl_sync_meta_get_info(): Gst.MetaInfo
|
|
791
791
|
export function gl_texture_target_from_gl(target: number): GLTextureTarget
|
|
792
|
-
export function gl_texture_target_from_string(str: string
|
|
792
|
+
export function gl_texture_target_from_string(str: string): GLTextureTarget
|
|
793
793
|
export function gl_texture_target_to_buffer_pool_option(target: GLTextureTarget): string | null
|
|
794
794
|
export function gl_texture_target_to_gl(target: GLTextureTarget): number
|
|
795
795
|
export function gl_texture_target_to_string(target: GLTextureTarget): string | null
|
|
@@ -811,7 +811,7 @@ export function gl_value_set_texture_target_from_mask(value: any, target_mask: G
|
|
|
811
811
|
export function gl_version_to_glsl_version(gl_api: GLAPI, maj: number, min: number): GLSLVersion
|
|
812
812
|
export function gl_window_error_quark(): GLib.Quark
|
|
813
813
|
export function glsl_error_quark(): GLib.Quark
|
|
814
|
-
export function glsl_profile_from_string(string: string
|
|
814
|
+
export function glsl_profile_from_string(string: string): GLSLProfile
|
|
815
815
|
export function glsl_profile_to_string(profile: GLSLProfile): string | null
|
|
816
816
|
/**
|
|
817
817
|
* Note: this function first searches the first 1 kilobytes for a `#version`
|
|
@@ -819,15 +819,15 @@ export function glsl_profile_to_string(profile: GLSLProfile): string | null
|
|
|
819
819
|
* @param s string to search for a valid `#version` string
|
|
820
820
|
* @returns TRUE if a valid `#version` string was found, FALSE otherwise
|
|
821
821
|
*/
|
|
822
|
-
export function glsl_string_get_version_profile(s: string
|
|
823
|
-
export function glsl_version_from_string(string: string
|
|
822
|
+
export function glsl_string_get_version_profile(s: string): [ /* returnType */ boolean, /* version */ GLSLVersion, /* profile */ GLSLProfile ]
|
|
823
|
+
export function glsl_version_from_string(string: string): GLSLVersion
|
|
824
824
|
/**
|
|
825
825
|
* Note: this function expects either a `#version` GLSL preprocesser directive
|
|
826
826
|
* or a valid GLSL version and/or profile.
|
|
827
827
|
* @param string a valid GLSL `#version` string
|
|
828
828
|
* @returns TRUE if a valid `#version` string was found, FALSE otherwise
|
|
829
829
|
*/
|
|
830
|
-
export function glsl_version_profile_from_string(string: string
|
|
830
|
+
export function glsl_version_profile_from_string(string: string): [ /* returnType */ boolean, /* version_ret */ GLSLVersion, /* profile_ret */ GLSLProfile ]
|
|
831
831
|
export function glsl_version_profile_to_string(version: GLSLVersion, profile: GLSLProfile): string | null
|
|
832
832
|
export function glsl_version_to_string(version: GLSLVersion): string | null
|
|
833
833
|
export function is_gl_base_memory(mem: Gst.Memory): boolean
|
|
@@ -2032,7 +2032,7 @@ export interface GLContext {
|
|
|
2032
2032
|
* @param feature a platform specific feature
|
|
2033
2033
|
* @returns Whether @feature is supported by @context
|
|
2034
2034
|
*/
|
|
2035
|
-
check_feature(feature: string
|
|
2035
|
+
check_feature(feature: string): boolean
|
|
2036
2036
|
/**
|
|
2037
2037
|
* Must be called with `context` current.
|
|
2038
2038
|
* @param fbo_target the GL value of the framebuffer target, GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER
|
|
@@ -2151,7 +2151,7 @@ export interface GLContext {
|
|
|
2151
2151
|
* @param name an opengl function name
|
|
2152
2152
|
* @returns a function pointer or %NULL
|
|
2153
2153
|
*/
|
|
2154
|
-
get_proc_address(name: string
|
|
2154
|
+
get_proc_address(name: string): any | null
|
|
2155
2155
|
get_thread(): GLib.Thread | null
|
|
2156
2156
|
get_window(): GLWindow | null
|
|
2157
2157
|
is_shared(): boolean
|
|
@@ -2260,7 +2260,7 @@ export interface GLContext {
|
|
|
2260
2260
|
* @param feature a platform specific feature
|
|
2261
2261
|
* @returns Whether @feature is supported by @context
|
|
2262
2262
|
*/
|
|
2263
|
-
vfunc_check_feature(feature: string
|
|
2263
|
+
vfunc_check_feature(feature: string): boolean
|
|
2264
2264
|
vfunc_choose_format(): boolean
|
|
2265
2265
|
vfunc_create_context(gl_api: GLAPI, other_context: GLContext): boolean
|
|
2266
2266
|
vfunc_destroy_context(): void
|
|
@@ -2408,7 +2408,7 @@ export class GLContext extends Gst.Object {
|
|
|
2408
2408
|
* @param name then function to get the address of
|
|
2409
2409
|
* @returns an address pointing to @name or %NULL
|
|
2410
2410
|
*/
|
|
2411
|
-
static default_get_proc_address(gl_api: GLAPI, name: string
|
|
2411
|
+
static default_get_proc_address(gl_api: GLAPI, name: string): any | null
|
|
2412
2412
|
/**
|
|
2413
2413
|
* See also gst_gl_context_activate().
|
|
2414
2414
|
* @returns the #GstGLContext active in the current thread or %NULL
|
|
@@ -2432,7 +2432,7 @@ export class GLContext extends Gst.Object {
|
|
|
2432
2432
|
* @param name the name of the function to retrieve
|
|
2433
2433
|
* @returns a function pointer for @name, or %NULL
|
|
2434
2434
|
*/
|
|
2435
|
-
static get_proc_address_with_platform(context_type: GLPlatform, gl_api: GLAPI, name: string
|
|
2435
|
+
static get_proc_address_with_platform(context_type: GLPlatform, gl_api: GLAPI, name: string): any | null
|
|
2436
2436
|
}
|
|
2437
2437
|
|
|
2438
2438
|
export module GLDisplay {
|
|
@@ -3779,7 +3779,7 @@ export class GLSLStage extends Gst.Object {
|
|
|
3779
3779
|
static new(context: GLContext, type: number): GLSLStage
|
|
3780
3780
|
static new_default_fragment(context: GLContext): GLSLStage
|
|
3781
3781
|
static new_default_vertex(context: GLContext): GLSLStage
|
|
3782
|
-
static new_with_string(context: GLContext, type: number, version: GLSLVersion, profile: GLSLProfile, str: string
|
|
3782
|
+
static new_with_string(context: GLContext, type: number, version: GLSLVersion, profile: GLSLProfile, str: string): GLSLStage
|
|
3783
3783
|
static new_with_strings(context: GLContext, type: number, version: GLSLVersion, profile: GLSLProfile, str: string[]): GLSLStage
|
|
3784
3784
|
_init(config?: GLSLStage.ConstructorProperties): void
|
|
3785
3785
|
}
|
|
@@ -3830,14 +3830,14 @@ export interface GLShader {
|
|
|
3830
3830
|
* @param index attribute index to set
|
|
3831
3831
|
* @param name name of the attribute
|
|
3832
3832
|
*/
|
|
3833
|
-
bind_attribute_location(index: number, name: string
|
|
3833
|
+
bind_attribute_location(index: number, name: string): void
|
|
3834
3834
|
/**
|
|
3835
3835
|
* Bind attribute `name` to the specified location `index` using
|
|
3836
3836
|
* `glBindFragDataLocation()`.
|
|
3837
3837
|
* @param index attribute index to set
|
|
3838
3838
|
* @param name name of the attribute
|
|
3839
3839
|
*/
|
|
3840
|
-
bind_frag_data_location(index: number, name: string
|
|
3840
|
+
bind_frag_data_location(index: number, name: string): void
|
|
3841
3841
|
/**
|
|
3842
3842
|
* Compiles `stage` and attaches it to `shader`.
|
|
3843
3843
|
*
|
|
@@ -3862,7 +3862,7 @@ export interface GLShader {
|
|
|
3862
3862
|
* @param stage a #GstGLSLStage to attach
|
|
3863
3863
|
*/
|
|
3864
3864
|
detach_unlocked(stage: GLSLStage): void
|
|
3865
|
-
get_attribute_location(name: string
|
|
3865
|
+
get_attribute_location(name: string): number
|
|
3866
3866
|
get_program_handle(): number
|
|
3867
3867
|
/**
|
|
3868
3868
|
* Note: must be called in the GL thread
|
|
@@ -3893,51 +3893,51 @@ export interface GLShader {
|
|
|
3893
3893
|
* @param name name of the uniform
|
|
3894
3894
|
* @param value value to set
|
|
3895
3895
|
*/
|
|
3896
|
-
set_uniform_1f(name: string
|
|
3896
|
+
set_uniform_1f(name: string, value: number): void
|
|
3897
3897
|
/**
|
|
3898
3898
|
* Perform `glUniform1fv()` for `name` on `shader`
|
|
3899
3899
|
* @param name name of the uniform
|
|
3900
3900
|
* @param value values to set
|
|
3901
3901
|
*/
|
|
3902
|
-
set_uniform_1fv(name: string
|
|
3902
|
+
set_uniform_1fv(name: string, value: number[]): void
|
|
3903
3903
|
/**
|
|
3904
3904
|
* Perform `glUniform1i()` for `name` on `shader`
|
|
3905
3905
|
* @param name name of the uniform
|
|
3906
3906
|
* @param value value to set
|
|
3907
3907
|
*/
|
|
3908
|
-
set_uniform_1i(name: string
|
|
3908
|
+
set_uniform_1i(name: string, value: number): void
|
|
3909
3909
|
/**
|
|
3910
3910
|
* Perform `glUniform1iv()` for `name` on `shader`
|
|
3911
3911
|
* @param name name of the uniform
|
|
3912
3912
|
* @param value values to set
|
|
3913
3913
|
*/
|
|
3914
|
-
set_uniform_1iv(name: string
|
|
3914
|
+
set_uniform_1iv(name: string, value: number[]): void
|
|
3915
3915
|
/**
|
|
3916
3916
|
* Perform `glUniform2f()` for `name` on `shader`
|
|
3917
3917
|
* @param name name of the uniform
|
|
3918
3918
|
* @param v0 first value to set
|
|
3919
3919
|
* @param v1 second value to set
|
|
3920
3920
|
*/
|
|
3921
|
-
set_uniform_2f(name: string
|
|
3921
|
+
set_uniform_2f(name: string, v0: number, v1: number): void
|
|
3922
3922
|
/**
|
|
3923
3923
|
* Perform `glUniform2fv()` for `name` on `shader`
|
|
3924
3924
|
* @param name name of the uniform
|
|
3925
3925
|
* @param value values to set
|
|
3926
3926
|
*/
|
|
3927
|
-
set_uniform_2fv(name: string
|
|
3927
|
+
set_uniform_2fv(name: string, value: number[]): void
|
|
3928
3928
|
/**
|
|
3929
3929
|
* Perform `glUniform2i()` for `name` on `shader`
|
|
3930
3930
|
* @param name name of the uniform
|
|
3931
3931
|
* @param v0 first value to set
|
|
3932
3932
|
* @param v1 second value to set
|
|
3933
3933
|
*/
|
|
3934
|
-
set_uniform_2i(name: string
|
|
3934
|
+
set_uniform_2i(name: string, v0: number, v1: number): void
|
|
3935
3935
|
/**
|
|
3936
3936
|
* Perform `glUniform2iv()` for `name` on `shader`
|
|
3937
3937
|
* @param name name of the uniform
|
|
3938
3938
|
* @param value values to set
|
|
3939
3939
|
*/
|
|
3940
|
-
set_uniform_2iv(name: string
|
|
3940
|
+
set_uniform_2iv(name: string, value: number[]): void
|
|
3941
3941
|
/**
|
|
3942
3942
|
* Perform `glUniform3f()` for `name` on `shader`
|
|
3943
3943
|
* @param name name of the uniform
|
|
@@ -3945,13 +3945,13 @@ export interface GLShader {
|
|
|
3945
3945
|
* @param v1 second value to set
|
|
3946
3946
|
* @param v2 third value to set
|
|
3947
3947
|
*/
|
|
3948
|
-
set_uniform_3f(name: string
|
|
3948
|
+
set_uniform_3f(name: string, v0: number, v1: number, v2: number): void
|
|
3949
3949
|
/**
|
|
3950
3950
|
* Perform `glUniform3fv()` for `name` on `shader`
|
|
3951
3951
|
* @param name name of the uniform
|
|
3952
3952
|
* @param value values to set
|
|
3953
3953
|
*/
|
|
3954
|
-
set_uniform_3fv(name: string
|
|
3954
|
+
set_uniform_3fv(name: string, value: number[]): void
|
|
3955
3955
|
/**
|
|
3956
3956
|
* Perform `glUniform3i()` for `name` on `shader`
|
|
3957
3957
|
* @param name name of the uniform
|
|
@@ -3959,13 +3959,13 @@ export interface GLShader {
|
|
|
3959
3959
|
* @param v1 second value to set
|
|
3960
3960
|
* @param v2 third value to set
|
|
3961
3961
|
*/
|
|
3962
|
-
set_uniform_3i(name: string
|
|
3962
|
+
set_uniform_3i(name: string, v0: number, v1: number, v2: number): void
|
|
3963
3963
|
/**
|
|
3964
3964
|
* Perform `glUniform3iv()` for `name` on `shader`
|
|
3965
3965
|
* @param name name of the uniform
|
|
3966
3966
|
* @param value values to set
|
|
3967
3967
|
*/
|
|
3968
|
-
set_uniform_3iv(name: string
|
|
3968
|
+
set_uniform_3iv(name: string, value: number[]): void
|
|
3969
3969
|
/**
|
|
3970
3970
|
* Perform `glUniform4f()` for `name` on `shader`
|
|
3971
3971
|
* @param name name of the uniform
|
|
@@ -3974,13 +3974,13 @@ export interface GLShader {
|
|
|
3974
3974
|
* @param v2 third value to set
|
|
3975
3975
|
* @param v3 fourth value to set
|
|
3976
3976
|
*/
|
|
3977
|
-
set_uniform_4f(name: string
|
|
3977
|
+
set_uniform_4f(name: string, v0: number, v1: number, v2: number, v3: number): void
|
|
3978
3978
|
/**
|
|
3979
3979
|
* Perform `glUniform4fv()` for `name` on `shader`
|
|
3980
3980
|
* @param name name of the uniform
|
|
3981
3981
|
* @param value values to set
|
|
3982
3982
|
*/
|
|
3983
|
-
set_uniform_4fv(name: string
|
|
3983
|
+
set_uniform_4fv(name: string, value: number[]): void
|
|
3984
3984
|
/**
|
|
3985
3985
|
* Perform `glUniform4i()` for `name` on `shader`
|
|
3986
3986
|
* @param name name of the uniform
|
|
@@ -3989,13 +3989,13 @@ export interface GLShader {
|
|
|
3989
3989
|
* @param v2 third value to set
|
|
3990
3990
|
* @param v3 fourth value to set
|
|
3991
3991
|
*/
|
|
3992
|
-
set_uniform_4i(name: string
|
|
3992
|
+
set_uniform_4i(name: string, v0: number, v1: number, v2: number, v3: number): void
|
|
3993
3993
|
/**
|
|
3994
3994
|
* Perform `glUniform4iv()` for `name` on `shader`
|
|
3995
3995
|
* @param name name of the uniform
|
|
3996
3996
|
* @param value values to set
|
|
3997
3997
|
*/
|
|
3998
|
-
set_uniform_4iv(name: string
|
|
3998
|
+
set_uniform_4iv(name: string, value: number[]): void
|
|
3999
3999
|
/**
|
|
4000
4000
|
* Perform `glUniformMatrix2fv()` for `name` on `shader`
|
|
4001
4001
|
* @param name name of the uniform
|
|
@@ -4003,7 +4003,7 @@ export interface GLShader {
|
|
|
4003
4003
|
* @param transpose transpose the matrix
|
|
4004
4004
|
* @param value matrix to set
|
|
4005
4005
|
*/
|
|
4006
|
-
set_uniform_matrix_2fv(name: string
|
|
4006
|
+
set_uniform_matrix_2fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4007
4007
|
/**
|
|
4008
4008
|
* Perform `glUniformMatrix2x3fv()` for `name` on `shader`
|
|
4009
4009
|
* @param name name of the uniform
|
|
@@ -4011,7 +4011,7 @@ export interface GLShader {
|
|
|
4011
4011
|
* @param transpose transpose the matrix
|
|
4012
4012
|
* @param value values to set
|
|
4013
4013
|
*/
|
|
4014
|
-
set_uniform_matrix_2x3fv(name: string
|
|
4014
|
+
set_uniform_matrix_2x3fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4015
4015
|
/**
|
|
4016
4016
|
* Perform `glUniformMatrix2x4fv()` for `name` on `shader`
|
|
4017
4017
|
* @param name name of the uniform
|
|
@@ -4019,7 +4019,7 @@ export interface GLShader {
|
|
|
4019
4019
|
* @param transpose transpose the matrix
|
|
4020
4020
|
* @param value values to set
|
|
4021
4021
|
*/
|
|
4022
|
-
set_uniform_matrix_2x4fv(name: string
|
|
4022
|
+
set_uniform_matrix_2x4fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4023
4023
|
/**
|
|
4024
4024
|
* Perform `glUniformMatrix3fv()` for `name` on `shader`
|
|
4025
4025
|
* @param name name of the uniform
|
|
@@ -4027,7 +4027,7 @@ export interface GLShader {
|
|
|
4027
4027
|
* @param transpose transpose the matrix
|
|
4028
4028
|
* @param value values to set
|
|
4029
4029
|
*/
|
|
4030
|
-
set_uniform_matrix_3fv(name: string
|
|
4030
|
+
set_uniform_matrix_3fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4031
4031
|
/**
|
|
4032
4032
|
* Perform `glUniformMatrix3x2fv()` for `name` on `shader`
|
|
4033
4033
|
* @param name name of the uniform
|
|
@@ -4035,7 +4035,7 @@ export interface GLShader {
|
|
|
4035
4035
|
* @param transpose transpose the matrix
|
|
4036
4036
|
* @param value values to set
|
|
4037
4037
|
*/
|
|
4038
|
-
set_uniform_matrix_3x2fv(name: string
|
|
4038
|
+
set_uniform_matrix_3x2fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4039
4039
|
/**
|
|
4040
4040
|
* Perform `glUniformMatrix3x4fv()` for `name` on `shader`
|
|
4041
4041
|
* @param name name of the uniform
|
|
@@ -4043,7 +4043,7 @@ export interface GLShader {
|
|
|
4043
4043
|
* @param transpose transpose the matrix
|
|
4044
4044
|
* @param value values to set
|
|
4045
4045
|
*/
|
|
4046
|
-
set_uniform_matrix_3x4fv(name: string
|
|
4046
|
+
set_uniform_matrix_3x4fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4047
4047
|
/**
|
|
4048
4048
|
* Perform `glUniformMatrix4fv()` for `name` on `shader`
|
|
4049
4049
|
* @param name name of the uniform
|
|
@@ -4051,7 +4051,7 @@ export interface GLShader {
|
|
|
4051
4051
|
* @param transpose transpose the matrix
|
|
4052
4052
|
* @param value values to set
|
|
4053
4053
|
*/
|
|
4054
|
-
set_uniform_matrix_4fv(name: string
|
|
4054
|
+
set_uniform_matrix_4fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4055
4055
|
/**
|
|
4056
4056
|
* Perform `glUniformMatrix4x2fv()` for `name` on `shader`
|
|
4057
4057
|
* @param name name of the uniform
|
|
@@ -4059,7 +4059,7 @@ export interface GLShader {
|
|
|
4059
4059
|
* @param transpose transpose the matrix
|
|
4060
4060
|
* @param value values to set
|
|
4061
4061
|
*/
|
|
4062
|
-
set_uniform_matrix_4x2fv(name: string
|
|
4062
|
+
set_uniform_matrix_4x2fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4063
4063
|
/**
|
|
4064
4064
|
* Perform `glUniformMatrix4x3fv()` for `name` on `shader`
|
|
4065
4065
|
* @param name name of the uniform
|
|
@@ -4067,7 +4067,7 @@ export interface GLShader {
|
|
|
4067
4067
|
* @param transpose transpose the matrix
|
|
4068
4068
|
* @param value values to set
|
|
4069
4069
|
*/
|
|
4070
|
-
set_uniform_matrix_4x3fv(name: string
|
|
4070
|
+
set_uniform_matrix_4x3fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4071
4071
|
/**
|
|
4072
4072
|
* Mark's `shader` as being used for the next GL draw command.
|
|
4073
4073
|
*
|
|
@@ -4170,7 +4170,7 @@ export class GLShader extends Gst.Object {
|
|
|
4170
4170
|
* @param profile a #GstGLSLProfile
|
|
4171
4171
|
* @returns a shader string defining the precision of float types based on @context, @version and @profile
|
|
4172
4172
|
*/
|
|
4173
|
-
static string_get_highest_precision(context: GLContext, version: GLSLVersion, profile: GLSLProfile): string
|
|
4173
|
+
static string_get_highest_precision(context: GLContext, version: GLSLVersion, profile: GLSLProfile): string
|
|
4174
4174
|
}
|
|
4175
4175
|
|
|
4176
4176
|
export module GLUpload {
|
|
@@ -4555,7 +4555,7 @@ export interface GLWindow {
|
|
|
4555
4555
|
* Start the execution of the runloop.
|
|
4556
4556
|
*/
|
|
4557
4557
|
run(): void
|
|
4558
|
-
send_key_event(event_type: string
|
|
4558
|
+
send_key_event(event_type: string, key_str: string): void
|
|
4559
4559
|
/**
|
|
4560
4560
|
* Invoke `callback` with data on the window thread. `callback` is guaranteed to
|
|
4561
4561
|
* have executed when this function returns.
|
|
@@ -4568,7 +4568,7 @@ export interface GLWindow {
|
|
|
4568
4568
|
* @param callback function to invoke
|
|
4569
4569
|
*/
|
|
4570
4570
|
send_message_async(callback: GLWindowCB): void
|
|
4571
|
-
send_mouse_event(event_type: string
|
|
4571
|
+
send_mouse_event(event_type: string, button: number, posx: number, posy: number): void
|
|
4572
4572
|
/**
|
|
4573
4573
|
* Notify a `window` about a scroll event. A scroll signal holding the event
|
|
4574
4574
|
* coordinates will be emitted.
|
|
@@ -5324,13 +5324,13 @@ export interface GLContextClass {
|
|
|
5324
5324
|
get_gl_context: (context: GLContext) => never
|
|
5325
5325
|
get_gl_api: (context: GLContext) => GLAPI
|
|
5326
5326
|
get_gl_platform: (context: GLContext) => GLPlatform
|
|
5327
|
-
get_proc_address: (gl_api: GLAPI, name: string
|
|
5327
|
+
get_proc_address: (gl_api: GLAPI, name: string) => any
|
|
5328
5328
|
activate: (context: GLContext, activate: boolean) => boolean
|
|
5329
5329
|
choose_format: (context: GLContext) => boolean
|
|
5330
5330
|
create_context: (context: GLContext, gl_api: GLAPI, other_context: GLContext) => boolean
|
|
5331
5331
|
destroy_context: (context: GLContext) => void
|
|
5332
5332
|
swap_buffers: (context: GLContext) => void
|
|
5333
|
-
check_feature: (context: GLContext, feature: string
|
|
5333
|
+
check_feature: (context: GLContext, feature: string) => boolean
|
|
5334
5334
|
get_gl_platform_version: (context: GLContext) => [ /* major */ number, /* minor */ number ]
|
|
5335
5335
|
get_config: (context: GLContext) => Gst.Structure | null
|
|
5336
5336
|
request_config: (context: GLContext, gl_config: Gst.Structure | null) => boolean
|
package/gstgl-1.0.d.ts
CHANGED
|
@@ -522,27 +522,27 @@ enum GLSLProfile {
|
|
|
522
522
|
* An option that can be activated on bufferpools to request OpenGL
|
|
523
523
|
* synchronization metadata on buffers from the pool.
|
|
524
524
|
*/
|
|
525
|
-
const BUFFER_POOL_OPTION_GL_SYNC_META: string
|
|
525
|
+
const BUFFER_POOL_OPTION_GL_SYNC_META: string
|
|
526
526
|
/**
|
|
527
527
|
* String used for %GST_GL_TEXTURE_TARGET_2D as a #GstBufferPool pool option
|
|
528
528
|
*/
|
|
529
|
-
const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D: string
|
|
529
|
+
const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D: string
|
|
530
530
|
/**
|
|
531
531
|
* String used for %GST_GL_TEXTURE_TARGET_EXTERNAL_OES as a #GstBufferPool pool option
|
|
532
532
|
*/
|
|
533
|
-
const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES: string
|
|
533
|
+
const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES: string
|
|
534
534
|
/**
|
|
535
535
|
* String used for %GST_GL_TEXTURE_TARGET_RECTANGLE as a #GstBufferPool pool option
|
|
536
536
|
*/
|
|
537
|
-
const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE: string
|
|
537
|
+
const BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE: string
|
|
538
538
|
/**
|
|
539
539
|
* Name of the caps feature indicating the use of GL buffers
|
|
540
540
|
*/
|
|
541
|
-
const CAPS_FEATURE_MEMORY_GL_BUFFER: string
|
|
541
|
+
const CAPS_FEATURE_MEMORY_GL_BUFFER: string
|
|
542
542
|
/**
|
|
543
543
|
* Name of the caps feature for indicating the use of #GstGLMemory
|
|
544
544
|
*/
|
|
545
|
-
const CAPS_FEATURE_MEMORY_GL_MEMORY: string
|
|
545
|
+
const CAPS_FEATURE_MEMORY_GL_MEMORY: string
|
|
546
546
|
/**
|
|
547
547
|
* GL Allocation flag indicating that the implementation should allocate the
|
|
548
548
|
* necessary resources.
|
|
@@ -572,77 +572,77 @@ const GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_SYSMEM: number
|
|
|
572
572
|
/**
|
|
573
573
|
* The name for %GST_GL_API_GLES1 used in various places
|
|
574
574
|
*/
|
|
575
|
-
const GL_API_GLES1_NAME: string
|
|
575
|
+
const GL_API_GLES1_NAME: string
|
|
576
576
|
/**
|
|
577
577
|
* The name for %GST_GL_API_GLES2 used in various places
|
|
578
578
|
*/
|
|
579
|
-
const GL_API_GLES2_NAME: string
|
|
579
|
+
const GL_API_GLES2_NAME: string
|
|
580
580
|
/**
|
|
581
581
|
* The name for %GST_GL_API_OPENGL3 used in various places
|
|
582
582
|
*/
|
|
583
|
-
const GL_API_OPENGL3_NAME: string
|
|
583
|
+
const GL_API_OPENGL3_NAME: string
|
|
584
584
|
/**
|
|
585
585
|
* The name for %GST_GL_API_OPENGL used in various places
|
|
586
586
|
*/
|
|
587
|
-
const GL_API_OPENGL_NAME: string
|
|
587
|
+
const GL_API_OPENGL_NAME: string
|
|
588
588
|
/**
|
|
589
589
|
* The name of the GL buffer allocator
|
|
590
590
|
*/
|
|
591
|
-
const GL_BASE_MEMORY_ALLOCATOR_NAME: string
|
|
591
|
+
const GL_BASE_MEMORY_ALLOCATOR_NAME: string
|
|
592
592
|
/**
|
|
593
593
|
* The name of the GL buffer allocator
|
|
594
594
|
*/
|
|
595
|
-
const GL_BUFFER_ALLOCATOR_NAME: string
|
|
595
|
+
const GL_BUFFER_ALLOCATOR_NAME: string
|
|
596
596
|
/**
|
|
597
597
|
* The currently supported formats that can be converted
|
|
598
598
|
*/
|
|
599
|
-
const GL_COLOR_CONVERT_FORMATS: string
|
|
599
|
+
const GL_COLOR_CONVERT_FORMATS: string
|
|
600
600
|
/**
|
|
601
601
|
* The currently supported #GstCaps that can be converted
|
|
602
602
|
*/
|
|
603
|
-
const GL_COLOR_CONVERT_VIDEO_CAPS: string
|
|
603
|
+
const GL_COLOR_CONVERT_VIDEO_CAPS: string
|
|
604
604
|
/**
|
|
605
605
|
* The canonical name of a #GstStructure that contains a configuration for a
|
|
606
606
|
* #GstGLContext.
|
|
607
607
|
*/
|
|
608
|
-
const GL_CONFIG_STRUCTURE_NAME: string
|
|
609
|
-
const GL_CONTEXT_TYPE_CGL: string
|
|
610
|
-
const GL_CONTEXT_TYPE_EAGL: string
|
|
611
|
-
const GL_CONTEXT_TYPE_EGL: string
|
|
612
|
-
const GL_CONTEXT_TYPE_GLX: string
|
|
613
|
-
const GL_CONTEXT_TYPE_WGL: string
|
|
608
|
+
const GL_CONFIG_STRUCTURE_NAME: string
|
|
609
|
+
const GL_CONTEXT_TYPE_CGL: string
|
|
610
|
+
const GL_CONTEXT_TYPE_EAGL: string
|
|
611
|
+
const GL_CONTEXT_TYPE_EGL: string
|
|
612
|
+
const GL_CONTEXT_TYPE_GLX: string
|
|
613
|
+
const GL_CONTEXT_TYPE_WGL: string
|
|
614
614
|
/**
|
|
615
615
|
* The name used in #GstContext queries for requesting a #GstGLDisplay
|
|
616
616
|
*/
|
|
617
|
-
const GL_DISPLAY_CONTEXT_TYPE: string
|
|
617
|
+
const GL_DISPLAY_CONTEXT_TYPE: string
|
|
618
618
|
/**
|
|
619
619
|
* The name of the GL memory allocator
|
|
620
620
|
*/
|
|
621
|
-
const GL_MEMORY_ALLOCATOR_NAME: string
|
|
621
|
+
const GL_MEMORY_ALLOCATOR_NAME: string
|
|
622
622
|
/**
|
|
623
623
|
* The name of the GL Memory PBO allocator
|
|
624
624
|
*/
|
|
625
|
-
const GL_MEMORY_PBO_ALLOCATOR_NAME: string
|
|
625
|
+
const GL_MEMORY_PBO_ALLOCATOR_NAME: string
|
|
626
626
|
/**
|
|
627
627
|
* List of video formats that are supported by #GstGLMemory
|
|
628
628
|
*/
|
|
629
|
-
const GL_MEMORY_VIDEO_FORMATS_STR: string
|
|
629
|
+
const GL_MEMORY_VIDEO_FORMATS_STR: string
|
|
630
630
|
/**
|
|
631
631
|
* The name of the GL renderbuffer allocator
|
|
632
632
|
*/
|
|
633
|
-
const GL_RENDERBUFFER_ALLOCATOR_NAME: string
|
|
633
|
+
const GL_RENDERBUFFER_ALLOCATOR_NAME: string
|
|
634
634
|
/**
|
|
635
635
|
* String used for %GST_GL_TEXTURE_TARGET_2D in things like caps values
|
|
636
636
|
*/
|
|
637
|
-
const GL_TEXTURE_TARGET_2D_STR: string
|
|
637
|
+
const GL_TEXTURE_TARGET_2D_STR: string
|
|
638
638
|
/**
|
|
639
639
|
* String used for %GST_GL_TEXTURE_TARGET_EXTERNAL_OES in things like caps values
|
|
640
640
|
*/
|
|
641
|
-
const GL_TEXTURE_TARGET_EXTERNAL_OES_STR: string
|
|
641
|
+
const GL_TEXTURE_TARGET_EXTERNAL_OES_STR: string
|
|
642
642
|
/**
|
|
643
643
|
* String used for %GST_GL_TEXTURE_TARGET_RECTANGLE in things like caps values
|
|
644
644
|
*/
|
|
645
|
-
const GL_TEXTURE_TARGET_RECTANGLE_STR: string
|
|
645
|
+
const GL_TEXTURE_TARGET_RECTANGLE_STR: string
|
|
646
646
|
/**
|
|
647
647
|
* Flag indicating that we should map the GL object instead of to system memory.
|
|
648
648
|
*
|
|
@@ -667,7 +667,7 @@ function context_get_gl_display(context: Gst.Context): [ /* returnType */ boolea
|
|
|
667
667
|
* @param display resulting #GstGLDisplay
|
|
668
668
|
*/
|
|
669
669
|
function context_set_gl_display(context: Gst.Context, display: GLDisplay | null): void
|
|
670
|
-
function gl_api_from_string(api_s: string
|
|
670
|
+
function gl_api_from_string(api_s: string): GLAPI
|
|
671
671
|
function gl_api_to_string(api: GLAPI): string | null
|
|
672
672
|
function gl_base_memory_alloc(allocator: GLBaseMemoryAllocator, params: GLAllocationParams): GLBaseMemory | null
|
|
673
673
|
function gl_base_memory_error_quark(): GLib.Quark
|
|
@@ -681,7 +681,7 @@ function gl_base_memory_init_once(): void
|
|
|
681
681
|
* multiple times. This must be called before any other #GstGLBuffer operation.
|
|
682
682
|
*/
|
|
683
683
|
function gl_buffer_init_once(): void
|
|
684
|
-
function gl_check_extension(name: string
|
|
684
|
+
function gl_check_extension(name: string, ext: string): boolean
|
|
685
685
|
function gl_config_caveat_to_string(caveat: GLConfigCaveat): string | null
|
|
686
686
|
function gl_config_surface_type_to_string(surface_type: GLConfigSurfaceType): string | null
|
|
687
687
|
function gl_context_error_quark(): GLib.Quark
|
|
@@ -762,7 +762,7 @@ function gl_memory_pbo_init_once(): void
|
|
|
762
762
|
* @param b another 2-dimensional 4x4 array of #gfloat
|
|
763
763
|
*/
|
|
764
764
|
function gl_multiply_matrix4(a: number[], b: number[]): /* result */ number[]
|
|
765
|
-
function gl_platform_from_string(platform_s: string
|
|
765
|
+
function gl_platform_from_string(platform_s: string): GLPlatform
|
|
766
766
|
function gl_platform_to_string(platform: GLPlatform): string | null
|
|
767
767
|
/**
|
|
768
768
|
* Performs a GST_QUERY_CONTEXT query of type "gst.gl.local_context" on all
|
|
@@ -791,7 +791,7 @@ function gl_stereo_downmix_mode_get_type(): GObject.GType
|
|
|
791
791
|
function gl_sync_meta_api_get_type(): GObject.GType
|
|
792
792
|
function gl_sync_meta_get_info(): Gst.MetaInfo
|
|
793
793
|
function gl_texture_target_from_gl(target: number): GLTextureTarget
|
|
794
|
-
function gl_texture_target_from_string(str: string
|
|
794
|
+
function gl_texture_target_from_string(str: string): GLTextureTarget
|
|
795
795
|
function gl_texture_target_to_buffer_pool_option(target: GLTextureTarget): string | null
|
|
796
796
|
function gl_texture_target_to_gl(target: GLTextureTarget): number
|
|
797
797
|
function gl_texture_target_to_string(target: GLTextureTarget): string | null
|
|
@@ -813,7 +813,7 @@ function gl_value_set_texture_target_from_mask(value: any, target_mask: GLTextur
|
|
|
813
813
|
function gl_version_to_glsl_version(gl_api: GLAPI, maj: number, min: number): GLSLVersion
|
|
814
814
|
function gl_window_error_quark(): GLib.Quark
|
|
815
815
|
function glsl_error_quark(): GLib.Quark
|
|
816
|
-
function glsl_profile_from_string(string: string
|
|
816
|
+
function glsl_profile_from_string(string: string): GLSLProfile
|
|
817
817
|
function glsl_profile_to_string(profile: GLSLProfile): string | null
|
|
818
818
|
/**
|
|
819
819
|
* Note: this function first searches the first 1 kilobytes for a `#version`
|
|
@@ -821,15 +821,15 @@ function glsl_profile_to_string(profile: GLSLProfile): string | null
|
|
|
821
821
|
* @param s string to search for a valid `#version` string
|
|
822
822
|
* @returns TRUE if a valid `#version` string was found, FALSE otherwise
|
|
823
823
|
*/
|
|
824
|
-
function glsl_string_get_version_profile(s: string
|
|
825
|
-
function glsl_version_from_string(string: string
|
|
824
|
+
function glsl_string_get_version_profile(s: string): [ /* returnType */ boolean, /* version */ GLSLVersion, /* profile */ GLSLProfile ]
|
|
825
|
+
function glsl_version_from_string(string: string): GLSLVersion
|
|
826
826
|
/**
|
|
827
827
|
* Note: this function expects either a `#version` GLSL preprocesser directive
|
|
828
828
|
* or a valid GLSL version and/or profile.
|
|
829
829
|
* @param string a valid GLSL `#version` string
|
|
830
830
|
* @returns TRUE if a valid `#version` string was found, FALSE otherwise
|
|
831
831
|
*/
|
|
832
|
-
function glsl_version_profile_from_string(string: string
|
|
832
|
+
function glsl_version_profile_from_string(string: string): [ /* returnType */ boolean, /* version_ret */ GLSLVersion, /* profile_ret */ GLSLProfile ]
|
|
833
833
|
function glsl_version_profile_to_string(version: GLSLVersion, profile: GLSLProfile): string | null
|
|
834
834
|
function glsl_version_to_string(version: GLSLVersion): string | null
|
|
835
835
|
function is_gl_base_memory(mem: Gst.Memory): boolean
|
|
@@ -2034,7 +2034,7 @@ interface GLContext {
|
|
|
2034
2034
|
* @param feature a platform specific feature
|
|
2035
2035
|
* @returns Whether @feature is supported by @context
|
|
2036
2036
|
*/
|
|
2037
|
-
check_feature(feature: string
|
|
2037
|
+
check_feature(feature: string): boolean
|
|
2038
2038
|
/**
|
|
2039
2039
|
* Must be called with `context` current.
|
|
2040
2040
|
* @param fbo_target the GL value of the framebuffer target, GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER
|
|
@@ -2153,7 +2153,7 @@ interface GLContext {
|
|
|
2153
2153
|
* @param name an opengl function name
|
|
2154
2154
|
* @returns a function pointer or %NULL
|
|
2155
2155
|
*/
|
|
2156
|
-
get_proc_address(name: string
|
|
2156
|
+
get_proc_address(name: string): any | null
|
|
2157
2157
|
get_thread(): GLib.Thread | null
|
|
2158
2158
|
get_window(): GLWindow | null
|
|
2159
2159
|
is_shared(): boolean
|
|
@@ -2262,7 +2262,7 @@ interface GLContext {
|
|
|
2262
2262
|
* @param feature a platform specific feature
|
|
2263
2263
|
* @returns Whether @feature is supported by @context
|
|
2264
2264
|
*/
|
|
2265
|
-
vfunc_check_feature(feature: string
|
|
2265
|
+
vfunc_check_feature(feature: string): boolean
|
|
2266
2266
|
vfunc_choose_format(): boolean
|
|
2267
2267
|
vfunc_create_context(gl_api: GLAPI, other_context: GLContext): boolean
|
|
2268
2268
|
vfunc_destroy_context(): void
|
|
@@ -2410,7 +2410,7 @@ class GLContext extends Gst.Object {
|
|
|
2410
2410
|
* @param name then function to get the address of
|
|
2411
2411
|
* @returns an address pointing to @name or %NULL
|
|
2412
2412
|
*/
|
|
2413
|
-
static default_get_proc_address(gl_api: GLAPI, name: string
|
|
2413
|
+
static default_get_proc_address(gl_api: GLAPI, name: string): any | null
|
|
2414
2414
|
/**
|
|
2415
2415
|
* See also gst_gl_context_activate().
|
|
2416
2416
|
* @returns the #GstGLContext active in the current thread or %NULL
|
|
@@ -2434,7 +2434,7 @@ class GLContext extends Gst.Object {
|
|
|
2434
2434
|
* @param name the name of the function to retrieve
|
|
2435
2435
|
* @returns a function pointer for @name, or %NULL
|
|
2436
2436
|
*/
|
|
2437
|
-
static get_proc_address_with_platform(context_type: GLPlatform, gl_api: GLAPI, name: string
|
|
2437
|
+
static get_proc_address_with_platform(context_type: GLPlatform, gl_api: GLAPI, name: string): any | null
|
|
2438
2438
|
}
|
|
2439
2439
|
|
|
2440
2440
|
module GLDisplay {
|
|
@@ -3781,7 +3781,7 @@ class GLSLStage extends Gst.Object {
|
|
|
3781
3781
|
static new(context: GLContext, type: number): GLSLStage
|
|
3782
3782
|
static new_default_fragment(context: GLContext): GLSLStage
|
|
3783
3783
|
static new_default_vertex(context: GLContext): GLSLStage
|
|
3784
|
-
static new_with_string(context: GLContext, type: number, version: GLSLVersion, profile: GLSLProfile, str: string
|
|
3784
|
+
static new_with_string(context: GLContext, type: number, version: GLSLVersion, profile: GLSLProfile, str: string): GLSLStage
|
|
3785
3785
|
static new_with_strings(context: GLContext, type: number, version: GLSLVersion, profile: GLSLProfile, str: string[]): GLSLStage
|
|
3786
3786
|
_init(config?: GLSLStage.ConstructorProperties): void
|
|
3787
3787
|
}
|
|
@@ -3832,14 +3832,14 @@ interface GLShader {
|
|
|
3832
3832
|
* @param index attribute index to set
|
|
3833
3833
|
* @param name name of the attribute
|
|
3834
3834
|
*/
|
|
3835
|
-
bind_attribute_location(index: number, name: string
|
|
3835
|
+
bind_attribute_location(index: number, name: string): void
|
|
3836
3836
|
/**
|
|
3837
3837
|
* Bind attribute `name` to the specified location `index` using
|
|
3838
3838
|
* `glBindFragDataLocation()`.
|
|
3839
3839
|
* @param index attribute index to set
|
|
3840
3840
|
* @param name name of the attribute
|
|
3841
3841
|
*/
|
|
3842
|
-
bind_frag_data_location(index: number, name: string
|
|
3842
|
+
bind_frag_data_location(index: number, name: string): void
|
|
3843
3843
|
/**
|
|
3844
3844
|
* Compiles `stage` and attaches it to `shader`.
|
|
3845
3845
|
*
|
|
@@ -3864,7 +3864,7 @@ interface GLShader {
|
|
|
3864
3864
|
* @param stage a #GstGLSLStage to attach
|
|
3865
3865
|
*/
|
|
3866
3866
|
detach_unlocked(stage: GLSLStage): void
|
|
3867
|
-
get_attribute_location(name: string
|
|
3867
|
+
get_attribute_location(name: string): number
|
|
3868
3868
|
get_program_handle(): number
|
|
3869
3869
|
/**
|
|
3870
3870
|
* Note: must be called in the GL thread
|
|
@@ -3895,51 +3895,51 @@ interface GLShader {
|
|
|
3895
3895
|
* @param name name of the uniform
|
|
3896
3896
|
* @param value value to set
|
|
3897
3897
|
*/
|
|
3898
|
-
set_uniform_1f(name: string
|
|
3898
|
+
set_uniform_1f(name: string, value: number): void
|
|
3899
3899
|
/**
|
|
3900
3900
|
* Perform `glUniform1fv()` for `name` on `shader`
|
|
3901
3901
|
* @param name name of the uniform
|
|
3902
3902
|
* @param value values to set
|
|
3903
3903
|
*/
|
|
3904
|
-
set_uniform_1fv(name: string
|
|
3904
|
+
set_uniform_1fv(name: string, value: number[]): void
|
|
3905
3905
|
/**
|
|
3906
3906
|
* Perform `glUniform1i()` for `name` on `shader`
|
|
3907
3907
|
* @param name name of the uniform
|
|
3908
3908
|
* @param value value to set
|
|
3909
3909
|
*/
|
|
3910
|
-
set_uniform_1i(name: string
|
|
3910
|
+
set_uniform_1i(name: string, value: number): void
|
|
3911
3911
|
/**
|
|
3912
3912
|
* Perform `glUniform1iv()` for `name` on `shader`
|
|
3913
3913
|
* @param name name of the uniform
|
|
3914
3914
|
* @param value values to set
|
|
3915
3915
|
*/
|
|
3916
|
-
set_uniform_1iv(name: string
|
|
3916
|
+
set_uniform_1iv(name: string, value: number[]): void
|
|
3917
3917
|
/**
|
|
3918
3918
|
* Perform `glUniform2f()` for `name` on `shader`
|
|
3919
3919
|
* @param name name of the uniform
|
|
3920
3920
|
* @param v0 first value to set
|
|
3921
3921
|
* @param v1 second value to set
|
|
3922
3922
|
*/
|
|
3923
|
-
set_uniform_2f(name: string
|
|
3923
|
+
set_uniform_2f(name: string, v0: number, v1: number): void
|
|
3924
3924
|
/**
|
|
3925
3925
|
* Perform `glUniform2fv()` for `name` on `shader`
|
|
3926
3926
|
* @param name name of the uniform
|
|
3927
3927
|
* @param value values to set
|
|
3928
3928
|
*/
|
|
3929
|
-
set_uniform_2fv(name: string
|
|
3929
|
+
set_uniform_2fv(name: string, value: number[]): void
|
|
3930
3930
|
/**
|
|
3931
3931
|
* Perform `glUniform2i()` for `name` on `shader`
|
|
3932
3932
|
* @param name name of the uniform
|
|
3933
3933
|
* @param v0 first value to set
|
|
3934
3934
|
* @param v1 second value to set
|
|
3935
3935
|
*/
|
|
3936
|
-
set_uniform_2i(name: string
|
|
3936
|
+
set_uniform_2i(name: string, v0: number, v1: number): void
|
|
3937
3937
|
/**
|
|
3938
3938
|
* Perform `glUniform2iv()` for `name` on `shader`
|
|
3939
3939
|
* @param name name of the uniform
|
|
3940
3940
|
* @param value values to set
|
|
3941
3941
|
*/
|
|
3942
|
-
set_uniform_2iv(name: string
|
|
3942
|
+
set_uniform_2iv(name: string, value: number[]): void
|
|
3943
3943
|
/**
|
|
3944
3944
|
* Perform `glUniform3f()` for `name` on `shader`
|
|
3945
3945
|
* @param name name of the uniform
|
|
@@ -3947,13 +3947,13 @@ interface GLShader {
|
|
|
3947
3947
|
* @param v1 second value to set
|
|
3948
3948
|
* @param v2 third value to set
|
|
3949
3949
|
*/
|
|
3950
|
-
set_uniform_3f(name: string
|
|
3950
|
+
set_uniform_3f(name: string, v0: number, v1: number, v2: number): void
|
|
3951
3951
|
/**
|
|
3952
3952
|
* Perform `glUniform3fv()` for `name` on `shader`
|
|
3953
3953
|
* @param name name of the uniform
|
|
3954
3954
|
* @param value values to set
|
|
3955
3955
|
*/
|
|
3956
|
-
set_uniform_3fv(name: string
|
|
3956
|
+
set_uniform_3fv(name: string, value: number[]): void
|
|
3957
3957
|
/**
|
|
3958
3958
|
* Perform `glUniform3i()` for `name` on `shader`
|
|
3959
3959
|
* @param name name of the uniform
|
|
@@ -3961,13 +3961,13 @@ interface GLShader {
|
|
|
3961
3961
|
* @param v1 second value to set
|
|
3962
3962
|
* @param v2 third value to set
|
|
3963
3963
|
*/
|
|
3964
|
-
set_uniform_3i(name: string
|
|
3964
|
+
set_uniform_3i(name: string, v0: number, v1: number, v2: number): void
|
|
3965
3965
|
/**
|
|
3966
3966
|
* Perform `glUniform3iv()` for `name` on `shader`
|
|
3967
3967
|
* @param name name of the uniform
|
|
3968
3968
|
* @param value values to set
|
|
3969
3969
|
*/
|
|
3970
|
-
set_uniform_3iv(name: string
|
|
3970
|
+
set_uniform_3iv(name: string, value: number[]): void
|
|
3971
3971
|
/**
|
|
3972
3972
|
* Perform `glUniform4f()` for `name` on `shader`
|
|
3973
3973
|
* @param name name of the uniform
|
|
@@ -3976,13 +3976,13 @@ interface GLShader {
|
|
|
3976
3976
|
* @param v2 third value to set
|
|
3977
3977
|
* @param v3 fourth value to set
|
|
3978
3978
|
*/
|
|
3979
|
-
set_uniform_4f(name: string
|
|
3979
|
+
set_uniform_4f(name: string, v0: number, v1: number, v2: number, v3: number): void
|
|
3980
3980
|
/**
|
|
3981
3981
|
* Perform `glUniform4fv()` for `name` on `shader`
|
|
3982
3982
|
* @param name name of the uniform
|
|
3983
3983
|
* @param value values to set
|
|
3984
3984
|
*/
|
|
3985
|
-
set_uniform_4fv(name: string
|
|
3985
|
+
set_uniform_4fv(name: string, value: number[]): void
|
|
3986
3986
|
/**
|
|
3987
3987
|
* Perform `glUniform4i()` for `name` on `shader`
|
|
3988
3988
|
* @param name name of the uniform
|
|
@@ -3991,13 +3991,13 @@ interface GLShader {
|
|
|
3991
3991
|
* @param v2 third value to set
|
|
3992
3992
|
* @param v3 fourth value to set
|
|
3993
3993
|
*/
|
|
3994
|
-
set_uniform_4i(name: string
|
|
3994
|
+
set_uniform_4i(name: string, v0: number, v1: number, v2: number, v3: number): void
|
|
3995
3995
|
/**
|
|
3996
3996
|
* Perform `glUniform4iv()` for `name` on `shader`
|
|
3997
3997
|
* @param name name of the uniform
|
|
3998
3998
|
* @param value values to set
|
|
3999
3999
|
*/
|
|
4000
|
-
set_uniform_4iv(name: string
|
|
4000
|
+
set_uniform_4iv(name: string, value: number[]): void
|
|
4001
4001
|
/**
|
|
4002
4002
|
* Perform `glUniformMatrix2fv()` for `name` on `shader`
|
|
4003
4003
|
* @param name name of the uniform
|
|
@@ -4005,7 +4005,7 @@ interface GLShader {
|
|
|
4005
4005
|
* @param transpose transpose the matrix
|
|
4006
4006
|
* @param value matrix to set
|
|
4007
4007
|
*/
|
|
4008
|
-
set_uniform_matrix_2fv(name: string
|
|
4008
|
+
set_uniform_matrix_2fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4009
4009
|
/**
|
|
4010
4010
|
* Perform `glUniformMatrix2x3fv()` for `name` on `shader`
|
|
4011
4011
|
* @param name name of the uniform
|
|
@@ -4013,7 +4013,7 @@ interface GLShader {
|
|
|
4013
4013
|
* @param transpose transpose the matrix
|
|
4014
4014
|
* @param value values to set
|
|
4015
4015
|
*/
|
|
4016
|
-
set_uniform_matrix_2x3fv(name: string
|
|
4016
|
+
set_uniform_matrix_2x3fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4017
4017
|
/**
|
|
4018
4018
|
* Perform `glUniformMatrix2x4fv()` for `name` on `shader`
|
|
4019
4019
|
* @param name name of the uniform
|
|
@@ -4021,7 +4021,7 @@ interface GLShader {
|
|
|
4021
4021
|
* @param transpose transpose the matrix
|
|
4022
4022
|
* @param value values to set
|
|
4023
4023
|
*/
|
|
4024
|
-
set_uniform_matrix_2x4fv(name: string
|
|
4024
|
+
set_uniform_matrix_2x4fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4025
4025
|
/**
|
|
4026
4026
|
* Perform `glUniformMatrix3fv()` for `name` on `shader`
|
|
4027
4027
|
* @param name name of the uniform
|
|
@@ -4029,7 +4029,7 @@ interface GLShader {
|
|
|
4029
4029
|
* @param transpose transpose the matrix
|
|
4030
4030
|
* @param value values to set
|
|
4031
4031
|
*/
|
|
4032
|
-
set_uniform_matrix_3fv(name: string
|
|
4032
|
+
set_uniform_matrix_3fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4033
4033
|
/**
|
|
4034
4034
|
* Perform `glUniformMatrix3x2fv()` for `name` on `shader`
|
|
4035
4035
|
* @param name name of the uniform
|
|
@@ -4037,7 +4037,7 @@ interface GLShader {
|
|
|
4037
4037
|
* @param transpose transpose the matrix
|
|
4038
4038
|
* @param value values to set
|
|
4039
4039
|
*/
|
|
4040
|
-
set_uniform_matrix_3x2fv(name: string
|
|
4040
|
+
set_uniform_matrix_3x2fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4041
4041
|
/**
|
|
4042
4042
|
* Perform `glUniformMatrix3x4fv()` for `name` on `shader`
|
|
4043
4043
|
* @param name name of the uniform
|
|
@@ -4045,7 +4045,7 @@ interface GLShader {
|
|
|
4045
4045
|
* @param transpose transpose the matrix
|
|
4046
4046
|
* @param value values to set
|
|
4047
4047
|
*/
|
|
4048
|
-
set_uniform_matrix_3x4fv(name: string
|
|
4048
|
+
set_uniform_matrix_3x4fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4049
4049
|
/**
|
|
4050
4050
|
* Perform `glUniformMatrix4fv()` for `name` on `shader`
|
|
4051
4051
|
* @param name name of the uniform
|
|
@@ -4053,7 +4053,7 @@ interface GLShader {
|
|
|
4053
4053
|
* @param transpose transpose the matrix
|
|
4054
4054
|
* @param value values to set
|
|
4055
4055
|
*/
|
|
4056
|
-
set_uniform_matrix_4fv(name: string
|
|
4056
|
+
set_uniform_matrix_4fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4057
4057
|
/**
|
|
4058
4058
|
* Perform `glUniformMatrix4x2fv()` for `name` on `shader`
|
|
4059
4059
|
* @param name name of the uniform
|
|
@@ -4061,7 +4061,7 @@ interface GLShader {
|
|
|
4061
4061
|
* @param transpose transpose the matrix
|
|
4062
4062
|
* @param value values to set
|
|
4063
4063
|
*/
|
|
4064
|
-
set_uniform_matrix_4x2fv(name: string
|
|
4064
|
+
set_uniform_matrix_4x2fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4065
4065
|
/**
|
|
4066
4066
|
* Perform `glUniformMatrix4x3fv()` for `name` on `shader`
|
|
4067
4067
|
* @param name name of the uniform
|
|
@@ -4069,7 +4069,7 @@ interface GLShader {
|
|
|
4069
4069
|
* @param transpose transpose the matrix
|
|
4070
4070
|
* @param value values to set
|
|
4071
4071
|
*/
|
|
4072
|
-
set_uniform_matrix_4x3fv(name: string
|
|
4072
|
+
set_uniform_matrix_4x3fv(name: string, count: number, transpose: boolean, value: number): void
|
|
4073
4073
|
/**
|
|
4074
4074
|
* Mark's `shader` as being used for the next GL draw command.
|
|
4075
4075
|
*
|
|
@@ -4172,7 +4172,7 @@ class GLShader extends Gst.Object {
|
|
|
4172
4172
|
* @param profile a #GstGLSLProfile
|
|
4173
4173
|
* @returns a shader string defining the precision of float types based on @context, @version and @profile
|
|
4174
4174
|
*/
|
|
4175
|
-
static string_get_highest_precision(context: GLContext, version: GLSLVersion, profile: GLSLProfile): string
|
|
4175
|
+
static string_get_highest_precision(context: GLContext, version: GLSLVersion, profile: GLSLProfile): string
|
|
4176
4176
|
}
|
|
4177
4177
|
|
|
4178
4178
|
module GLUpload {
|
|
@@ -4557,7 +4557,7 @@ interface GLWindow {
|
|
|
4557
4557
|
* Start the execution of the runloop.
|
|
4558
4558
|
*/
|
|
4559
4559
|
run(): void
|
|
4560
|
-
send_key_event(event_type: string
|
|
4560
|
+
send_key_event(event_type: string, key_str: string): void
|
|
4561
4561
|
/**
|
|
4562
4562
|
* Invoke `callback` with data on the window thread. `callback` is guaranteed to
|
|
4563
4563
|
* have executed when this function returns.
|
|
@@ -4570,7 +4570,7 @@ interface GLWindow {
|
|
|
4570
4570
|
* @param callback function to invoke
|
|
4571
4571
|
*/
|
|
4572
4572
|
send_message_async(callback: GLWindowCB): void
|
|
4573
|
-
send_mouse_event(event_type: string
|
|
4573
|
+
send_mouse_event(event_type: string, button: number, posx: number, posy: number): void
|
|
4574
4574
|
/**
|
|
4575
4575
|
* Notify a `window` about a scroll event. A scroll signal holding the event
|
|
4576
4576
|
* coordinates will be emitted.
|
|
@@ -5326,13 +5326,13 @@ interface GLContextClass {
|
|
|
5326
5326
|
get_gl_context: (context: GLContext) => never
|
|
5327
5327
|
get_gl_api: (context: GLContext) => GLAPI
|
|
5328
5328
|
get_gl_platform: (context: GLContext) => GLPlatform
|
|
5329
|
-
get_proc_address: (gl_api: GLAPI, name: string
|
|
5329
|
+
get_proc_address: (gl_api: GLAPI, name: string) => any
|
|
5330
5330
|
activate: (context: GLContext, activate: boolean) => boolean
|
|
5331
5331
|
choose_format: (context: GLContext) => boolean
|
|
5332
5332
|
create_context: (context: GLContext, gl_api: GLAPI, other_context: GLContext) => boolean
|
|
5333
5333
|
destroy_context: (context: GLContext) => void
|
|
5334
5334
|
swap_buffers: (context: GLContext) => void
|
|
5335
|
-
check_feature: (context: GLContext, feature: string
|
|
5335
|
+
check_feature: (context: GLContext, feature: string) => boolean
|
|
5336
5336
|
get_gl_platform_version: (context: GLContext) => [ /* major */ number, /* minor */ number ]
|
|
5337
5337
|
get_config: (context: GLContext) => Gst.Structure | null
|
|
5338
5338
|
request_config: (context: GLContext, gl_config: Gst.Structure | null) => boolean
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gstgl-1.0",
|
|
3
|
-
"version": "1.0.0-3.2.
|
|
3
|
+
"version": "1.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GstGL-1.0, generated from library version 1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gstgl-1.0.js",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gstgl-1.0.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/gjs": "^3.2.
|
|
29
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
30
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
31
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
32
|
-
"@girs/gst-1.0": "^1.23.0-3.2.
|
|
33
|
-
"@girs/gstbase-1.0": "^1.0.0-3.2.
|
|
34
|
-
"@girs/gstvideo-1.0": "^1.0.0-3.2.
|
|
28
|
+
"@girs/gjs": "^3.2.7",
|
|
29
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
30
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.7",
|
|
31
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7",
|
|
32
|
+
"@girs/gst-1.0": "^1.23.0-3.2.7",
|
|
33
|
+
"@girs/gstbase-1.0": "^1.0.0-3.2.7",
|
|
34
|
+
"@girs/gstvideo-1.0": "^1.0.0-3.2.7"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"typescript": "*"
|