1 // 2 // Copyright 2020 The ANGLE Project Authors. All rights reserved. 3 // Use of this source code is governed by a BSD-style license that can be 4 // found in the LICENSE file. 5 // 6 7 // RendererEAGL.cpp: Implements the class methods for RendererEAGL. 8 9 #include "libANGLE/renderer/gl/eagl/RendererEAGL.h" 10 #include "libANGLE/renderer/gl/eagl/DisplayEAGL.h" 11 12 namespace rx 13 { 14 RendererEAGL(std::unique_ptr<FunctionsGL> functions,const egl::AttributeMap & attribMap,DisplayEAGL * display)15RendererEAGL::RendererEAGL(std::unique_ptr<FunctionsGL> functions, 16 const egl::AttributeMap &attribMap, 17 DisplayEAGL *display) 18 : RendererGL(std::move(functions), attribMap, display), mDisplay(display) 19 {} 20 ~RendererEAGL()21RendererEAGL::~RendererEAGL() {} 22 createWorkerContext(std::string * infoLog)23WorkerContext *RendererEAGL::createWorkerContext(std::string *infoLog) 24 { 25 return mDisplay->createWorkerContext(infoLog); 26 } 27 28 } // namespace rx 29