)]}' { "commit": "a77a0ca4a8c7022cf5ef177e41a9dd5a5c95ee54", "tree": "3aae31a915a0c55096dfafb5dbf262f5fcc07b53", "parents": [ "5c92dea09585baf385111dad4e4e24e535a2bf0d" ], "author": { "name": "Jonas Larsson", "email": "ljonas@google.com", "time": "Mon Oct 07 12:50:55 2019 -0700" }, "committer": { "name": "Jonas Larsson", "email": "ljonas@google.com", "time": "Mon Oct 07 12:52:10 2019 -0700" }, "message": "Allocate cached ION buffers.\n\nWe\u0027re doing lots of CPU access of ION buffers and with no caching this\naccess is pretty slow. By allocating with ION_FLAG_CACHED CPU mapped\npages will be cached and for example a memcpy of a decoded 1080p video\nframe is about 3x faster. When writing to a buffer from CPU (\"software\nrendering\") ION will ensure proper cache management on munmap.\n\nFor cases not involving CPU access (e.g. VPU directly to GPU) this is\na no-op.\n\nIn the Android world this corresponds to gralloc-ing with\nGRALLOC_USAGE_SW_READ | GRALLOC_USAGE_SW_WRITE.\n\nChange-Id: I52ca0ac7cc4ebfe3cb8a76aa38e437ac9a04cf02\n", "tree_diff": [ { "type": "modify", "old_id": "4b1e1e441661855955df212636aacee8c5d060bc", "old_mode": 33188, "old_path": "gst-libs/gst/allocators/gstionmemory.c", "new_id": "daa246bec715fde1f4e356f83f6e93e866daa6a8", "new_mode": 33188, "new_path": "gst-libs/gst/allocators/gstionmemory.c" } ] }