mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
gobj: release GIL for (un)compress_ram_image
This commit is contained in:
parent
e9ae7dcc40
commit
7cbdd3b6c4
@ -464,10 +464,10 @@ PUBLISHED:
|
|||||||
MAKE_PROPERTY(keep_ram_image, get_keep_ram_image, set_keep_ram_image);
|
MAKE_PROPERTY(keep_ram_image, get_keep_ram_image, set_keep_ram_image);
|
||||||
MAKE_PROPERTY(cacheable, is_cacheable);
|
MAKE_PROPERTY(cacheable, is_cacheable);
|
||||||
|
|
||||||
INLINE bool compress_ram_image(CompressionMode compression = CM_on,
|
BLOCKING INLINE bool compress_ram_image(CompressionMode compression = CM_on,
|
||||||
QualityLevel quality_level = QL_default,
|
QualityLevel quality_level = QL_default,
|
||||||
GraphicsStateGuardianBase *gsg = NULL);
|
GraphicsStateGuardianBase *gsg = NULL);
|
||||||
INLINE bool uncompress_ram_image();
|
BLOCKING INLINE bool uncompress_ram_image();
|
||||||
|
|
||||||
INLINE int get_num_ram_mipmap_images() const;
|
INLINE int get_num_ram_mipmap_images() const;
|
||||||
INLINE bool has_ram_mipmap_image(int n) const;
|
INLINE bool has_ram_mipmap_image(int n) const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user