Home
last modified time | relevance | path

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

12

/external/angle/include/platform/
DPlatformMethods.h46 struct PlatformMethods;
56 using CurrentTimeFunc = double (*)(PlatformMethods *platform);
57 inline double DefaultCurrentTime(PlatformMethods *platform) in DefaultCurrentTime()
65 using MonotonicallyIncreasingTimeFunc = double (*)(PlatformMethods *platform);
66 inline double DefaultMonotonicallyIncreasingTime(PlatformMethods *platform) in DefaultMonotonicallyIncreasingTime()
74 using LogErrorFunc = void (*)(PlatformMethods *platform, const char *errorMessage);
75 inline void DefaultLogError(PlatformMethods *platform, const char *errorMessage) {} in DefaultLogError()
78 using LogWarningFunc = void (*)(PlatformMethods *platform, const char *warningMessage);
79 inline void DefaultLogWarning(PlatformMethods *platform, const char *warningMessage) {} in DefaultLogWarning()
82 using LogInfoFunc = void (*)(PlatformMethods *platform, const char *infoMessage);
[all …]
/external/angle/src/libANGLE/
DPlatform.cpp18 angle::PlatformMethods &PlatformMethods() in PlatformMethods() function
20 static angle::PlatformMethods platformMethods; in PlatformMethods()
25 angle::PlatformMethods *ANGLEPlatformCurrent() in ANGLEPlatformCurrent()
27 return &PlatformMethods(); in ANGLEPlatformCurrent()
36 angle::PlatformMethods **platformMethodsOut = in ANGLEGetDisplayPlatform()
37 reinterpret_cast<angle::PlatformMethods **>(platformMethods); in ANGLEGetDisplayPlatform()
67 PlatformMethods().context = context; in ANGLEGetDisplayPlatform()
68 *platformMethodsOut = &PlatformMethods(); in ANGLEGetDisplayPlatform()
75 PlatformMethods() = angle::PlatformMethods(); in ANGLEResetDisplayPlatform()
DDisplay.cpp634 void Display_logError(angle::PlatformMethods *platform, const char *errorMessage) in Display_logError()
639 void Display_logWarning(angle::PlatformMethods *platform, const char *warningMessage) in Display_logWarning()
644 void Display_logInfo(angle::PlatformMethods *platform, const char *infoMessage) in Display_logInfo()
667 angle::PlatformMethods *platformMethods = ANGLEPlatformCurrent(); in ANGLESetDefaultDisplayPlatform()
1026 const angle::PlatformMethods *platformMethods = in setupDisplayPlatform()
1027 reinterpret_cast<const angle::PlatformMethods *>( in setupDisplayPlatform()
/external/angle/src/common/
Devent_tracer.h13 const unsigned char *GetTraceCategoryEnabledFlag(PlatformMethods *platform, const char *name);
14 angle::TraceEventHandle AddTraceEvent(PlatformMethods *platform,
Devent_tracer.cpp12 const unsigned char *GetTraceCategoryEnabledFlag(PlatformMethods *platform, const char *name) in GetTraceCategoryEnabledFlag()
27 angle::TraceEventHandle AddTraceEvent(PlatformMethods *platform, in AddTraceEvent()
DWorkerThread.cpp209 DelegateWorkerPool(PlatformMethods *platform) : mPlatform(platform) {} in DelegateWorkerPool()
217 PlatformMethods *mPlatform;
281 PlatformMethods *platform) in Create()
DWorkerThread.h117 static std::shared_ptr<WorkerThreadPool> Create(size_t numThreads, PlatformMethods *platform);
/external/angle/src/tests/perf_tests/
DEGLInitializePerf.cpp29 double CapturePlatform_currentTime(angle::PlatformMethods *platformMethods) in CapturePlatform_currentTime()
35 void CapturePlatform_histogramCustomCounts(angle::PlatformMethods *platformMethods, in CapturePlatform_histogramCustomCounts()
118 angle::PlatformMethods *platformMethods = nullptr; in SetUp()
DANGLEPerfTest.cpp75 void EmptyPlatformMethod(PlatformMethods *, const char *) {} in EmptyPlatformMethod() argument
77 void CustomLogError(PlatformMethods *platform, const char *errorMessage) in CustomLogError()
83 TraceEventHandle AddPerfTraceEvent(PlatformMethods *platform, in AddPerfTraceEvent()
116 const unsigned char *GetPerfTraceCategoryEnabled(PlatformMethods *platform, in GetPerfTraceCategoryEnabled()
134 void UpdateTraceEventDuration(PlatformMethods *platform, in UpdateTraceEventDuration()
142 double MonotonicallyIncreasingTime(PlatformMethods *platform) in MonotonicallyIncreasingTime()
DANGLEPerfTest.h262 angle::PlatformMethods mPlatformMethods;
/external/angle/util/
DEGLPlatformParameters.h21 struct PlatformMethods;
105 angle::PlatformMethods *platformMethods = nullptr;
DEGLWindow.h27 struct PlatformMethods;
153 const angle::PlatformMethods *getPlatformMethods() const { return mPlatform.platformMethods; } in getPlatformMethods()
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp148 static const unsigned char* ANGLE_getTraceCategoryEnabledFlag(angle::PlatformMethods* platform, in ANGLE_getTraceCategoryEnabledFlag()
153 static angle::TraceEventHandle ANGLE_addTraceEvent(angle::PlatformMethods* platform, in ANGLE_addTraceEvent()
170 static void ANGLE_updateTraceEventDuration(angle::PlatformMethods* platform, in ANGLE_updateTraceEventDuration()
177 static double ANGLE_monotonicallyIncreasingTime(angle::PlatformMethods* platform) { in ANGLE_monotonicallyIncreasingTime()
260 angle::PlatformMethods* platformMethods = nullptr; in ANGLEGLContext()
/external/angle/src/tests/capture_replay_tests/
DCaptureReplayTests.cpp66 [[maybe_unused]] void LogError(angle::PlatformMethods *platform, const char *errorMessage) in LogError()
71 [[maybe_unused]] void LogWarning(angle::PlatformMethods *platform, const char *warningMessage) in LogWarning()
76 [[maybe_unused]] void LogInfo(angle::PlatformMethods *platform, const char *infoMessage) in LogInfo()
435 angle::PlatformMethods mPlatformMethods;
/external/angle/src/tests/deqp_support/
DtcuANGLEPlatform.cpp81 angle::PlatformMethods mPlatformMethods;
305 static_assert(sizeof(eglw::EGLAttrib) == sizeof(angle::PlatformMethods *), in initAttribs()
Dangle_deqp_gtest.cpp49 void HandlePlatformError(PlatformMethods *platform, const char *errorMessage) in HandlePlatformError()
/external/angle/src/tests/egl_tests/
DEGLProgramCacheControlTest.cpp19 void TestCacheProgram(PlatformMethods *platform,
72 void TestCacheProgram(PlatformMethods *platform, in TestCacheProgram()
/external/angle/src/common/base/anglebase/trace_event/
Dtrace_event.h708 static inline angle::TraceEventHandle addTraceEvent(angle::PlatformMethods *platform, in addTraceEvent()
746 void initialize(angle::PlatformMethods *platform, in initialize()
776 angle::PlatformMethods *platform;
/external/angle/src/tests/test_utils/
DANGLETest.cpp63 void TestPlatform_logError(PlatformMethods *platform, const char *errorMessage) in TestPlatform_logError()
74 void TestPlatform_logWarning(PlatformMethods *platform, const char *warningMessage) in TestPlatform_logWarning()
94 void TestPlatform_logInfo(PlatformMethods *platform, const char *infoMessage) {} in TestPlatform_logInfo()
393 PlatformMethods gDefaultPlatformMethods;
DANGLETest.h735 extern angle::PlatformMethods gDefaultPlatformMethods;
/external/angle/src/libANGLE/renderer/metal/
Dmtl_library_cache.mm24 #include "platform/PlatformMethods.h"
Dmtl_utils.mm26 #include "platform/PlatformMethods.h"
/external/angle/src/libANGLE/renderer/gl/cgl/
DDisplayCGL.mm27 #import "platform/PlatformMethods.h"
/external/angle/src/
DlibGLESv2.gni247 "include/platform/PlatformMethods.h",
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp1374 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in initialize()
3756 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in synchronizeCpuGpuTime()
3970 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in checkCompletedGpuEvents()
4020 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in flushGpuEvents()

12