Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/GLESv1/
Dgl.cpp39 HostConnection *hostCon = HostConnection::get(); \
40 if (!hostCon) { \
44 renderControl_encoder_context_t *rcEnc = hostCon->rcEncoder(); \
49 Gralloc *grallocHelper = hostCon->grallocHelper(); \
/device/generic/goldfish-opengl/system/GLESv2/
Dgl2.cpp39 HostConnection *hostCon = HostConnection::get(); \
40 if (!hostCon) { \
44 renderControl_encoder_context_t *rcEnc = hostCon->rcEncoder(); \
49 Gralloc *grallocHelper = hostCon->grallocHelper(); \
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp455 HostConnection *hostCon = createOrGetHostConnection(); \
456 ExtendedRCEncoderContext *rcEnc = (hostCon ? hostCon->rcEncoder() : NULL); \
460 HostConnection *hostCon = createOrGetHostConnection(); \
461 if (!hostCon) { \
465 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \
862 if (hostCon && rcEnc) { in gralloc_alloc()
873 hostCon->lock(); in gralloc_alloc()
879 hostCon->unlock(); in gralloc_alloc()
919 hostCon->lock(); in gralloc_alloc()
923 hostCon->unlock(); in gralloc_alloc()
[all …]
/device/generic/goldfish-opengl/system/egl/
Degl.cpp146 HostConnection *hostCon = HostConnection::get(); \
147 ExtendedRCEncoderContext *rcEnc = (hostCon ? hostCon->rcEncoder() : NULL)
150 HostConnection *hostCon = HostConnection::get(); \
151 if (!hostCon) { \
155 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \
160 Gralloc *grallocHelper = hostCon->grallocHelper(); \
167 HostConnection *hostCon = HostConnection::getWithThreadInfo(tls); \
168 if (!hostCon) { \
172 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \
177 Gralloc const* grallocHelper = hostCon->grallocHelper(); \
[all …]
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.cpp60 HostConnection *hostCon = createOrGetHostConnection(); \
61 if (!hostCon) { \
65 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \
89 hostCon->lock(); in initDisplayParameters()
96 hostCon->unlock(); in initDisplayParameters()
743 hostCon->lock(); in present()
746 hostCon->unlock(); in present()
771 post(hostCon, rcEnc, mClientTarget.getBuffer()); in present()
827 l->cbHandle = hostCon->grallocHelper()->getHostHandle(cb); in present()
855 p->targetHandle = hostCon->grallocHelper()->getHostHandle(mTargetCb); in present()
[all …]
DEmuHWC2.h266 void post(HostConnection *hostCon, ExtendedRCEncoderContext *rcEnc,
/device/generic/goldfish-opengl/system/vulkan/
Dgoldfish_vulkan.cpp355 HostConnection *hostCon = HostConnection::get(); \
356 if (!hostCon) { \
360 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \
368 auto hostCon = HostConnection::get(); \
369 hostCon->rcEncoder(); \
370 return hostCon; \
372 [](HostConnection* hostCon) { return hostCon->vkEncoder(); }, \
376 goldfish_vk::VkEncoder *vkEnc = hostCon->vkEncoder(); \