/hardware/google/gfxstream/host/vulkan/ |
D | VkCommonOperations.h | 466 bool getColorBufferShareInfo(uint32_t colorBufferHandle, bool* glExported, 469 bool getColorBufferAllocationInfo(uint32_t colorBufferHandle, VkDeviceSize* outSize, 479 FrameworkFormat frameworkFormat, uint32_t colorBufferHandle, 482 bool teardownVkColorBuffer(uint32_t colorBufferHandle); 484 bool importExtMemoryHandleToVkColorBuffer(uint32_t colorBufferHandle, uint32_t type, 487 VkEmulation::ColorBufferInfo getColorBufferInfo(uint32_t colorBufferHandle); 488 VK_EXT_MEMORY_HANDLE getColorBufferExtMemoryHandle(uint32_t colorBufferHandle); 496 std::optional<VkColorBufferMemoryExport> exportColorBufferMemory(uint32_t colorBufferHandle); 498 MTLTextureRef getColorBufferMTLTexture(uint32_t colorBufferHandle); 499 bool setColorBufferVulkanMode(uint32_t colorBufferHandle, uint32_t vulkanMode); [all …]
|
D | VkCommonOperations.cpp | 101 static bool updateColorBufferFromBytesLocked(uint32_t colorBufferHandle, uint32_t x, uint32_t y, 1749 bool getColorBufferShareInfo(uint32_t colorBufferHandle, bool* glExported, in getColorBufferShareInfo() argument 1757 auto info = android::base::find(sVkEmulation->colorBuffers, colorBufferHandle); in getColorBufferShareInfo() 1767 bool getColorBufferAllocationInfoLocked(uint32_t colorBufferHandle, VkDeviceSize* outSize, in getColorBufferAllocationInfoLocked() argument 1770 auto info = android::base::find(sVkEmulation->colorBuffers, colorBufferHandle); in getColorBufferAllocationInfoLocked() 1794 bool getColorBufferAllocationInfo(uint32_t colorBufferHandle, VkDeviceSize* outSize, in getColorBufferAllocationInfo() argument 1802 return getColorBufferAllocationInfoLocked(colorBufferHandle, outSize, outMemoryTypeIndex, in getColorBufferAllocationInfo() 1957 uint32_t colorBufferHandle, VK_EXT_MEMORY_HANDLE extMemHandle = VK_EXT_MEMORY_HANDLE_INVALID) { in initializeVkColorBufferLocked() argument 1958 auto infoPtr = android::base::find(sVkEmulation->colorBuffers, colorBufferHandle); in initializeVkColorBufferLocked() 2039 …BOSE("Failed to create Vulkan image for ColorBuffer %d, error: %s", colorBufferHandle, string_VkRe… in initializeVkColorBufferLocked() [all …]
|
D | VkAndroidNativeBuffer.cpp | 140 out->colorBufferHandle = *static_cast<const uint32_t*>(nativeBufferANDROID->handle); in prepareAndroidNativeBufferImage() 144 if (!getColorBufferShareInfo(out->colorBufferHandle, &colorBufferExportedToGl, in prepareAndroidNativeBufferImage() 146 VK_ANB_ERR("Failed to query if ColorBuffer:%d exported to GL.", out->colorBufferHandle); in prepareAndroidNativeBufferImage() 151 releaseColorBufferForGuestUse(out->colorBufferHandle); in prepareAndroidNativeBufferImage() 189 const auto& cbInfo = getColorBufferInfo(out->colorBufferHandle); in prepareAndroidNativeBufferImage() 552 anbInfo->colorBufferHandle); in setAndroidNativeImageSemaphoreSignaled() 658 anbInfo->colorBufferHandle); in syncImageToColorBuffer() 822 uint32_t colorBufferHandle = anbInfo->colorBufferHandle; in syncImageToColorBuffer() local 841 colorBufferHandle, anbInfo->mappedStagingPtr, in syncImageToColorBuffer()
|
D | VkAndroidNativeBuffer.h | 62 uint32_t colorBufferHandle; member
|
D | VkDecoderGlobalState.cpp | 4882 setColorBufferCurrentLayout(anbInfo->colorBufferHandle, in on_vkQueueSignalReleaseImageANDROID()
|
/hardware/google/gfxstream/common/end2end/ |
D | GfxstreamEnd2EndCompositionTests.cpp | 41 .colorBufferHandle = mGralloc->getHostHandle(layer1Ahb), in TEST_P() 69 .colorBufferHandle = mGralloc->getHostHandle(layer2Ahb), in TEST_P() 117 .colorBufferHandle = mGralloc->getHostHandle(layer1Ahb), in TEST_P() 145 .colorBufferHandle = mGralloc->getHostHandle(layer2Ahb), in TEST_P()
|
/hardware/google/gfxstream/guest/vulkan_enc/ |
D | AndroidHardwareBuffer.cpp | 230 uint32_t colorBufferHandle = grallocHelper->getHostHandle(buffer); in getAndroidHardwareBufferPropertiesANDROID() local 231 if (!colorBufferHandle) { in getAndroidHardwareBufferPropertiesANDROID() 270 uint32_t colorBufferHandle = grallocHelper->getHostHandle(ahb); in importAndroidHardwareBuffer() local 271 if (!colorBufferHandle) { in importAndroidHardwareBuffer()
|
/hardware/google/gfxstream/guest/rendercontrol/include/gfxstream/guest/ |
D | RenderControlApi.h | 24 uint32_t colorBufferHandle = 0; member
|
/hardware/google/gfxstream/host/ |
D | FrameBuffer.h | 474 std::unique_ptr<BorrowedImageInfo> borrowColorBufferForComposition(uint32_t colorBufferHandle, 476 std::unique_ptr<BorrowedImageInfo> borrowColorBufferForDisplay(uint32_t colorBufferHandle); 495 bool flushColorBufferFromVk(HandleType colorBufferHandle); 496 bool flushColorBufferFromVkBytes(HandleType colorBufferHandle, const void* bytes, 498 bool invalidateColorBufferForVk(HandleType colorBufferHandle); 618 bool flushColorBufferFromGl(HandleType colorBufferHandle); 620 bool invalidateColorBufferForGl(HandleType colorBufferHandle);
|
D | FrameBuffer.cpp | 2547 HandleType colorBufferHandle = stream->getBe32(); in onLoad() local 2548 return {handle, {std::move(window), colorBufferHandle}}; in onLoad() 2813 uint32_t colorBufferHandle, bool colorBufferIsTarget) { in borrowColorBufferForComposition() argument 2814 ColorBufferPtr colorBufferPtr = findColorBuffer(colorBufferHandle); in borrowColorBufferForComposition() 2816 ERR("Failed to get borrowed image info for ColorBuffer:%d", colorBufferHandle); in borrowColorBufferForComposition() 2821 invalidateColorBufferForVk(colorBufferHandle); in borrowColorBufferForComposition() 2824 invalidateColorBufferForGl(colorBufferHandle); in borrowColorBufferForComposition() 2833 uint32_t colorBufferHandle) { in borrowColorBufferForDisplay() argument 2834 ColorBufferPtr colorBufferPtr = findColorBuffer(colorBufferHandle); in borrowColorBufferForDisplay() 2836 ERR("Failed to get borrowed image info for ColorBuffer:%d", colorBufferHandle); in borrowColorBufferForDisplay() [all …]
|
D | RenderControl.cpp | 868 HandleType colorBufferHandle = fb->getEmulatedEglWindowSurfaceColorBufferHandle(windowSurface); in rcFlushWindowColorBuffer() local 876 fb->flushColorBufferFromGl(colorBufferHandle); in rcFlushWindowColorBuffer()
|
/hardware/google/gfxstream/guest/rendercontrol/ |
D | RenderControl.cpp | 120 composeLayer.cbHandle = requestLayer.colorBufferHandle; in rcCompose()
|