OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc00a1d
)
Revert "Extend hack to new driver version"
author
Steve Pfetsch
<spfetsch@google.com>
Mon, 13 Mar 2017 22:57:15 +0000
(22:57 +0000)
committer
Steve Pfetsch
<spfetsch@google.com>
Mon, 13 Mar 2017 22:57:15 +0000
(22:57 +0000)
Rolling back along with reverted driver drop
This reverts commit
fc00a1d4275c9f6502d56e3e54f399e27e9a314b
.
Change-Id: I58e23d7782254824d023ce4973a75ba5d0c1f367
vulkan/libvulkan/swapchain.cpp
patch
|
blob
|
history
diff --git
a/vulkan/libvulkan/swapchain.cpp
b/vulkan/libvulkan/swapchain.cpp
index
31c38b7
..
b1e3d61
100644
(file)
--- a/
vulkan/libvulkan/swapchain.cpp
+++ b/
vulkan/libvulkan/swapchain.cpp
@@
-798,8
+798,7
@@
VkResult CreateSwapchainKHR(VkDevice device,
int gralloc_usage = 0;
if (dispatch.GetSwapchainGrallocUsage2ANDROID) {
uint64_t consumer_usage, producer_usage;
- uint32_t driver_version = GetData(device).driver_version;
- if (driver_version == 256587285 || driver_version == 96011958) {
+ if (GetData(device).driver_version == 256587285) {
// HACK workaround for loader/driver mismatch during transition to
// vkGetSwapchainGrallocUsage2ANDROID.
typedef VkResult(VKAPI_PTR *