21 std::ostringstream& driverinfo,
22 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) {
27 (*glContext)->makeCurrent();
34 driverinfo <<
"GL Version: " << glGetString(GL_VERSION) <<
"\n";
35 driverinfo <<
"GL Vendor: " << glGetString(GL_VENDOR) <<
"\n";
36 driverinfo <<
"GL Renderer: " << glGetString(GL_RENDERER) <<
"\n";
37 driverinfo <<
"GL Extensions: " << glGetString(GL_EXTENSIONS) <<
"\n";
sk_sp< GrDirectContext > create_direct_context(std::ostringstream &driverinfo, std::unique_ptr< sk_gpu_test::GLTestContext > *glContext)