| Index: tools/gpu/gl/GLTestContext.cpp
|
| diff --git a/tools/gpu/gl/GLTestContext.cpp b/tools/gpu/gl/GLTestContext.cpp
|
| index 3bd814762ee8ae5da169e3b09963469e05c0ccbd..87cf724139c95b4ab8051021c7155e838c431e27 100644
|
| --- a/tools/gpu/gl/GLTestContext.cpp
|
| +++ b/tools/gpu/gl/GLTestContext.cpp
|
| @@ -61,6 +61,18 @@ void GLTestContext::testAbandon() {
|
| }
|
| }
|
|
|
| +void GLTestContext::submit() {
|
| + if (fGL) {
|
| + GR_GL_CALL(fGL.get(), Flush());
|
| + }
|
| +}
|
| +
|
| +void GLTestContext::finish() {
|
| + if (fGL) {
|
| + GR_GL_CALL(fGL.get(), Finish());
|
| + }
|
| +}
|
| +
|
| GLTestContext::GLFenceSync* GLTestContext::GLFenceSync::CreateIfSupported(const GLTestContext* ctx) {
|
| SkAutoTDelete<GLFenceSync> ret(new GLFenceSync);
|
|
|
|
|