// // Copyright 2015 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Platform.cpp: Implementation methods for angle::Platform. #include <platform/PlatformMethods.h> #include <cstring> #include "common/debug.h" namespace { // TODO(jmadill): Make methods owned by egl::Display. angle::PlatformMethods &PlatformMethods() { … } } // anonymous namespace angle::PlatformMethods *ANGLEPlatformCurrent() { … } bool ANGLE_APIENTRY ANGLEGetDisplayPlatform(angle::EGLDisplayType display, const char *const methodNames[], unsigned int methodNameCount, void *context, void *platformMethods) { … } void ANGLE_APIENTRY ANGLEResetDisplayPlatform(angle::EGLDisplayType display) { … }