/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
H A D | gl_raii.h | 32 if (mHandle) in ~GLWrapper() 34 (*mDeleteFunc)(1, &mHandle); in ~GLWrapper() 41 : mGenFunc(rht.mGenFunc), mDeleteFunc(rht.mDeleteFunc), mHandle(rht.mHandle) in GLWrapper() 43 rht.mHandle = 0u; in GLWrapper() 51 std::swap(mHandle, rht.mHandle); in operator =() 58 if (mHandle != 0u) in reset() 60 (*mDeleteFunc)(1, &mHandle); in reset() 61 mHandle in reset() 85 GLuint mHandle = 0u; global() member in angle::GLWrapper 167 GLuint mHandle; global() member in angle::GLShader 251 GLuint mHandle; global() member in angle::GLProgram [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_wrapper.h | 101 HandleT getHandle() const { return mHandle; } in getHandle() 102 void setHandle(HandleT handle) { mHandle = handle; } in setHandle() 103 bool valid() const { return (mHandle != VK_NULL_HANDLE); } in valid() 105 const HandleT *ptr() const { return &mHandle; } in ptr() 109 HandleT handle = mHandle; in release() 110 mHandle = VK_NULL_HANDLE; in release() 115 WrappedObject() : mHandle(VK_NULL_HANDLE) {} in WrappedObject() 118 WrappedObject(WrappedObject &&other) : mHandle(other.mHandle) in WrappedObject() 120 other.mHandle in WrappedObject() 131 HandleT mHandle; global() member in rx::DescriptorSetIndex::WrappedObject [all...] |
H A D | vk_utils.cpp | 800 GarbageObject::GarbageObject() : mHandleType(HandleType::Invalid), mHandle(VK_NULL_HANDLE) {} in GarbageObject() 803 : mHandleType(handleType), mHandle(handle) in GarbageObject() 813 std::swap(mHandle, rhs.mHandle); in operator =() 828 vkDestroySemaphore(device, (VkSemaphore)mHandle, nullptr); in destroy() 835 vkDestroyEvent(device, (VkEvent)mHandle, nullptr); in destroy() 838 vkDestroyFence(device, (VkFence)mHandle, nullptr); in destroy() 841 vkFreeMemory(device, (VkDeviceMemory)mHandle, nullptr); in destroy() 844 vkDestroyBuffer(device, (VkBuffer)mHandle, nullptr); in destroy() 847 vkDestroyBufferView(device, (VkBufferView)mHandle, nullpt in destroy() [all...] |
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | DynamicLib.cpp | 35 std::swap(mHandle, other.mHandle); in DynamicLib() 39 std::swap(mHandle, other.mHandle); in operator =() 44 return mHandle != nullptr; in Valid() 50 mHandle = LoadPackagedLibrary(UTF8ToWStr(filename.c_str()).c_str(), 0); in Open() 52 mHandle = LoadLibraryA(filename.c_str()); in Open() 54 if (mHandle == nullptr && error != nullptr) { in Open() 58 mHandle = dlopen(filename.c_str(), RTLD_NOW); in Open() 60 if (mHandle in Open() [all...] |
H A D | vulkan_platform.h | 97 return mHandle == other.mHandle; in operator ==() 100 return mHandle != other.mHandle; in operator !=() 105 return mHandle == 0; in operator ==() 108 return mHandle != 0; in operator !=() 117 return mHandle; in GetHandle() 121 return mHandle; in operator *() 129 explicit VkHandle(HandleType handle) : mHandle(handle) { in VkHandle() 132 HandleType mHandle variable [all...] |
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/ |
H A D | SystemInfo_libpci.cpp | 37 mHandle = dlopen("libpci.so.3", RTLD_LAZY); in LibPCI() 39 if (mHandle == nullptr) in LibPCI() 41 mHandle = dlopen("libpci.so", RTLD_LAZY); in LibPCI() 44 if (mHandle == nullptr) in LibPCI() 50 (Alloc = reinterpret_cast<decltype(Alloc)>(dlsym(mHandle, "pci_alloc"))) != nullptr && in LibPCI() 51 (Init = reinterpret_cast<decltype(Init)>(dlsym(mHandle, "pci_init"))) != nullptr && in LibPCI() 52 (Cleanup = reinterpret_cast<decltype(Cleanup)>(dlsym(mHandle, "pci_cleanup"))) != in LibPCI() 54 (ScanBus = reinterpret_cast<decltype(ScanBus)>(dlsym(mHandle, "pci_scan_bus"))) != in LibPCI() 56 (FillInfo = reinterpret_cast<decltype(FillInfo)>(dlsym(mHandle, "pci_fill_info"))) != in LibPCI() 59 dlsym(mHandle, "pci_lookup_nam in LibPCI() 83 void *mHandle = nullptr; global() member [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | PipelineLayoutVk.cpp | 57 device->fn.CreatePipelineLayout(device->GetVkDevice(), &createInfo, nullptr, &*mHandle), in Initialize() 69 if (mHandle != VK_NULL_HANDLE) { in DestroyImpl() 70 ToBackend(GetDevice())->GetFencedDeleter()->DeleteWhenUnused(mHandle); in DestroyImpl() 71 mHandle = VK_NULL_HANDLE; in DestroyImpl() 76 return mHandle; in GetHandle() 81 reinterpret_cast<uint64_t&>(mHandle), "Dawn_PipelineLayout", GetLabel()); in SetLabelImpl()
|
H A D | QuerySetVk.cpp | 90 device->fn.CreateQueryPool(device->GetVkDevice(), &createInfo, nullptr, &*mHandle), in Initialize() 99 return mHandle; in GetHandle() 106 if (mHandle != VK_NULL_HANDLE) { in DestroyImpl() 107 ToBackend(GetDevice())->GetFencedDeleter()->DeleteWhenUnused(mHandle); in DestroyImpl() 108 mHandle = VK_NULL_HANDLE; in DestroyImpl() 114 reinterpret_cast<uint64_t&>(mHandle), "Dawn_QuerySet", GetLabel()); in SetLabelImpl()
|
H A D | SamplerVk.cpp | 104 device->fn.CreateSampler(device->GetVkDevice(), &createInfo, nullptr, &*mHandle), in Initialize() 116 if (mHandle != VK_NULL_HANDLE) { in DestroyImpl() 117 ToBackend(GetDevice())->GetFencedDeleter()->DeleteWhenUnused(mHandle); in DestroyImpl() 118 mHandle = VK_NULL_HANDLE; in DestroyImpl() 123 return mHandle; in GetHandle() 128 reinterpret_cast<uint64_t&>(mHandle), "Dawn_Sampler", GetLabel()); in SetLabelImpl()
|
H A D | ComputePipelineVk.cpp | 79 &createInfo, nullptr, &*mHandle), in Initialize() 89 reinterpret_cast<uint64_t&>(mHandle), "Dawn_ComputePipeline", GetLabel()); in SetLabelImpl() 97 if (mHandle != VK_NULL_HANDLE) { in DestroyImpl() 98 ToBackend(GetDevice())->GetFencedDeleter()->DeleteWhenUnused(mHandle); in DestroyImpl() 99 mHandle = VK_NULL_HANDLE; in DestroyImpl() 104 return mHandle; in GetHandle()
|
H A D | BufferVk.cpp | 194 device->fn.CreateBuffer(device->GetVkDevice(), &createInfo, nullptr, &*mHandle), in Initialize() 199 device->fn.GetBufferMemoryRequirements(device->GetVkDevice(), mHandle, &requirements); in Initialize() 210 device->fn.BindBufferMemory(device->GetVkDevice(), mHandle, in Initialize() 242 return mHandle; in GetHandle() 286 barrier->buffer = mHandle; in TransitionUsageAndGetResourceBarrier() 337 if (mHandle != VK_NULL_HANDLE) { in DestroyImpl() 338 ToBackend(GetDevice())->GetFencedDeleter()->DeleteWhenUnused(mHandle); in DestroyImpl() 339 mHandle = VK_NULL_HANDLE; in DestroyImpl() 385 reinterpret_cast<uint64_t&>(mHandle), "Dawn_Buffer", GetLabel()); in SetLabelImpl() 410 device->fn.CmdFillBuffer(recordingContext->commandBuffer, mHandle, offse in ClearBuffer() [all...] |
H A D | BindGroupLayoutVk.cpp | 123 device->GetVkDevice(), &createInfo, nullptr, &*mHandle), in Initialize() 163 // so we can destroy mHandle immediately instead of using the FencedDeleter. in DestroyImpl() 168 if (mHandle != VK_NULL_HANDLE) { in DestroyImpl() 169 device->fn.DestroyDescriptorSetLayout(device->GetVkDevice(), mHandle, nullptr); in DestroyImpl() 170 mHandle = VK_NULL_HANDLE; in DestroyImpl() 176 return mHandle; in GetHandle() 197 reinterpret_cast<uint64_t&>(mHandle), "Dawn_BindGroupLayout", GetLabel()); in SetLabelImpl()
|
H A D | TextureVk.cpp | 665 device->fn.CreateImage(device->GetVkDevice(), &createInfo, nullptr, &*mHandle), in InitializeAsInternalTexture() 670 device->fn.GetImageMemoryRequirements(device->GetVkDevice(), mHandle, &requirements); in InitializeAsInternalTexture() 676 device->fn.BindImageMemory(device->GetVkDevice(), mHandle, in InitializeAsInternalTexture() 720 DAWN_TRY_ASSIGN(mHandle, externalMemoryService->CreateImage(descriptor, baseCreateInfo)); in InitializeFromExternal() 728 mHandle = nativeImage; in InitializeForSwapChain() 738 device->fn.BindImageMemory(device->GetVkDevice(), mHandle, externalMemoryAllocation, 0), in BindExternalMemory() 833 reinterpret_cast<uint64_t&>(mHandle), prefix, GetLabel()); in SetLabelHelper() 848 if (mHandle != VK_NULL_HANDLE) { in DestroyImpl() 849 device->GetFencedDeleter()->DeleteWhenUnused(mHandle); in DestroyImpl() 856 mHandle in DestroyImpl() [all...] |
H A D | RenderPipelineVk.cpp | 549 &createInfo, nullptr, &*mHandle), in Initialize() 559 reinterpret_cast<uint64_t&>(mHandle), "Dawn_RenderPipeline", GetLabel()); in SetLabelImpl() 608 if (mHandle != VK_NULL_HANDLE) { in DestroyImpl() 609 ToBackend(GetDevice())->GetFencedDeleter()->DeleteWhenUnused(mHandle); in DestroyImpl() 610 mHandle = VK_NULL_HANDLE; in DestroyImpl() 615 return mHandle; in GetHandle()
|
H A D | TextureVk.h | 146 VkImage mHandle = VK_NULL_HANDLE; member in dawn_native::vulkan::final 186 VkImageView mHandle = VK_NULL_HANDLE; member in dawn_native::vulkan::final
|
H A D | PipelineLayoutVk.h | 45 VkPipelineLayout mHandle = VK_NULL_HANDLE; member in dawn_native::vulkan::final
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Compiler.cpp | 339 ShCompilerInstance::ShCompilerInstance() : mHandle(nullptr) {} in ShCompilerInstance() 344 : mHandle(handle), mOutputType(outputType), mShaderType(shaderType) in ShCompilerInstance() 349 ASSERT(mHandle == nullptr); in ~ShCompilerInstance() 354 if (mHandle != nullptr) in destroy() 356 sh::Destruct(mHandle); in destroy() 357 mHandle = nullptr; in destroy() 362 : mHandle(other.mHandle), mOutputType(other.mOutputType), mShaderType(other.mShaderType) in ShCompilerInstance() 364 other.mHandle = nullptr; in ShCompilerInstance() 369 mHandle in operator =() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | ShaderImpl.cpp | 45 : mHandle(handle), mOptions(options), mSource(source), mResult(false) in TranslateTask() 52 mResult = sh::Compile(mHandle, &source, 1, mOptions); 57 ShHandle getHandle() { return mHandle; } in getHandle() 60 ShHandle mHandle; member in rx::TranslateTask
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | TextureGL.cpp | 141 gl.BindTexture(mTarget, mHandle); in Texture() 186 : TextureBase(device, descriptor, state), mHandle(handle) { in Texture() 196 ToBackend(GetDevice())->gl.DeleteTextures(1, &mHandle); in DestroyImpl() 197 mHandle = 0; in DestroyImpl() 202 return mHandle; in GetHandle() 364 gl.ClearTexSubImage(mHandle, static_cast<GLint>(level), 0, 0, in ClearTexture() 544 mHandle = 0; in TextureView() 546 mHandle = ToBackend(texture)->GetHandle(); in TextureView() 551 mHandle = GenTexture(gl); in TextureView() 554 gl.TextureView(mHandle, mTarge in TextureView() [all...] |
H A D | TextureGL.h | 47 GLuint mHandle; member in dawn_native::opengl::final 62 GLuint mHandle; member in dawn_native::opengl::final
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | PlatformFunctions.cpp | 55 explicit ScopedFileHandle(HANDLE handle) : mHandle(handle) { in ScopedFileHandle() 58 if (mHandle != INVALID_HANDLE_VALUE) { in ~ScopedFileHandle() 59 ASSERT(FindClose(mHandle)); in ~ScopedFileHandle() 63 return mHandle; in GetHandle() 67 HANDLE mHandle; member in dawn_native::d3d12::__anon20489::final
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | ShaderGL.cpp | 32 : mHandle(handle), in TranslateTaskGL() 44 mResult = sh::Compile(mHandle, &source, 1, mOptions); 48 mCompileAndCheckShaderInWorkerFunctor(sh::GetObjectCode(mHandle).c_str()); 56 ShHandle getHandle() { return mHandle; } in getHandle() 59 ShHandle mHandle; member in rx::TranslateTaskGL
|
/third_party/glfw/deps/ |
H A D | tinycthread.c | 61 InitializeCriticalSection(&mtx->mHandle); in mtx_init() 80 DeleteCriticalSection(&mtx->mHandle); in mtx_destroy() 89 EnterCriticalSection(&mtx->mHandle); in mtx_lock() 112 int ret = TryEnterCriticalSection(&mtx->mHandle) ? thrd_success : thrd_busy; in mtx_trylock() 115 LeaveCriticalSection(&mtx->mHandle); in mtx_trylock() 128 LeaveCriticalSection(&mtx->mHandle); in mtx_unlock()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | ShaderD3D.cpp | 31 : mHandle(handle), in TranslateTaskD3D() 48 mResult = sh::Compile(mHandle, &srcStrings[0], srcStrings.size(), mOptions); 54 ShHandle mHandle; member in rx::TranslateTaskD3D
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Shader.cpp | 32 Shader::Shader(ResourceManager *manager, GLuint handle) : mHandle(handle), mResourceManager(manager) in Shader() 49 return mHandle; in getName() 281 mResourceManager->deleteShader(mHandle); in release()
|