summaryrefslogtreecommitdiff
path: root/opengl/libs/EGL/BlobCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/libs/EGL/BlobCache.h')
-rw-r--r--opengl/libs/EGL/BlobCache.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/opengl/libs/EGL/BlobCache.h b/opengl/libs/EGL/BlobCache.h
index 50b4e4c6d0..e5c5e5bc25 100644
--- a/opengl/libs/EGL/BlobCache.h
+++ b/opengl/libs/EGL/BlobCache.h
@@ -54,7 +54,8 @@ public:
// 0 < keySize
// value != NULL
// 0 < valueSize
- void set(const void* key, size_t keySize, const void* value, size_t valueSize);
+ void set(const void* key, size_t keySize, const void* value,
+ size_t valueSize);
// get retrieves from the cache the binary value associated with a given
// binary key. If the key is present in the cache then the length of the
@@ -74,6 +75,7 @@ public:
// 0 <= valueSize
size_t get(const void* key, size_t keySize, void* value, size_t valueSize);
+
// getFlattenedSize returns the number of bytes needed to store the entire
// serialized cache.
size_t getFlattenedSize() const;
@@ -166,6 +168,7 @@ private:
void setValue(const std::shared_ptr<Blob>& value);
private:
+
// mKey is the key that identifies the cache entry.
std::shared_ptr<Blob> mKey;
@@ -242,6 +245,6 @@ private:
std::vector<CacheEntry> mCacheEntries;
};
-} // namespace android
+}
#endif // ANDROID_BLOB_CACHE_H