@girs/cogl-8 4.4.0 → 4.5.0

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.
Files changed (3) hide show
  1. package/README.md +36 -41
  2. package/cogl-8.d.ts +207 -169
  3. package/package.json +7 -7
package/README.md CHANGED
@@ -4,82 +4,77 @@
4
4
  ![version](https://img.shields.io/npm/v/@girs/cogl-8)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/cogl-8)
6
6
 
7
+ GJS TypeScript type definitions for Cogl-8 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.5.0.
7
8
 
8
- GJS TypeScript type definitions for Cogl-8 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.4.0.
9
+ This package contains type declarations only. It ships no runtime code, so it adds
10
+ nothing to your program and works with any bundler or none at all.
9
11
 
10
12
  ## Install
11
13
 
12
- Install the type definitions with npm:
13
14
  ```bash
14
15
  npm install @girs/cogl-8
15
16
  ```
16
17
 
17
- ## Usage
18
+ Any package manager works. The package has no dependencies beyond other `@girs/*`
19
+ type packages.
20
+
21
+ ## What it exports
22
+
23
+ | Import | What you get |
24
+ |---|---|
25
+ | `@girs/cogl-8` | the namespace as a default export, plus the ambient and global declarations |
26
+ | `@girs/cogl-8/ambient` | only the `gi://` module declarations |
27
+ | `@girs/cogl-8/import` | only the `imports.gi` declarations |
28
+ | `@girs/cogl-8/cogl-8` | the namespace, without the side-effecting declarations |
29
+
30
+ ## Three ways to import
31
+
32
+ Which one you use depends on how you write imports elsewhere, not on your toolchain.
33
+
34
+ ### As a module
18
35
 
19
- Import it like any other module:
20
36
  ```ts
21
37
  import Cogl from '@girs/cogl-8';
22
38
  ```
23
39
 
24
- ### Ambient Modules
40
+ ### As `gi://`
25
41
 
26
- [Ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) let you write the same import you would in plain JavaScript.
27
- For this you need to include `@girs/cogl-8` or `@girs/cogl-8/ambient` in your `tsconfig` or entry point Typescript file:
42
+ GJS resolves `gi://` at runtime. To give it types, reference the package once, either
43
+ from your entry point or from `tsconfig.json`:
28
44
 
29
- `index.ts`:
30
45
  ```ts
31
- import '@girs/cogl-8'
46
+ import '@girs/cogl-8';
32
47
  ```
33
48
 
34
- `tsconfig.json`:
35
49
  ```json
36
- {
37
- "compilerOptions": {
38
- ...
39
- },
40
- "include": ["@girs/cogl-8"],
41
- ...
42
- }
50
+ { "include": ["@girs/cogl-8"] }
43
51
  ```
44
52
 
45
- The ambient module now resolves with types:
53
+ Then the runtime spelling type-checks:
46
54
 
47
55
  ```ts
48
56
  import Cogl from 'gi://Cogl?version=8';
49
57
  ```
50
58
 
51
- ### Global import
52
-
53
- GJS's global `imports.gi` works too, with types.
54
- For this you need to include `@girs/cogl-8` or `@girs/cogl-8/import` in your `tsconfig` or entry point Typescript file:
59
+ Referencing `@girs/cogl-8/ambient` instead pulls in these declarations
60
+ alone. See [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules).
55
61
 
56
- `index.ts`:
57
- ```ts
58
- import '@girs/cogl-8'
59
- ```
60
-
61
- `tsconfig.json`:
62
- ```json
63
- {
64
- "compilerOptions": {
65
- ...
66
- },
67
- "include": ["@girs/cogl-8"],
68
- ...
69
- }
70
- ```
62
+ ### As `imports.gi`
71
63
 
72
- That form carries types as well:
64
+ GJS's global object works the same way, via `@girs/cogl-8/import`:
73
65
 
74
66
  ```ts
75
67
  const Cogl = imports.gi.Cogl;
76
68
  ```
77
69
 
78
- ### Bundle
70
+ ## Building
79
71
 
80
- Most projects want a bundler. [esbuild](https://esbuild.github.io/) is the smallest thing that works; the [examples directory](https://github.com/gjsify/ts-for-gir/tree/main/examples) has setups for several others.
72
+ The declarations need no build step. If you bundle, every bundler works, since there is
73
+ no runtime code to resolve. The [examples](https://github.com/gjsify/ts-for-gir/tree/main/examples)
74
+ show working setups for several.
81
75
 
82
76
  ## Other packages
83
77
 
84
- All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
78
+ Every pre-generated package is at [gjsify/types](https://github.com/gjsify/types).
79
+
85
80
 
package/cogl-8.d.ts CHANGED
@@ -33,25 +33,25 @@ export namespace Cogl {
33
33
  /**
34
34
  * Data is the same size of a byte
35
35
  */
36
- BYTE,
36
+ BYTE = 5120,
37
37
  /**
38
38
  * Data is the same size of an
39
39
  * unsigned byte
40
40
  */
41
- UNSIGNED_BYTE,
41
+ UNSIGNED_BYTE = 5121,
42
42
  /**
43
43
  * Data is the same size of a short integer
44
44
  */
45
- SHORT,
45
+ SHORT = 5122,
46
46
  /**
47
47
  * Data is the same size of
48
48
  * an unsigned short integer
49
49
  */
50
- UNSIGNED_SHORT,
50
+ UNSIGNED_SHORT = 5123,
51
51
  /**
52
52
  * Data is the same size of a float
53
53
  */
54
- FLOAT,
54
+ FLOAT = 5126,
55
55
  }
56
56
 
57
57
 
@@ -69,15 +69,15 @@ export namespace Cogl {
69
69
  * Generic failure code, something went
70
70
  * wrong.
71
71
  */
72
- FAILED,
72
+ FAILED = 0,
73
73
  /**
74
74
  * Unknown image type.
75
75
  */
76
- UNKNOWN_TYPE,
76
+ UNKNOWN_TYPE = 1,
77
77
  /**
78
78
  * An image file was broken somehow.
79
79
  */
80
- CORRUPT_IMAGE,
80
+ CORRUPT_IMAGE = 2,
81
81
  }
82
82
 
83
83
 
@@ -90,20 +90,20 @@ export namespace Cogl {
90
90
  /**
91
91
  * Generic parse error
92
92
  */
93
- PARSE_ERROR,
93
+ PARSE_ERROR = 0,
94
94
  /**
95
95
  * Argument parse error
96
96
  */
97
- ARGUMENT_PARSE_ERROR,
97
+ ARGUMENT_PARSE_ERROR = 1,
98
98
  /**
99
99
  * Internal parser error
100
100
  */
101
- INVALID_ERROR,
101
+ INVALID_ERROR = 2,
102
102
  /**
103
103
  * Blend string not
104
104
  * supported by the GPU
105
105
  */
106
- GPU_UNSUPPORTED_ERROR,
106
+ GPU_UNSUPPORTED_ERROR = 3,
107
107
  }
108
108
 
109
109
 
@@ -121,41 +121,41 @@ export namespace Cogl {
121
121
  /**
122
122
  * Never passes.
123
123
  */
124
- NEVER,
124
+ NEVER = 512,
125
125
  /**
126
126
  * Passes if the fragment's depth
127
127
  * value is less than the value currently in the depth buffer.
128
128
  */
129
- LESS,
129
+ LESS = 513,
130
130
  /**
131
131
  * Passes if the fragment's depth
132
132
  * value is equal to the value currently in the depth buffer.
133
133
  */
134
- EQUAL,
134
+ EQUAL = 514,
135
135
  /**
136
136
  * Passes if the fragment's depth
137
137
  * value is less or equal to the value currently in the depth buffer.
138
138
  */
139
- LEQUAL,
139
+ LEQUAL = 515,
140
140
  /**
141
141
  * Passes if the fragment's depth
142
142
  * value is greater than the value currently in the depth buffer.
143
143
  */
144
- GREATER,
144
+ GREATER = 516,
145
145
  /**
146
146
  * Passes if the fragment's depth
147
147
  * value is not equal to the value currently in the depth buffer.
148
148
  */
149
- NOTEQUAL,
149
+ NOTEQUAL = 517,
150
150
  /**
151
151
  * Passes if the fragment's depth
152
152
  * value greater than or equal to the value currently in the depth buffer.
153
153
  */
154
- GEQUAL,
154
+ GEQUAL = 518,
155
155
  /**
156
156
  * Always passes.
157
157
  */
158
- ALWAYS,
158
+ ALWAYS = 519,
159
159
  }
160
160
 
161
161
 
@@ -172,36 +172,36 @@ export namespace Cogl {
172
172
  * {@link Cogl.IndicesType.INT} is supported in
173
173
  * `cogl_indices_new()`.
174
174
  */
175
- OGL_FEATURE_ID_UNSIGNED_INT_INDICES,
175
+ OGL_FEATURE_ID_UNSIGNED_INT_INDICES = 0,
176
176
  /**
177
177
  * Whether `cogl_buffer_map()` is
178
178
  * supported with CoglBufferAccess including read support.
179
179
  */
180
- OGL_FEATURE_ID_MAP_BUFFER_FOR_READ,
180
+ OGL_FEATURE_ID_MAP_BUFFER_FOR_READ = 1,
181
181
  /**
182
182
  * Whether `cogl_buffer_map()` is
183
183
  * supported with CoglBufferAccess including write support.
184
184
  */
185
- OGL_FEATURE_ID_MAP_BUFFER_FOR_WRITE,
186
- OGL_FEATURE_ID_FENCE,
185
+ OGL_FEATURE_ID_MAP_BUFFER_FOR_WRITE = 2,
186
+ OGL_FEATURE_ID_FENCE = 3,
187
187
  /**
188
188
  * Support for
189
189
  * {@link Cogl.TextureComponents.RG} as the internal components of a
190
190
  * texture.
191
191
  */
192
- OGL_FEATURE_ID_TEXTURE_RG,
192
+ OGL_FEATURE_ID_TEXTURE_RG = 4,
193
193
  /**
194
194
  * Available if the age of {@link Cogl.Onscreen} back
195
195
  * buffers are tracked and so `cogl_onscreen_get_buffer_age()` can be
196
196
  * expected to return age values other than 0.
197
197
  */
198
- OGL_FEATURE_ID_BUFFER_AGE,
199
- OGL_FEATURE_ID_TEXTURE_EGL_IMAGE_EXTERNAL,
198
+ OGL_FEATURE_ID_BUFFER_AGE = 5,
199
+ OGL_FEATURE_ID_TEXTURE_EGL_IMAGE_EXTERNAL = 6,
200
200
  /**
201
201
  * Whether blitting using
202
202
  * `cogl_blit_framebuffer()` is supported.
203
203
  */
204
- OGL_FEATURE_ID_BLIT_FRAMEBUFFER,
204
+ OGL_FEATURE_ID_BLIT_FRAMEBUFFER = 7,
205
205
  }
206
206
 
207
207
 
@@ -214,11 +214,11 @@ export namespace Cogl {
214
214
  * The event was not handled, continues the
215
215
  * processing
216
216
  */
217
- CONTINUE,
217
+ CONTINUE = 0,
218
218
  /**
219
219
  * Remove the event, stops the processing
220
220
  */
221
- REMOVE,
221
+ REMOVE = 1,
222
222
  }
223
223
 
224
224
 
@@ -246,7 +246,7 @@ export namespace Cogl {
246
246
  * acknowledged a frame and is ready for a
247
247
  * new frame to be created.
248
248
  */
249
- SYNC,
249
+ SYNC = 1,
250
250
  /**
251
251
  * Notifies that a frame has ended. This
252
252
  * is a good time for applications to
@@ -256,7 +256,7 @@ export namespace Cogl {
256
256
  * events should be expected after a
257
257
  * `COGL_FRAME_EVENT_COMPLETE` event.
258
258
  */
259
- COMPLETE,
259
+ COMPLETE = 2,
260
260
  }
261
261
 
262
262
 
@@ -264,7 +264,7 @@ export namespace Cogl {
264
264
  * @gir-type Enum
265
265
  */
266
266
  enum FramebufferError {
267
- FRAMEBUFFER_ERROR_ALLOCATE,
267
+ FRAMEBUFFER_ERROR_ALLOCATE = 0,
268
268
  }
269
269
 
270
270
 
@@ -276,11 +276,11 @@ export namespace Cogl {
276
276
  * @gir-type Enum
277
277
  */
278
278
  enum GraphicsResetStatus {
279
- NO_ERROR,
280
- GUILTY_CONTEXT_RESET,
281
- INNOCENT_CONTEXT_RESET,
282
- UNKNOWN_CONTEXT_RESET,
283
- PURGED_CONTEXT_RESET,
279
+ NO_ERROR = 0,
280
+ GUILTY_CONTEXT_RESET = 1,
281
+ INNOCENT_CONTEXT_RESET = 2,
282
+ UNKNOWN_CONTEXT_RESET = 3,
283
+ PURGED_CONTEXT_RESET = 4,
284
284
  }
285
285
 
286
286
 
@@ -300,15 +300,15 @@ export namespace Cogl {
300
300
  /**
301
301
  * Your indices are unsigned bytes
302
302
  */
303
- BYTE,
303
+ BYTE = 0,
304
304
  /**
305
305
  * Your indices are unsigned shorts
306
306
  */
307
- SHORT,
307
+ SHORT = 1,
308
308
  /**
309
309
  * Your indices are unsigned ints
310
310
  */
311
- INT,
311
+ INT = 2,
312
312
  }
313
313
 
314
314
 
@@ -323,41 +323,41 @@ export namespace Cogl {
323
323
  /**
324
324
  * Never let the fragment through.
325
325
  */
326
- NEVER,
326
+ NEVER = 512,
327
327
  /**
328
328
  * Let the fragment through if the incoming
329
329
  * alpha value is less than the reference alpha value
330
330
  */
331
- LESS,
331
+ LESS = 513,
332
332
  /**
333
333
  * Let the fragment through if the incoming
334
334
  * alpha value equals the reference alpha value
335
335
  */
336
- EQUAL,
336
+ EQUAL = 514,
337
337
  /**
338
338
  * Let the fragment through if the incoming
339
339
  * alpha value is less than or equal to the reference alpha value
340
340
  */
341
- LEQUAL,
341
+ LEQUAL = 515,
342
342
  /**
343
343
  * Let the fragment through if the incoming
344
344
  * alpha value is greater than the reference alpha value
345
345
  */
346
- GREATER,
346
+ GREATER = 516,
347
347
  /**
348
348
  * Let the fragment through if the incoming
349
349
  * alpha value does not equal the reference alpha value
350
350
  */
351
- NOTEQUAL,
351
+ NOTEQUAL = 517,
352
352
  /**
353
353
  * Let the fragment through if the incoming
354
354
  * alpha value is greater than or equal to the reference alpha value.
355
355
  */
356
- GEQUAL,
356
+ GEQUAL = 518,
357
357
  /**
358
358
  * Always let the fragment through.
359
359
  */
360
- ALWAYS,
360
+ ALWAYS = 519,
361
361
  }
362
362
 
363
363
 
@@ -374,38 +374,38 @@ export namespace Cogl {
374
374
  * Measuring in manhatten distance from the,
375
375
  * current pixel center, use the nearest texture texel
376
376
  */
377
- NEAREST,
377
+ NEAREST = 9728,
378
378
  /**
379
379
  * Use the weighted average of the 4 texels
380
380
  * nearest the current pixel center
381
381
  */
382
- LINEAR,
382
+ LINEAR = 9729,
383
383
  /**
384
384
  * Select the mimap level whose
385
385
  * texel size most closely matches the current pixel, and use the
386
386
  * {@link Cogl.MaterialFilter.NEAREST} criterion
387
387
  */
388
- NEAREST_MIPMAP_NEAREST,
388
+ NEAREST_MIPMAP_NEAREST = 9984,
389
389
  /**
390
390
  * Select the mimap level whose
391
391
  * texel size most closely matches the current pixel, and use the
392
392
  * {@link Cogl.MaterialFilter.LINEAR} criterion
393
393
  */
394
- LINEAR_MIPMAP_NEAREST,
394
+ LINEAR_MIPMAP_NEAREST = 9985,
395
395
  /**
396
396
  * Select the two mimap levels
397
397
  * whose texel size most closely matches the current pixel, use
398
398
  * the {@link Cogl.MaterialFilter.NEAREST} criterion on each one and take
399
399
  * their weighted average
400
400
  */
401
- NEAREST_MIPMAP_LINEAR,
401
+ NEAREST_MIPMAP_LINEAR = 9986,
402
402
  /**
403
403
  * Select the two mimap levels
404
404
  * whose texel size most closely matches the current pixel, use
405
405
  * the {@link Cogl.MaterialFilter.LINEAR} criterion on each one and take
406
406
  * their weighted average
407
407
  */
408
- LINEAR_MIPMAP_LINEAR,
408
+ LINEAR_MIPMAP_LINEAR = 9987,
409
409
  }
410
410
 
411
411
 
@@ -426,14 +426,14 @@ export namespace Cogl {
426
426
  * The texture will be repeated. This
427
427
  * is useful for example to draw a tiled background.
428
428
  */
429
- REPEAT,
429
+ REPEAT = 10497,
430
430
  /**
431
431
  * The coordinates outside the
432
432
  * range 0→1 will sample copies of the edge pixels of the
433
433
  * texture. This is useful to avoid artifacts if only one copy of
434
434
  * the texture is being rendered.
435
435
  */
436
- CLAMP_TO_EDGE,
436
+ CLAMP_TO_EDGE = 33071,
437
437
  /**
438
438
  * Cogl will try to automatically
439
439
  * decide which of the above two to use. For `cogl_rectangle()`, it
@@ -444,7 +444,7 @@ export namespace Cogl {
444
444
  * layers that have point sprite coordinate generation enabled. This
445
445
  * is the default value.
446
446
  */
447
- AUTOMATIC,
447
+ AUTOMATIC = 519,
448
448
  }
449
449
 
450
450
 
@@ -459,41 +459,41 @@ export namespace Cogl {
459
459
  /**
460
460
  * Never let the fragment through.
461
461
  */
462
- NEVER,
462
+ NEVER = 512,
463
463
  /**
464
464
  * Let the fragment through if the incoming
465
465
  * alpha value is less than the reference alpha value
466
466
  */
467
- LESS,
467
+ LESS = 513,
468
468
  /**
469
469
  * Let the fragment through if the incoming
470
470
  * alpha value equals the reference alpha value
471
471
  */
472
- EQUAL,
472
+ EQUAL = 514,
473
473
  /**
474
474
  * Let the fragment through if the incoming
475
475
  * alpha value is less than or equal to the reference alpha value
476
476
  */
477
- LEQUAL,
477
+ LEQUAL = 515,
478
478
  /**
479
479
  * Let the fragment through if the incoming
480
480
  * alpha value is greater than the reference alpha value
481
481
  */
482
- GREATER,
482
+ GREATER = 516,
483
483
  /**
484
484
  * Let the fragment through if the incoming
485
485
  * alpha value does not equal the reference alpha value
486
486
  */
487
- NOTEQUAL,
487
+ NOTEQUAL = 517,
488
488
  /**
489
489
  * Let the fragment through if the incoming
490
490
  * alpha value is greater than or equal to the reference alpha value.
491
491
  */
492
- GEQUAL,
492
+ GEQUAL = 518,
493
493
  /**
494
494
  * Always let the fragment through.
495
495
  */
496
- ALWAYS,
496
+ ALWAYS = 519,
497
497
  }
498
498
 
499
499
 
@@ -507,19 +507,19 @@ export namespace Cogl {
507
507
  * Neither face will be
508
508
  * culled. This is the default.
509
509
  */
510
- NONE,
510
+ NONE = 0,
511
511
  /**
512
512
  * Front faces will be culled.
513
513
  */
514
- FRONT,
514
+ FRONT = 1,
515
515
  /**
516
516
  * Back faces will be culled.
517
517
  */
518
- BACK,
518
+ BACK = 2,
519
519
  /**
520
520
  * All faces will be culled.
521
521
  */
522
- BOTH,
522
+ BOTH = 3,
523
523
  }
524
524
 
525
525
 
@@ -536,38 +536,38 @@ export namespace Cogl {
536
536
  * Measuring in manhatten distance from the,
537
537
  * current pixel center, use the nearest texture texel
538
538
  */
539
- NEAREST,
539
+ NEAREST = 9728,
540
540
  /**
541
541
  * Use the weighted average of the 4 texels
542
542
  * nearest the current pixel center
543
543
  */
544
- LINEAR,
544
+ LINEAR = 9729,
545
545
  /**
546
546
  * Select the mimap level whose
547
547
  * texel size most closely matches the current pixel, and use the
548
548
  * {@link Cogl.PipelineFilter.NEAREST} criterion
549
549
  */
550
- NEAREST_MIPMAP_NEAREST,
550
+ NEAREST_MIPMAP_NEAREST = 9984,
551
551
  /**
552
552
  * Select the mimap level whose
553
553
  * texel size most closely matches the current pixel, and use the
554
554
  * {@link Cogl.PipelineFilter.LINEAR} criterion
555
555
  */
556
- LINEAR_MIPMAP_NEAREST,
556
+ LINEAR_MIPMAP_NEAREST = 9985,
557
557
  /**
558
558
  * Select the two mimap levels
559
559
  * whose texel size most closely matches the current pixel, use
560
560
  * the {@link Cogl.PipelineFilter.NEAREST} criterion on each one and take
561
561
  * their weighted average
562
562
  */
563
- NEAREST_MIPMAP_LINEAR,
563
+ NEAREST_MIPMAP_LINEAR = 9986,
564
564
  /**
565
565
  * Select the two mimap levels
566
566
  * whose texel size most closely matches the current pixel, use
567
567
  * the {@link Cogl.PipelineFilter.LINEAR} criterion on each one and take
568
568
  * their weighted average
569
569
  */
570
- LINEAR_MIPMAP_LINEAR,
570
+ LINEAR_MIPMAP_LINEAR = 9987,
571
571
  }
572
572
 
573
573
 
@@ -588,15 +588,15 @@ export namespace Cogl {
588
588
  * The texture will be repeated. This
589
589
  * is useful for example to draw a tiled background.
590
590
  */
591
- REPEAT,
592
- MIRRORED_REPEAT,
591
+ REPEAT = 10497,
592
+ MIRRORED_REPEAT = 33648,
593
593
  /**
594
594
  * The coordinates outside the
595
595
  * range 0→1 will sample copies of the edge pixels of the
596
596
  * texture. This is useful to avoid artifacts if only one copy of
597
597
  * the texture is being rendered.
598
598
  */
599
- CLAMP_TO_EDGE,
599
+ CLAMP_TO_EDGE = 33071,
600
600
  /**
601
601
  * Cogl will try to automatically
602
602
  * decide which of the above two to use. For `cogl_rectangle()`, it
@@ -607,7 +607,7 @@ export namespace Cogl {
607
607
  * layers that have point sprite coordinate generation enabled. This
608
608
  * is the default value.
609
609
  */
610
- AUTOMATIC,
610
+ AUTOMATIC = 519,
611
611
  }
612
612
 
613
613
 
@@ -615,8 +615,8 @@ export namespace Cogl {
615
615
  * @gir-type Enum
616
616
  */
617
617
  enum RendererError {
618
- XLIB_DISPLAY_OPEN,
619
- BAD_CONSTRAINT,
618
+ XLIB_DISPLAY_OPEN = 0,
619
+ BAD_CONSTRAINT = 1,
620
620
  }
621
621
 
622
622
 
@@ -643,11 +643,11 @@ export namespace Cogl {
643
643
  /**
644
644
  * A program for processing vertices
645
645
  */
646
- VERTEX,
646
+ VERTEX = 0,
647
647
  /**
648
648
  * A program for processing fragments
649
649
  */
650
- FRAGMENT,
650
+ FRAGMENT = 1,
651
651
  }
652
652
 
653
653
 
@@ -660,15 +660,15 @@ export namespace Cogl {
660
660
  /**
661
661
  * draw to both stereo buffers
662
662
  */
663
- BOTH,
663
+ BOTH = 0,
664
664
  /**
665
665
  * draw only to the left stereo buffer
666
666
  */
667
- LEFT,
667
+ LEFT = 1,
668
668
  /**
669
669
  * draw only to the left stereo buffer
670
670
  */
671
- RIGHT,
671
+ RIGHT = 2,
672
672
  }
673
673
 
674
674
 
@@ -698,12 +698,12 @@ export namespace Cogl {
698
698
  * You tried to use a feature or
699
699
  * configuration not currently available.
700
700
  */
701
- UNSUPPORTED,
701
+ UNSUPPORTED = 0,
702
702
  /**
703
703
  * You tried to allocate a resource
704
704
  * such as a texture and there wasn't enough memory.
705
705
  */
706
- NO_MEMORY,
706
+ NO_MEMORY = 1,
707
707
  }
708
708
 
709
709
 
@@ -716,25 +716,25 @@ export namespace Cogl {
716
716
  /**
717
717
  * Only the alpha component
718
718
  */
719
- A,
719
+ A = 1,
720
720
  /**
721
721
  * Red and green components. Note that
722
722
  * this can only be used if the {@link Cogl.FeatureID.OGL_FEATURE_ID_TEXTURE_RG} feature
723
723
  * is advertised.
724
724
  */
725
- RG,
725
+ RG = 2,
726
726
  /**
727
727
  * Red, green and blue components
728
728
  */
729
- RGB,
729
+ RGB = 3,
730
730
  /**
731
731
  * Red, green, blue and alpha components
732
732
  */
733
- RGBA,
733
+ RGBA = 4,
734
734
  /**
735
735
  * Only a depth component
736
736
  */
737
- DEPTH,
737
+ DEPTH = 5,
738
738
  }
739
739
 
740
740
 
@@ -747,17 +747,17 @@ export namespace Cogl {
747
747
  /**
748
748
  * Unsupported size
749
749
  */
750
- SIZE,
750
+ SIZE = 0,
751
751
  /**
752
752
  * Unsupported format
753
753
  */
754
- FORMAT,
755
- BAD_PARAMETER,
754
+ FORMAT = 1,
755
+ BAD_PARAMETER = 2,
756
756
  /**
757
757
  * A primitive texture type that is
758
758
  * unsupported by the driver was used
759
759
  */
760
- TYPE,
760
+ TYPE = 3,
761
761
  }
762
762
 
763
763
 
@@ -771,35 +771,35 @@ export namespace Cogl {
771
771
  * FIXME, equivalent to
772
772
  * <constant>GL_POINTS</constant>
773
773
  */
774
- POINTS,
774
+ POINTS = 0,
775
775
  /**
776
776
  * FIXME, equivalent to <constant>GL_LINES</constant>
777
777
  */
778
- LINES,
778
+ LINES = 1,
779
779
  /**
780
780
  * FIXME, equivalent to
781
781
  * <constant>GL_LINE_LOOP</constant>
782
782
  */
783
- LINE_LOOP,
783
+ LINE_LOOP = 2,
784
784
  /**
785
785
  * FIXME, equivalent to
786
786
  * <constant>GL_LINE_STRIP</constant>
787
787
  */
788
- LINE_STRIP,
788
+ LINE_STRIP = 3,
789
789
  /**
790
790
  * FIXME, equivalent to
791
791
  * <constant>GL_TRIANGLES</constant>
792
792
  */
793
- TRIANGLES,
793
+ TRIANGLES = 4,
794
794
  /**
795
795
  * FIXME, equivalent to
796
796
  * <constant>GL_TRIANGLE_STRIP</constant>
797
797
  */
798
- TRIANGLE_STRIP,
798
+ TRIANGLE_STRIP = 5,
799
799
  /**
800
800
  * FIXME, equivalent to <constant>GL_TRIANGLE_FAN</constant>
801
801
  */
802
- TRIANGLE_FAN,
802
+ TRIANGLE_FAN = 6,
803
803
  }
804
804
 
805
805
 
@@ -813,11 +813,11 @@ export namespace Cogl {
813
813
  /**
814
814
  * Vertices are in a clockwise order
815
815
  */
816
- CLOCKWISE,
816
+ CLOCKWISE = 0,
817
817
  /**
818
818
  * Vertices are in a counter-clockwise order
819
819
  */
820
- COUNTER_CLOCKWISE,
820
+ COUNTER_CLOCKWISE = 1,
821
821
  }
822
822
 
823
823
 
@@ -825,38 +825,60 @@ export namespace Cogl {
825
825
  * @gir-type Enum
826
826
  */
827
827
  enum WinsysFeature {
828
- MULTIPLE_ONSCREEN,
829
- VBLANK_COUNTER,
830
- VBLANK_WAIT,
831
- TEXTURE_FROM_PIXMAP,
832
- SWAP_BUFFERS_EVENT,
833
- SWAP_REGION,
834
- SWAP_REGION_THROTTLE,
835
- SWAP_REGION_SYNCHRONIZED,
836
- BUFFER_AGE,
837
- SYNC_AND_COMPLETE_EVENT,
838
- N_FEATURES,
828
+ MULTIPLE_ONSCREEN = 0,
829
+ VBLANK_COUNTER = 1,
830
+ VBLANK_WAIT = 2,
831
+ TEXTURE_FROM_PIXMAP = 3,
832
+ SWAP_BUFFERS_EVENT = 4,
833
+ SWAP_REGION = 5,
834
+ SWAP_REGION_THROTTLE = 6,
835
+ SWAP_REGION_SYNCHRONIZED = 7,
836
+ BUFFER_AGE = 8,
837
+ SYNC_AND_COMPLETE_EVENT = 9,
838
+ N_FEATURES = 10,
839
839
  }
840
840
 
841
841
 
842
+ /**
843
+ * @default 64
844
+ */
842
845
  const AFIRST_BIT: number;
843
846
 
847
+ /**
848
+ * @default 16
849
+ */
844
850
  const A_BIT: number;
845
851
 
852
+ /**
853
+ * @default 32
854
+ */
846
855
  const BGR_BIT: number;
847
856
 
857
+ /**
858
+ * @default 256
859
+ */
848
860
  const DEPTH_BIT: number;
849
861
 
850
862
  /**
851
863
  * The maximum number of planes of a pixel format (see also
852
864
  * `cogl_pixel_format_get_planes()`).
865
+ * @default 4
853
866
  */
854
867
  const PIXEL_FORMAT_MAX_PLANES: number;
855
868
 
869
+ /**
870
+ * @default 128
871
+ */
856
872
  const PREMULT_BIT: number;
857
873
 
874
+ /**
875
+ * @default 512
876
+ */
858
877
  const STENCIL_BIT: number;
859
878
 
879
+ /**
880
+ * @default 127
881
+ */
860
882
  const TEXTURE_MAX_WASTE: number;
861
883
 
862
884
  function blend_string_error_quark(): number;
@@ -909,6 +931,7 @@ export namespace Cogl {
909
931
  * @param dst_y Destination y position
910
932
  * @param width Width of region to copy
911
933
  * @param height Height of region to copy
934
+ * @throws GLib.Error
912
935
  */
913
936
  function blit_framebuffer(framebuffer: Framebuffer, dst: Framebuffer, src_x: number, src_y: number, dst_x: number, dst_y: number, width: number, height: number): boolean;
914
937
 
@@ -1357,6 +1380,7 @@ export namespace Cogl {
1357
1380
  * @returns A newly created {@link Cogl.Texture} or `null` on failure
1358
1381
  * @since 0.8
1359
1382
  * @deprecated since 1.18: Use specific constructors such as `cogl_texture_2d_new_from_file()`
1383
+ * @throws GLib.Error
1360
1384
  */
1361
1385
  function texture_new_from_file(filename: string, flags: TextureFlags, internal_format: PixelFormat): Texture;
1362
1386
 
@@ -1428,15 +1452,15 @@ export namespace Cogl {
1428
1452
  /**
1429
1453
  * Selects the primary color buffer
1430
1454
  */
1431
- COLOR,
1455
+ COLOR = 1,
1432
1456
  /**
1433
1457
  * Selects the depth buffer
1434
1458
  */
1435
- DEPTH,
1459
+ DEPTH = 2,
1436
1460
  /**
1437
1461
  * Selects the stencil buffer
1438
1462
  */
1439
- STENCIL,
1463
+ STENCIL = 4,
1440
1464
  }
1441
1465
 
1442
1466
 
@@ -1449,11 +1473,11 @@ export namespace Cogl {
1449
1473
  /**
1450
1474
  * FIXME
1451
1475
  */
1452
- WINDOW_BUFFER,
1476
+ WINDOW_BUFFER = 2,
1453
1477
  /**
1454
1478
  * FIXME
1455
1479
  */
1456
- OFFSCREEN_BUFFER,
1480
+ OFFSCREEN_BUFFER = 4,
1457
1481
  }
1458
1482
 
1459
1483
 
@@ -1461,8 +1485,8 @@ export namespace Cogl {
1461
1485
  * @gir-type Flags
1462
1486
  */
1463
1487
  enum EglImageFlags {
1464
- NONE,
1465
- NO_GET_DATA,
1488
+ NONE = 0,
1489
+ NO_GET_DATA = 1,
1466
1490
  }
1467
1491
 
1468
1492
 
@@ -1492,152 +1516,152 @@ export namespace Cogl {
1492
1516
  /**
1493
1517
  * Any format
1494
1518
  */
1495
- ANY,
1519
+ ANY = 0,
1496
1520
  /**
1497
1521
  * 8 bits alpha mask
1498
1522
  */
1499
- A_8,
1523
+ A_8 = 17,
1500
1524
  /**
1501
1525
  * RGB, 16 bits
1502
1526
  */
1503
- RGB_565,
1527
+ RGB_565 = 4,
1504
1528
  /**
1505
1529
  * RGBA, 16 bits
1506
1530
  */
1507
- RGBA_4444,
1531
+ RGBA_4444 = 21,
1508
1532
  /**
1509
1533
  * RGBA, 16 bits
1510
1534
  */
1511
- RGBA_5551,
1535
+ RGBA_5551 = 22,
1512
1536
  /**
1513
1537
  * Not currently supported
1514
1538
  */
1515
- YUV,
1539
+ YUV = 7,
1516
1540
  /**
1517
1541
  * Single luminance component
1518
1542
  */
1519
- G_8,
1543
+ G_8 = 8,
1520
1544
  /**
1521
1545
  * RG, 16 bits. Note that red-green textures
1522
1546
  * are only available if {@link Cogl.FeatureID.OGL_FEATURE_ID_TEXTURE_RG} is advertised.
1523
1547
  * See `cogl_texture_set_components()` for details.
1524
1548
  */
1525
- RG_88,
1549
+ RG_88 = 9,
1526
1550
  /**
1527
1551
  * RGB, 24 bits
1528
1552
  */
1529
- RGB_888,
1553
+ RGB_888 = 2,
1530
1554
  /**
1531
1555
  * BGR, 24 bits
1532
1556
  */
1533
- BGR_888,
1557
+ BGR_888 = 34,
1534
1558
  /**
1535
1559
  * RGBA, 32 bits
1536
1560
  */
1537
- RGBA_8888,
1561
+ RGBA_8888 = 19,
1538
1562
  /**
1539
1563
  * BGRA, 32 bits
1540
1564
  */
1541
- BGRA_8888,
1565
+ BGRA_8888 = 51,
1542
1566
  /**
1543
1567
  * ARGB, 32 bits
1544
1568
  */
1545
- ARGB_8888,
1569
+ ARGB_8888 = 83,
1546
1570
  /**
1547
1571
  * ABGR, 32 bits
1548
1572
  */
1549
- ABGR_8888,
1573
+ ABGR_8888 = 115,
1550
1574
  /**
1551
1575
  * RGBA, 32 bits, 10 bpc
1552
1576
  */
1553
- RGBA_1010102,
1577
+ RGBA_1010102 = 29,
1554
1578
  /**
1555
1579
  * BGRA, 32 bits, 10 bpc
1556
1580
  */
1557
- BGRA_1010102,
1581
+ BGRA_1010102 = 61,
1558
1582
  /**
1559
1583
  * ARGB, 32 bits, 10 bpc
1560
1584
  */
1561
- ARGB_2101010,
1585
+ ARGB_2101010 = 93,
1562
1586
  /**
1563
1587
  * ABGR, 32 bits, 10 bpc
1564
1588
  */
1565
- ABGR_2101010,
1589
+ ABGR_2101010 = 125,
1566
1590
  /**
1567
1591
  * RGBA half floating point, 64 bit
1568
1592
  */
1569
- RGBA_FP_16161616,
1593
+ RGBA_FP_16161616 = 27,
1570
1594
  /**
1571
1595
  * BGRA half floating point, 64 bit
1572
1596
  */
1573
- BGRA_FP_16161616,
1597
+ BGRA_FP_16161616 = 59,
1574
1598
  /**
1575
1599
  * ARGB half floating point, 64 bit
1576
1600
  */
1577
- ARGB_FP_16161616,
1601
+ ARGB_FP_16161616 = 91,
1578
1602
  /**
1579
1603
  * ABGR half floating point, 64 bit
1580
1604
  */
1581
- ABGR_FP_16161616,
1605
+ ABGR_FP_16161616 = 123,
1582
1606
  /**
1583
1607
  * Premultiplied RGBA, 32 bits
1584
1608
  */
1585
- RGBA_8888_PRE,
1609
+ RGBA_8888_PRE = 147,
1586
1610
  /**
1587
1611
  * Premultiplied BGRA, 32 bits
1588
1612
  */
1589
- BGRA_8888_PRE,
1613
+ BGRA_8888_PRE = 179,
1590
1614
  /**
1591
1615
  * Premultiplied ARGB, 32 bits
1592
1616
  */
1593
- ARGB_8888_PRE,
1617
+ ARGB_8888_PRE = 211,
1594
1618
  /**
1595
1619
  * Premultiplied ABGR, 32 bits
1596
1620
  */
1597
- ABGR_8888_PRE,
1621
+ ABGR_8888_PRE = 243,
1598
1622
  /**
1599
1623
  * Premultiplied RGBA, 16 bits
1600
1624
  */
1601
- RGBA_4444_PRE,
1625
+ RGBA_4444_PRE = 149,
1602
1626
  /**
1603
1627
  * Premultiplied RGBA, 16 bits
1604
1628
  */
1605
- RGBA_5551_PRE,
1629
+ RGBA_5551_PRE = 150,
1606
1630
  /**
1607
1631
  * Premultiplied RGBA, 32 bits, 10 bpc
1608
1632
  */
1609
- RGBA_1010102_PRE,
1633
+ RGBA_1010102_PRE = 157,
1610
1634
  /**
1611
1635
  * Premultiplied BGRA, 32 bits, 10 bpc
1612
1636
  */
1613
- BGRA_1010102_PRE,
1637
+ BGRA_1010102_PRE = 189,
1614
1638
  /**
1615
1639
  * Premultiplied ARGB, 32 bits, 10 bpc
1616
1640
  */
1617
- ARGB_2101010_PRE,
1641
+ ARGB_2101010_PRE = 221,
1618
1642
  /**
1619
1643
  * Premultiplied ABGR, 32 bits, 10 bpc
1620
1644
  */
1621
- ABGR_2101010_PRE,
1645
+ ABGR_2101010_PRE = 253,
1622
1646
  /**
1623
1647
  * Premultiplied RGBA half floating point, 64 bit
1624
1648
  */
1625
- RGBA_FP_16161616_PRE,
1649
+ RGBA_FP_16161616_PRE = 155,
1626
1650
  /**
1627
1651
  * Premultiplied BGRA half floating point, 64 bit
1628
1652
  */
1629
- BGRA_FP_16161616_PRE,
1653
+ BGRA_FP_16161616_PRE = 187,
1630
1654
  /**
1631
1655
  * Premultiplied ARGB half floating point, 64 bit
1632
1656
  */
1633
- ARGB_FP_16161616_PRE,
1657
+ ARGB_FP_16161616_PRE = 219,
1634
1658
  /**
1635
1659
  * Premultiplied ABGR half floating point, 64 bit
1636
1660
  */
1637
- ABGR_FP_16161616_PRE,
1638
- DEPTH_16,
1639
- DEPTH_32,
1640
- DEPTH_24_STENCIL_8,
1661
+ ABGR_FP_16161616_PRE = 251,
1662
+ DEPTH_16 = 265,
1663
+ DEPTH_32 = 259,
1664
+ DEPTH_24_STENCIL_8 = 771,
1641
1665
  }
1642
1666
 
1643
1667
 
@@ -1650,7 +1674,7 @@ export namespace Cogl {
1650
1674
  /**
1651
1675
  * Read from the color buffer
1652
1676
  */
1653
- READ_PIXELS_COLOR_BUFFER,
1677
+ READ_PIXELS_COLOR_BUFFER = 1,
1654
1678
  }
1655
1679
 
1656
1680
 
@@ -1663,7 +1687,7 @@ export namespace Cogl {
1663
1687
  /**
1664
1688
  * No flags specified
1665
1689
  */
1666
- NONE,
1690
+ NONE = 0,
1667
1691
  /**
1668
1692
  * Disables the automatic generation of
1669
1693
  * the mipmap pyramid from the base level image whenever it is
@@ -1671,16 +1695,16 @@ export namespace Cogl {
1671
1695
  * rendered with a mipmap filter so it should be free to leave out
1672
1696
  * this flag when using other filtering modes
1673
1697
  */
1674
- NO_AUTO_MIPMAP,
1698
+ NO_AUTO_MIPMAP = 1,
1675
1699
  /**
1676
1700
  * Disables the slicing of the texture
1677
1701
  */
1678
- NO_SLICING,
1702
+ NO_SLICING = 2,
1679
1703
  /**
1680
1704
  * Disables the insertion of the texture inside
1681
1705
  * the texture atlas used by Cogl
1682
1706
  */
1683
- NO_ATLAS,
1707
+ NO_ATLAS = 4,
1684
1708
  }
1685
1709
 
1686
1710
 
@@ -1990,6 +2014,7 @@ export namespace Cogl {
1990
2014
  * automatic allocation.</note>
1991
2015
  * @returns `true` if there were no error allocating the framebuffer, else `false`.
1992
2016
  * @since 1.8
2017
+ * @throws GLib.Error
1993
2018
  */
1994
2019
  allocate(): boolean;
1995
2020
 
@@ -3574,6 +3599,7 @@ export namespace Cogl {
3574
3599
  * @param blend_string A <link linkend="cogl-Blend-Strings">Cogl blend string</link> describing the desired blend function.
3575
3600
  * @returns `true` if the blend string was successfully parsed, and the described blending is supported by the underlying driver/hardware. If there was an error, `false` is returned and `error` is set accordingly (if present).
3576
3601
  * @since 2.0
3602
+ * @throws GLib.Error
3577
3603
  */
3578
3604
  set_blend(blend_string: string): boolean;
3579
3605
 
@@ -3739,6 +3765,7 @@ export namespace Cogl {
3739
3765
  * @param blend_string A <link linkend="cogl-Blend-Strings">Cogl blend string</link> describing the desired texture combine function.
3740
3766
  * @returns `true` if the blend string was successfully parsed, and the described texture combining is supported by the underlying driver and or hardware. On failure, `false` is returned and `error` is set
3741
3767
  * @since 2.0
3768
+ * @throws GLib.Error
3742
3769
  */
3743
3770
  set_layer_combine(layer_index: number, blend_string: string): boolean;
3744
3771
 
@@ -3806,6 +3833,7 @@ export namespace Cogl {
3806
3833
  * @param enable whether to enable point sprite coord generation.
3807
3834
  * @returns `true` if the function succeeds, `false` otherwise.
3808
3835
  * @since 2.0
3836
+ * @throws GLib.Error
3809
3837
  */
3810
3838
  set_layer_point_sprite_coords_enabled(layer_index: number, enable: boolean): boolean;
3811
3839
 
@@ -3856,6 +3884,7 @@ export namespace Cogl {
3856
3884
  * @param enable whether to enable per-vertex point size
3857
3885
  * @returns `true` if the change succeeded or `false` otherwise
3858
3886
  * @since 2.0
3887
+ * @throws GLib.Error
3859
3888
  */
3860
3889
  set_per_vertex_point_size(enable: boolean): boolean;
3861
3890
 
@@ -4073,6 +4102,7 @@ export namespace Cogl {
4073
4102
  * the texture, or if the texture is attached to a {@link Cogl.Offscreen}
4074
4103
  * framebuffer and rendered too.</note>
4075
4104
  * @returns `true` if the texture was successfully allocated, otherwise `false` and `error` will be updated if it wasn't `null`.
4105
+ * @throws GLib.Error
4076
4106
  */
4077
4107
  allocate(): boolean;
4078
4108
 
@@ -4242,6 +4272,7 @@ export namespace Cogl {
4242
4272
  * @param data the source data, pointing to the first top-left pixel to set
4243
4273
  * @param level The mipmap level to update (Normally 0 for the largest, base texture)
4244
4274
  * @returns `true` if the data upload was successful, and `false` otherwise
4275
+ * @throws GLib.Error
4245
4276
  */
4246
4277
  set_data(format: PixelFormat, rowstride: number, data: Uint8Array | string, level: number): boolean;
4247
4278
 
@@ -4354,6 +4385,7 @@ export namespace Cogl {
4354
4385
  * the texture, or if the texture is attached to a {@link Cogl.Offscreen}
4355
4386
  * framebuffer and rendered too.</note>
4356
4387
  * @returns `true` if the texture was successfully allocated, otherwise `false` and `error` will be updated if it wasn't `null`.
4388
+ * @throws GLib.Error
4357
4389
  */
4358
4390
  allocate(): boolean;
4359
4391
 
@@ -4523,6 +4555,7 @@ export namespace Cogl {
4523
4555
  * @param data the source data, pointing to the first top-left pixel to set
4524
4556
  * @param level The mipmap level to update (Normally 0 for the largest, base texture)
4525
4557
  * @returns `true` if the data upload was successful, and `false` otherwise
4558
+ * @throws GLib.Error
4526
4559
  */
4527
4560
  set_data(format: PixelFormat, rowstride: number, data: Uint8Array | string, level: number): boolean;
4528
4561
 
@@ -5020,6 +5053,7 @@ export namespace Cogl {
5020
5053
  * @returns `true` if the blend string was successfully parsed, and the described blending is supported by the underlying driver/hardware. If there was an error, `false` is returned and `error` is set accordingly (if present).
5021
5054
  * @since 1.0
5022
5055
  * @deprecated since 1.16: Use `cogl_pipeline_set_blend()` instead
5056
+ * @throws GLib.Error
5023
5057
  */
5024
5058
  set_blend(blend_string: string): boolean;
5025
5059
 
@@ -5159,6 +5193,7 @@ export namespace Cogl {
5159
5193
  * @returns `true` if the blend string was successfully parsed, and the described texture combining is supported by the underlying driver and or hardware. On failure, `false` is returned and `error` is set
5160
5194
  * @since 1.0
5161
5195
  * @deprecated since 1.16: Use `cogl_pipeline_set_layer_combine()` instead
5196
+ * @throws GLib.Error
5162
5197
  */
5163
5198
  set_layer_combine(layer_index: number, blend_string: string): boolean;
5164
5199
 
@@ -5203,6 +5238,7 @@ export namespace Cogl {
5203
5238
  * @returns `true` if the function succeeds, `false` otherwise.
5204
5239
  * @since 1.4
5205
5240
  * @deprecated since 1.16: Use `cogl_pipeline_set_layer_point_sprite_coords_enabled()` instead
5241
+ * @throws GLib.Error
5206
5242
  */
5207
5243
  set_layer_point_sprite_coords_enabled(layer_index: number, enable: boolean): boolean;
5208
5244
 
@@ -5510,6 +5546,7 @@ export namespace Cogl {
5510
5546
  * the texture, or if the texture is attached to a {@link Cogl.Offscreen}
5511
5547
  * framebuffer and rendered too.</note>
5512
5548
  * @returns `true` if the texture was successfully allocated, otherwise `false` and `error` will be updated if it wasn't `null`.
5549
+ * @throws GLib.Error
5513
5550
  */
5514
5551
  allocate(): boolean;
5515
5552
 
@@ -5679,6 +5716,7 @@ export namespace Cogl {
5679
5716
  * @param data the source data, pointing to the first top-left pixel to set
5680
5717
  * @param level The mipmap level to update (Normally 0 for the largest, base texture)
5681
5718
  * @returns `true` if the data upload was successful, and `false` otherwise
5719
+ * @throws GLib.Error
5682
5720
  */
5683
5721
  set_data(format: PixelFormat, rowstride: number, data: Uint8Array | string, level: number): boolean;
5684
5722
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/cogl-8",
3
- "version": "4.4.0",
3
+ "version": "4.5.0",
4
4
  "description": "GJS TypeScript type definitions for Cogl-8",
5
5
  "type": "module",
6
6
  "module": "cogl-8.js",
@@ -31,12 +31,12 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "^4.4.0",
35
- "@girs/cairo-1.0": "^4.4.0",
36
- "@girs/gobject-2.0": "^4.4.0",
37
- "@girs/glib-2.0": "^4.4.0",
38
- "@girs/graphene-1.0": "^4.4.0",
39
- "@girs/gl-1.0": "^4.4.0" },
34
+ "@girs/gjs": "^4.5.0",
35
+ "@girs/cairo-1.0": "^4.5.0",
36
+ "@girs/gobject-2.0": "^4.5.0",
37
+ "@girs/glib-2.0": "^4.5.0",
38
+ "@girs/graphene-1.0": "^4.5.0",
39
+ "@girs/gl-1.0": "^4.5.0" },
40
40
  "devDependencies": {
41
41
  "typescript": "*"
42
42
  },