@girs/cogl-13 13.0.0-4.0.0-beta.8 → 13.0.0-4.0.0-beta.10
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/cogl-13.d.ts +638 -55
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Cogl-13, generated from library version 13.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for Cogl-13, generated from library version 13.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.10.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/cogl-13.d.ts
CHANGED
|
@@ -22,6 +22,14 @@ export namespace Cogl {
|
|
|
22
22
|
/**
|
|
23
23
|
* Data types for the components of a vertex attribute.
|
|
24
24
|
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Data types for the components of a vertex attribute.
|
|
28
|
+
*/
|
|
29
|
+
export namespace AttributeType {
|
|
30
|
+
export const $gtype: GObject.GType<AttributeType>;
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
enum AttributeType {
|
|
26
34
|
/**
|
|
27
35
|
* Data is the same size of a byte
|
|
@@ -53,6 +61,18 @@ export namespace Cogl {
|
|
|
53
61
|
* example, if GdkPixbuf is used then errors #GdkPixbufError<!-- -->s
|
|
54
62
|
* will be used directly.
|
|
55
63
|
*/
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Error codes that can be thrown when performing bitmap
|
|
67
|
+
* operations. Note that gdk_pixbuf_new_from_file() can also throw
|
|
68
|
+
* errors directly from the underlying image loading library. For
|
|
69
|
+
* example, if GdkPixbuf is used then errors #GdkPixbufError<!-- -->s
|
|
70
|
+
* will be used directly.
|
|
71
|
+
*/
|
|
72
|
+
export namespace BitmapError {
|
|
73
|
+
export const $gtype: GObject.GType<BitmapError>;
|
|
74
|
+
}
|
|
75
|
+
|
|
56
76
|
enum BitmapError {
|
|
57
77
|
/**
|
|
58
78
|
* Generic failure code, something went
|
|
@@ -71,6 +91,14 @@ export namespace Cogl {
|
|
|
71
91
|
/**
|
|
72
92
|
* Error enumeration for the blend strings parser
|
|
73
93
|
*/
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Error enumeration for the blend strings parser
|
|
97
|
+
*/
|
|
98
|
+
export namespace BlendStringError {
|
|
99
|
+
export const $gtype: GObject.GType<BlendStringError>;
|
|
100
|
+
}
|
|
101
|
+
|
|
74
102
|
enum BlendStringError {
|
|
75
103
|
/**
|
|
76
104
|
* Generic parse error
|
|
@@ -99,6 +127,20 @@ export namespace Cogl {
|
|
|
99
127
|
* The test is only done when depth testing is explicitly enabled. (See
|
|
100
128
|
* cogl_depth_state_set_test_enabled())
|
|
101
129
|
*/
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* When using depth testing one of these functions is used to compare
|
|
133
|
+
* the depth of an incoming fragment against the depth value currently
|
|
134
|
+
* stored in the depth buffer. The function is changed using
|
|
135
|
+
* cogl_depth_state_set_test_function().
|
|
136
|
+
*
|
|
137
|
+
* The test is only done when depth testing is explicitly enabled. (See
|
|
138
|
+
* cogl_depth_state_set_test_enabled())
|
|
139
|
+
*/
|
|
140
|
+
export namespace DepthTestFunction {
|
|
141
|
+
export const $gtype: GObject.GType<DepthTestFunction>;
|
|
142
|
+
}
|
|
143
|
+
|
|
102
144
|
enum DepthTestFunction {
|
|
103
145
|
/**
|
|
104
146
|
* Never passes.
|
|
@@ -144,6 +186,16 @@ export namespace Cogl {
|
|
|
144
186
|
* by Cogl. Applications that depend on any of these features should explicitly
|
|
145
187
|
* check for them using cogl_has_feature() or cogl_has_features().
|
|
146
188
|
*/
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* All the capabilities that can vary between different GPUs supported
|
|
192
|
+
* by Cogl. Applications that depend on any of these features should explicitly
|
|
193
|
+
* check for them using cogl_has_feature() or cogl_has_features().
|
|
194
|
+
*/
|
|
195
|
+
export namespace FeatureID {
|
|
196
|
+
export const $gtype: GObject.GType<FeatureID>;
|
|
197
|
+
}
|
|
198
|
+
|
|
147
199
|
enum FeatureID {
|
|
148
200
|
/**
|
|
149
201
|
* Set if
|
|
@@ -185,6 +237,14 @@ export namespace Cogl {
|
|
|
185
237
|
/**
|
|
186
238
|
* Return values for the #CoglXlibFilterFunc and #CoglWin32FilterFunc functions.
|
|
187
239
|
*/
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Return values for the #CoglXlibFilterFunc and #CoglWin32FilterFunc functions.
|
|
243
|
+
*/
|
|
244
|
+
export namespace FilterReturn {
|
|
245
|
+
export const $gtype: GObject.GType<FilterReturn>;
|
|
246
|
+
}
|
|
247
|
+
|
|
188
248
|
enum FilterReturn {
|
|
189
249
|
/**
|
|
190
250
|
* The event was not handled, continues the
|
|
@@ -212,6 +272,27 @@ export namespace Cogl {
|
|
|
212
272
|
* so applications should avoid needing to collect all statistics for
|
|
213
273
|
* a particular frame before they can start a new frame.</note>
|
|
214
274
|
*/
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Identifiers that are passed to #CoglFrameCallback functions
|
|
278
|
+
* (registered using cogl_onscreen_add_frame_callback()) that
|
|
279
|
+
* mark the progression of a frame in some way which usually
|
|
280
|
+
* means that new information will have been accumulated in the
|
|
281
|
+
* frame's corresponding #CoglFrameInfo object.
|
|
282
|
+
*
|
|
283
|
+
* The last event that will be sent for a frame will be a
|
|
284
|
+
* `COGL_FRAME_EVENT_COMPLETE` event and so these are a good
|
|
285
|
+
* opportunity to collect statistics about a frame since the
|
|
286
|
+
* #CoglFrameInfo should hold the most data at this point.
|
|
287
|
+
*
|
|
288
|
+
* <note>A frame may not be completed before the next frame can start
|
|
289
|
+
* so applications should avoid needing to collect all statistics for
|
|
290
|
+
* a particular frame before they can start a new frame.</note>
|
|
291
|
+
*/
|
|
292
|
+
export namespace FrameEvent {
|
|
293
|
+
export const $gtype: GObject.GType<FrameEvent>;
|
|
294
|
+
}
|
|
295
|
+
|
|
215
296
|
enum FrameEvent {
|
|
216
297
|
/**
|
|
217
298
|
* Notifies that the system compositor has
|
|
@@ -230,6 +311,11 @@ export namespace Cogl {
|
|
|
230
311
|
*/
|
|
231
312
|
COMPLETE,
|
|
232
313
|
}
|
|
314
|
+
|
|
315
|
+
export namespace FramebufferError {
|
|
316
|
+
export const $gtype: GObject.GType<FramebufferError>;
|
|
317
|
+
}
|
|
318
|
+
|
|
233
319
|
enum FramebufferError {
|
|
234
320
|
FRAMEBUFFER_ERROR_ALLOCATE,
|
|
235
321
|
}
|
|
@@ -239,6 +325,17 @@ export namespace Cogl {
|
|
|
239
325
|
* to the similarly named value defined in the ARB_robustness and
|
|
240
326
|
* NV_robustness_video_memory_purge extensions.
|
|
241
327
|
*/
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* All the error values that might be returned by
|
|
331
|
+
* cogl_get_graphics_reset_status(). Each value's meaning corresponds
|
|
332
|
+
* to the similarly named value defined in the ARB_robustness and
|
|
333
|
+
* NV_robustness_video_memory_purge extensions.
|
|
334
|
+
*/
|
|
335
|
+
export namespace GraphicsResetStatus {
|
|
336
|
+
export const $gtype: GObject.GType<GraphicsResetStatus>;
|
|
337
|
+
}
|
|
338
|
+
|
|
242
339
|
enum GraphicsResetStatus {
|
|
243
340
|
NO_ERROR,
|
|
244
341
|
GUILTY_CONTEXT_RESET,
|
|
@@ -257,6 +354,22 @@ export namespace Cogl {
|
|
|
257
354
|
* be available if the GL_OES_element_index_uint extension is
|
|
258
355
|
* advertized.
|
|
259
356
|
*/
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* You should aim to use the smallest data type that gives you enough
|
|
360
|
+
* range, since it reduces the size of your index array and can help
|
|
361
|
+
* reduce the demand on memory bandwidth.
|
|
362
|
+
*
|
|
363
|
+
* Note that %COGL_INDICES_TYPE_UNSIGNED_INT is only supported if the
|
|
364
|
+
* %COGL_FEATURE_ID_UNSIGNED_INT_INDICES feature is available. This
|
|
365
|
+
* should always be available on OpenGL but on OpenGL ES it will only
|
|
366
|
+
* be available if the GL_OES_element_index_uint extension is
|
|
367
|
+
* advertized.
|
|
368
|
+
*/
|
|
369
|
+
export namespace IndicesType {
|
|
370
|
+
export const $gtype: GObject.GType<IndicesType>;
|
|
371
|
+
}
|
|
372
|
+
|
|
260
373
|
enum IndicesType {
|
|
261
374
|
/**
|
|
262
375
|
* Your indices are unsigned bytes
|
|
@@ -277,6 +390,17 @@ export namespace Cogl {
|
|
|
277
390
|
* incoming alpha value and a reference alpha value. The #CoglPipelineAlphaFunc
|
|
278
391
|
* determines how the comparison is done.
|
|
279
392
|
*/
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Alpha testing happens before blending primitives with the framebuffer and
|
|
396
|
+
* gives an opportunity to discard fragments based on a comparison with the
|
|
397
|
+
* incoming alpha value and a reference alpha value. The #CoglPipelineAlphaFunc
|
|
398
|
+
* determines how the comparison is done.
|
|
399
|
+
*/
|
|
400
|
+
export namespace PipelineAlphaFunc {
|
|
401
|
+
export const $gtype: GObject.GType<PipelineAlphaFunc>;
|
|
402
|
+
}
|
|
403
|
+
|
|
280
404
|
enum PipelineAlphaFunc {
|
|
281
405
|
/**
|
|
282
406
|
* Never let the fragment through.
|
|
@@ -321,6 +445,15 @@ export namespace Cogl {
|
|
|
321
445
|
* Specifies which faces should be culled. This can be set on a
|
|
322
446
|
* pipeline using cogl_pipeline_set_cull_face_mode().
|
|
323
447
|
*/
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Specifies which faces should be culled. This can be set on a
|
|
451
|
+
* pipeline using cogl_pipeline_set_cull_face_mode().
|
|
452
|
+
*/
|
|
453
|
+
export namespace PipelineCullFaceMode {
|
|
454
|
+
export const $gtype: GObject.GType<PipelineCullFaceMode>;
|
|
455
|
+
}
|
|
456
|
+
|
|
324
457
|
enum PipelineCullFaceMode {
|
|
325
458
|
/**
|
|
326
459
|
* Neither face will be
|
|
@@ -347,6 +480,18 @@ export namespace Cogl {
|
|
|
347
480
|
* possibly referring to multiple neighbouring texels and taking a weighted
|
|
348
481
|
* average or simply using the nearest texel.
|
|
349
482
|
*/
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Texture filtering is used whenever the current pixel maps either to more
|
|
486
|
+
* than one texture element (texel) or less than one. These filter enums
|
|
487
|
+
* correspond to different strategies used to come up with a pixel color, by
|
|
488
|
+
* possibly referring to multiple neighbouring texels and taking a weighted
|
|
489
|
+
* average or simply using the nearest texel.
|
|
490
|
+
*/
|
|
491
|
+
export namespace PipelineFilter {
|
|
492
|
+
export const $gtype: GObject.GType<PipelineFilter>;
|
|
493
|
+
}
|
|
494
|
+
|
|
350
495
|
enum PipelineFilter {
|
|
351
496
|
/**
|
|
352
497
|
* Measuring in manhatten distance from the,
|
|
@@ -395,62 +540,370 @@ export namespace Cogl {
|
|
|
395
540
|
* artifacts around the edges when the pixels from the other side are
|
|
396
541
|
* merged in if the wrap mode is set to repeat.
|
|
397
542
|
*/
|
|
398
|
-
enum PipelineWrapMode {
|
|
399
|
-
/**
|
|
400
|
-
* The texture will be repeated. This
|
|
401
|
-
* is useful for example to draw a tiled background.
|
|
402
|
-
*/
|
|
403
|
-
REPEAT,
|
|
404
|
-
MIRRORED_REPEAT,
|
|
405
|
-
/**
|
|
406
|
-
* The coordinates outside the
|
|
407
|
-
* range 0→1 will sample copies of the edge pixels of the
|
|
408
|
-
* texture. This is useful to avoid artifacts if only one copy of
|
|
409
|
-
* the texture is being rendered.
|
|
410
|
-
*/
|
|
411
|
-
CLAMP_TO_EDGE,
|
|
412
|
-
/**
|
|
413
|
-
* Cogl will try to automatically
|
|
414
|
-
* decide which of the above two to use. For cogl_rectangle(), it
|
|
415
|
-
* will use repeat mode if any of the texture coordinates are
|
|
416
|
-
* outside the range 0→1, otherwise it will use clamp to edge. For
|
|
417
|
-
* cogl_polygon() it will always use repeat mode. For
|
|
418
|
-
* cogl_vertex_buffer_draw() it will use repeat mode except for
|
|
419
|
-
* layers that have point sprite coordinate generation enabled. This
|
|
420
|
-
* is the default value.
|
|
421
|
-
*/
|
|
422
|
-
AUTOMATIC,
|
|
423
|
-
}
|
|
424
|
-
enum RendererError {
|
|
425
|
-
XLIB_DISPLAY_OPEN,
|
|
426
|
-
BAD_CONSTRAINT,
|
|
427
|
-
}
|
|
428
|
-
class ScanoutError extends GLib.Error {
|
|
429
|
-
static $gtype: GObject.GType<ScanoutError>;
|
|
430
|
-
|
|
431
|
-
// Static fields of Cogl.ScanoutError
|
|
432
|
-
|
|
433
|
-
static SCANOUT_ERROR_INHIBITED: number;
|
|
434
|
-
|
|
435
|
-
// Constructors of Cogl.ScanoutError
|
|
436
|
-
|
|
437
|
-
constructor(options: { message: string; code: number });
|
|
438
|
-
_init(...args: any[]): void;
|
|
439
|
-
}
|
|
440
543
|
|
|
441
|
-
/**
|
|
442
|
-
*
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
}
|
|
544
|
+
/**
|
|
545
|
+
* The wrap mode specifies what happens when texture coordinates
|
|
546
|
+
* outside the range 0→1 are used. Note that if the filter mode is
|
|
547
|
+
* anything but %COGL_PIPELINE_FILTER_NEAREST then texels outside the
|
|
548
|
+
* range 0→1 might be used even when the coordinate is exactly 0 or 1
|
|
549
|
+
* because OpenGL will try to sample neighbouring pixels. For example
|
|
550
|
+
* if you are trying to render the full texture then you may get
|
|
551
|
+
* artifacts around the edges when the pixels from the other side are
|
|
552
|
+
* merged in if the wrap mode is set to repeat.
|
|
553
|
+
*/
|
|
554
|
+
export namespace PipelineWrapMode {
|
|
555
|
+
export const $gtype: GObject.GType<PipelineWrapMode>;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
enum PipelineWrapMode {
|
|
559
|
+
/**
|
|
560
|
+
* The texture will be repeated. This
|
|
561
|
+
* is useful for example to draw a tiled background.
|
|
562
|
+
*/
|
|
563
|
+
REPEAT,
|
|
564
|
+
MIRRORED_REPEAT,
|
|
565
|
+
/**
|
|
566
|
+
* The coordinates outside the
|
|
567
|
+
* range 0→1 will sample copies of the edge pixels of the
|
|
568
|
+
* texture. This is useful to avoid artifacts if only one copy of
|
|
569
|
+
* the texture is being rendered.
|
|
570
|
+
*/
|
|
571
|
+
CLAMP_TO_EDGE,
|
|
572
|
+
/**
|
|
573
|
+
* Cogl will try to automatically
|
|
574
|
+
* decide which of the above two to use. For cogl_rectangle(), it
|
|
575
|
+
* will use repeat mode if any of the texture coordinates are
|
|
576
|
+
* outside the range 0→1, otherwise it will use clamp to edge. For
|
|
577
|
+
* cogl_polygon() it will always use repeat mode. For
|
|
578
|
+
* cogl_vertex_buffer_draw() it will use repeat mode except for
|
|
579
|
+
* layers that have point sprite coordinate generation enabled. This
|
|
580
|
+
* is the default value.
|
|
581
|
+
*/
|
|
582
|
+
AUTOMATIC,
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
export namespace RendererError {
|
|
586
|
+
export const $gtype: GObject.GType<RendererError>;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
enum RendererError {
|
|
590
|
+
XLIB_DISPLAY_OPEN,
|
|
591
|
+
BAD_CONSTRAINT,
|
|
592
|
+
}
|
|
593
|
+
class ScanoutError extends GLib.Error {
|
|
594
|
+
static $gtype: GObject.GType<ScanoutError>;
|
|
595
|
+
|
|
596
|
+
// Static fields of Cogl.ScanoutError
|
|
597
|
+
|
|
598
|
+
static SCANOUT_ERROR_INHIBITED: number;
|
|
599
|
+
|
|
600
|
+
// Constructors of Cogl.ScanoutError
|
|
601
|
+
|
|
602
|
+
constructor(options: { message: string; code: number });
|
|
603
|
+
_init(...args: any[]): void;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Types of shaders
|
|
608
|
+
*/
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Types of shaders
|
|
612
|
+
*/
|
|
613
|
+
export namespace ShaderType {
|
|
614
|
+
export const $gtype: GObject.GType<ShaderType>;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
enum ShaderType {
|
|
618
|
+
/**
|
|
619
|
+
* A program for processing vertices
|
|
620
|
+
*/
|
|
621
|
+
VERTEX,
|
|
622
|
+
/**
|
|
623
|
+
* A program for processing fragments
|
|
624
|
+
*/
|
|
625
|
+
FRAGMENT,
|
|
626
|
+
}
|
|
627
|
+
/**
|
|
628
|
+
* #CoglSnippetHook is used to specify a location within a
|
|
629
|
+
* #CoglPipeline where the code of the snippet should be used when it
|
|
630
|
+
* is attached to a pipeline.
|
|
631
|
+
*
|
|
632
|
+
* <glosslist>
|
|
633
|
+
* <glossentry>
|
|
634
|
+
* <glossterm>%COGL_SNIPPET_HOOK_VERTEX_GLOBALS</glossterm>
|
|
635
|
+
* <glossdef>
|
|
636
|
+
* <para>
|
|
637
|
+
* Adds a shader snippet at the beginning of the global section of the
|
|
638
|
+
* shader for the vertex processing. Any declarations here can be
|
|
639
|
+
* shared with all other snippets that are attached to a vertex hook.
|
|
640
|
+
* Only the ‘declarations’ string is used and the other strings are
|
|
641
|
+
* ignored.
|
|
642
|
+
* </para>
|
|
643
|
+
* </glossdef>
|
|
644
|
+
* </glossentry>
|
|
645
|
+
* <glossentry>
|
|
646
|
+
* <glossterm>%COGL_SNIPPET_HOOK_FRAGMENT_GLOBALS</glossterm>
|
|
647
|
+
* <glossdef>
|
|
648
|
+
* <para>
|
|
649
|
+
* Adds a shader snippet at the beginning of the global section of the
|
|
650
|
+
* shader for the fragment processing. Any declarations here can be
|
|
651
|
+
* shared with all other snippets that are attached to a fragment
|
|
652
|
+
* hook. Only the ‘declarations’ string is used and the other strings
|
|
653
|
+
* are ignored.
|
|
654
|
+
* </para>
|
|
655
|
+
* </glossdef>
|
|
656
|
+
* </glossentry>
|
|
657
|
+
* <glossentry>
|
|
658
|
+
* <glossterm>%COGL_SNIPPET_HOOK_VERTEX</glossterm>
|
|
659
|
+
* <glossdef>
|
|
660
|
+
* <para>
|
|
661
|
+
* Adds a shader snippet that will hook on to the vertex processing
|
|
662
|
+
* stage of the pipeline. This gives a chance for the application to
|
|
663
|
+
* modify the vertex attributes generated by the shader. Typically the
|
|
664
|
+
* snippet will modify cogl_color_out or cogl_position_out builtins.
|
|
665
|
+
* </para>
|
|
666
|
+
* <para>
|
|
667
|
+
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
668
|
+
* global scope of the shader. Use this to declare any uniforms,
|
|
669
|
+
* attributes or functions that the snippet requires.
|
|
670
|
+
* </para>
|
|
671
|
+
* <para>
|
|
672
|
+
* The ‘pre’ string in `snippet` will be inserted at the top of the
|
|
673
|
+
* main() function before any vertex processing is done.
|
|
674
|
+
* </para>
|
|
675
|
+
* <para>
|
|
676
|
+
* The ‘replace’ string in `snippet` will be used instead of the
|
|
677
|
+
* generated vertex processing if it is present. This can be used if
|
|
678
|
+
* the application wants to provide a complete vertex shader and
|
|
679
|
+
* doesn't need the generated output from Cogl.
|
|
680
|
+
* </para>
|
|
681
|
+
* <para>
|
|
682
|
+
* The ‘post’ string in `snippet` will be inserted after all of the
|
|
683
|
+
* standard vertex processing is done. This can be used to modify the
|
|
684
|
+
* outputs.
|
|
685
|
+
* </para>
|
|
686
|
+
* </glossdef>
|
|
687
|
+
* </glossentry>
|
|
688
|
+
* <glossentry>
|
|
689
|
+
* <glossterm>%COGL_SNIPPET_HOOK_VERTEX_TRANSFORM</glossterm>
|
|
690
|
+
* <glossdef>
|
|
691
|
+
* <para>
|
|
692
|
+
* Adds a shader snippet that will hook on to the vertex transform stage.
|
|
693
|
+
* Typically the snippet will use the cogl_modelview_matrix,
|
|
694
|
+
* cogl_projection_matrix and cogl_modelview_projection_matrix matrices and the
|
|
695
|
+
* cogl_position_in attribute. The hook must write to cogl_position_out.
|
|
696
|
+
* The default processing for this hook will multiply cogl_position_in by
|
|
697
|
+
* the combined modelview-projection matrix and store it on cogl_position_out.
|
|
698
|
+
* </para>
|
|
699
|
+
* <para>
|
|
700
|
+
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
701
|
+
* global scope of the shader. Use this to declare any uniforms,
|
|
702
|
+
* attributes or functions that the snippet requires.
|
|
703
|
+
* </para>
|
|
704
|
+
* <para>
|
|
705
|
+
* The ‘pre’ string in `snippet` will be inserted at the top of the
|
|
706
|
+
* main() function before the vertex transform is done.
|
|
707
|
+
* </para>
|
|
708
|
+
* <para>
|
|
709
|
+
* The ‘replace’ string in `snippet` will be used instead of the
|
|
710
|
+
* generated vertex transform if it is present.
|
|
711
|
+
* </para>
|
|
712
|
+
* <para>
|
|
713
|
+
* The ‘post’ string in `snippet` will be inserted after all of the
|
|
714
|
+
* standard vertex transformation is done. This can be used to modify the
|
|
715
|
+
* cogl_position_out in addition to the default processing.
|
|
716
|
+
* </para>
|
|
717
|
+
* </glossdef>
|
|
718
|
+
* </glossentry>
|
|
719
|
+
* <glossentry>
|
|
720
|
+
* <glossterm>%COGL_SNIPPET_HOOK_POINT_SIZE</glossterm>
|
|
721
|
+
* <glossdef>
|
|
722
|
+
* <para>
|
|
723
|
+
* Adds a shader snippet that will hook on to the point size
|
|
724
|
+
* calculation step within the vertex shader stage. The snippet should
|
|
725
|
+
* write to the builtin cogl_point_size_out with the new point size.
|
|
726
|
+
* The snippet can either read cogl_point_size_in directly and write a
|
|
727
|
+
* new value or first read an existing value in cogl_point_size_out
|
|
728
|
+
* that would be set by a previous snippet. Note that this hook is
|
|
729
|
+
* only used if cogl_pipeline_set_per_vertex_point_size() is enabled
|
|
730
|
+
* on the pipeline.
|
|
731
|
+
* </para>
|
|
732
|
+
* <para>
|
|
733
|
+
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
734
|
+
* global scope of the shader. Use this to declare any uniforms,
|
|
735
|
+
* attributes or functions that the snippet requires.
|
|
736
|
+
* </para>
|
|
737
|
+
* <para>
|
|
738
|
+
* The ‘pre’ string in `snippet` will be inserted just before
|
|
739
|
+
* calculating the point size.
|
|
740
|
+
* </para>
|
|
741
|
+
* <para>
|
|
742
|
+
* The ‘replace’ string in `snippet` will be used instead of the
|
|
743
|
+
* generated point size calculation if it is present.
|
|
744
|
+
* </para>
|
|
745
|
+
* <para>
|
|
746
|
+
* The ‘post’ string in `snippet` will be inserted after the
|
|
747
|
+
* standard point size calculation is done. This can be used to modify
|
|
748
|
+
* cogl_point_size_out in addition to the default processing.
|
|
749
|
+
* </para>
|
|
750
|
+
* </glossdef>
|
|
751
|
+
* </glossentry>
|
|
752
|
+
* <glossentry>
|
|
753
|
+
* <glossterm>%COGL_SNIPPET_HOOK_FRAGMENT</glossterm>
|
|
754
|
+
* <glossdef>
|
|
755
|
+
* <para>
|
|
756
|
+
* Adds a shader snippet that will hook on to the fragment processing
|
|
757
|
+
* stage of the pipeline. This gives a chance for the application to
|
|
758
|
+
* modify the fragment color generated by the shader. Typically the
|
|
759
|
+
* snippet will modify cogl_color_out.
|
|
760
|
+
* </para>
|
|
761
|
+
* <para>
|
|
762
|
+
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
763
|
+
* global scope of the shader. Use this to declare any uniforms,
|
|
764
|
+
* attributes or functions that the snippet requires.
|
|
765
|
+
* </para>
|
|
766
|
+
* <para>
|
|
767
|
+
* The ‘pre’ string in `snippet` will be inserted at the top of the
|
|
768
|
+
* main() function before any fragment processing is done.
|
|
769
|
+
* </para>
|
|
770
|
+
* <para>
|
|
771
|
+
* The ‘replace’ string in `snippet` will be used instead of the
|
|
772
|
+
* generated fragment processing if it is present. This can be used if
|
|
773
|
+
* the application wants to provide a complete fragment shader and
|
|
774
|
+
* doesn't need the generated output from Cogl.
|
|
775
|
+
* </para>
|
|
776
|
+
* <para>
|
|
777
|
+
* The ‘post’ string in `snippet` will be inserted after all of the
|
|
778
|
+
* standard fragment processing is done. At this point the generated
|
|
779
|
+
* value for the rest of the pipeline state will already be in
|
|
780
|
+
* cogl_color_out so the application can modify the result by altering
|
|
781
|
+
* this variable.
|
|
782
|
+
* </para>
|
|
783
|
+
* </glossdef>
|
|
784
|
+
* </glossentry>
|
|
785
|
+
* <glossentry>
|
|
786
|
+
* <glossterm>%COGL_SNIPPET_HOOK_TEXTURE_COORD_TRANSFORM</glossterm>
|
|
787
|
+
* <glossdef>
|
|
788
|
+
* <para>
|
|
789
|
+
* Adds a shader snippet that will hook on to the texture coordinate
|
|
790
|
+
* transformation of a particular layer. This can be used to replace
|
|
791
|
+
* the processing for a layer or to modify the results.
|
|
792
|
+
* </para>
|
|
793
|
+
* <para>
|
|
794
|
+
* Within the snippet code for this hook there are two extra
|
|
795
|
+
* variables. The first is a mat4 called cogl_matrix which represents
|
|
796
|
+
* the user matrix for this layer. The second is called cogl_tex_coord
|
|
797
|
+
* and represents the incoming and outgoing texture coordinate. On
|
|
798
|
+
* entry to the hook, cogl_tex_coord contains the value of the
|
|
799
|
+
* corresponding texture coordinate attribute for this layer. The hook
|
|
800
|
+
* is expected to modify this variable. The output will be passed as a
|
|
801
|
+
* varying to the fragment processing stage. The default code will
|
|
802
|
+
* just multiply cogl_matrix by cogl_tex_coord and store the result in
|
|
803
|
+
* cogl_tex_coord.
|
|
804
|
+
* </para>
|
|
805
|
+
* <para>
|
|
806
|
+
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
807
|
+
* global scope of the shader. Use this to declare any uniforms,
|
|
808
|
+
* attributes or functions that the snippet requires.
|
|
809
|
+
* </para>
|
|
810
|
+
* <para>
|
|
811
|
+
* The ‘pre’ string in `snippet` will be inserted just before the
|
|
812
|
+
* fragment processing for this layer. At this point cogl_tex_coord
|
|
813
|
+
* still contains the value of the texture coordinate attribute.
|
|
814
|
+
* </para>
|
|
815
|
+
* <para>
|
|
816
|
+
* If a ‘replace’ string is given then this will be used instead of
|
|
817
|
+
* the default fragment processing for this layer. The snippet can
|
|
818
|
+
* modify cogl_tex_coord or leave it as is to apply no transformation.
|
|
819
|
+
* </para>
|
|
820
|
+
* <para>
|
|
821
|
+
* The ‘post’ string in `snippet` will be inserted just after the
|
|
822
|
+
* transformation. At this point cogl_tex_coord will contain the
|
|
823
|
+
* results of the transformation but it can be further modified by the
|
|
824
|
+
* snippet.
|
|
825
|
+
* </para>
|
|
826
|
+
* </glossdef>
|
|
827
|
+
* </glossentry>
|
|
828
|
+
* <glossentry>
|
|
829
|
+
* <glossterm>%COGL_SNIPPET_HOOK_LAYER_FRAGMENT</glossterm>
|
|
830
|
+
* <glossdef>
|
|
831
|
+
* <para>
|
|
832
|
+
* Adds a shader snippet that will hook on to the fragment processing
|
|
833
|
+
* of a particular layer. This can be used to replace the processing
|
|
834
|
+
* for a layer or to modify the results.
|
|
835
|
+
* </para>
|
|
836
|
+
* <para>
|
|
837
|
+
* Within the snippet code for this hook there is an extra vec4
|
|
838
|
+
* variable called ‘cogl_layer’. This contains the resulting color
|
|
839
|
+
* that will be used for the layer. This can be modified in the ‘post’
|
|
840
|
+
* section or it the default processing can be replaced entirely using
|
|
841
|
+
* the ‘replace’ section.
|
|
842
|
+
* </para>
|
|
843
|
+
* <para>
|
|
844
|
+
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
845
|
+
* global scope of the shader. Use this to declare any uniforms,
|
|
846
|
+
* attributes or functions that the snippet requires.
|
|
847
|
+
* </para>
|
|
848
|
+
* <para>
|
|
849
|
+
* The ‘pre’ string in `snippet` will be inserted just before the
|
|
850
|
+
* fragment processing for this layer.
|
|
851
|
+
* </para>
|
|
852
|
+
* <para>
|
|
853
|
+
* If a ‘replace’ string is given then this will be used instead of
|
|
854
|
+
* the default fragment processing for this layer. The snippet must write to
|
|
855
|
+
* the ‘cogl_layer’ variable in that case.
|
|
856
|
+
* </para>
|
|
857
|
+
* <para>
|
|
858
|
+
* The ‘post’ string in `snippet` will be inserted just after the
|
|
859
|
+
* fragment processing for the layer. The results can be modified by changing
|
|
860
|
+
* the value of the ‘cogl_layer’ variable.
|
|
861
|
+
* </para>
|
|
862
|
+
* </glossdef>
|
|
863
|
+
* </glossentry>
|
|
864
|
+
* <glossentry>
|
|
865
|
+
* <glossterm>%COGL_SNIPPET_HOOK_TEXTURE_LOOKUP</glossterm>
|
|
866
|
+
* <glossdef>
|
|
867
|
+
* <para>
|
|
868
|
+
* Adds a shader snippet that will hook on to the texture lookup part
|
|
869
|
+
* of a given layer. This gives a chance for the application to modify
|
|
870
|
+
* the coordinates that will be used for the texture lookup or to
|
|
871
|
+
* alter the returned texel.
|
|
872
|
+
* </para>
|
|
873
|
+
* <para>
|
|
874
|
+
* Within the snippet code for this hook there are three extra
|
|
875
|
+
* variables available. ‘cogl_sampler’ is a sampler object
|
|
876
|
+
* representing the sampler for the layer where the snippet is
|
|
877
|
+
* attached. ‘cogl_tex_coord’ is a vec4 which contains the texture
|
|
878
|
+
* coordinates that will be used for the texture lookup. This can be
|
|
879
|
+
* modified. ‘cogl_texel’ will contain the result of the texture
|
|
880
|
+
* lookup. This can also be modified.
|
|
881
|
+
* </para>
|
|
882
|
+
* <para>
|
|
883
|
+
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
884
|
+
* global scope of the shader. Use this to declare any uniforms,
|
|
885
|
+
* attributes or functions that the snippet requires.
|
|
886
|
+
* </para>
|
|
887
|
+
* <para>
|
|
888
|
+
* The ‘pre’ string in `snippet` will be inserted at the top of the
|
|
889
|
+
* main() function before any fragment processing is done. This is a
|
|
890
|
+
* good place to modify the cogl_tex_coord variable.
|
|
891
|
+
* </para>
|
|
892
|
+
* <para>
|
|
893
|
+
* If a ‘replace’ string is given then this will be used instead of a
|
|
894
|
+
* the default texture lookup. The snippet would typically use its own
|
|
895
|
+
* sampler in this case.
|
|
896
|
+
* </para>
|
|
897
|
+
* <para>
|
|
898
|
+
* The ‘post’ string in `snippet` will be inserted after texture lookup
|
|
899
|
+
* has been performed. Here the snippet can modify the cogl_texel
|
|
900
|
+
* variable to alter the returned texel.
|
|
901
|
+
* </para>
|
|
902
|
+
* </glossdef>
|
|
903
|
+
* </glossentry>
|
|
904
|
+
* </glosslist>
|
|
905
|
+
*/
|
|
906
|
+
|
|
454
907
|
/**
|
|
455
908
|
* #CoglSnippetHook is used to specify a location within a
|
|
456
909
|
* #CoglPipeline where the code of the snippet should be used when it
|
|
@@ -730,6 +1183,10 @@ export namespace Cogl {
|
|
|
730
1183
|
* </glossentry>
|
|
731
1184
|
* </glosslist>
|
|
732
1185
|
*/
|
|
1186
|
+
export namespace SnippetHook {
|
|
1187
|
+
export const $gtype: GObject.GType<SnippetHook>;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
733
1190
|
enum SnippetHook {
|
|
734
1191
|
/**
|
|
735
1192
|
* A hook for the entire vertex processing
|
|
@@ -784,6 +1241,15 @@ export namespace Cogl {
|
|
|
784
1241
|
* Represents how draw should affect the two buffers
|
|
785
1242
|
* of a stereo framebuffer. See cogl_framebuffer_set_stereo_mode().
|
|
786
1243
|
*/
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* Represents how draw should affect the two buffers
|
|
1247
|
+
* of a stereo framebuffer. See cogl_framebuffer_set_stereo_mode().
|
|
1248
|
+
*/
|
|
1249
|
+
export namespace StereoMode {
|
|
1250
|
+
export const $gtype: GObject.GType<StereoMode>;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
787
1253
|
enum StereoMode {
|
|
788
1254
|
/**
|
|
789
1255
|
* draw to both stereo buffers
|
|
@@ -817,6 +1283,30 @@ export namespace Cogl {
|
|
|
817
1283
|
* Currently this is only used by Cogl API marked as experimental so
|
|
818
1284
|
* this enum should also be considered experimental.
|
|
819
1285
|
*/
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* Error enumeration for Cogl
|
|
1289
|
+
*
|
|
1290
|
+
* The `COGL_SYSTEM_ERROR_UNSUPPORTED` error can be thrown for a
|
|
1291
|
+
* variety of reasons. For example:
|
|
1292
|
+
*
|
|
1293
|
+
* <itemizedlist>
|
|
1294
|
+
* <listitem><para>You've tried to use a feature that is not
|
|
1295
|
+
* advertised by cogl_has_feature().</para></listitem>
|
|
1296
|
+
* <listitem><para>The GPU can not handle the configuration you have
|
|
1297
|
+
* requested. An example might be if you try to use too many texture
|
|
1298
|
+
* layers in a single #CoglPipeline</para></listitem>
|
|
1299
|
+
* <listitem><para>The driver does not support some
|
|
1300
|
+
* configuration.</para></listiem>
|
|
1301
|
+
* </itemizedlist>
|
|
1302
|
+
*
|
|
1303
|
+
* Currently this is only used by Cogl API marked as experimental so
|
|
1304
|
+
* this enum should also be considered experimental.
|
|
1305
|
+
*/
|
|
1306
|
+
export namespace SystemError {
|
|
1307
|
+
export const $gtype: GObject.GType<SystemError>;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
820
1310
|
enum SystemError {
|
|
821
1311
|
/**
|
|
822
1312
|
* You tried to use a feature or
|
|
@@ -832,6 +1322,14 @@ export namespace Cogl {
|
|
|
832
1322
|
/**
|
|
833
1323
|
* See cogl_texture_set_components().
|
|
834
1324
|
*/
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* See cogl_texture_set_components().
|
|
1328
|
+
*/
|
|
1329
|
+
export namespace TextureComponents {
|
|
1330
|
+
export const $gtype: GObject.GType<TextureComponents>;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
835
1333
|
enum TextureComponents {
|
|
836
1334
|
/**
|
|
837
1335
|
* Only the alpha component
|
|
@@ -859,6 +1357,14 @@ export namespace Cogl {
|
|
|
859
1357
|
/**
|
|
860
1358
|
* Error codes that can be thrown when allocating textures.
|
|
861
1359
|
*/
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* Error codes that can be thrown when allocating textures.
|
|
1363
|
+
*/
|
|
1364
|
+
export namespace TextureError {
|
|
1365
|
+
export const $gtype: GObject.GType<TextureError>;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
862
1368
|
enum TextureError {
|
|
863
1369
|
/**
|
|
864
1370
|
* Unsupported size
|
|
@@ -878,6 +1384,14 @@ export namespace Cogl {
|
|
|
878
1384
|
/**
|
|
879
1385
|
* Different ways of interpreting vertices when drawing.
|
|
880
1386
|
*/
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Different ways of interpreting vertices when drawing.
|
|
1390
|
+
*/
|
|
1391
|
+
export namespace VerticesMode {
|
|
1392
|
+
export const $gtype: GObject.GType<VerticesMode>;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
881
1395
|
enum VerticesMode {
|
|
882
1396
|
/**
|
|
883
1397
|
* FIXME, equivalent to
|
|
@@ -918,6 +1432,16 @@ export namespace Cogl {
|
|
|
918
1432
|
* used to set the front face for culling by calling
|
|
919
1433
|
* cogl_pipeline_set_front_face_winding().
|
|
920
1434
|
*/
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* Enum used to represent the two directions of rotation. This can be
|
|
1438
|
+
* used to set the front face for culling by calling
|
|
1439
|
+
* cogl_pipeline_set_front_face_winding().
|
|
1440
|
+
*/
|
|
1441
|
+
export namespace Winding {
|
|
1442
|
+
export const $gtype: GObject.GType<Winding>;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
921
1445
|
enum Winding {
|
|
922
1446
|
/**
|
|
923
1447
|
* Vertices are in a clockwise order
|
|
@@ -928,6 +1452,11 @@ export namespace Cogl {
|
|
|
928
1452
|
*/
|
|
929
1453
|
COUNTER_CLOCKWISE,
|
|
930
1454
|
}
|
|
1455
|
+
|
|
1456
|
+
export namespace WinsysFeature {
|
|
1457
|
+
export const $gtype: GObject.GType<WinsysFeature>;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
931
1460
|
enum WinsysFeature {
|
|
932
1461
|
VBLANK_COUNTER,
|
|
933
1462
|
VBLANK_WAIT,
|
|
@@ -1336,6 +1865,14 @@ export namespace Cogl {
|
|
|
1336
1865
|
/**
|
|
1337
1866
|
* Types of auxiliary buffers
|
|
1338
1867
|
*/
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* Types of auxiliary buffers
|
|
1871
|
+
*/
|
|
1872
|
+
export namespace BufferBit {
|
|
1873
|
+
export const $gtype: GObject.GType<BufferBit>;
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1339
1876
|
enum BufferBit {
|
|
1340
1877
|
/**
|
|
1341
1878
|
* Selects the primary color buffer
|
|
@@ -1353,6 +1890,14 @@ export namespace Cogl {
|
|
|
1353
1890
|
/**
|
|
1354
1891
|
* Target flags for FBOs.
|
|
1355
1892
|
*/
|
|
1893
|
+
|
|
1894
|
+
/**
|
|
1895
|
+
* Target flags for FBOs.
|
|
1896
|
+
*/
|
|
1897
|
+
export namespace BufferTarget {
|
|
1898
|
+
export const $gtype: GObject.GType<BufferTarget>;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1356
1901
|
enum BufferTarget {
|
|
1357
1902
|
/**
|
|
1358
1903
|
* FIXME
|
|
@@ -1363,6 +1908,11 @@ export namespace Cogl {
|
|
|
1363
1908
|
*/
|
|
1364
1909
|
OFFSCREEN_BUFFER,
|
|
1365
1910
|
}
|
|
1911
|
+
|
|
1912
|
+
export namespace EglImageFlags {
|
|
1913
|
+
export const $gtype: GObject.GType<EglImageFlags>;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1366
1916
|
enum EglImageFlags {
|
|
1367
1917
|
NONE,
|
|
1368
1918
|
NO_GET_DATA,
|
|
@@ -1387,6 +1937,31 @@ export namespace Cogl {
|
|
|
1387
1937
|
* internal format. Cogl will try to pick the best format to use
|
|
1388
1938
|
* internally and convert the texture data if necessary.
|
|
1389
1939
|
*/
|
|
1940
|
+
|
|
1941
|
+
/**
|
|
1942
|
+
* Pixel formats used by Cogl. For the formats with a byte per
|
|
1943
|
+
* component, the order of the components specify the order in
|
|
1944
|
+
* increasing memory addresses. So for example
|
|
1945
|
+
* %COGL_PIXEL_FORMAT_RGB_888 would have the red component in the
|
|
1946
|
+
* lowest address, green in the next address and blue after that
|
|
1947
|
+
* regardless of the endianness of the system.
|
|
1948
|
+
*
|
|
1949
|
+
* For the formats with non byte aligned components the component
|
|
1950
|
+
* order specifies the order within a 16-bit or 32-bit number from
|
|
1951
|
+
* most significant bit to least significant. So for
|
|
1952
|
+
* %COGL_PIXEL_FORMAT_RGB_565, the red component would be in bits
|
|
1953
|
+
* 11-15, the green component would be in 6-11 and the blue component
|
|
1954
|
+
* would be in 1-5. Therefore the order in memory depends on the
|
|
1955
|
+
* endianness of the system.
|
|
1956
|
+
*
|
|
1957
|
+
* When uploading a texture %COGL_PIXEL_FORMAT_ANY can be used as the
|
|
1958
|
+
* internal format. Cogl will try to pick the best format to use
|
|
1959
|
+
* internally and convert the texture data if necessary.
|
|
1960
|
+
*/
|
|
1961
|
+
export namespace PixelFormat {
|
|
1962
|
+
export const $gtype: GObject.GType<PixelFormat>;
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1390
1965
|
enum PixelFormat {
|
|
1391
1966
|
/**
|
|
1392
1967
|
* Any format
|
|
@@ -1583,6 +2158,14 @@ export namespace Cogl {
|
|
|
1583
2158
|
/**
|
|
1584
2159
|
* Flags for cogl_framebuffer_read_pixels_into_bitmap()
|
|
1585
2160
|
*/
|
|
2161
|
+
|
|
2162
|
+
/**
|
|
2163
|
+
* Flags for cogl_framebuffer_read_pixels_into_bitmap()
|
|
2164
|
+
*/
|
|
2165
|
+
export namespace ReadPixelsFlags {
|
|
2166
|
+
export const $gtype: GObject.GType<ReadPixelsFlags>;
|
|
2167
|
+
}
|
|
2168
|
+
|
|
1586
2169
|
enum ReadPixelsFlags {
|
|
1587
2170
|
/**
|
|
1588
2171
|
* Read from the color buffer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/cogl-13",
|
|
3
|
-
"version": "13.0.0-4.0.0-beta.
|
|
3
|
+
"version": "13.0.0-4.0.0-beta.10",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Cogl-13, generated from library version 13.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "cogl-13.js",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.
|
|
35
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
36
|
-
"@girs/gl-1.0": "^1.0.0-4.0.0-beta.
|
|
37
|
-
"@girs/glib-2.0": "^2.80.2-4.0.0-beta.
|
|
38
|
-
"@girs/gobject-2.0": "^2.80.2-4.0.0-beta.
|
|
39
|
-
"@girs/graphene-1.0": "^1.0.0-4.0.0-beta.
|
|
34
|
+
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.10",
|
|
35
|
+
"@girs/gjs": "^4.0.0-beta.10",
|
|
36
|
+
"@girs/gl-1.0": "^1.0.0-4.0.0-beta.10",
|
|
37
|
+
"@girs/glib-2.0": "^2.80.2-4.0.0-beta.10",
|
|
38
|
+
"@girs/gobject-2.0": "^2.80.2-4.0.0-beta.10",
|
|
39
|
+
"@girs/graphene-1.0": "^1.0.0-4.0.0-beta.10"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"typescript": "*"
|