Home
last modified time | relevance | path

Searched refs:PlatformMethods (Results 1 – 25 of 26) 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.cpp605 void Display_logError(angle::PlatformMethods *platform, const char *errorMessage) in Display_logError()
610 void Display_logWarning(angle::PlatformMethods *platform, const char *warningMessage) in Display_logWarning()
615 void Display_logInfo(angle::PlatformMethods *platform, const char *infoMessage) in Display_logInfo()
638 angle::PlatformMethods *platformMethods = ANGLEPlatformCurrent(); in ANGLESetDefaultDisplayPlatform()
985 const angle::PlatformMethods *platformMethods = in setupDisplayPlatform()
986 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.cpp226 DelegateWorkerPool(PlatformMethods *platform) : mPlatform(platform) {} in DelegateWorkerPool()
234 PlatformMethods *mPlatform;
288 PlatformMethods *platform) in Create()
DWorkerThread.h94 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.cpp70 void EmptyPlatformMethod(PlatformMethods *, const char *) {} in EmptyPlatformMethod() argument
72 void CustomLogError(PlatformMethods *platform, const char *errorMessage) in CustomLogError()
78 TraceEventHandle AddPerfTraceEvent(PlatformMethods *platform, in AddPerfTraceEvent()
110 const unsigned char *GetPerfTraceCategoryEnabled(PlatformMethods *platform, in GetPerfTraceCategoryEnabled()
128 void UpdateTraceEventDuration(PlatformMethods *platform, in UpdateTraceEventDuration()
136 double MonotonicallyIncreasingTime(PlatformMethods *platform) in MonotonicallyIncreasingTime()
DANGLEPerfTest.h259 angle::PlatformMethods mPlatformMethods;
/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/util/
DEGLPlatformParameters.h21 struct PlatformMethods;
105 angle::PlatformMethods *platformMethods = nullptr;
DEGLWindow.h27 struct PlatformMethods;
155 const angle::PlatformMethods *getPlatformMethods() const { return mPlatform.platformMethods; } in getPlatformMethods()
/external/angle/src/tests/capture_replay_tests/
DCaptureReplayTests.cpp62 [[maybe_unused]] void LogError(angle::PlatformMethods *platform, const char *errorMessage) in LogError()
67 [[maybe_unused]] void LogWarning(angle::PlatformMethods *platform, const char *warningMessage) in LogWarning()
72 [[maybe_unused]] void LogInfo(angle::PlatformMethods *platform, const char *infoMessage) in LogInfo()
446 angle::PlatformMethods mPlatformMethods;
/external/angle/src/tests/deqp_support/
DtcuANGLEPlatform.cpp77 angle::PlatformMethods mPlatformMethods;
266 static_assert(sizeof(eglw::EGLAttrib) == sizeof(angle::PlatformMethods *), in initAttribs()
Dangle_deqp_gtest.cpp48 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.cpp59 void TestPlatform_logError(PlatformMethods *platform, const char *errorMessage) in TestPlatform_logError()
70 void TestPlatform_logWarning(PlatformMethods *platform, const char *warningMessage) in TestPlatform_logWarning()
86 void TestPlatform_logInfo(PlatformMethods *platform, const char *infoMessage) {} in TestPlatform_logInfo()
375 PlatformMethods gDefaultPlatformMethods;
DANGLETest.h691 extern angle::PlatformMethods gDefaultPlatformMethods;
/external/angle/src/libANGLE/renderer/metal/
Dmtl_library_cache.mm26 #include "platform/PlatformMethods.h"
DDisplayMtl.mm29 #include "platform/PlatformMethods.h"
/external/angle/src/libANGLE/renderer/gl/cgl/
DDisplayCGL.mm27 #import "platform/PlatformMethods.h"
/external/angle/src/
DlibGLESv2.gni238 "include/platform/PlatformMethods.h",
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp1370 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in initialize()
3574 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in synchronizeCpuGpuTime()
3787 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in checkCompletedGpuEvents()
3837 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in flushGpuEvents()

12