Home
last modified time | relevance | path

Searched refs:dawn_platform (Results 1 – 25 of 34) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DDawnPerfTestPlatform.cpp28 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 …]
DDawnPerfTestPlatform.h30 class DawnPerfTestPlatform : public dawn_platform::Platform {
39 dawn_platform::TraceCategory categoryIn, in TraceEvent()
47 dawn_platform::TraceCategory category;
62 dawn_platform::TraceCategory category) override;
DDawnPerfTest.cpp40 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/
DCMakeLists.txt15 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)
DWorkerThread.h21 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,
DWorkerThread.cpp54 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()
DDawnPlatform.cpp20 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()
DBUILD.gn19 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/
DAsyncTask.h25 namespace dawn_platform {
41 explicit AsyncTaskManager(dawn_platform::WorkerTaskPool* workerTaskPool);
52 std::unique_ptr<dawn_platform::WaitableEvent> waitableEvent;
60 dawn_platform::WorkerTaskPool* mWorkerTaskPool;
DInstance.h31 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;
DPersistentCache.h23 namespace dawn_platform {
83 dawn_platform::CachingInterface* GetPlatformCache();
88 dawn_platform::CachingInterface* mCache = nullptr;
DPersistentCache.cpp54 dawn_platform::CachingInterface* PersistentCache::GetPlatformCache() { in GetPlatformCache()
58 dawn_platform::Platform* platform = mDevice->GetPlatform(); in GetPlatformCache()
DInstance.cpp278 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()
DDevice.h36 namespace dawn_platform {
129 dawn_platform::Platform* GetPlatform() const;
355 dawn_platform::WorkerTaskPool* GetWorkerTaskPool() const;
538 std::unique_ptr<dawn_platform::WorkerTaskPool> mWorkerTaskPool;
DAsyncTask.cpp7 AsyncTaskManager::AsyncTaskManager(dawn_platform::WorkerTaskPool* workerTaskPool) in AsyncTaskManager()
/third_party/skia/third_party/externals/dawn/src/dawn_platform/tracing/
DTraceEvent.h648 #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 …]
DEventTracer.h22 namespace dawn_platform {
DEventTracer.cpp19 namespace dawn_platform { namespace tracing { namespace
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DD3D12CachingTests.cpp30 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/
DAsyncTaskTests.cpp67 dawn_platform::Platform platform; in TEST_F()
68 std::unique_ptr<dawn_platform::WorkerTaskPool> pool = platform.CreateWorkerTaskPool(); in TEST_F()
DConcurrentCacheTests.cpp56 dawn_platform::Platform mPlatform;
57 std::unique_ptr<dawn_platform::WorkerTaskPool> mPool;
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DQueueMTL.mm24 #include "dawn_platform/DawnPlatform.h"
25 #include "dawn_platform/tracing/TraceEvent.h"
/third_party/skia/third_party/externals/dawn/src/include/dawn_native/
DDawnNative.h25 namespace dawn_platform {
188 void SetPlatform(dawn_platform::Platform* platform);
/third_party/skia/third_party/externals/dawn/src/include/dawn_platform/
DDawnPlatform.h26 namespace dawn_platform {
/third_party/skia/third_party/externals/dawn/docs/
Doverview.md19 …- [`dawn_platform`](../src/dawn_platform): definition of interfaces for dependency injection in `d…

12