mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 01:00:50 +00:00
enable persist.release.gpuresource
Signed-off-by: liujiahe (D) <liujiahe5@huawei.com>
This commit is contained in:
parent
67eaa1ac1e
commit
97dc938984
@ -117,13 +117,8 @@ PartialRenderType RSSystemProperties::GetUniPartialRenderEnabled()
|
||||
|
||||
ReleaseGpuResourceType RSSystemProperties::GetReleaseGpuResourceEnabled()
|
||||
{
|
||||
#ifdef NEW_SKIA
|
||||
return static_cast<ReleaseGpuResourceType>(
|
||||
std::atoi((system::GetParameter("persist.release.gpuresource.enabled", "0")).c_str()));
|
||||
#else
|
||||
return static_cast<ReleaseGpuResourceType>(
|
||||
std::atoi((system::GetParameter("persist.release.gpuresource.enabled", "2")).c_str()));
|
||||
#endif
|
||||
}
|
||||
|
||||
bool RSSystemProperties::GetOcclusionEnabled()
|
||||
|
Loading…
Reference in New Issue
Block a user