Home
last modified time | relevance | path

Searched refs:GrallocModule (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/System/
DGrallocAndroid.cpp32 GrallocModule *GrallocModule::getInstance() in getInstance()
34 static GrallocModule instance; in getInstance()
38 GrallocModule::GrallocModule() in GrallocModule() function in GrallocModule
78 int GrallocModule::import(buffer_handle_t handle, buffer_handle_t *imported_handle) in import()
116 int GrallocModule::release(buffer_handle_t handle) in release()
137 int GrallocModule::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height… in lock()
219 int GrallocModule::unlock(buffer_handle_t handle) in unlock()
DGrallocAndroid.hpp32 class GrallocModule class
35 static GrallocModule *getInstance();
44 GrallocModule();
/third_party/skia/third_party/externals/swiftshader/src/Common/
DGrallocAndroid.cpp32 GrallocModule *GrallocModule::getInstance() in getInstance()
34 static GrallocModule instance; in getInstance()
38 GrallocModule::GrallocModule() in GrallocModule() function in GrallocModule
78 int GrallocModule::import(buffer_handle_t handle, buffer_handle_t *imported_handle) in import()
116 int GrallocModule::release(buffer_handle_t handle) in release()
137 int GrallocModule::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height… in lock()
219 int GrallocModule::unlock(buffer_handle_t handle) in unlock()
DGrallocAndroid.hpp32 class GrallocModule class
35 static GrallocModule *getInstance();
44 GrallocModule();
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferAndroid.cpp124 if(GrallocModule::getInstance()->import(buffer->handle, &bufferImportedHandle) != 0) { in lock()
129 if(GrallocModule::getInstance()->lock(bufferImportedHandle, in lock()
182 if(GrallocModule::getInstance()->unlock(bufferImportedHandle) != 0) in unlock()
186 if(GrallocModule::getInstance()->release(bufferImportedHandle) != 0) { in unlock()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
DImage.hpp278 GrallocModule::getInstance()->import(nativeBuffer->handle, &nativeBufferImportedHandle); in AndroidNativeImage()
289 GrallocModule::getInstance()->release(nativeBufferImportedHandle); in ~AndroidNativeImage()
349GrallocModule::getInstance()->lock(nativeBufferImportedHandle, usage, 0, 0, nativeBuffer->width, n… in lockNativeBuffer()
356 GrallocModule::getInstance()->unlock(nativeBufferImportedHandle); in unlockNativeBuffer()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp288 if(GrallocModule::getInstance()->import(backingMemory.nativeHandle, &importedBufferHandle) != 0) in prepareForExternalUseANDROID()
297 …if(GrallocModule::getInstance()->lock(importedBufferHandle, GRALLOC_USAGE_SW_WRITE_OFTEN, 0, 0, ex… in prepareForExternalUseANDROID()
318 if(GrallocModule::getInstance()->unlock(importedBufferHandle) != 0) in prepareForExternalUseANDROID()
323 if(GrallocModule::getInstance()->release(importedBufferHandle) != 0) in prepareForExternalUseANDROID()