MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / NewEglEnvironment

Method NewEglEnvironment

tensorflow/lite/delegates/gpu/gl/egl_environment.cc:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46} // namespace
47
48Status EglEnvironment::NewEglEnvironment(
49 std::unique_ptr<EglEnvironment>* egl_environment) {
50 *egl_environment = absl::make_unique<EglEnvironment>();
51 RETURN_IF_ERROR((*egl_environment)->Init());
52 return OkStatus();
53}
54
55EglEnvironment::~EglEnvironment() {
56 if (dummy_framebuffer_ != GL_INVALID_INDEX) {

Callers

nothing calls this directly

Calls 2

OkStatusFunction · 0.85
InitMethod · 0.45

Tested by

no test coverage detected