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

Unified Diff: gpu/command_buffer/common/gles2_cmd_utils.h

Issue 2480373002: Refactor context creation parameters into a struct. (Closed)
Patch Set: address piman's comments Created 4 years, 1 month 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: gpu/command_buffer/common/gles2_cmd_utils.h
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.h b/gpu/command_buffer/common/gles2_cmd_utils.h
index 875bc35d2d54366b93ad9ef2ccb5087c38746169..fcd1c60d8422cb4ac378ab86de712cc88359869e 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils.h
@@ -302,6 +302,7 @@ enum ContextType {
CONTEXT_TYPE_OPENGLES3,
CONTEXT_TYPE_LAST = CONTEXT_TYPE_OPENGLES3
};
+GLES2_UTILS_EXPORT bool IsWebGLContextType(ContextType context_type);
struct GLES2_UTILS_EXPORT ContextCreationAttribHelper {
ContextCreationAttribHelper();

Powered by Google App Engine
This is Rietveld 408576698