Home
last modified time | relevance | path

Searched refs:mDevice (Results 1 – 25 of 92) sorted by relevance

1234

/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DDestroyObjectTests.cpp47 mDevice.SetToggle(Toggle::SkipValidation, true); in DestroyObjectTests()
55 AcquireRef(new TextureMock(&mDevice, TextureBase::TextureState::OwnedInternal)); in GetTexture()
64 mPipelineLayout = AcquireRef(new PipelineLayoutMock(&mDevice)); in GetPipelineLayout()
74 mVsModule, ShaderModuleMock::Create(&mDevice, R"( in GetVertexShaderModule()
88 mCsModule, ShaderModuleMock::Create(&mDevice, R"( in GetComputeShaderModule()
97 DeviceMock mDevice; member in dawn_native::__anone16b0b070111::DestroyObjectTests
108 BindGroupMock bindGroupMock(&mDevice); in TEST_F()
119 BindGroupMock* bindGroupMock = new BindGroupMock(&mDevice); in TEST_F()
124 EXPECT_CALL(mDevice, CreateBindGroupImpl) in TEST_F()
126 DAWN_ASSERT_AND_ASSIGN(bindGroup, mDevice.CreateBindGroup(&desc)); in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DFencedDeleter.cpp21 FencedDeleter::FencedDeleter(Device* device) : mDevice(device) { in FencedDeleter()
43 mBuffersToDelete.Enqueue(buffer, mDevice->GetPendingCommandSerial()); in DeleteWhenUnused()
47 mDescriptorPoolsToDelete.Enqueue(pool, mDevice->GetPendingCommandSerial()); in DeleteWhenUnused()
51 mMemoriesToDelete.Enqueue(memory, mDevice->GetPendingCommandSerial()); in DeleteWhenUnused()
55 mFramebuffersToDelete.Enqueue(framebuffer, mDevice->GetPendingCommandSerial()); in DeleteWhenUnused()
59 mImagesToDelete.Enqueue(image, mDevice->GetPendingCommandSerial()); in DeleteWhenUnused()
63 mImageViewsToDelete.Enqueue(view, mDevice->GetPendingCommandSerial()); in DeleteWhenUnused()
67 mPipelinesToDelete.Enqueue(pipeline, mDevice->GetPendingCommandSerial()); in DeleteWhenUnused()
71 mPipelineLayoutsToDelete.Enqueue(layout, mDevice->GetPendingCommandSerial()); in DeleteWhenUnused()
75 mQueryPoolsToDelete.Enqueue(querypool, mDevice->GetPendingCommandSerial()); in DeleteWhenUnused()
[all …]
DNativeSwapChainImplVk.cpp68 : mSurface(surface), mDevice(device) { in NativeSwapChainImpl()
76 mDevice->GetFencedDeleter()->DeleteWhenUnused(mSwapChain); in ~NativeSwapChainImpl()
80 mDevice->GetFencedDeleter()->DeleteWhenUnused(mSurface); in ~NativeSwapChainImpl()
86 if (mDevice->ConsumedError(GatherSurfaceInfo(*ToBackend(mDevice->GetAdapter()), mSurface), in UpdateSurfaceConfig()
91 if (!ChooseSurfaceConfig(mInfo, &mConfig, mDevice->IsToggleEnabled(Toggle::TurnOffVsync))) { in UpdateSurfaceConfig()
128 mDevice->GetValidInternalFormat(mConfig.format)); in Configure()
138 if (mDevice->fn.CreateSwapchainKHR(mDevice->GetVkDevice(), &createInfo, nullptr, in Configure()
146 if (mDevice->fn.GetSwapchainImagesKHR(mDevice->GetVkDevice(), mSwapChain, &count, in Configure()
153 if (mDevice->fn.GetSwapchainImagesKHR(mDevice->GetVkDevice(), mSwapChain, &count, in Configure()
159 mDevice->GetFencedDeleter()->DeleteWhenUnused(oldSwapchain); in Configure()
[all …]
DStagingBufferVk.cpp26 : StagingBufferBase(size), mDevice(device) { in StagingBuffer()
41 mDevice->fn.CreateBuffer(mDevice->GetVkDevice(), &createInfo, nullptr, &*mBuffer), in Initialize()
45 mDevice->fn.GetBufferMemoryRequirements(mDevice->GetVkDevice(), mBuffer, &requirements); in Initialize()
47 DAWN_TRY_ASSIGN(mAllocation, mDevice->GetResourceMemoryAllocator()->Allocate( in Initialize()
51 mDevice->fn.BindBufferMemory(mDevice->GetVkDevice(), mBuffer, in Initialize()
61 SetDebugName(mDevice, VK_OBJECT_TYPE_BUFFER, reinterpret_cast<uint64_t&>(mBuffer), in Initialize()
69 mDevice->GetFencedDeleter()->DeleteWhenUnused(mBuffer); in ~StagingBuffer()
70 mDevice->GetResourceMemoryAllocator()->Deallocate(&mAllocation); in ~StagingBuffer()
DResourceMemoryAllocatorVk.cpp46 : mDevice(device), in SingleTypeAllocator()
91 mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, nullptr, in AllocateResourceHeap()
100 mDevice->GetFencedDeleter()->DeleteWhenUnused(ToBackend(allocation.get())->GetMemory()); in DeallocateResourceHeap()
104 Device* mDevice; member in dawn_native::vulkan::ResourceMemoryAllocator::SingleTypeAllocator
113 ResourceMemoryAllocator::ResourceMemoryAllocator(Device* device) : mDevice(device) { in ResourceMemoryAllocator()
114 const VulkanDeviceInfo& info = mDevice->GetDeviceInfo(); in ResourceMemoryAllocator()
119 mDevice, i, info.memoryHeaps[info.memoryTypes[i].heapIndex].size)); in ResourceMemoryAllocator()
151 mDevice->GetDeviceInfo().properties.limits.bufferImageGranularity); in Allocate()
168 CheckVkSuccess(mDevice->fn.MapMemory(mDevice->GetVkDevice(), in Allocate()
195 mDevice->GetFencedDeleter()->DeleteWhenUnused(heap->GetMemory()); in Deallocate()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DGetProcAddressTests.cpp61 mDevice = wgpu::Device::Acquire( in SetUp()
74 mDevice = wgpu::Device::Acquire(mWireClient->ReserveDevice().device); in SetUp()
89 mDevice = wgpu::Device(); in TearDown()
99 wgpu::Device mDevice; member in __anonbf802faa0111::GetProcAddressTests
107 ASSERT_EQ(mProcs.getProcAddress(mDevice.Get(), "wgpuDeviceCreateBuffer"), in TEST_P()
111 ASSERT_EQ(mProcs.getProcAddress(mDevice.Get(), "wgpuQueueSubmit"), in TEST_P()
118 ASSERT_EQ(mProcs.getProcAddress(mDevice.Get(), nullptr), nullptr); in TEST_P()
124 ASSERT_EQ(mProcs.getProcAddress(mDevice.Get(), "wgpuDeviceDoSomething"), nullptr); in TEST_P()
128 ASSERT_EQ(mProcs.getProcAddress(mDevice.Get(), "zzzzzzz"), nullptr); in TEST_P()
130 ASSERT_EQ(mProcs.getProcAddress(mDevice.Get(), "ZZ"), nullptr); in TEST_P()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_semaphore/
DSemaphoreServiceZirconHandle.cpp24 : mDevice(device), in Service()
73 mDevice->fn.CreateSemaphore(mDevice->GetVkDevice(), &info, nullptr, &*semaphore), in ImportSemaphore()
86 MaybeError status = CheckVkSuccess(mDevice->fn.ImportSemaphoreZirconHandleFUCHSIA( in ImportSemaphore()
87 mDevice->GetVkDevice(), &importSemaphoreHandleInfo), in ImportSemaphore()
91 mDevice->fn.DestroySemaphore(mDevice->GetVkDevice(), semaphore, nullptr); in ImportSemaphore()
112 CheckVkSuccess(mDevice->fn.CreateSemaphore(mDevice->GetVkDevice(), &semaphoreCreateInfo, in CreateExportableSemaphore()
127 DAWN_TRY(CheckVkSuccess(mDevice->fn.GetSemaphoreZirconHandleFUCHSIA( in ExportSemaphore()
128 mDevice->GetVkDevice(), &semaphoreGetHandleInfo, &handle), in ExportSemaphore()
DSemaphoreServiceFD.cpp31 : mDevice(device), in Service()
79 mDevice->fn.CreateSemaphore(mDevice->GetVkDevice(), &info, nullptr, &*semaphore), in ImportSemaphore()
91 mDevice->fn.ImportSemaphoreFdKHR(mDevice->GetVkDevice(), &importSemaphoreFdInfo), in ImportSemaphore()
95 mDevice->fn.DestroySemaphore(mDevice->GetVkDevice(), semaphore, nullptr); in ImportSemaphore()
115 CheckVkSuccess(mDevice->fn.CreateSemaphore(mDevice->GetVkDevice(), &semaphoreCreateInfo, in CreateExportableSemaphore()
130 mDevice->fn.GetSemaphoreFdKHR(mDevice->GetVkDevice(), &semaphoreGetFdInfo, &fd), in ExportSemaphore()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp157 if (mDevice != VK_NULL_HANDLE) in ~VulkanHelper()
159 vkDeviceWaitIdle(mDevice); in ~VulkanHelper()
164 vkDestroyCommandPool(mDevice, mCommandPool, nullptr); in ~VulkanHelper()
169 if (mDevice != VK_NULL_HANDLE) in ~VulkanHelper()
171 vkDestroyDevice(mDevice, nullptr); in ~VulkanHelper()
173 mDevice = VK_NULL_HANDLE; in ~VulkanHelper()
331 result = vkCreateDevice(mPhysicalDevice, &deviceCreateInfo, nullptr, &mDevice); in initialize()
333 ASSERT(mDevice != VK_NULL_HANDLE); in initialize()
335 volkLoadDevice(mDevice); in initialize()
340 vkGetDeviceQueue(mDevice, mGraphicsQueueFamilyIndex, kGraphicsQueueIndex, &mGraphicsQueue); in initialize()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp108 mDevice = nullptr; in Renderer9()
166 if (mDevice) in ~Renderer9()
186 SafeRelease(mDevice); in release()
316 &presentParameters, &mDevice); in initialize()
334 &presentParameters, &mDevice); in initialize()
349 result = mDevice->QueryInterface(__uuidof(IDirect3DDevice9Ex), (void **)&mDeviceEx); in initialize()
355 mVertexShaderCache.initialize(mDevice); in initialize()
356 mPixelShaderCache.initialize(mDevice); in initialize()
381 mDevice->SetRenderState(D3DRS_POINTSPRITEENABLE, TRUE); in initializeDevice()
382 mDevice->SetRenderState(D3DRS_LASTPIXEL, FALSE); in initializeDevice()
[all …]
DShaderCache.h29 ShaderCache() : mDevice(nullptr) {} in ShaderCache()
37 void initialize(IDirect3DDevice9 *device) { mDevice = device; } in initialize()
90 return mDevice->CreateVertexShader(function, shader); in createShader()
95 return mDevice->CreatePixelShader(function, shader); in createShader()
102 IDirect3DDevice9 *mDevice; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
DMemoryServiceDmaBuf.cpp64 : mDevice(device), mSupported(CheckSupport(device->GetDeviceInfo())) { in Service()
97 VkPhysicalDevice physicalDevice = ToBackend(mDevice->GetAdapter())->GetPhysicalDevice(); in SupportsCreateImage()
99 if (mDevice->ConsumedError(GetModifierPlaneCount(mDevice->fn, physicalDevice, format, in SupportsCreateImage()
144 VkResult result = VkResult::WrapUnsafe(mDevice->fn.GetPhysicalDeviceImageFormatProperties2( in SupportsCreateImage()
162 VkDevice device = mDevice->GetVkDevice(); in GetMemoryImportParams()
166 mDevice->fn.GetImageMemoryRequirements(device, image, &memoryRequirements); in GetMemoryImportParams()
173 mDevice->fn.GetMemoryFdPropertiesKHR(device, VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT, in GetMemoryImportParams()
178 int memoryTypeIndex = mDevice->GetResourceMemoryAllocator()->FindBestTypeIndex( in GetMemoryImportParams()
213 CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &memoryAllocateInfo, in ImportMemory()
226 VkPhysicalDevice physicalDevice = ToBackend(mDevice->GetAdapter())->GetPhysicalDevice(); in CreateImage()
[all …]
DMemoryServiceZirconHandle.cpp26 : mDevice(device), mSupported(CheckSupport(device->GetDeviceInfo())) { in Service()
68 VkResult result = mDevice->fn.GetPhysicalDeviceImageFormatProperties2( in SupportsImportMemory()
69 ToBackend(mDevice->GetAdapter())->GetPhysicalDevice(), &formatInfo, &formatProperties); in SupportsImportMemory()
108 mDevice->fn.GetImageMemoryRequirements(mDevice->GetVkDevice(), image, &requirements); in ImportMemory()
127 DAWN_TRY(CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, in ImportMemory()
147 ASSERT(IsSampleCountSupported(mDevice, createInfo)); in CreateImage()
151 mDevice->fn.CreateImage(mDevice->GetVkDevice(), &createInfo, nullptr, &*image), in CreateImage()
DMemoryServiceOpaqueFD.cpp26 : mDevice(device), mSupported(CheckSupport(device->GetDeviceInfo())) { in Service()
68 VkResult result = VkResult::WrapUnsafe(mDevice->fn.GetPhysicalDeviceImageFormatProperties2( in SupportsImportMemory()
69 ToBackend(mDevice->GetAdapter())->GetPhysicalDevice(), &formatInfo, &formatProperties)); in SupportsImportMemory()
108 mDevice->fn.GetImageMemoryRequirements(mDevice->GetVkDevice(), image, &requirements); in ImportMemory()
126 DAWN_TRY(CheckVkSuccess(mDevice->fn.AllocateMemory(mDevice->GetVkDevice(), &allocateInfo, in ImportMemory()
145 ASSERT(IsSampleCountSupported(mDevice, createInfo)); in CreateImage()
149 mDevice->fn.CreateImage(mDevice->GetVkDevice(), &createInfo, nullptr, &*image), in CreateImage()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DResourceAllocatorManagerD3D12.cpp165 ResourceAllocatorManager::ResourceAllocatorManager(Device* device) : mDevice(device) { in ResourceAllocatorManager()
166 mResourceHeapTier = (mDevice->IsToggleEnabled(Toggle::UseD3D12ResourceHeapTier2)) in ResourceAllocatorManager()
167 ? mDevice->GetDeviceInfo().resourceHeapTier in ResourceAllocatorManager()
173 mDevice, GetD3D12HeapType(resourceHeapKind), GetD3D12HeapFlags(resourceHeapKind), in ResourceAllocatorManager()
237 mAllocationsToDelete.Enqueue(allocation, mDevice->GetPendingCommandSerial()); in DeallocateMemory()
285 mDevice->GetD3D12Device()->GetResourceAllocationInfo(0, 1, &resourceDescriptor); in CreatePlacedResource()
293 mDevice->GetD3D12Device()->GetResourceAllocationInfo(0, 1, &resourceDescriptor); in CreatePlacedResource()
319 DAWN_TRY(mDevice->GetResidencyManager()->LockAllocation(heap)); in CreatePlacedResource()
330 mDevice->GetD3D12Device()->CreatePlacedResource( in CreatePlacedResource()
337 mDevice->GetResidencyManager()->UnlockAllocation(heap); in CreatePlacedResource()
[all …]
DShaderVisibleDescriptorAllocatorD3D12.cpp89 mDevice(device), in ShaderVisibleDescriptorAllocator()
93 mDevice->IsToggleEnabled(Toggle::UseD3D12SmallShaderVisibleHeapForTesting))) { in ShaderVisibleDescriptorAllocator()
145 DAWN_TRY(mDevice->GetResidencyManager()->EnsureCanAllocate(kSize, MemorySegment::Local)); in AllocateHeap()
153 DAWN_TRY(CheckOutOfMemoryHRESULT(mDevice->GetD3D12Device()->CreateDescriptorHeap( in AllocateHeap()
162 mDevice->GetResidencyManager()->TrackResidentAllocation(descriptorHeap.get()); in AllocateHeap()
174 mDevice->GetResidencyManager()->UnlockAllocation(mHeap.get()); in AllocateAndSwitchShaderVisibleHeap()
178 mDevice->IsToggleEnabled(Toggle::UseD3D12SmallShaderVisibleHeapForTesting)); in AllocateAndSwitchShaderVisibleHeap()
181 mDevice->ReferenceUntilUnused(mHeap->GetD3D12DescriptorHeap()); in AllocateAndSwitchShaderVisibleHeap()
189 mPool.push_back({mDevice->GetPendingCommandSerial(), std::move(mHeap)}); in AllocateAndSwitchShaderVisibleHeap()
190 if (mPool.front().heapSerial <= mDevice->GetCompletedCommandSerial()) { in AllocateAndSwitchShaderVisibleHeap()
[all …]
DResidencyManagerD3D12.cpp26 : mDevice(device), in ResidencyManager()
85 ASSERT(!mDevice->GetDeviceInfo().isUMA); in GetMemorySegmentInfo()
108 if (!mDevice->GetDeviceInfo().isUMA) { in UpdateVideoMemoryInfo()
116 ToBackend(mDevice->GetAdapter()) in UpdateMemorySegmentInfo()
164 if (lastSubmissionSerial == mDevice->GetPendingCommandSerial()) { in RemoveSingleEntryFromLRU()
170 if (lastSubmissionSerial > mDevice->GetCompletedCommandSerial()) { in RemoveSingleEntryFromLRU()
171 DAWN_TRY(mDevice->WaitForSerial(lastSubmissionSerial)); in RemoveSingleEntryFromLRU()
227 mDevice->GetD3D12Device()->Evict(resourcesToEvict.size(), resourcesToEvict.data()), in EnsureCanMakeResident()
247 ExecutionSerial pendingCommandSerial = mDevice->GetPendingCommandSerial(); in EnsureHeapsAreResident()
287 ASSERT(!mDevice->GetDeviceInfo().isUMA); in EnsureHeapsAreResident()
[all …]
DStagingBufferD3D12.cpp25 : StagingBufferBase(size), mDevice(device) { in StagingBuffer()
43 mDevice->AllocateMemory(D3D12_HEAP_TYPE_UPLOAD, resourceDescriptor, in Initialize()
48 DAWN_TRY(mDevice->GetResidencyManager()->LockAllocation( in Initialize()
51 SetDebugName(mDevice, GetResource(), "Dawn_StagingBuffer"); in Initialize()
65 mDevice->GetResidencyManager()->UnlockAllocation(ToBackend(mUploadHeap.GetResourceHeap())); in ~StagingBuffer()
71 mDevice->DeallocateMemory(mUploadHeap); in ~StagingBuffer()
DNativeSwapChainImplD3D12.cpp42 : mWindow(window), mDevice(device), mInterval(1) { in NativeSwapChainImpl()
59 ComPtr<IDXGIFactory4> factory = mDevice->GetFactory(); in Configure()
60 ComPtr<ID3D12CommandQueue> queue = mDevice->GetCommandQueue(); in Configure()
62 mInterval = mDevice->IsToggleEnabled(Toggle::TurnOffVsync) == true ? 0 : 1; in Configure()
100 ASSERT(mDevice->WaitForSerial(mBufferSerials[mCurrentBuffer]).IsSuccess()); in GetNextTexture()
110 ASSERT(mDevice->NextSerial().IsSuccess()); in Present()
112 mBufferSerials[mCurrentBuffer] = mDevice->GetPendingCommandSerial(); in Present()
DHeapAllocatorD3D12.cpp27 : mDevice(device), in HeapAllocator()
51 DAWN_TRY(mDevice->GetResidencyManager()->EnsureCanAllocate(size, mMemorySegment)); in AllocateResourceHeap()
55 mDevice->GetD3D12Device()->CreateHeap(&heapDesc, IID_PPV_ARGS(&d3d12Heap)), in AllocateResourceHeap()
63 mDevice->GetResidencyManager()->TrackResidentAllocation(ToBackend(heapBase.get())); in AllocateResourceHeap()
68 mDevice->ReferenceUntilUnused(static_cast<Heap*>(heap.get())->GetD3D12Heap()); in DeallocateResourceHeap()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLDeviceTest.cpp31 mDevice(nullptr), in EGLDeviceCreationTest()
73 SafeRelease(mDevice); in testTearDown()
100 ASSERT_EQ(nullptr, mDevice); // The device shouldn't be created twice in CreateD3D11Device()
104 D3D11_SDK_VERSION, &mDevice, &mFeatureLevel, &mDeviceContext); in CreateD3D11Device()
151 HRESULT result = mDevice->CreateBuffer(&bufferDesc, nullptr, &gsBuffer); in trigger9_3DeviceLost()
158 result = mDevice->GetDeviceRemovedReason(); in trigger9_3DeviceLost()
165 ID3D11Device *mDevice; member in EGLDeviceCreationTest
188 eglCreateDeviceANGLE(EGL_D3D11_DEVICE_ANGLE, reinterpret_cast<void *>(mDevice), nullptr); in TEST_P()
211 eglCreateDeviceANGLE(EGL_D3D11_DEVICE_ANGLE, reinterpret_cast<void *>(mDevice), nullptr); in TEST_P()
231 eglCreateDeviceANGLE(EGL_D3D11_DEVICE_ANGLE, reinterpret_cast<void *>(mDevice), nullptr); in TEST_P()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DPersistentCache.cpp24 : mDevice(device), mCache(GetPlatformCache()) { in PersistentCache()
33 blob.bufferSize = mCache->LoadData(ToAPI(mDevice), key.data(), key.size(), nullptr, 0); in LoadData()
36 const size_t bufferSize = mCache->LoadData(ToAPI(mDevice), key.data(), key.size(), in LoadData()
51 mCache->StoreData(ToAPI(mDevice), key.data(), key.size(), value, size); in StoreData()
58 dawn_platform::Platform* platform = mDevice->GetPlatform(); in GetPlatformCache()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/win32/
DNativeWindow11Win32.cpp28 mDevice(nullptr), in NativeWindow11Win32()
36 SafeRelease(mDevice); in ~NativeWindow11Win32()
87 if (!mDevice) in createSwapChain()
91 reinterpret_cast<void **>(&mDevice)); in createSwapChain()
103 mDevice->CreateTargetForHwnd(getNativeWindow(), TRUE, &mCompositionTarget); in createSwapChain()
112 HRESULT result = mDevice->CreateVisual(&mVisual); in createSwapChain()
207 if (mDevice) in commitChange()
209 mDevice->Commit(); in commitChange()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DNativeSwapChainImplGL.cpp24 : mPresentCallback(present), mPresentUserdata(presentUserdata), mDevice(device) { in NativeSwapChainImpl()
28 const OpenGLFunctions& gl = mDevice->gl; in ~NativeSwapChainImpl()
34 const OpenGLFunctions& gl = mDevice->gl; in Init()
57 const OpenGLFunctions& gl = mDevice->gl; in Configure()
72 const OpenGLFunctions& gl = mDevice->gl; in Present()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDeviceD3D.cpp20 : mDevice(nativeDevice), mDeviceType(deviceType), mIsInitialized(false) in DeviceD3D()
29 ID3D11Device *device = static_cast<ID3D11Device *>(mDevice); in ~DeviceD3D()
41 *outValue = mDevice; in getAttribute()
53 IUnknown *iunknown = static_cast<IUnknown *>(mDevice); in initialize()

1234