Chromium Code Reviews| Index: content/browser/gpu/compositor_util.h |
| diff --git a/content/browser/gpu/compositor_util.h b/content/browser/gpu/compositor_util.h |
| index 3400fba28474e6aa2856e8a93e4ec999a2199ac1..df1b55eaf911f60f4888d0ff2140f12b2e132c40 100644 |
| --- a/content/browser/gpu/compositor_util.h |
| +++ b/content/browser/gpu/compositor_util.h |
| @@ -32,6 +32,10 @@ CONTENT_EXPORT bool IsImplSidePaintingEnabled(); |
| // Only one of one-copy and zero-copy can be enabled at a time. |
| CONTENT_EXPORT bool IsOneCopyUploadEnabled(); |
| +// Returns true if the GpuMemoryBuffer implementation used by the compositor |
| +// supports persistent contents across maps. |
| +CONTENT_EXPORT bool HavePersistentGpuMemoryBuffers(); |
|
reveman
2015/05/22 17:15:13
I'm not sure the name of this function makes sense
danakj
2015/05/26 19:02:52
okay~
danakj
2015/05/26 23:37:34
Done.
|
| + |
| // Returns true if zero-copy uploads is on (via flags, or platform default). |
| // Only one of one-copy and zero-copy can be enabled at a time. |
| CONTENT_EXPORT bool IsZeroCopyUploadEnabled(); |