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

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

Issue 2615573002: Add disable_program_caching_for_transform_feedback workaround. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | gpu/command_buffer/service/memory_program_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/memory_program_cache.h
diff --git a/gpu/command_buffer/service/memory_program_cache.h b/gpu/command_buffer/service/memory_program_cache.h
index 518d18167d3effedf33568639ea49fb43a7c24c7..f4cc2ec4921b885c9b97675c564901b054de988b 100644
--- a/gpu/command_buffer/service/memory_program_cache.h
+++ b/gpu/command_buffer/service/memory_program_cache.h
@@ -26,7 +26,8 @@ namespace gles2 {
class GPU_EXPORT MemoryProgramCache : public ProgramCache {
public:
MemoryProgramCache(size_t max_cache_size_bytes,
- bool disable_gpu_shader_disk_cache);
+ bool disable_gpu_shader_disk_cache,
+ bool disable_program_caching_for_transform_feedback);
~MemoryProgramCache() override;
ProgramLoadResult LoadLinkedProgram(
@@ -164,6 +165,7 @@ class GPU_EXPORT MemoryProgramCache : public ProgramCache {
const size_t max_size_bytes_;
const bool disable_gpu_shader_disk_cache_;
+ const bool disable_program_caching_for_transform_feedback_;
size_t curr_size_bytes_;
ProgramMRUCache store_;
« no previous file with comments | « no previous file | gpu/command_buffer/service/memory_program_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698