OSDN Git Service
(root)
/
android-x86
/
device-generic-goldfish-opengl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3783edd
)
Revert "Fix boot for car emulator on git-master"
author
Lingfeng Yang
<lfy@google.com>
Wed, 11 Jan 2017 00:30:45 +0000
(
00:30
+0000)
committer
Lingfeng Yang
<lfy@google.com>
Wed, 11 Jan 2017 00:30:45 +0000
(
00:30
+0000)
This reverts commit
3783edd49fd2ad6f200cbf9d04978132f2e41bd2
.
Change-Id: I25dab3f8c151506a84601ab0c341d5dfc7c3b2ae
system/OpenglSystemCommon/HostConnection.cpp
patch
|
blob
|
history
diff --git
a/system/OpenglSystemCommon/HostConnection.cpp
b/system/OpenglSystemCommon/HostConnection.cpp
index
36cbced
..
bb03457
100644
(file)
--- a/
system/OpenglSystemCommon/HostConnection.cpp
+++ b/
system/OpenglSystemCommon/HostConnection.cpp
@@
-239,7
+239,7
@@
void HostConnection::queryAndSetSyncImpl(ExtendedRCEncoderContext *rcEnc) {
void HostConnection::queryAndSetDmaImpl(ExtendedRCEncoderContext *rcEnc) {
std::string glExtensions = queryGLExtensions(rcEnc);
-#if PLATFORM_SDK_VERSION <= 16 ||
PLATFORM_SDK_VERSION >= 25 ||
(!defined(__i386__) && !defined(__x86_64__))
+#if PLATFORM_SDK_VERSION <= 16 || (!defined(__i386__) && !defined(__x86_64__))
rcEnc->setDmaImpl(DMA_IMPL_NONE);
#else
if (glExtensions.find(kDmaExtStr_v1) != std::string::npos) {