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

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

Issue 455783002: GPU context creation code duplication cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 4 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: 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 15f3b57e0a5516cef7ddf1882b95c00c53efa832..4d493a05a9ee9b8ccde8a5dddce286a736a5b605 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils.h
@@ -200,7 +200,7 @@ class GLES2_UTILS_EXPORT ContextCreationAttribHelper {
public:
ContextCreationAttribHelper();
- void Serialize(std::vector<int32_t>* attribs);
+ void Serialize(std::vector<int32_t>* attribs) const;
bool Parse(const std::vector<int32_t>& attribs);
// -1 if invalid or unspecified.
@@ -213,7 +213,6 @@ class GLES2_UTILS_EXPORT ContextCreationAttribHelper {
int32_t samples_;
int32_t sample_buffers_;
bool buffer_preserved_;
- bool share_resources_;
bool bind_generates_resource_;
bool fail_if_major_perf_caveat_;
bool lose_context_when_out_of_memory_;

Powered by Google App Engine
This is Rietveld 408576698