Home
last modified time | relevance | path

Searched refs:mInstance (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DRenderbuffer.cpp334 mInstance = instance; in Renderbuffer()
339 delete mInstance; in ~Renderbuffer()
346 mInstance->addProxyRef(this); in addRef()
353 mInstance->releaseProxy(this); in release()
362 return mInstance->getRenderTarget(); in getRenderTarget()
369 return mInstance->createSharedImage(); in createSharedImage()
374 return mInstance->isShared(); in isShared()
379 return mInstance->getWidth(); in getWidth()
384 return mInstance->getHeight(); in getHeight()
389 return mInstance->getDepth(); in getDepth()
[all …]
DRenderbuffer.h240 RenderbufferInterface *mInstance;
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DAudioInputTester.java22 private static AudioInputTester mInstance; field in AudioInputTester
33 if (mInstance == null) { in getInstance()
34 mInstance = new AudioInputTester(); in getInstance()
36 return mInstance; in getInstance()
DAudioOutputTester.java25 private static AudioOutputTester mInstance; field in AudioOutputTester
28 if (mInstance == null) { in getInstance()
29 mInstance = new AudioOutputTester(); in getInstance()
31 return mInstance; in getInstance()
DAudioMidiTester.java55 private static AudioMidiTester mInstance; field in AudioMidiTester
78 mInstance = this; in AudioMidiTester()
110 return mInstance; in getInstance()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp177 if (mInstance != VK_NULL_HANDLE) in ~VulkanHelper()
179 vkDestroyInstance(mInstance, nullptr); in ~VulkanHelper()
181 mInstance = VK_NULL_HANDLE; in ~VulkanHelper()
197 ASSERT(mInstance == VK_NULL_HANDLE); in initialize()
251 result = vkCreateInstance(&instanceCreateInfo, nullptr, &mInstance); in initialize()
253 ASSERT(mInstance != VK_NULL_HANDLE); in initialize()
255 volkLoadInstance(mInstance); in initialize()
258 std::vector<VkPhysicalDevice> physicalDevices = EnumeratePhysicalDevices(mInstance); in initialize()
363 vkGetInstanceProcAddr(mInstance, "vkGetPhysicalDeviceImageFormatProperties2")); in initialize()
365 vkGetInstanceProcAddr(mInstance, "vkGetMemoryFdKHR")); in initialize()
[all …]
DVulkanHelper.h26 VkInstance getInstance() const { return mInstance; } in getInstance()
119 VkInstance mInstance = VK_NULL_HANDLE; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBackendVk.cpp132 mFunctions.DestroyDebugUtilsMessengerEXT(mInstance, mDebugUtilsMessenger, nullptr); in ~VulkanInstance()
137 if (mInstance != VK_NULL_HANDLE) { in ~VulkanInstance()
138 mFunctions.DestroyInstance(mInstance, nullptr); in ~VulkanInstance()
139 mInstance = VK_NULL_HANDLE; in ~VulkanInstance()
148 return mInstance; in GetVkInstance()
247 DAWN_TRY(mFunctions.LoadInstanceProcs(mInstance, mGlobalInfo)); in Initialize()
253 DAWN_TRY_ASSIGN(mPhysicalDevices, GatherPhysicalDevices(mInstance, mFunctions)); in Initialize()
369 DAWN_TRY(CheckVkSuccess(mFunctions.CreateInstance(&createInfo, nullptr, &mInstance), in CreateVkInstance()
388 mInstance, &createInfo, nullptr, &*mDebugUtilsMessenger), in RegisterDebugUtils()
DBackendVk.h61 VkInstance mInstance = VK_NULL_HANDLE; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DAdapter.cpp23 : mInstance(instance), mBackend(backend) { in AdapterBase()
89 return mInstance; in GetInstance()
99 Feature featureEnum = mInstance->FeatureNameToEnum(featureStr); in SupportsAllRequestedFeatures()
142 if (mInstance->ConsumedError(CreateDeviceInternal(&result, descriptor))) { in CreateDevice()
170 Feature featureEnum = mInstance->FeatureNameToEnum(featureStr); in CreateDeviceInternal()
197 mInstance->ConsumedError(ResetInternalDeviceForTestingImpl()); in ResetInternalDeviceForTesting()
DBackendConnection.cpp20 : mInstance(instance), mType(type) { in BackendConnection()
28 return mInstance; in GetInstance()
DSurface.cpp143 : mInstance(instance) { in Surface()
198 return mInstance.Get(); in GetInstance()
DBackendConnection.h44 InstanceBase* mInstance = nullptr;
DSurface.h77 Ref<InstanceBase> mInstance; variable
DAdapter.h84 InstanceBase* mInstance = nullptr; variable
DDevice.h496 Ref<InstanceBase> mInstance; variable
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
DMidiDeviceMonitor.java51 private static MidiDeviceMonitor mInstance; field in MidiDeviceMonitor
129 if (mInstance == null) { in getInstance()
130 mInstance = new MidiDeviceMonitor(midiManager); in getInstance()
132 return mInstance; in getInstance()
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/
DSystemInfo_vulkan.cpp32 if (mInstance != VK_NULL_HANDLE) in ~VulkanLibrary()
37 pfnDestroyInstance(mInstance, nullptr); in ~VulkanLibrary()
85 pfnCreateInstance(&createInstanceInfo, nullptr, &mInstance) != VK_SUCCESS) in getVulkanInstance()
90 return mInstance; in getVulkanInstance()
101 VkInstance mInstance = VK_NULL_HANDLE; member in angle::VulkanLibrary
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DWindowSurfaceTests.cpp55 mInstance = wgpu::CreateInstance(); in SetUp()
66 ASSERT_EQ(mInstance.CreateSurface(descriptor).Get() != nullptr, succeeds); in AssertSurfaceCreation()
79 wgpu::Instance mInstance; member in WindowSurfaceInstanceTests
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRendererVk.cpp949 mInstance(VK_NULL_HANDLE), in RendererVk()
1046 vkDestroyDebugUtilsMessengerEXT(mInstance, mDebugUtilsMessenger, nullptr); in onDestroy()
1052 vkDestroyDebugReportCallbackEXT(mInstance, mDebugReportCallback, nullptr); in onDestroy()
1057 if (mInstance) in onDestroy()
1059 vkDestroyInstance(mInstance, nullptr); in onDestroy()
1060 mInstance = VK_NULL_HANDLE; in onDestroy()
1260 vkGetInstanceProcAddr(mInstance, "vkEnumerateInstanceVersion")); in initialize()
1312 ANGLE_VK_TRY(displayVk, vkCreateInstance(&instanceInfo, nullptr, &mInstance)); in initialize()
1315 volkLoadInstance(mInstance); in initialize()
1322 InitDebugUtilsEXTFunctions(mInstance); in initialize()
[all …]
DRendererVk.h181 VkInstance getInstance() const { return mInstance; } in getInstance()
538 VkInstance mInstance; variable
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
DTestSuite.h139 static TestSuite *GetInstance() { return mInstance; } in GetInstance()
171 static TestSuite *mInstance; variable
DTestSuite.cpp970 TestSuite *TestSuite::mInstance = nullptr; member in angle::TestSuite
1048 ASSERT(mInstance == nullptr); in TestSuite()
1049 mInstance = this; in TestSuite()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DDawnPerfTest.cpp127 mInstance->SetPlatform(mPlatform.get()); in SetUp()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp635 mInstance = CreateInstanceAndDiscoverAdapters(); in SetUp()
636 ASSERT(mInstance); in SetUp()
642 mInstance.reset(); in TearDown()
658 return mInstance.get(); in GetInstance()

12