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

Unified Diff: cc/output/texture_copier.h

Issue 14705008: cc: Cache highp_threshold in TexCoordPrecisionRequired (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use local cache rather than global cache to avoid thread hazards. Created 7 years, 8 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: cc/output/texture_copier.h
diff --git a/cc/output/texture_copier.h b/cc/output/texture_copier.h
index 9b958bce9b9036833660d414c1ee38d07c00e9e3..daba5ae6c3bd24d18b1ddbae5e068651d7d2ea8d 100644
--- a/cc/output/texture_copier.h
+++ b/cc/output/texture_copier.h
@@ -65,6 +65,7 @@ class CC_EXPORT AcceleratedTextureCopier : public TextureCopier {
scoped_ptr<BlitProgram> blit_program_highp_;
bool using_bind_uniforms_;
int highp_threshold_min_;
+ int highp_threshold_cache_;
DISALLOW_COPY_AND_ASSIGN(AcceleratedTextureCopier);
};

Powered by Google App Engine
This is Rietveld 408576698