diff options
| author | Stas Gurtovoy <stas@graphtech.co.il> | 2011-07-11 13:53:36 +0300 |
|---|---|---|
| committer | David 'Digit' Turner <digit@android.com> | 2011-07-12 00:46:06 +0200 |
| commit | 201584b1d4e352ef1236e67c4705bf232a2b36b2 (patch) | |
| tree | 2348a2fcb0d5ebe8f26dd84ddd3198f2cd9dadb0 /tools/emulator/opengl/system/OpenglSystemCommon/QemuPipeStream.cpp | |
| parent | 5dd421c56b913e6e2be154fa603a435717a607b5 (diff) | |
egl emulator: fixes for covegl conformance test
Support for eglChooseConfig with configs==NULL.
Also added small change to query EGL_LARGEST_PBUFFER attrib of surfaces.
Fixed error print in QemuPipeStream::readFully.
Those changes make sure that covegl completes & passes on the emulator with Translator
on linux in the backend.
Change-Id: I892917ec102ae85d56a16a7cb321e8c12e7083f1
Diffstat (limited to 'tools/emulator/opengl/system/OpenglSystemCommon/QemuPipeStream.cpp')
| -rw-r--r-- | tools/emulator/opengl/system/OpenglSystemCommon/QemuPipeStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/emulator/opengl/system/OpenglSystemCommon/QemuPipeStream.cpp b/tools/emulator/opengl/system/OpenglSystemCommon/QemuPipeStream.cpp index b632d84f4..50c3d8bb1 100644 --- a/tools/emulator/opengl/system/OpenglSystemCommon/QemuPipeStream.cpp +++ b/tools/emulator/opengl/system/OpenglSystemCommon/QemuPipeStream.cpp @@ -117,7 +117,7 @@ const unsigned char *QemuPipeStream::readFully(void *buf, size_t len) //DBG(">> QemuPipeStream::readFully %d\n", len); if (!valid()) return NULL; if (!buf) { - ERR("QemuPipeStream::readFully failed, buf=NULL, len %d", len); + if (len>0) ERR("QemuPipeStream::readFully failed, buf=NULL, len %d", len); return NULL; // do not allow NULL buf in that implementation } size_t res = len; |
