Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / src / gpu / GrDrawTargetCaps.h
index e468bc4..f13aa53 100644 (file)
@@ -46,6 +46,8 @@ public:
     bool gpuTracingSupport() const { return fGpuTracingSupport; }
     bool compressedTexSubImageSupport() const { return fCompressedTexSubImageSupport; }
 
+    bool useDrawInsteadOfClear() const { return fUseDrawInsteadOfClear; }
+
     /**
      * Indicates whether GPU->CPU memory mapping for GPU resources such as vertex buffers and
      * textures allows partial mappings or full mappings.
@@ -104,6 +106,9 @@ protected:
     bool fGpuTracingSupport         : 1;
     bool fCompressedTexSubImageSupport : 1;
 
+    // Driver workaround
+    bool fUseDrawInsteadOfClear     : 1;
+
     uint32_t fMapBufferFlags;
 
     int fMaxRenderTargetSize;