/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/ |
D | DawnPerfTestPlatform.cpp | 28 dawn_platform::TraceCategory category; 32 {1, dawn_platform::TraceCategory::General}, 33 {1, dawn_platform::TraceCategory::Validation}, 34 {1, dawn_platform::TraceCategory::Recording}, 35 {1, dawn_platform::TraceCategory::GPUWork}, 38 static_assert(static_cast<uint32_t>(dawn_platform::TraceCategory::General) == 0, ""); 39 static_assert(static_cast<uint32_t>(dawn_platform::TraceCategory::Validation) == 1, ""); 40 static_assert(static_cast<uint32_t>(dawn_platform::TraceCategory::Recording) == 2, ""); 41 static_assert(static_cast<uint32_t>(dawn_platform::TraceCategory::GPUWork) == 3, ""); 46 : dawn_platform::Platform(), mTimer(utils::CreateTimer()) { in DawnPerfTestPlatform() [all …]
|
D | DawnPerfTestPlatform.h | 30 class DawnPerfTestPlatform : public dawn_platform::Platform { 39 dawn_platform::TraceCategory categoryIn, in TraceEvent() 47 dawn_platform::TraceCategory category; 62 dawn_platform::TraceCategory category) override;
|
D | DawnPerfTest.cpp | 40 case dawn_platform::TraceCategory::General: in DumpTraceEventsToJSONFile() 43 case dawn_platform::TraceCategory::Validation: in DumpTraceEventsToJSONFile() 46 case dawn_platform::TraceCategory::Recording: in DumpTraceEventsToJSONFile() 49 case dawn_platform::TraceCategory::GPUWork: in DumpTraceEventsToJSONFile() 234 dawn_platform::Platform* platform = gTestEnv->GetPlatform(); in DoRunLoop() 316 case dawn_platform::TraceCategory::Validation: in OutputResults() 320 case dawn_platform::TraceCategory::Recording: in OutputResults()
|
/third_party/skia/third_party/externals/dawn/src/dawn_platform/ |
D | CMakeLists.txt | 15 add_library(dawn_platform ${DAWN_DUMMY_FILE}) target 17 target_compile_definitions(dawn_platform PRIVATE "DAWN_PLATFORM_IMPLEMENTATION") 19 target_compile_definitions(dawn_platform PRIVATE "DAWN_PLATFORM_SHARED_LIBRARY") 22 target_sources(dawn_platform PRIVATE 23 "${DAWN_INCLUDE_DIR}/dawn_platform/DawnPlatform.h" 24 "${DAWN_INCLUDE_DIR}/dawn_platform/dawn_platform_export.h" 32 target_link_libraries(dawn_platform PUBLIC dawn_headers PRIVATE dawn_internal_config dawn_common)
|
D | WorkerThread.h | 21 namespace dawn_platform { 23 class AsyncWorkerThreadPool : public dawn_platform::WorkerTaskPool, public NonCopyable { 25 std::unique_ptr<dawn_platform::WaitableEvent> PostWorkerTask( 26 dawn_platform::PostWorkerTaskCallback callback,
|
D | WorkerThread.cpp | 54 class AsyncWaitableEvent final : public dawn_platform::WaitableEvent { 78 namespace dawn_platform { namespace 80 std::unique_ptr<dawn_platform::WaitableEvent> AsyncWorkerThreadPool::PostWorkerTask( in PostWorkerTask() 81 dawn_platform::PostWorkerTaskCallback callback, in PostWorkerTask()
|
D | DawnPlatform.cpp | 20 namespace dawn_platform { namespace 54 dawn_platform::CachingInterface* Platform::GetCachingInterface(const void* fingerprint, in GetCachingInterface() 59 std::unique_ptr<dawn_platform::WorkerTaskPool> Platform::CreateWorkerTaskPool() { in CreateWorkerTaskPool()
|
D | BUILD.gn | 19 dawn_component("dawn_platform") { 25 "${dawn_root}/src/include/dawn_platform/DawnPlatform.h", 26 "${dawn_root}/src/include/dawn_platform/dawn_platform_export.h",
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | AsyncTask.h | 25 namespace dawn_platform { 41 explicit AsyncTaskManager(dawn_platform::WorkerTaskPool* workerTaskPool); 52 std::unique_ptr<dawn_platform::WaitableEvent> waitableEvent; 60 dawn_platform::WorkerTaskPool* mWorkerTaskPool;
|
D | Instance.h | 31 namespace dawn_platform { 74 void SetPlatform(dawn_platform::Platform* platform); 75 dawn_platform::Platform* GetPlatform(); 104 dawn_platform::Platform* mPlatform = nullptr; 105 std::unique_ptr<dawn_platform::Platform> mDefaultPlatform;
|
D | PersistentCache.h | 23 namespace dawn_platform { 83 dawn_platform::CachingInterface* GetPlatformCache(); 88 dawn_platform::CachingInterface* mCache = nullptr;
|
D | PersistentCache.cpp | 54 dawn_platform::CachingInterface* PersistentCache::GetPlatformCache() { in GetPlatformCache() 58 dawn_platform::Platform* platform = mDevice->GetPlatform(); in GetPlatformCache()
|
D | Instance.cpp | 278 void InstanceBase::SetPlatform(dawn_platform::Platform* platform) { in SetPlatform() 282 dawn_platform::Platform* InstanceBase::GetPlatform() { in GetPlatform() 288 mDefaultPlatform = std::make_unique<dawn_platform::Platform>(); in GetPlatform()
|
D | Device.h | 36 namespace dawn_platform { 129 dawn_platform::Platform* GetPlatform() const; 355 dawn_platform::WorkerTaskPool* GetWorkerTaskPool() const; 538 std::unique_ptr<dawn_platform::WorkerTaskPool> mWorkerTaskPool;
|
D | AsyncTask.cpp | 7 AsyncTaskManager::AsyncTaskManager(dawn_platform::WorkerTaskPool* workerTaskPool) in AsyncTaskManager()
|
/third_party/skia/third_party/externals/dawn/src/dawn_platform/tracing/ |
D | TraceEvent.h | 648 #define TRACE_EVENT_API_GET_CATEGORY_ENABLED dawn_platform::tracing::GetTraceCategoryEnabledFlag 661 #define TRACE_EVENT_API_ADD_TRACE_EVENT dawn_platform::tracing::AddTraceEvent 682 INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO(platform, ::dawn_platform::TraceCategory::category) \ 684 dawn_platform::TraceEvent::addTraceEvent( \ 686 dawn_platform::TraceEvent::noEventId, flags, __VA_ARGS__); \ 694 INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO(platform, ::dawn_platform::TraceCategory::category) \ 695 dawn_platform::TraceEvent::TraceEndOnScopeClose INTERNALTRACEEVENTUID(profileScope); \ 698 dawn_platform::TraceEvent::addTraceEvent( \ 700 dawn_platform::TraceEvent::noEventId, TRACE_EVENT_FLAG_NONE, __VA_ARGS__); \ 710 INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO(platform, ::dawn_platform::TraceCategory::category) \ [all …]
|
D | EventTracer.h | 22 namespace dawn_platform {
|
D | EventTracer.cpp | 19 namespace dawn_platform { namespace tracing { namespace
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | D3D12CachingTests.cpp | 30 class FakePersistentCache : public dawn_platform::CachingInterface { 75 class DawnTestPlatform : public dawn_platform::Platform { 77 DawnTestPlatform(dawn_platform::CachingInterface* cachingInterface) in DawnTestPlatform() 82 dawn_platform::CachingInterface* GetCachingInterface(const void* fingerprint, in GetCachingInterface() 87 dawn_platform::CachingInterface* mCachingInterface = nullptr; 92 std::unique_ptr<dawn_platform::Platform> CreateTestPlatform() override { in CreateTestPlatform()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | AsyncTaskTests.cpp | 67 dawn_platform::Platform platform; in TEST_F() 68 std::unique_ptr<dawn_platform::WorkerTaskPool> pool = platform.CreateWorkerTaskPool(); in TEST_F()
|
D | ConcurrentCacheTests.cpp | 56 dawn_platform::Platform mPlatform; 57 std::unique_ptr<dawn_platform::WorkerTaskPool> mPool;
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | QueueMTL.mm | 24 #include "dawn_platform/DawnPlatform.h" 25 #include "dawn_platform/tracing/TraceEvent.h"
|
/third_party/skia/third_party/externals/dawn/src/include/dawn_native/ |
D | DawnNative.h | 25 namespace dawn_platform { 188 void SetPlatform(dawn_platform::Platform* platform);
|
/third_party/skia/third_party/externals/dawn/src/include/dawn_platform/ |
D | DawnPlatform.h | 26 namespace dawn_platform {
|
/third_party/skia/third_party/externals/dawn/docs/ |
D | overview.md | 19 …- [`dawn_platform`](../src/dawn_platform): definition of interfaces for dependency injection in `d…
|