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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.h

Issue 1143393007: Teach GPU command buffer whether a context is webgl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: gpu/command_buffer/service/gles2_cmd_decoder.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h
index 26f695cf8ee42bf4f708cdc52e21b238e2e04273..81ff74af41d60c8b8ca8091723297046052e4f65 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h
@@ -45,10 +45,12 @@ struct ContextState;
struct DisallowedFeatures {
DisallowedFeatures()
- : gpu_memory_manager(false) {
+ : gpu_memory_manager(false),
+ npot_support(false) {
}
bool gpu_memory_manager;
+ bool npot_support;
};
typedef base::Callback<void(const std::string& key,

Powered by Google App Engine
This is Rietveld 408576698