Home
last modified time | relevance | path

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

/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()
60 PlatformMethods().context = context; in ANGLEGetDisplayPlatform()
61 *platformMethodsOut = &PlatformMethods(); in ANGLEGetDisplayPlatform()
68 PlatformMethods() = angle::PlatformMethods(); in ANGLEResetDisplayPlatform()
DDisplay.cpp483 void Display_logError(angle::PlatformMethods *platform, const char *errorMessage) in Display_logError()
488 void Display_logWarning(angle::PlatformMethods *platform, const char *warningMessage) in Display_logWarning()
493 void Display_logInfo(angle::PlatformMethods *platform, const char *infoMessage) in Display_logInfo()
516 angle::PlatformMethods *platformMethods = ANGLEPlatformCurrent(); in ANGLESetDefaultDisplayPlatform()
803 const angle::PlatformMethods *platformMethods = in setupDisplayPlatform()
804 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()
/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.cpp60 void EmptyPlatformMethod(angle::PlatformMethods *, const char *) {} in EmptyPlatformMethod() argument
62 void CustomLogError(angle::PlatformMethods *platform, const char *errorMessage) in CustomLogError()
68 void OverrideWorkaroundsD3D(angle::PlatformMethods *platform, angle::FeaturesD3D *featuresD3D) in OverrideWorkaroundsD3D()
74 angle::TraceEventHandle AddPerfTraceEvent(angle::PlatformMethods *platform, in AddPerfTraceEvent()
106 const unsigned char *GetPerfTraceCategoryEnabled(angle::PlatformMethods *platform, in GetPerfTraceCategoryEnabled()
124 void UpdateTraceEventDuration(angle::PlatformMethods *platform, in UpdateTraceEventDuration()
132 double MonotonicallyIncreasingTime(angle::PlatformMethods *platform) in MonotonicallyIncreasingTime()
DANGLEPerfTest.h209 angle::PlatformMethods mPlatformMethods;
/external/angle/util/
DEGLPlatformParameters.h17 struct PlatformMethods;
92 angle::PlatformMethods *platformMethods = nullptr;
DEGLWindow.h26 struct PlatformMethods;
87 const angle::PlatformMethods *getPlatformMethods() const { return mPlatform.platformMethods; } in getPlatformMethods()
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp143 static const unsigned char* ANGLE_getTraceCategoryEnabledFlag(angle::PlatformMethods* platform, in ANGLE_getTraceCategoryEnabledFlag()
148 static angle::TraceEventHandle ANGLE_addTraceEvent(angle::PlatformMethods* platform, in ANGLE_addTraceEvent()
165 static void ANGLE_updateTraceEventDuration(angle::PlatformMethods* platform, in ANGLE_updateTraceEventDuration()
172 static double ANGLE_monotonicallyIncreasingTime(angle::PlatformMethods* platform) { in ANGLE_monotonicallyIncreasingTime()
252 angle::PlatformMethods* platformMethods = nullptr; in ANGLEGLContext()
/external/angle/src/third_party/trace_event/
Dtrace_event.h672 static inline angle::TraceEventHandle addTraceEvent(angle::PlatformMethods *platform, in addTraceEvent()
684 static inline angle::TraceEventHandle addTraceEvent(angle::PlatformMethods *platform, in addTraceEvent()
702 static inline angle::TraceEventHandle addTraceEvent(angle::PlatformMethods *platform, in addTraceEvent()
735 void initialize(angle::PlatformMethods *platform, in initialize()
765 angle::PlatformMethods *platform;
/external/angle/src/tests/deqp_support/
DtcuANGLEPlatform.h63 angle::PlatformMethods mPlatformMethods;
DtcuANGLEPlatform.cpp203 static_assert(sizeof(eglw::EGLAttrib) == sizeof(angle::PlatformMethods *), in initAttribs()
Dangle_deqp_gtest.cpp47 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/tests/test_utils/
DANGLETest.cpp58 void TestPlatform_logError(PlatformMethods *platform, const char *errorMessage) in TestPlatform_logError()
69 void TestPlatform_logWarning(PlatformMethods *platform, const char *warningMessage) in TestPlatform_logWarning()
85 void TestPlatform_logInfo(PlatformMethods *platform, const char *infoMessage) {} in TestPlatform_logInfo()
87 void TestPlatform_overrideWorkaroundsD3D(PlatformMethods *platform, FeaturesD3D *featuresD3D) in TestPlatform_overrideWorkaroundsD3D()
96 void TestPlatform_overrideFeaturesVk(PlatformMethods *platform, FeaturesVk *featuresVulkan) in TestPlatform_overrideFeaturesVk()
343 PlatformMethods gDefaultPlatformMethods;
DANGLETest.h674 extern angle::PlatformMethods gDefaultPlatformMethods;
/external/angle/src/libANGLE/renderer/gl/cgl/
DDisplayCGL.mm30 # include "platform/PlatformMethods.h"
/external/angle/src/
DlibGLESv2.gni196 "include/platform/PlatformMethods.h",
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp742 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in initialize()
2198 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in synchronizeCpuGpuTime()
2417 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in checkCompletedGpuEvents()
2468 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in flushGpuEvents()
DRendererVk.cpp2553 angle::PlatformMethods *platform = ANGLEPlatformCurrent(); in initFeatures()
/external/angle/src/libANGLE/renderer/metal/
DDisplayMtl.mm983 angle::PlatformMethods *platform = ANGLEPlatformCurrent();