mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 01:00:50 +00:00
!4553 新Skia enable persist.release.gpuresource
Merge pull request !4553 from JIAHE LIU/skia_0_2
This commit is contained in:
commit
c3841e1f2a
@ -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