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

Unified Diff: gpu/command_buffer/service/shader_manager.cc

Issue 10534173: GPU Program Caching (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: tiny fix for android and windows build Created 8 years, 5 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/shader_manager.cc
diff --git a/gpu/command_buffer/service/shader_manager.cc b/gpu/command_buffer/service/shader_manager.cc
index 0d30f521a7a6ea6a226e057fe732ffe373723355..0959c950ac11f6dde7aa94c16c648adf4de8e0c2 100644
--- a/gpu/command_buffer/service/shader_manager.cc
+++ b/gpu/command_buffer/service/shader_manager.cc
@@ -3,6 +3,9 @@
// found in the LICENSE file.
#include "gpu/command_buffer/service/shader_manager.h"
+
+#include <utility>
+
#include "base/logging.h"
#include "base/string_util.h"
@@ -13,7 +16,8 @@ ShaderManager::ShaderInfo::ShaderInfo(GLuint service_id, GLenum shader_type)
: use_count_(0),
service_id_(service_id),
shader_type_(shader_type),
- valid_(false) {
+ valid_(false),
+ pending_cache_miss_compilation_(false) {
}
ShaderManager::ShaderInfo::~ShaderInfo() {

Powered by Google App Engine
This is Rietveld 408576698