Merge pull request #46709 from Ev1lbl0w/bugfix-negative_vram
Fix negative VRAM values
This commit is contained in:
commit
edbc8488a5
8 changed files with 8 additions and 8 deletions
|
@ -566,7 +566,7 @@ struct _OSCoreBindImg {
|
|||
|
||||
void _OS::print_all_textures_by_size() {
|
||||
List<_OSCoreBindImg> imgs;
|
||||
int total = 0;
|
||||
uint64_t total = 0;
|
||||
{
|
||||
List<Ref<Resource>> rsrc;
|
||||
ResourceCache::get_cached_resources(&rsrc);
|
||||
|
|
|
@ -674,7 +674,7 @@ public:
|
|||
void render_info_end_capture() override {}
|
||||
int get_captured_render_info(RS::RenderInfo p_info) override { return 0; }
|
||||
|
||||
int get_render_info(RS::RenderInfo p_info) override { return 0; }
|
||||
uint64_t get_render_info(RS::RenderInfo p_info) override { return 0; }
|
||||
String get_video_adapter_name() const override { return String(); }
|
||||
String get_video_adapter_vendor() const override { return String(); }
|
||||
|
||||
|
|
|
@ -343,7 +343,7 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
|
|||
DebuggerMarshalls::ResourceUsage usage;
|
||||
usage.deserialize(p_data);
|
||||
|
||||
int total = 0;
|
||||
uint64_t total = 0;
|
||||
|
||||
for (List<DebuggerMarshalls::ResourceInfo>::Element *E = usage.infos.front(); E; E = E->next()) {
|
||||
TreeItem *it = vmem_tree->create_item(root);
|
||||
|
|
|
@ -2263,7 +2263,7 @@ public:
|
|||
void render_info_end_capture() {}
|
||||
int get_captured_render_info(RS::RenderInfo p_info) { return 0; }
|
||||
|
||||
int get_render_info(RS::RenderInfo p_info) { return 0; }
|
||||
uint64_t get_render_info(RS::RenderInfo p_info) { return 0; }
|
||||
String get_video_adapter_name() const { return String(); }
|
||||
String get_video_adapter_vendor() const { return String(); }
|
||||
|
||||
|
|
|
@ -608,7 +608,7 @@ public:
|
|||
virtual void render_info_end_capture() = 0;
|
||||
virtual int get_captured_render_info(RS::RenderInfo p_info) = 0;
|
||||
|
||||
virtual int get_render_info(RS::RenderInfo p_info) = 0;
|
||||
virtual uint64_t get_render_info(RS::RenderInfo p_info) = 0;
|
||||
virtual String get_video_adapter_name() const = 0;
|
||||
virtual String get_video_adapter_vendor() const = 0;
|
||||
|
||||
|
|
|
@ -257,7 +257,7 @@ void RenderingServerDefault::finish() {
|
|||
|
||||
/* STATUS INFORMATION */
|
||||
|
||||
int RenderingServerDefault::get_render_info(RenderInfo p_info) {
|
||||
uint64_t RenderingServerDefault::get_render_info(RenderInfo p_info) {
|
||||
return RSG::storage->get_render_info(p_info);
|
||||
}
|
||||
|
||||
|
|
|
@ -901,7 +901,7 @@ public:
|
|||
|
||||
/* STATUS INFORMATION */
|
||||
|
||||
virtual int get_render_info(RenderInfo p_info) override;
|
||||
virtual uint64_t get_render_info(RenderInfo p_info) override;
|
||||
virtual String get_video_adapter_name() const override;
|
||||
virtual String get_video_adapter_vendor() const override;
|
||||
|
||||
|
|
|
@ -1419,7 +1419,7 @@ public:
|
|||
INFO_VERTEX_MEM_USED,
|
||||
};
|
||||
|
||||
virtual int get_render_info(RenderInfo p_info) = 0;
|
||||
virtual uint64_t get_render_info(RenderInfo p_info) = 0;
|
||||
virtual String get_video_adapter_name() const = 0;
|
||||
virtual String get_video_adapter_vendor() const = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue