Home
last modified time | relevance | path

Searched refs:colorBufferHandle (Results 1 – 12 of 12) sorted by relevance

/hardware/google/gfxstream/host/vulkan/
DVkCommonOperations.h466 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 …]
DVkCommonOperations.cpp101 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 …]
DVkAndroidNativeBuffer.cpp140 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()
DVkAndroidNativeBuffer.h62 uint32_t colorBufferHandle; member
DVkDecoderGlobalState.cpp4882 setColorBufferCurrentLayout(anbInfo->colorBufferHandle, in on_vkQueueSignalReleaseImageANDROID()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndCompositionTests.cpp41 .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/
DAndroidHardwareBuffer.cpp230 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/
DRenderControlApi.h24 uint32_t colorBufferHandle = 0; member
/hardware/google/gfxstream/host/
DFrameBuffer.h474 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);
DFrameBuffer.cpp2547 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 …]
DRenderControl.cpp868 HandleType colorBufferHandle = fb->getEmulatedEglWindowSurfaceColorBufferHandle(windowSurface); in rcFlushWindowColorBuffer() local
876 fb->flushColorBufferFromGl(colorBufferHandle); in rcFlushWindowColorBuffer()
/hardware/google/gfxstream/guest/rendercontrol/
DRenderControl.cpp120 composeLayer.cbHandle = requestLayer.colorBufferHandle; in rcCompose()