Skip to content

Commit

Permalink
Merge "framebuffer: In enableHDMI, check if target supports true mirr…
Browse files Browse the repository at this point in the history
…oring" into ics_chocolate
  • Loading branch information
Linux Build Service Account authored and QuIC Gerrit Code Review committed Mar 15, 2012
2 parents e8c1cfe + 85b77ee commit f696608
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libgralloc/framebuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ static int fb_enableHDMIOutput(struct framebuffer_device_t* dev, int externaltyp
dev->common.module);
pthread_mutex_lock(&m->overlayLock);
Overlay* pTemp = m->pobjOverlay;
//Check if true mirroring can be supported
m->trueMirrorSupport = FrameBufferInfo::getInstance()->canSupportTrueMirroring();
m->enableHDMIOutput = externaltype;
LOGE("In fb_enableHDMIOutput: externaltype = %d", m->enableHDMIOutput);
if(externaltype) {
Expand Down Expand Up @@ -793,7 +795,7 @@ int mapFrameBufferLocked(struct private_module_t* module)
pthread_t hdmiUIThread;
pthread_create(&hdmiUIThread, NULL, &hdmi_ui_loop, (void *) module);
module->hdmiMirroringState = HDMI_NO_MIRRORING;
module->trueMirrorSupport = FrameBufferInfo::getInstance()->canSupportTrueMirroring();
module->trueMirrorSupport = false;
#endif

return 0;
Expand Down

0 comments on commit f696608

Please sign in to comment.