Index: content/browser/gpu/compositor_util.h |
diff --git a/content/browser/gpu/compositor_util.h b/content/browser/gpu/compositor_util.h |
index 5bf374975d1af05af34606255b1aa228672ea353..d1d5686d48779501d681fcae60b6a473ef458e27 100644 |
--- a/content/browser/gpu/compositor_util.h |
+++ b/content/browser/gpu/compositor_util.h |
@@ -8,6 +8,7 @@ |
#include <memory> |
#include "base/values.h" |
+#include "cc/output/buffer_to_texture_target_map.h" |
boliu
2017/06/20 22:44:33
you can forward declare the map here, and include
sujith
2017/06/21 13:04:59
are you suggesting to do a declaration like this
boliu
2017/06/21 16:01:25
I meant this:
namespace cc {
class BufferToTextur
sujith
2017/06/22 07:30:36
its not working since BufferToTextureTargetMap is
|
#include "content/common/content_export.h" |
namespace content { |
@@ -48,6 +49,10 @@ CONTENT_EXPORT std::unique_ptr<base::DictionaryValue> GetFeatureStatus(); |
CONTENT_EXPORT std::unique_ptr<base::ListValue> GetProblems(); |
CONTENT_EXPORT std::vector<std::string> GetDriverBugWorkarounds(); |
+// Populate buffer_to_texture_target_map for all buffer usage/formats. |
+CONTENT_EXPORT void GetBufferToTextureTargetMap( |
+ cc::BufferToTextureTargetMap* texture_targets); |
+ |
} // namespace content |
#endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ |