/hardware/google/gfxstream/host/vulkan/ |
D | VkDecoderSnapshotUtils.cpp | 157 VulkanDispatch* dispatch = stateBlock->deviceDispatch; in saveImageContent() local 166 _RUN_AND_CHECK(dispatch->vkAllocateCommandBuffers(stateBlock->device, &allocInfo, in saveImageContent() 172 _RUN_AND_CHECK(dispatch->vkCreateFence(stateBlock->device, &fenceCreateInfo, nullptr, &fence)); in saveImageContent() 183 dispatch->vkCreateBuffer(stateBlock->device, &bufferCreateInfo, nullptr, &readbackBuffer)); in saveImageContent() 186 dispatch->vkGetBufferMemoryRequirements(stateBlock->device, readbackBuffer, in saveImageContent() 200 _RUN_AND_CHECK(dispatch->vkAllocateMemory(stateBlock->device, &readbackBufferMemoryAllocateInfo, in saveImageContent() 203 dispatch->vkBindBufferMemory(stateBlock->device, readbackBuffer, readbackMemory, 0)); in saveImageContent() 206 _RUN_AND_CHECK(dispatch->vkMapMemory(stateBlock->device, readbackMemory, 0, VK_WHOLE_SIZE, in saveImageContent() 217 if (dispatch->vkBeginCommandBuffer(commandBuffer, &beginInfo) != VK_SUCCESS) { in saveImageContent() 245 dispatch->vkCmdPipelineBarrier(commandBuffer, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, in saveImageContent() [all …]
|
D | DebugUtilsHelper.cpp | 32 const VulkanDispatch* dispatch) { in withUtilsEnabled() argument 33 return DebugUtilsHelper(true, device, dispatch); in withUtilsEnabled() 36 DebugUtilsHelper::DebugUtilsHelper(bool enabled, VkDevice device, const VulkanDispatch* dispatch) in DebugUtilsHelper() argument 37 : m_debugUtilsEnabled(enabled), m_vkDevice(device), m_vk(dispatch) {} in DebugUtilsHelper()
|
D | DebugUtilsHelper.h | 26 static DebugUtilsHelper withUtilsEnabled(VkDevice device, const VulkanDispatch* dispatch); 79 DebugUtilsHelper(bool enabled, VkDevice device, const VulkanDispatch* dispatch);
|
D | VulkanBoxedHandles.h | 71 VulkanDispatch* dispatch = nullptr; variable 129 type new_boxed_##type(type underlying, VulkanDispatch* dispatch, bool ownDispatch); \
|
D | VulkanBoxedHandles.cpp | 334 …VkType(VkObjectT underlying, bool dispatchable = false, VulkanDispatch* dispatch = nullptr, bool o… in new_boxed_VkType() argument 338 if (dispatch != nullptr) { in new_boxed_VkType() 339 info.dispatch = dispatch; in new_boxed_VkType() 341 info.dispatch = new VulkanDispatch(); in new_boxed_VkType() 514 return info->dispatch; in get_dispatch_VkType() 521 VkInstance new_boxed_VkInstance(VkInstance unboxed, VulkanDispatch* dispatch, bool ownsDispatch) { in new_boxed_VkInstance() argument 522 return new_boxed_VkType<VkInstance>(unboxed, /*dispatchable=*/true, dispatch, ownsDispatch); in new_boxed_VkInstance() 553 VkPhysicalDevice new_boxed_VkPhysicalDevice(VkPhysicalDevice unboxed, VulkanDispatch* dispatch, boo… in new_boxed_VkPhysicalDevice() argument 554 … return new_boxed_VkType<VkPhysicalDevice>(unboxed, /*dispatchable=*/true, dispatch, ownsDispatch); in new_boxed_VkPhysicalDevice() 585 VkDevice new_boxed_VkDevice(VkDevice unboxed, VulkanDispatch* dispatch, bool ownsDispatch) { in new_boxed_VkDevice() argument [all …]
|
D | VulkanDispatch.cpp | 261 VulkanDispatch* dispatch() { return &mDispatch; } in dispatch() function in gfxstream::vk::VulkanDispatchImpl 300 return sVulkanDispatchImpl()->dispatch(); in vkDispatch()
|
D | VkDecoderInternalStructs.h | 52 ExternalFencePool(TDispatch* dispatch, VkDevice device) in ExternalFencePool() argument 53 : m_vk(dispatch), mDevice(device), mMaxSize(5) {} in ExternalFencePool()
|
/hardware/google/gfxstream/host/gl/glestranslator/EGL/ |
D | EglOsApi_wgl.cpp | 439 const WglBaseDispatch* dispatch) { in initExtensionsDispatch() argument 468 int iPixelFormat = dispatch->ChoosePixelFormat(hdc, &pfd); in initExtensionsDispatch() 474 if (!dispatch->SetPixelFormat(hdc, iPixelFormat, &pfd)) { in initExtensionsDispatch() 481 HGLRC ctx = dispatch->wglCreateContext(hdc); in initExtensionsDispatch() 486 if (!dispatch->wglMakeCurrent(hdc, ctx)) { in initExtensionsDispatch() 491 WglExtensionsDispatch* result = new WglExtensionsDispatch(*dispatch); in initExtensionsDispatch() 494 dispatch->wglMakeCurrent(hdc, NULL); in initExtensionsDispatch() 495 dispatch->wglDeleteContext(ctx); in initExtensionsDispatch() 527 explicit WinSurface(HWND wnd, const WglExtensionsDispatch* dispatch) : in WinSurface() argument 531 m_dispatch(dispatch) {} in WinSurface() [all …]
|
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/ |
D | ANGLEShaderParser.cpp | 107 static LazyLoadedSTDispatch* dispatch = new LazyLoadedSTDispatch; in getSTDispatch() local 108 return dispatch->getDispatch(); in getSTDispatch() 149 auto dispatch = getSTDispatch(); in copyFromOther() local 150 for (const auto& var: other.uniforms) { uniforms.push_back(dispatch->copyVariable(&var)); } in copyFromOther() 151 for (const auto& var: other.varyings) { varyings.push_back(dispatch->copyVariable(&var)); } in copyFromOther() 152 … for (const auto& var: other.attributes) { attributes.push_back(dispatch->copyVariable(&var)); } in copyFromOther() 153 … for (const auto& var: other.outputVars) { outputVars.push_back(dispatch->copyVariable(&var)); } in copyFromOther() 154 …for (const auto& var: other.interfaceBlocks) { interfaceBlocks.push_back(dispatch->copyInterfaceBl… in copyFromOther() 164 auto dispatch = getSTDispatch(); in clear() local 165 for (auto& var: uniforms) { dispatch->destroyVariable(&var); } in clear() [all …]
|
/hardware/google/gfxstream/common/end2end/ |
D | GfxstreamEnd2EndTests.cpp | 354 Result<ScopedGlShader> ScopedGlShader::MakeShader(GlDispatch& dispatch, GLenum type, in MakeShader() argument 356 GLuint shader = dispatch.glCreateShader(type); in MakeShader() 363 dispatch.glShaderSource(shader, 1, &sourceTyped, &sourceLength); in MakeShader() 364 dispatch.glCompileShader(shader); in MakeShader() 367 dispatch.glGetShaderiv(shader, GL_COMPILE_STATUS, &compileStatus); in MakeShader() 371 dispatch.glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &errorLogLength); in MakeShader() 377 dispatch.glGetShaderInfoLog(shader, errorLogLength, &errorLogLength, errorLog.data()); in MakeShader() 382 dispatch.glDeleteShader(shader); in MakeShader() 386 return ScopedGlShader(dispatch, shader); in MakeShader() 389 Result<ScopedGlProgram> ScopedGlProgram::MakeProgram(GlDispatch& dispatch, in MakeProgram() argument [all …]
|
D | GfxstreamEnd2EndTests.h | 164 ScopedRenderControlDevice(GuestRenderControlDispatchTable& dispatch) : mDispatch(&dispatch) { in ScopedRenderControlDevice() argument 165 mDevice = dispatch.rcCreateDevice(); in ScopedRenderControlDevice() 250 ScopedGlBuffer(GlDispatch& dispatch) in ScopedGlBuffer() argument 251 : ScopedGlType(dispatch, &GlDispatch::glGenBuffers, &GlDispatch::glDeleteBuffers) {} in ScopedGlBuffer() 256 ScopedGlTexture(GlDispatch& dispatch) in ScopedGlTexture() argument 257 : ScopedGlType(dispatch, &GlDispatch::glGenTextures, &GlDispatch::glDeleteTextures) {} in ScopedGlTexture() 262 ScopedGlFramebuffer(GlDispatch& dispatch) in ScopedGlFramebuffer() argument 263 : ScopedGlType(dispatch, &GlDispatch::glGenFramebuffers, in ScopedGlFramebuffer() 276 static Result<ScopedGlShader> MakeShader(GlDispatch& dispatch, GLenum type, 300 ScopedGlShader(GlDispatch& dispatch, GLuint handle) : mGlDispatch(&dispatch), mHandle(handle) {} in ScopedGlShader() argument [all …]
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vulkansc_shared.hpp | 291 … const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) in ObjectDestroyShared() 293 , m_dispatch( &dispatch ) in ObjectDestroyShared() 330 … const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) in ObjectFreeShared() 332 , m_dispatch( &dispatch ) in ObjectFreeShared() 360 ObjectReleaseShared( const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) in ObjectReleaseShared() 362 , m_dispatch( &dispatch ) in ObjectReleaseShared() 393 …PoolFreeShared( SharedHandle<PoolType> pool, const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPAT… in PoolFreeShared() 395 , m_dispatch( &dispatch ) in PoolFreeShared()
|
D | vulkan_shared.hpp | 291 … const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) in ObjectDestroyShared() 293 , m_dispatch( &dispatch ) in ObjectDestroyShared() 330 … const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) in ObjectFreeShared() 332 , m_dispatch( &dispatch ) in ObjectFreeShared() 360 ObjectReleaseShared( const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) in ObjectReleaseShared() 362 , m_dispatch( &dispatch ) in ObjectReleaseShared() 393 …PoolFreeShared( SharedHandle<PoolType> pool, const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPAT… in PoolFreeShared() 395 , m_dispatch( &dispatch ) in PoolFreeShared()
|
D | vulkansc.hpp | 3014 … Dispatch const & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT in ObjectDestroy() 3017 , m_dispatch( &dispatch ) in ObjectDestroy() 3047 … Dispatch const & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT in ObjectDestroy() 3049 , m_dispatch( &dispatch ) in ObjectDestroy() 3076 … Dispatch const & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT in ObjectFree() 3079 , m_dispatch( &dispatch ) in ObjectFree() 3118 … Dispatch const & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT in ObjectRelease() 3120 , m_dispatch( &dispatch ) in ObjectRelease() 3154 … Dispatch const & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT in PoolFree() 3157 , m_dispatch( &dispatch ) in PoolFree()
|
/hardware/google/gfxstream/host/gl/ |
D | meson.build | 17 # GLES dispatch based on Translator
|
D | CMakeLists.txt | 7 # GLES dispatch based on Translator
|
/hardware/google/gfxstream/codegen/generic-apigen/ |
D | README | 9 for the specified API, where each entry routes the call via a dispatch 10 table. The dispatch table may be initialized as required by a specific application. 181 api_client_context.h - defines the client side dispatch table data 187 dispatch table 213 api_server_context.h - dispatch table the decoder functions 215 api_server_context.cpp - dispatch table initialization function 240 api_wrapper_context.h - dispatch table the wrapper functions 242 api_wrapper_context.cpp - dispatch table initialization function
|
/hardware/google/gfxstream/ |
D | README.md | 154 [dispatch](https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/vulkan/dispatch.rst) 160 `VkDevice`. The Mesa object is used first, since Mesa provides dispatch. The
|
/hardware/google/gfxstream/host/tests/ |
D | Vulkan_unittest.cpp | 399 auto dispatch = vkDispatch(false); in SetUp() local 400 ASSERT_NE(dispatch, nullptr); in SetUp() 401 mVk = *dispatch; in SetUp()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/current/proto/android/hardware/automotive/vehicle/ |
D | VehiclePropertyChangeMode.proto | 32 * changed the state. Once state is changed, the property must dispatch
|
/hardware/interfaces/automotive/vehicle/aidl/impl/3/proto/android/hardware/automotive/vehicle/ |
D | VehiclePropertyChangeMode.proto | 32 * changed the state. Once state is changed, the property must dispatch
|
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/ |
D | GLEScontext.cpp | 232 std::string getHostExtensionsString(GLDispatch* dispatch) { in getHostExtensionsString() argument 250 if (dispatch->glGetStringi) { in getHostExtensionsString() 251 dispatch->glGetIntegerv(GL_NUM_EXTENSIONS, &num_exts); in getHostExtensionsString() 252 GLenum err = dispatch->glGetError(); in getHostExtensionsString() 256 dispatch->glGetStringi(GL_EXTENSIONS, n)); in getHostExtensionsString() 270 if (!dispatch->glGetStringi || num_exts == 0) { in getHostExtensionsString() 272 dispatch->glGetString(GL_EXTENSIONS)); in getHostExtensionsString()
|
/hardware/interfaces/camera/device/3.2/ |
D | ICameraDeviceCallback.hal | 129 * via a SHUTTER notify() call. It is highly recommended to dispatch this
|
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/include/GLcommon/ |
D | GLEScontext.h | 747 std::string getHostExtensionsString(GLDispatch* dispatch);
|
/hardware/interfaces/neuralnetworks/1.3/ |
D | IPreparedModel.hal | 229 * are valid and there is no error, executeFenced must dispatch an asynchronous task
|