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

Unified Diff: cc/output/shader.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/shader.h
diff --git a/cc/output/shader.h b/cc/output/shader.h
index dec1379e7d8132cb917888c47e15d73b2a16ed0c..2fe4cfcb7ebd2f9ecfcd5bc00394f1eb6f83c76b 100644
--- a/cc/output/shader.h
+++ b/cc/output/shader.h
@@ -30,11 +30,13 @@ enum TexCoordPrecision {
CC_EXPORT TexCoordPrecision TexCoordPrecisionRequired(
WebKit::WebGraphicsContext3D* context,
+ int *highp_threshold_cache,
int highp_threshold_min,
gfx::Point max_coordinate);
CC_EXPORT TexCoordPrecision TexCoordPrecisionRequired(
WebKit::WebGraphicsContext3D* context,
+ int *highp_threshold_cache,
int highp_threshold_min,
gfx::Size max_size);
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/shader.cc » ('j') | cc/output/shader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698