19 #ifndef MIR_GRAPHICS_ANDROID_INTERPRETER_CACHE_H_
20 #define MIR_GRAPHICS_ANDROID_INTERPRETER_CACHE_H_
23 #include <unordered_map>
36 void store_buffer(std::shared_ptr<graphics::Buffer>
const& buffer,
37 std::shared_ptr<graphics::NativeBuffer>
const& key);
38 std::shared_ptr<graphics::Buffer>
retrieve_buffer(ANativeWindowBuffer* key);
42 std::unordered_map<ANativeWindowBuffer*, std::shared_ptr<graphics::Buffer>> buffers_in_driver;
43 std::unordered_map<ANativeWindowBuffer*, std::shared_ptr<graphics::NativeBuffer>> native_buffers;
All things Mir.
Definition: buffer_stream.h:37
InterpreterCache()
Definition: interpreter_cache.h:34
Definition: interpreter_cache.h:31
std::shared_ptr< graphics::Buffer > retrieve_buffer(ANativeWindowBuffer *key)
Definition: interpreter_cache.cpp:35
void update_native_fence(ANativeWindowBuffer *key, int fence)
Definition: interpreter_cache.cpp:52
Definition: interpreter_resource_cache.h:33
Definition: android_input_receiver.h:32
void store_buffer(std::shared_ptr< graphics::Buffer >const &buffer, std::shared_ptr< graphics::NativeBuffer > const &key)
Definition: interpreter_cache.cpp:28