Index: content/browser/gpu/compositor_util.h |
diff --git a/content/browser/gpu/compositor_util.h b/content/browser/gpu/compositor_util.h |
index 140eaf8fd38f4cee63e2c7af8abaf30068e78baa..d75f20155ce3ae666a9f2a67fac8a64a32f18772 100644 |
--- a/content/browser/gpu/compositor_util.h |
+++ b/content/browser/gpu/compositor_util.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ |
#include "base/values.h" |
+#include "cc/output/buffer_to_texture_target_map.h" |
#include "content/common/content_export.h" |
namespace content { |
@@ -46,6 +47,9 @@ CONTENT_EXPORT base::DictionaryValue* GetFeatureStatus(); |
CONTENT_EXPORT base::Value* GetProblems(); |
CONTENT_EXPORT std::vector<std::string> GetDriverBugWorkarounds(); |
+// Populate buffer_to_texture_target_map for all buffer usage/formats. |
+CONTENT_EXPORT cc::BufferToTextureTargetMap GetBufferToTextureTargetMap(); |
reveman
2017/06/09 14:28:46
Can this be "void GetBufferToTextureTargetMap(cc::
sujith
2017/06/14 10:30:18
when i was trying the modifications for
GetBuffer
reveman
2017/06/14 13:03:38
You can remove it from the initialization list or
danakj
2017/06/29 16:06:54
It's a move not a copy, and it would make use of R
|
+ |
} // namespace content |
#endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ |