summaryrefslogtreecommitdiff
path: root/opengl/libs/EGL/FileBlobCache.cpp
AgeCommit message (Collapse)Author
2020-07-28OpenGL: Use more inclusive termsYiwei Zhang
Bug: 162288333 Test: build Change-Id: I290a827e26fcd186a0461a568e41d0c50b7e19cd
2020-04-13Include what you use: <unistd.h>Tom Cherry
This was transitively included, but no longer is, so it must be explicitly included. Exempt-From-Owner-Approval: Janitorial Test: build Change-Id: I9c57174e4dcf5dfddb44498d8faa556531894b1e
2020-04-13Include what you use: <fcntl.h>Tom Cherry
This was transitively included, but no longer is, so it must be explicitly included. Exempt-From-Owner-Approval: Janitorial Test: build Change-Id: I369e3bdc049f811acbcea095d90960a16d5ff4e0
2018-07-18[opengl] Modernize codebase by replacing NULL with nullptrYi Kong
Fixes -Wzero-as-null-pointer-constant warning. Test: m Bug: 68236239 Change-Id: Ia2f91707b277954d5105f6fdb489caad9ef8848c
2018-01-05Add missing include.Dan Albert
Test: make checkbuild Bug: None Change-Id: I717bdcc9551dde6ca604d3d46ad085e98fbbee51
2017-11-08Move some of the logic from egl_cache_t into FileBlobCacheStan Iliev
HWUI is using BlobCache to implement SkSL shader cache very similar to egl_cache_t. Create a new class FileBlobCache, that is used by both egl_cache_t and HWUI. FileBlobCache adds the logic to save and load the BlobCache from a memory mapped file. Test: Built and ran Android. Verified that EGL cache still works Test: for gmail and calc apps. Bug: 66740665 Change-Id: Ia4d194963d039a60244f3bc76108844418adc99d