emulator: opengl: Use QEMU pipe.
This patch modifies the guest libraries to use the new fast qemu "opengles" pipe to communicate with the host renderer process. Note that the renderer is still listening on a TCP socket on port 22468. Change-Id: I6ab84f972a8024e1fdababa4615d0650c8d461bf Conflicts: tools/emulator/opengl/tests/gles_android_wrapper/Android.mk tools/emulator/opengl/tests/gles_android_wrapper/ServerConnection.h
This commit is contained in:
@@ -134,7 +134,7 @@ int TcpStream::writeFully(const void *buf, size_t len)
|
||||
if (stat < 0) {
|
||||
if (errno != EINTR) {
|
||||
retval = stat;
|
||||
ERR("TcpStream::writeFully failed, errno = %d\n", errno);
|
||||
ERR("TcpStream::writeFully failed: %s\n", strerror(errno));
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
@@ -161,7 +161,7 @@ const unsigned char *TcpStream::readFully(void *buf, size_t len)
|
||||
if (errno == EINTR) {
|
||||
continue;
|
||||
} else {
|
||||
ERR("TcpStream::readFully failed, errno = %d 0x%x \n", errno,buf);
|
||||
ERR("TcpStream::readFully failed (buf 0x%x): %s\n", buf, strerror(errno));
|
||||
return NULL;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user