Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1282)

Unified Diff: content/browser/gpu/compositor_util.h

Issue 2895273002: Unified the use of BufferToTextureTargetMap for all the Processes (Closed)
Patch Set: Unified BufferToTextureTargetMap for all the Processes Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698