@girs/cogl-13 13.0.0-4.0.0-beta.39 → 13.0.0-4.0.0-beta.40
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 +4 -558
- 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.40.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
package/cogl-13.d.ts
CHANGED
|
@@ -24,14 +24,6 @@ export namespace Cogl {
|
|
|
24
24
|
/**
|
|
25
25
|
* Data types for the components of a vertex attribute.
|
|
26
26
|
*/
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Data types for the components of a vertex attribute.
|
|
30
|
-
*/
|
|
31
|
-
export namespace AttributeType {
|
|
32
|
-
export const $gtype: GObject.GType<AttributeType>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
27
|
enum AttributeType {
|
|
36
28
|
/**
|
|
37
29
|
* Data is the same size of a byte
|
|
@@ -56,13 +48,6 @@ export namespace Cogl {
|
|
|
56
48
|
*/
|
|
57
49
|
FLOAT,
|
|
58
50
|
}
|
|
59
|
-
/**
|
|
60
|
-
* Error codes that can be thrown when performing bitmap
|
|
61
|
-
* operations. Note that gdk_pixbuf_new_from_file() can also throw
|
|
62
|
-
* errors directly from the underlying image loading library. For
|
|
63
|
-
* example, if GdkPixbuf is used then errors #GdkPixbufError<!-- -->s
|
|
64
|
-
* will be used directly.
|
|
65
|
-
*/
|
|
66
51
|
|
|
67
52
|
/**
|
|
68
53
|
* Error codes that can be thrown when performing bitmap
|
|
@@ -71,10 +56,6 @@ export namespace Cogl {
|
|
|
71
56
|
* example, if GdkPixbuf is used then errors #GdkPixbufError<!-- -->s
|
|
72
57
|
* will be used directly.
|
|
73
58
|
*/
|
|
74
|
-
export namespace BitmapError {
|
|
75
|
-
export const $gtype: GObject.GType<BitmapError>;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
59
|
enum BitmapError {
|
|
79
60
|
/**
|
|
80
61
|
* Generic failure code, something went
|
|
@@ -90,17 +71,10 @@ export namespace Cogl {
|
|
|
90
71
|
*/
|
|
91
72
|
CORRUPT_IMAGE,
|
|
92
73
|
}
|
|
93
|
-
/**
|
|
94
|
-
* Error enumeration for the blend strings parser
|
|
95
|
-
*/
|
|
96
74
|
|
|
97
75
|
/**
|
|
98
76
|
* Error enumeration for the blend strings parser
|
|
99
77
|
*/
|
|
100
|
-
export namespace BlendStringError {
|
|
101
|
-
export const $gtype: GObject.GType<BlendStringError>;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
78
|
enum BlendStringError {
|
|
105
79
|
/**
|
|
106
80
|
* Generic parse error
|
|
@@ -120,15 +94,6 @@ export namespace Cogl {
|
|
|
120
94
|
*/
|
|
121
95
|
GPU_UNSUPPORTED_ERROR,
|
|
122
96
|
}
|
|
123
|
-
/**
|
|
124
|
-
* When using depth testing one of these functions is used to compare
|
|
125
|
-
* the depth of an incoming fragment against the depth value currently
|
|
126
|
-
* stored in the depth buffer. The function is changed using
|
|
127
|
-
* cogl_depth_state_set_test_function().
|
|
128
|
-
*
|
|
129
|
-
* The test is only done when depth testing is explicitly enabled. (See
|
|
130
|
-
* cogl_depth_state_set_test_enabled())
|
|
131
|
-
*/
|
|
132
97
|
|
|
133
98
|
/**
|
|
134
99
|
* When using depth testing one of these functions is used to compare
|
|
@@ -139,10 +104,6 @@ export namespace Cogl {
|
|
|
139
104
|
* The test is only done when depth testing is explicitly enabled. (See
|
|
140
105
|
* cogl_depth_state_set_test_enabled())
|
|
141
106
|
*/
|
|
142
|
-
export namespace DepthTestFunction {
|
|
143
|
-
export const $gtype: GObject.GType<DepthTestFunction>;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
107
|
enum DepthTestFunction {
|
|
147
108
|
/**
|
|
148
109
|
* Never passes.
|
|
@@ -183,21 +144,12 @@ export namespace Cogl {
|
|
|
183
144
|
*/
|
|
184
145
|
ALWAYS,
|
|
185
146
|
}
|
|
186
|
-
/**
|
|
187
|
-
* All the capabilities that can vary between different GPUs supported
|
|
188
|
-
* by Cogl. Applications that depend on any of these features should explicitly
|
|
189
|
-
* check for them using cogl_has_feature() or cogl_has_features().
|
|
190
|
-
*/
|
|
191
147
|
|
|
192
148
|
/**
|
|
193
149
|
* All the capabilities that can vary between different GPUs supported
|
|
194
150
|
* by Cogl. Applications that depend on any of these features should explicitly
|
|
195
151
|
* check for them using cogl_has_feature() or cogl_has_features().
|
|
196
152
|
*/
|
|
197
|
-
export namespace FeatureID {
|
|
198
|
-
export const $gtype: GObject.GType<FeatureID>;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
153
|
enum FeatureID {
|
|
202
154
|
/**
|
|
203
155
|
* Set if
|
|
@@ -236,17 +188,10 @@ export namespace Cogl {
|
|
|
236
188
|
OGL_FEATURE_ID_BLIT_FRAMEBUFFER,
|
|
237
189
|
OGL_FEATURE_ID_TIMESTAMP_QUERY,
|
|
238
190
|
}
|
|
239
|
-
/**
|
|
240
|
-
* Return values for the #CoglXlibFilterFunc and #CoglWin32FilterFunc functions.
|
|
241
|
-
*/
|
|
242
191
|
|
|
243
192
|
/**
|
|
244
193
|
* Return values for the #CoglXlibFilterFunc and #CoglWin32FilterFunc functions.
|
|
245
194
|
*/
|
|
246
|
-
export namespace FilterReturn {
|
|
247
|
-
export const $gtype: GObject.GType<FilterReturn>;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
195
|
enum FilterReturn {
|
|
251
196
|
/**
|
|
252
197
|
* The event was not handled, continues the
|
|
@@ -258,22 +203,6 @@ export namespace Cogl {
|
|
|
258
203
|
*/
|
|
259
204
|
REMOVE,
|
|
260
205
|
}
|
|
261
|
-
/**
|
|
262
|
-
* Identifiers that are passed to #CoglFrameCallback functions
|
|
263
|
-
* (registered using cogl_onscreen_add_frame_callback()) that
|
|
264
|
-
* mark the progression of a frame in some way which usually
|
|
265
|
-
* means that new information will have been accumulated in the
|
|
266
|
-
* frame's corresponding #CoglFrameInfo object.
|
|
267
|
-
*
|
|
268
|
-
* The last event that will be sent for a frame will be a
|
|
269
|
-
* `COGL_FRAME_EVENT_COMPLETE` event and so these are a good
|
|
270
|
-
* opportunity to collect statistics about a frame since the
|
|
271
|
-
* #CoglFrameInfo should hold the most data at this point.
|
|
272
|
-
*
|
|
273
|
-
* <note>A frame may not be completed before the next frame can start
|
|
274
|
-
* so applications should avoid needing to collect all statistics for
|
|
275
|
-
* a particular frame before they can start a new frame.</note>
|
|
276
|
-
*/
|
|
277
206
|
|
|
278
207
|
/**
|
|
279
208
|
* Identifiers that are passed to #CoglFrameCallback functions
|
|
@@ -291,10 +220,6 @@ export namespace Cogl {
|
|
|
291
220
|
* so applications should avoid needing to collect all statistics for
|
|
292
221
|
* a particular frame before they can start a new frame.</note>
|
|
293
222
|
*/
|
|
294
|
-
export namespace FrameEvent {
|
|
295
|
-
export const $gtype: GObject.GType<FrameEvent>;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
223
|
enum FrameEvent {
|
|
299
224
|
/**
|
|
300
225
|
* Notifies that the system compositor has
|
|
@@ -314,19 +239,9 @@ export namespace Cogl {
|
|
|
314
239
|
COMPLETE,
|
|
315
240
|
}
|
|
316
241
|
|
|
317
|
-
export namespace FramebufferError {
|
|
318
|
-
export const $gtype: GObject.GType<FramebufferError>;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
242
|
enum FramebufferError {
|
|
322
243
|
FRAMEBUFFER_ERROR_ALLOCATE,
|
|
323
244
|
}
|
|
324
|
-
/**
|
|
325
|
-
* All the error values that might be returned by
|
|
326
|
-
* cogl_get_graphics_reset_status(). Each value's meaning corresponds
|
|
327
|
-
* to the similarly named value defined in the ARB_robustness and
|
|
328
|
-
* NV_robustness_video_memory_purge extensions.
|
|
329
|
-
*/
|
|
330
245
|
|
|
331
246
|
/**
|
|
332
247
|
* All the error values that might be returned by
|
|
@@ -334,10 +249,6 @@ export namespace Cogl {
|
|
|
334
249
|
* to the similarly named value defined in the ARB_robustness and
|
|
335
250
|
* NV_robustness_video_memory_purge extensions.
|
|
336
251
|
*/
|
|
337
|
-
export namespace GraphicsResetStatus {
|
|
338
|
-
export const $gtype: GObject.GType<GraphicsResetStatus>;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
252
|
enum GraphicsResetStatus {
|
|
342
253
|
NO_ERROR,
|
|
343
254
|
GUILTY_CONTEXT_RESET,
|
|
@@ -345,17 +256,6 @@ export namespace Cogl {
|
|
|
345
256
|
UNKNOWN_CONTEXT_RESET,
|
|
346
257
|
PURGED_CONTEXT_RESET,
|
|
347
258
|
}
|
|
348
|
-
/**
|
|
349
|
-
* You should aim to use the smallest data type that gives you enough
|
|
350
|
-
* range, since it reduces the size of your index array and can help
|
|
351
|
-
* reduce the demand on memory bandwidth.
|
|
352
|
-
*
|
|
353
|
-
* Note that %COGL_INDICES_TYPE_UNSIGNED_INT is only supported if the
|
|
354
|
-
* %COGL_FEATURE_ID_UNSIGNED_INT_INDICES feature is available. This
|
|
355
|
-
* should always be available on OpenGL but on OpenGL ES it will only
|
|
356
|
-
* be available if the GL_OES_element_index_uint extension is
|
|
357
|
-
* advertized.
|
|
358
|
-
*/
|
|
359
259
|
|
|
360
260
|
/**
|
|
361
261
|
* You should aim to use the smallest data type that gives you enough
|
|
@@ -368,10 +268,6 @@ export namespace Cogl {
|
|
|
368
268
|
* be available if the GL_OES_element_index_uint extension is
|
|
369
269
|
* advertized.
|
|
370
270
|
*/
|
|
371
|
-
export namespace IndicesType {
|
|
372
|
-
export const $gtype: GObject.GType<IndicesType>;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
271
|
enum IndicesType {
|
|
376
272
|
/**
|
|
377
273
|
* Your indices are unsigned bytes
|
|
@@ -386,12 +282,6 @@ export namespace Cogl {
|
|
|
386
282
|
*/
|
|
387
283
|
INT,
|
|
388
284
|
}
|
|
389
|
-
/**
|
|
390
|
-
* Alpha testing happens before blending primitives with the framebuffer and
|
|
391
|
-
* gives an opportunity to discard fragments based on a comparison with the
|
|
392
|
-
* incoming alpha value and a reference alpha value. The #CoglPipelineAlphaFunc
|
|
393
|
-
* determines how the comparison is done.
|
|
394
|
-
*/
|
|
395
285
|
|
|
396
286
|
/**
|
|
397
287
|
* Alpha testing happens before blending primitives with the framebuffer and
|
|
@@ -399,10 +289,6 @@ export namespace Cogl {
|
|
|
399
289
|
* incoming alpha value and a reference alpha value. The #CoglPipelineAlphaFunc
|
|
400
290
|
* determines how the comparison is done.
|
|
401
291
|
*/
|
|
402
|
-
export namespace PipelineAlphaFunc {
|
|
403
|
-
export const $gtype: GObject.GType<PipelineAlphaFunc>;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
292
|
enum PipelineAlphaFunc {
|
|
407
293
|
/**
|
|
408
294
|
* Never let the fragment through.
|
|
@@ -443,19 +329,11 @@ export namespace Cogl {
|
|
|
443
329
|
*/
|
|
444
330
|
ALWAYS,
|
|
445
331
|
}
|
|
446
|
-
/**
|
|
447
|
-
* Specifies which faces should be culled. This can be set on a
|
|
448
|
-
* pipeline using cogl_pipeline_set_cull_face_mode().
|
|
449
|
-
*/
|
|
450
332
|
|
|
451
333
|
/**
|
|
452
334
|
* Specifies which faces should be culled. This can be set on a
|
|
453
335
|
* pipeline using cogl_pipeline_set_cull_face_mode().
|
|
454
336
|
*/
|
|
455
|
-
export namespace PipelineCullFaceMode {
|
|
456
|
-
export const $gtype: GObject.GType<PipelineCullFaceMode>;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
337
|
enum PipelineCullFaceMode {
|
|
460
338
|
/**
|
|
461
339
|
* Neither face will be
|
|
@@ -475,13 +353,6 @@ export namespace Cogl {
|
|
|
475
353
|
*/
|
|
476
354
|
BOTH,
|
|
477
355
|
}
|
|
478
|
-
/**
|
|
479
|
-
* Texture filtering is used whenever the current pixel maps either to more
|
|
480
|
-
* than one texture element (texel) or less than one. These filter enums
|
|
481
|
-
* correspond to different strategies used to come up with a pixel color, by
|
|
482
|
-
* possibly referring to multiple neighbouring texels and taking a weighted
|
|
483
|
-
* average or simply using the nearest texel.
|
|
484
|
-
*/
|
|
485
356
|
|
|
486
357
|
/**
|
|
487
358
|
* Texture filtering is used whenever the current pixel maps either to more
|
|
@@ -490,10 +361,6 @@ export namespace Cogl {
|
|
|
490
361
|
* possibly referring to multiple neighbouring texels and taking a weighted
|
|
491
362
|
* average or simply using the nearest texel.
|
|
492
363
|
*/
|
|
493
|
-
export namespace PipelineFilter {
|
|
494
|
-
export const $gtype: GObject.GType<PipelineFilter>;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
364
|
enum PipelineFilter {
|
|
498
365
|
/**
|
|
499
366
|
* Measuring in manhatten distance from the,
|
|
@@ -532,16 +399,6 @@ export namespace Cogl {
|
|
|
532
399
|
*/
|
|
533
400
|
LINEAR_MIPMAP_LINEAR,
|
|
534
401
|
}
|
|
535
|
-
/**
|
|
536
|
-
* The wrap mode specifies what happens when texture coordinates
|
|
537
|
-
* outside the range 0→1 are used. Note that if the filter mode is
|
|
538
|
-
* anything but %COGL_PIPELINE_FILTER_NEAREST then texels outside the
|
|
539
|
-
* range 0→1 might be used even when the coordinate is exactly 0 or 1
|
|
540
|
-
* because OpenGL will try to sample neighbouring pixels. For example
|
|
541
|
-
* if you are trying to render the full texture then you may get
|
|
542
|
-
* artifacts around the edges when the pixels from the other side are
|
|
543
|
-
* merged in if the wrap mode is set to repeat.
|
|
544
|
-
*/
|
|
545
402
|
|
|
546
403
|
/**
|
|
547
404
|
* The wrap mode specifies what happens when texture coordinates
|
|
@@ -553,10 +410,6 @@ export namespace Cogl {
|
|
|
553
410
|
* artifacts around the edges when the pixels from the other side are
|
|
554
411
|
* merged in if the wrap mode is set to repeat.
|
|
555
412
|
*/
|
|
556
|
-
export namespace PipelineWrapMode {
|
|
557
|
-
export const $gtype: GObject.GType<PipelineWrapMode>;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
413
|
enum PipelineWrapMode {
|
|
561
414
|
/**
|
|
562
415
|
* The texture will be repeated. This
|
|
@@ -584,16 +437,13 @@ export namespace Cogl {
|
|
|
584
437
|
AUTOMATIC,
|
|
585
438
|
}
|
|
586
439
|
|
|
587
|
-
export namespace RendererError {
|
|
588
|
-
export const $gtype: GObject.GType<RendererError>;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
440
|
enum RendererError {
|
|
592
441
|
XLIB_DISPLAY_OPEN,
|
|
593
442
|
BAD_CONSTRAINT,
|
|
594
443
|
}
|
|
444
|
+
|
|
595
445
|
class ScanoutError extends GLib.Error {
|
|
596
|
-
static $gtype: GObject.GType<
|
|
446
|
+
static $gtype: GObject.GType<GLib.Error>;
|
|
597
447
|
|
|
598
448
|
// Static fields
|
|
599
449
|
|
|
@@ -607,14 +457,6 @@ export namespace Cogl {
|
|
|
607
457
|
/**
|
|
608
458
|
* Types of shaders
|
|
609
459
|
*/
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* Types of shaders
|
|
613
|
-
*/
|
|
614
|
-
export namespace ShaderType {
|
|
615
|
-
export const $gtype: GObject.GType<ShaderType>;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
460
|
enum ShaderType {
|
|
619
461
|
/**
|
|
620
462
|
* A program for processing vertices
|
|
@@ -625,285 +467,6 @@ export namespace Cogl {
|
|
|
625
467
|
*/
|
|
626
468
|
FRAGMENT,
|
|
627
469
|
}
|
|
628
|
-
/**
|
|
629
|
-
* #CoglSnippetHook is used to specify a location within a
|
|
630
|
-
* #CoglPipeline where the code of the snippet should be used when it
|
|
631
|
-
* is attached to a pipeline.
|
|
632
|
-
*
|
|
633
|
-
* <glosslist>
|
|
634
|
-
* <glossentry>
|
|
635
|
-
* <glossterm>%COGL_SNIPPET_HOOK_VERTEX_GLOBALS</glossterm>
|
|
636
|
-
* <glossdef>
|
|
637
|
-
* <para>
|
|
638
|
-
* Adds a shader snippet at the beginning of the global section of the
|
|
639
|
-
* shader for the vertex processing. Any declarations here can be
|
|
640
|
-
* shared with all other snippets that are attached to a vertex hook.
|
|
641
|
-
* Only the ‘declarations’ string is used and the other strings are
|
|
642
|
-
* ignored.
|
|
643
|
-
* </para>
|
|
644
|
-
* </glossdef>
|
|
645
|
-
* </glossentry>
|
|
646
|
-
* <glossentry>
|
|
647
|
-
* <glossterm>%COGL_SNIPPET_HOOK_FRAGMENT_GLOBALS</glossterm>
|
|
648
|
-
* <glossdef>
|
|
649
|
-
* <para>
|
|
650
|
-
* Adds a shader snippet at the beginning of the global section of the
|
|
651
|
-
* shader for the fragment processing. Any declarations here can be
|
|
652
|
-
* shared with all other snippets that are attached to a fragment
|
|
653
|
-
* hook. Only the ‘declarations’ string is used and the other strings
|
|
654
|
-
* are ignored.
|
|
655
|
-
* </para>
|
|
656
|
-
* </glossdef>
|
|
657
|
-
* </glossentry>
|
|
658
|
-
* <glossentry>
|
|
659
|
-
* <glossterm>%COGL_SNIPPET_HOOK_VERTEX</glossterm>
|
|
660
|
-
* <glossdef>
|
|
661
|
-
* <para>
|
|
662
|
-
* Adds a shader snippet that will hook on to the vertex processing
|
|
663
|
-
* stage of the pipeline. This gives a chance for the application to
|
|
664
|
-
* modify the vertex attributes generated by the shader. Typically the
|
|
665
|
-
* snippet will modify cogl_color_out or cogl_position_out builtins.
|
|
666
|
-
* </para>
|
|
667
|
-
* <para>
|
|
668
|
-
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
669
|
-
* global scope of the shader. Use this to declare any uniforms,
|
|
670
|
-
* attributes or functions that the snippet requires.
|
|
671
|
-
* </para>
|
|
672
|
-
* <para>
|
|
673
|
-
* The ‘pre’ string in `snippet` will be inserted at the top of the
|
|
674
|
-
* main() function before any vertex processing is done.
|
|
675
|
-
* </para>
|
|
676
|
-
* <para>
|
|
677
|
-
* The ‘replace’ string in `snippet` will be used instead of the
|
|
678
|
-
* generated vertex processing if it is present. This can be used if
|
|
679
|
-
* the application wants to provide a complete vertex shader and
|
|
680
|
-
* doesn't need the generated output from Cogl.
|
|
681
|
-
* </para>
|
|
682
|
-
* <para>
|
|
683
|
-
* The ‘post’ string in `snippet` will be inserted after all of the
|
|
684
|
-
* standard vertex processing is done. This can be used to modify the
|
|
685
|
-
* outputs.
|
|
686
|
-
* </para>
|
|
687
|
-
* </glossdef>
|
|
688
|
-
* </glossentry>
|
|
689
|
-
* <glossentry>
|
|
690
|
-
* <glossterm>%COGL_SNIPPET_HOOK_VERTEX_TRANSFORM</glossterm>
|
|
691
|
-
* <glossdef>
|
|
692
|
-
* <para>
|
|
693
|
-
* Adds a shader snippet that will hook on to the vertex transform stage.
|
|
694
|
-
* Typically the snippet will use the cogl_modelview_matrix,
|
|
695
|
-
* cogl_projection_matrix and cogl_modelview_projection_matrix matrices and the
|
|
696
|
-
* cogl_position_in attribute. The hook must write to cogl_position_out.
|
|
697
|
-
* The default processing for this hook will multiply cogl_position_in by
|
|
698
|
-
* the combined modelview-projection matrix and store it on cogl_position_out.
|
|
699
|
-
* </para>
|
|
700
|
-
* <para>
|
|
701
|
-
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
702
|
-
* global scope of the shader. Use this to declare any uniforms,
|
|
703
|
-
* attributes or functions that the snippet requires.
|
|
704
|
-
* </para>
|
|
705
|
-
* <para>
|
|
706
|
-
* The ‘pre’ string in `snippet` will be inserted at the top of the
|
|
707
|
-
* main() function before the vertex transform is done.
|
|
708
|
-
* </para>
|
|
709
|
-
* <para>
|
|
710
|
-
* The ‘replace’ string in `snippet` will be used instead of the
|
|
711
|
-
* generated vertex transform if it is present.
|
|
712
|
-
* </para>
|
|
713
|
-
* <para>
|
|
714
|
-
* The ‘post’ string in `snippet` will be inserted after all of the
|
|
715
|
-
* standard vertex transformation is done. This can be used to modify the
|
|
716
|
-
* cogl_position_out in addition to the default processing.
|
|
717
|
-
* </para>
|
|
718
|
-
* </glossdef>
|
|
719
|
-
* </glossentry>
|
|
720
|
-
* <glossentry>
|
|
721
|
-
* <glossterm>%COGL_SNIPPET_HOOK_POINT_SIZE</glossterm>
|
|
722
|
-
* <glossdef>
|
|
723
|
-
* <para>
|
|
724
|
-
* Adds a shader snippet that will hook on to the point size
|
|
725
|
-
* calculation step within the vertex shader stage. The snippet should
|
|
726
|
-
* write to the builtin cogl_point_size_out with the new point size.
|
|
727
|
-
* The snippet can either read cogl_point_size_in directly and write a
|
|
728
|
-
* new value or first read an existing value in cogl_point_size_out
|
|
729
|
-
* that would be set by a previous snippet. Note that this hook is
|
|
730
|
-
* only used if cogl_pipeline_set_per_vertex_point_size() is enabled
|
|
731
|
-
* on the pipeline.
|
|
732
|
-
* </para>
|
|
733
|
-
* <para>
|
|
734
|
-
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
735
|
-
* global scope of the shader. Use this to declare any uniforms,
|
|
736
|
-
* attributes or functions that the snippet requires.
|
|
737
|
-
* </para>
|
|
738
|
-
* <para>
|
|
739
|
-
* The ‘pre’ string in `snippet` will be inserted just before
|
|
740
|
-
* calculating the point size.
|
|
741
|
-
* </para>
|
|
742
|
-
* <para>
|
|
743
|
-
* The ‘replace’ string in `snippet` will be used instead of the
|
|
744
|
-
* generated point size calculation if it is present.
|
|
745
|
-
* </para>
|
|
746
|
-
* <para>
|
|
747
|
-
* The ‘post’ string in `snippet` will be inserted after the
|
|
748
|
-
* standard point size calculation is done. This can be used to modify
|
|
749
|
-
* cogl_point_size_out in addition to the default processing.
|
|
750
|
-
* </para>
|
|
751
|
-
* </glossdef>
|
|
752
|
-
* </glossentry>
|
|
753
|
-
* <glossentry>
|
|
754
|
-
* <glossterm>%COGL_SNIPPET_HOOK_FRAGMENT</glossterm>
|
|
755
|
-
* <glossdef>
|
|
756
|
-
* <para>
|
|
757
|
-
* Adds a shader snippet that will hook on to the fragment processing
|
|
758
|
-
* stage of the pipeline. This gives a chance for the application to
|
|
759
|
-
* modify the fragment color generated by the shader. Typically the
|
|
760
|
-
* snippet will modify cogl_color_out.
|
|
761
|
-
* </para>
|
|
762
|
-
* <para>
|
|
763
|
-
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
764
|
-
* global scope of the shader. Use this to declare any uniforms,
|
|
765
|
-
* attributes or functions that the snippet requires.
|
|
766
|
-
* </para>
|
|
767
|
-
* <para>
|
|
768
|
-
* The ‘pre’ string in `snippet` will be inserted at the top of the
|
|
769
|
-
* main() function before any fragment processing is done.
|
|
770
|
-
* </para>
|
|
771
|
-
* <para>
|
|
772
|
-
* The ‘replace’ string in `snippet` will be used instead of the
|
|
773
|
-
* generated fragment processing if it is present. This can be used if
|
|
774
|
-
* the application wants to provide a complete fragment shader and
|
|
775
|
-
* doesn't need the generated output from Cogl.
|
|
776
|
-
* </para>
|
|
777
|
-
* <para>
|
|
778
|
-
* The ‘post’ string in `snippet` will be inserted after all of the
|
|
779
|
-
* standard fragment processing is done. At this point the generated
|
|
780
|
-
* value for the rest of the pipeline state will already be in
|
|
781
|
-
* cogl_color_out so the application can modify the result by altering
|
|
782
|
-
* this variable.
|
|
783
|
-
* </para>
|
|
784
|
-
* </glossdef>
|
|
785
|
-
* </glossentry>
|
|
786
|
-
* <glossentry>
|
|
787
|
-
* <glossterm>%COGL_SNIPPET_HOOK_TEXTURE_COORD_TRANSFORM</glossterm>
|
|
788
|
-
* <glossdef>
|
|
789
|
-
* <para>
|
|
790
|
-
* Adds a shader snippet that will hook on to the texture coordinate
|
|
791
|
-
* transformation of a particular layer. This can be used to replace
|
|
792
|
-
* the processing for a layer or to modify the results.
|
|
793
|
-
* </para>
|
|
794
|
-
* <para>
|
|
795
|
-
* Within the snippet code for this hook there are two extra
|
|
796
|
-
* variables. The first is a mat4 called cogl_matrix which represents
|
|
797
|
-
* the user matrix for this layer. The second is called cogl_tex_coord
|
|
798
|
-
* and represents the incoming and outgoing texture coordinate. On
|
|
799
|
-
* entry to the hook, cogl_tex_coord contains the value of the
|
|
800
|
-
* corresponding texture coordinate attribute for this layer. The hook
|
|
801
|
-
* is expected to modify this variable. The output will be passed as a
|
|
802
|
-
* varying to the fragment processing stage. The default code will
|
|
803
|
-
* just multiply cogl_matrix by cogl_tex_coord and store the result in
|
|
804
|
-
* cogl_tex_coord.
|
|
805
|
-
* </para>
|
|
806
|
-
* <para>
|
|
807
|
-
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
808
|
-
* global scope of the shader. Use this to declare any uniforms,
|
|
809
|
-
* attributes or functions that the snippet requires.
|
|
810
|
-
* </para>
|
|
811
|
-
* <para>
|
|
812
|
-
* The ‘pre’ string in `snippet` will be inserted just before the
|
|
813
|
-
* fragment processing for this layer. At this point cogl_tex_coord
|
|
814
|
-
* still contains the value of the texture coordinate attribute.
|
|
815
|
-
* </para>
|
|
816
|
-
* <para>
|
|
817
|
-
* If a ‘replace’ string is given then this will be used instead of
|
|
818
|
-
* the default fragment processing for this layer. The snippet can
|
|
819
|
-
* modify cogl_tex_coord or leave it as is to apply no transformation.
|
|
820
|
-
* </para>
|
|
821
|
-
* <para>
|
|
822
|
-
* The ‘post’ string in `snippet` will be inserted just after the
|
|
823
|
-
* transformation. At this point cogl_tex_coord will contain the
|
|
824
|
-
* results of the transformation but it can be further modified by the
|
|
825
|
-
* snippet.
|
|
826
|
-
* </para>
|
|
827
|
-
* </glossdef>
|
|
828
|
-
* </glossentry>
|
|
829
|
-
* <glossentry>
|
|
830
|
-
* <glossterm>%COGL_SNIPPET_HOOK_LAYER_FRAGMENT</glossterm>
|
|
831
|
-
* <glossdef>
|
|
832
|
-
* <para>
|
|
833
|
-
* Adds a shader snippet that will hook on to the fragment processing
|
|
834
|
-
* of a particular layer. This can be used to replace the processing
|
|
835
|
-
* for a layer or to modify the results.
|
|
836
|
-
* </para>
|
|
837
|
-
* <para>
|
|
838
|
-
* Within the snippet code for this hook there is an extra vec4
|
|
839
|
-
* variable called ‘cogl_layer’. This contains the resulting color
|
|
840
|
-
* that will be used for the layer. This can be modified in the ‘post’
|
|
841
|
-
* section or it the default processing can be replaced entirely using
|
|
842
|
-
* the ‘replace’ section.
|
|
843
|
-
* </para>
|
|
844
|
-
* <para>
|
|
845
|
-
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
846
|
-
* global scope of the shader. Use this to declare any uniforms,
|
|
847
|
-
* attributes or functions that the snippet requires.
|
|
848
|
-
* </para>
|
|
849
|
-
* <para>
|
|
850
|
-
* The ‘pre’ string in `snippet` will be inserted just before the
|
|
851
|
-
* fragment processing for this layer.
|
|
852
|
-
* </para>
|
|
853
|
-
* <para>
|
|
854
|
-
* If a ‘replace’ string is given then this will be used instead of
|
|
855
|
-
* the default fragment processing for this layer. The snippet must write to
|
|
856
|
-
* the ‘cogl_layer’ variable in that case.
|
|
857
|
-
* </para>
|
|
858
|
-
* <para>
|
|
859
|
-
* The ‘post’ string in `snippet` will be inserted just after the
|
|
860
|
-
* fragment processing for the layer. The results can be modified by changing
|
|
861
|
-
* the value of the ‘cogl_layer’ variable.
|
|
862
|
-
* </para>
|
|
863
|
-
* </glossdef>
|
|
864
|
-
* </glossentry>
|
|
865
|
-
* <glossentry>
|
|
866
|
-
* <glossterm>%COGL_SNIPPET_HOOK_TEXTURE_LOOKUP</glossterm>
|
|
867
|
-
* <glossdef>
|
|
868
|
-
* <para>
|
|
869
|
-
* Adds a shader snippet that will hook on to the texture lookup part
|
|
870
|
-
* of a given layer. This gives a chance for the application to modify
|
|
871
|
-
* the coordinates that will be used for the texture lookup or to
|
|
872
|
-
* alter the returned texel.
|
|
873
|
-
* </para>
|
|
874
|
-
* <para>
|
|
875
|
-
* Within the snippet code for this hook there are three extra
|
|
876
|
-
* variables available. ‘cogl_sampler’ is a sampler object
|
|
877
|
-
* representing the sampler for the layer where the snippet is
|
|
878
|
-
* attached. ‘cogl_tex_coord’ is a vec4 which contains the texture
|
|
879
|
-
* coordinates that will be used for the texture lookup. This can be
|
|
880
|
-
* modified. ‘cogl_texel’ will contain the result of the texture
|
|
881
|
-
* lookup. This can also be modified.
|
|
882
|
-
* </para>
|
|
883
|
-
* <para>
|
|
884
|
-
* The ‘declarations’ string in `snippet` will be inserted in the
|
|
885
|
-
* global scope of the shader. Use this to declare any uniforms,
|
|
886
|
-
* attributes or functions that the snippet requires.
|
|
887
|
-
* </para>
|
|
888
|
-
* <para>
|
|
889
|
-
* The ‘pre’ string in `snippet` will be inserted at the top of the
|
|
890
|
-
* main() function before any fragment processing is done. This is a
|
|
891
|
-
* good place to modify the cogl_tex_coord variable.
|
|
892
|
-
* </para>
|
|
893
|
-
* <para>
|
|
894
|
-
* If a ‘replace’ string is given then this will be used instead of a
|
|
895
|
-
* the default texture lookup. The snippet would typically use its own
|
|
896
|
-
* sampler in this case.
|
|
897
|
-
* </para>
|
|
898
|
-
* <para>
|
|
899
|
-
* The ‘post’ string in `snippet` will be inserted after texture lookup
|
|
900
|
-
* has been performed. Here the snippet can modify the cogl_texel
|
|
901
|
-
* variable to alter the returned texel.
|
|
902
|
-
* </para>
|
|
903
|
-
* </glossdef>
|
|
904
|
-
* </glossentry>
|
|
905
|
-
* </glosslist>
|
|
906
|
-
*/
|
|
907
470
|
|
|
908
471
|
/**
|
|
909
472
|
* #CoglSnippetHook is used to specify a location within a
|
|
@@ -1184,10 +747,6 @@ export namespace Cogl {
|
|
|
1184
747
|
* </glossentry>
|
|
1185
748
|
* </glosslist>
|
|
1186
749
|
*/
|
|
1187
|
-
export namespace SnippetHook {
|
|
1188
|
-
export const $gtype: GObject.GType<SnippetHook>;
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
750
|
enum SnippetHook {
|
|
1192
751
|
/**
|
|
1193
752
|
* A hook for the entire vertex processing
|
|
@@ -1238,19 +797,11 @@ export namespace Cogl {
|
|
|
1238
797
|
*/
|
|
1239
798
|
TEXTURE_LOOKUP,
|
|
1240
799
|
}
|
|
1241
|
-
/**
|
|
1242
|
-
* Represents how draw should affect the two buffers
|
|
1243
|
-
* of a stereo framebuffer. See cogl_framebuffer_set_stereo_mode().
|
|
1244
|
-
*/
|
|
1245
800
|
|
|
1246
801
|
/**
|
|
1247
802
|
* Represents how draw should affect the two buffers
|
|
1248
803
|
* of a stereo framebuffer. See cogl_framebuffer_set_stereo_mode().
|
|
1249
804
|
*/
|
|
1250
|
-
export namespace StereoMode {
|
|
1251
|
-
export const $gtype: GObject.GType<StereoMode>;
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
805
|
enum StereoMode {
|
|
1255
806
|
/**
|
|
1256
807
|
* draw to both stereo buffers
|
|
@@ -1265,25 +816,6 @@ export namespace Cogl {
|
|
|
1265
816
|
*/
|
|
1266
817
|
RIGHT,
|
|
1267
818
|
}
|
|
1268
|
-
/**
|
|
1269
|
-
* Error enumeration for Cogl
|
|
1270
|
-
*
|
|
1271
|
-
* The `COGL_SYSTEM_ERROR_UNSUPPORTED` error can be thrown for a
|
|
1272
|
-
* variety of reasons. For example:
|
|
1273
|
-
*
|
|
1274
|
-
* <itemizedlist>
|
|
1275
|
-
* <listitem><para>You've tried to use a feature that is not
|
|
1276
|
-
* advertised by cogl_has_feature().</para></listitem>
|
|
1277
|
-
* <listitem><para>The GPU can not handle the configuration you have
|
|
1278
|
-
* requested. An example might be if you try to use too many texture
|
|
1279
|
-
* layers in a single #CoglPipeline</para></listitem>
|
|
1280
|
-
* <listitem><para>The driver does not support some
|
|
1281
|
-
* configuration.</para></listiem>
|
|
1282
|
-
* </itemizedlist>
|
|
1283
|
-
*
|
|
1284
|
-
* Currently this is only used by Cogl API marked as experimental so
|
|
1285
|
-
* this enum should also be considered experimental.
|
|
1286
|
-
*/
|
|
1287
819
|
|
|
1288
820
|
/**
|
|
1289
821
|
* Error enumeration for Cogl
|
|
@@ -1304,10 +836,6 @@ export namespace Cogl {
|
|
|
1304
836
|
* Currently this is only used by Cogl API marked as experimental so
|
|
1305
837
|
* this enum should also be considered experimental.
|
|
1306
838
|
*/
|
|
1307
|
-
export namespace SystemError {
|
|
1308
|
-
export const $gtype: GObject.GType<SystemError>;
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
839
|
enum SystemError {
|
|
1312
840
|
/**
|
|
1313
841
|
* You tried to use a feature or
|
|
@@ -1320,17 +848,10 @@ export namespace Cogl {
|
|
|
1320
848
|
*/
|
|
1321
849
|
NO_MEMORY,
|
|
1322
850
|
}
|
|
1323
|
-
/**
|
|
1324
|
-
* See cogl_texture_set_components().
|
|
1325
|
-
*/
|
|
1326
851
|
|
|
1327
852
|
/**
|
|
1328
853
|
* See cogl_texture_set_components().
|
|
1329
854
|
*/
|
|
1330
|
-
export namespace TextureComponents {
|
|
1331
|
-
export const $gtype: GObject.GType<TextureComponents>;
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
855
|
enum TextureComponents {
|
|
1335
856
|
/**
|
|
1336
857
|
* Only the alpha component
|
|
@@ -1355,17 +876,10 @@ export namespace Cogl {
|
|
|
1355
876
|
*/
|
|
1356
877
|
DEPTH,
|
|
1357
878
|
}
|
|
1358
|
-
/**
|
|
1359
|
-
* Error codes that can be thrown when allocating textures.
|
|
1360
|
-
*/
|
|
1361
879
|
|
|
1362
880
|
/**
|
|
1363
881
|
* Error codes that can be thrown when allocating textures.
|
|
1364
882
|
*/
|
|
1365
|
-
export namespace TextureError {
|
|
1366
|
-
export const $gtype: GObject.GType<TextureError>;
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
883
|
enum TextureError {
|
|
1370
884
|
/**
|
|
1371
885
|
* Unsupported size
|
|
@@ -1382,17 +896,10 @@ export namespace Cogl {
|
|
|
1382
896
|
*/
|
|
1383
897
|
TYPE,
|
|
1384
898
|
}
|
|
1385
|
-
/**
|
|
1386
|
-
* Different ways of interpreting vertices when drawing.
|
|
1387
|
-
*/
|
|
1388
899
|
|
|
1389
900
|
/**
|
|
1390
901
|
* Different ways of interpreting vertices when drawing.
|
|
1391
902
|
*/
|
|
1392
|
-
export namespace VerticesMode {
|
|
1393
|
-
export const $gtype: GObject.GType<VerticesMode>;
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
903
|
enum VerticesMode {
|
|
1397
904
|
/**
|
|
1398
905
|
* FIXME, equivalent to
|
|
@@ -1428,21 +935,12 @@ export namespace Cogl {
|
|
|
1428
935
|
*/
|
|
1429
936
|
TRIANGLE_FAN,
|
|
1430
937
|
}
|
|
1431
|
-
/**
|
|
1432
|
-
* Enum used to represent the two directions of rotation. This can be
|
|
1433
|
-
* used to set the front face for culling by calling
|
|
1434
|
-
* cogl_pipeline_set_front_face_winding().
|
|
1435
|
-
*/
|
|
1436
938
|
|
|
1437
939
|
/**
|
|
1438
940
|
* Enum used to represent the two directions of rotation. This can be
|
|
1439
941
|
* used to set the front face for culling by calling
|
|
1440
942
|
* cogl_pipeline_set_front_face_winding().
|
|
1441
943
|
*/
|
|
1442
|
-
export namespace Winding {
|
|
1443
|
-
export const $gtype: GObject.GType<Winding>;
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
944
|
enum Winding {
|
|
1447
945
|
/**
|
|
1448
946
|
* Vertices are in a clockwise order
|
|
@@ -1454,10 +952,6 @@ export namespace Cogl {
|
|
|
1454
952
|
COUNTER_CLOCKWISE,
|
|
1455
953
|
}
|
|
1456
954
|
|
|
1457
|
-
export namespace WinsysFeature {
|
|
1458
|
-
export const $gtype: GObject.GType<WinsysFeature>;
|
|
1459
|
-
}
|
|
1460
|
-
|
|
1461
955
|
enum WinsysFeature {
|
|
1462
956
|
VBLANK_COUNTER,
|
|
1463
957
|
VBLANK_WAIT,
|
|
@@ -1470,6 +964,7 @@ export namespace Cogl {
|
|
|
1470
964
|
SYNC_AND_COMPLETE_EVENT,
|
|
1471
965
|
N_FEATURES,
|
|
1472
966
|
}
|
|
967
|
+
|
|
1473
968
|
const AFIRST_BIT: number;
|
|
1474
969
|
const A_BIT: number;
|
|
1475
970
|
const BGR_BIT: number;
|
|
@@ -1866,14 +1361,6 @@ export namespace Cogl {
|
|
|
1866
1361
|
/**
|
|
1867
1362
|
* Types of auxiliary buffers
|
|
1868
1363
|
*/
|
|
1869
|
-
|
|
1870
|
-
/**
|
|
1871
|
-
* Types of auxiliary buffers
|
|
1872
|
-
*/
|
|
1873
|
-
export namespace BufferBit {
|
|
1874
|
-
export const $gtype: GObject.GType<BufferBit>;
|
|
1875
|
-
}
|
|
1876
|
-
|
|
1877
1364
|
enum BufferBit {
|
|
1878
1365
|
/**
|
|
1879
1366
|
* Selects the primary color buffer
|
|
@@ -1888,17 +1375,10 @@ export namespace Cogl {
|
|
|
1888
1375
|
*/
|
|
1889
1376
|
STENCIL,
|
|
1890
1377
|
}
|
|
1891
|
-
/**
|
|
1892
|
-
* Target flags for FBOs.
|
|
1893
|
-
*/
|
|
1894
1378
|
|
|
1895
1379
|
/**
|
|
1896
1380
|
* Target flags for FBOs.
|
|
1897
1381
|
*/
|
|
1898
|
-
export namespace BufferTarget {
|
|
1899
|
-
export const $gtype: GObject.GType<BufferTarget>;
|
|
1900
|
-
}
|
|
1901
|
-
|
|
1902
1382
|
enum BufferTarget {
|
|
1903
1383
|
/**
|
|
1904
1384
|
* FIXME
|
|
@@ -1910,34 +1390,10 @@ export namespace Cogl {
|
|
|
1910
1390
|
OFFSCREEN_BUFFER,
|
|
1911
1391
|
}
|
|
1912
1392
|
|
|
1913
|
-
export namespace EglImageFlags {
|
|
1914
|
-
export const $gtype: GObject.GType<EglImageFlags>;
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
1393
|
enum EglImageFlags {
|
|
1918
1394
|
NONE,
|
|
1919
1395
|
NO_GET_DATA,
|
|
1920
1396
|
}
|
|
1921
|
-
/**
|
|
1922
|
-
* Pixel formats used by Cogl. For the formats with a byte per
|
|
1923
|
-
* component, the order of the components specify the order in
|
|
1924
|
-
* increasing memory addresses. So for example
|
|
1925
|
-
* %COGL_PIXEL_FORMAT_RGB_888 would have the red component in the
|
|
1926
|
-
* lowest address, green in the next address and blue after that
|
|
1927
|
-
* regardless of the endianness of the system.
|
|
1928
|
-
*
|
|
1929
|
-
* For the formats with non byte aligned components the component
|
|
1930
|
-
* order specifies the order within a 16-bit or 32-bit number from
|
|
1931
|
-
* most significant bit to least significant. So for
|
|
1932
|
-
* %COGL_PIXEL_FORMAT_RGB_565, the red component would be in bits
|
|
1933
|
-
* 11-15, the green component would be in 6-11 and the blue component
|
|
1934
|
-
* would be in 1-5. Therefore the order in memory depends on the
|
|
1935
|
-
* endianness of the system.
|
|
1936
|
-
*
|
|
1937
|
-
* When uploading a texture %COGL_PIXEL_FORMAT_ANY can be used as the
|
|
1938
|
-
* internal format. Cogl will try to pick the best format to use
|
|
1939
|
-
* internally and convert the texture data if necessary.
|
|
1940
|
-
*/
|
|
1941
1397
|
|
|
1942
1398
|
/**
|
|
1943
1399
|
* Pixel formats used by Cogl. For the formats with a byte per
|
|
@@ -1959,10 +1415,6 @@ export namespace Cogl {
|
|
|
1959
1415
|
* internal format. Cogl will try to pick the best format to use
|
|
1960
1416
|
* internally and convert the texture data if necessary.
|
|
1961
1417
|
*/
|
|
1962
|
-
export namespace PixelFormat {
|
|
1963
|
-
export const $gtype: GObject.GType<PixelFormat>;
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1966
1418
|
enum PixelFormat {
|
|
1967
1419
|
/**
|
|
1968
1420
|
* Any format
|
|
@@ -2156,23 +1608,17 @@ export namespace Cogl {
|
|
|
2156
1608
|
DEPTH_32,
|
|
2157
1609
|
DEPTH_24_STENCIL_8,
|
|
2158
1610
|
}
|
|
2159
|
-
/**
|
|
2160
|
-
* Flags for cogl_framebuffer_read_pixels_into_bitmap()
|
|
2161
|
-
*/
|
|
2162
1611
|
|
|
2163
1612
|
/**
|
|
2164
1613
|
* Flags for cogl_framebuffer_read_pixels_into_bitmap()
|
|
2165
1614
|
*/
|
|
2166
|
-
export namespace ReadPixelsFlags {
|
|
2167
|
-
export const $gtype: GObject.GType<ReadPixelsFlags>;
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
1615
|
enum ReadPixelsFlags {
|
|
2171
1616
|
/**
|
|
2172
1617
|
* Read from the color buffer
|
|
2173
1618
|
*/
|
|
2174
1619
|
READ_PIXELS_COLOR_BUFFER,
|
|
2175
1620
|
}
|
|
1621
|
+
|
|
2176
1622
|
namespace Bitmap {
|
|
2177
1623
|
// Signal signatures
|
|
2178
1624
|
interface SignalSignatures extends Object.SignalSignatures {}
|
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.40",
|
|
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/gjs": "4.0.0-beta.
|
|
35
|
-
"@girs/cairo-1.0": "1.0.0-4.0.0-beta.
|
|
36
|
-
"@girs/gobject-2.0": "2.86.4-4.0.0-beta.
|
|
37
|
-
"@girs/glib-2.0": "2.86.4-4.0.0-beta.
|
|
38
|
-
"@girs/graphene-1.0": "1.0.0-4.0.0-beta.
|
|
39
|
-
"@girs/gl-1.0": "1.0.0-4.0.0-beta.
|
|
34
|
+
"@girs/gjs": "4.0.0-beta.40",
|
|
35
|
+
"@girs/cairo-1.0": "1.0.0-4.0.0-beta.40",
|
|
36
|
+
"@girs/gobject-2.0": "2.86.4-4.0.0-beta.40",
|
|
37
|
+
"@girs/glib-2.0": "2.86.4-4.0.0-beta.40",
|
|
38
|
+
"@girs/graphene-1.0": "1.0.0-4.0.0-beta.40",
|
|
39
|
+
"@girs/gl-1.0": "1.0.0-4.0.0-beta.40" },
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"typescript": "*"
|
|
42
42
|
},
|