Index: src/gpu/gl/GrGLGpu.cpp |
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp |
index 91201009668b2772edce756570920b4c12018a0f..1447b585a3e889ad68ce7137c471320af2455362 100644 |
--- a/src/gpu/gl/GrGLGpu.cpp |
+++ b/src/gpu/gl/GrGLGpu.cpp |
@@ -2727,6 +2727,15 @@ bool GrGLGpu::canCopySurface(const GrSurface* dst, |
return false; |
} |
+void GrGLGpu::xferBarrier(GrXferBarrierType type) { |
+ switch (type) { |
+ case kTexture_GrXferBarrierType: |
+ SkASSERT(this->caps()->textureBarrierSupport()); |
+ GL_CALL(TextureBarrier()); |
+ return; |
+ } |
+} |
+ |
void GrGLGpu::didAddGpuTraceMarker() { |
if (this->caps()->gpuTracingSupport()) { |
const GrTraceMarkerSet& markerArray = this->getActiveTraceMarkers(); |