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

Unified Diff: cc/output/shader.h

Issue 185653013: [#8] Pass gfx::Point by const ref. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build errors on other platforms Created 6 years, 10 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 | « cc/output/gl_renderer.cc ('k') | cc/output/shader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/shader.h
diff --git a/cc/output/shader.h b/cc/output/shader.h
index 8b2a5d9bbafb390d38f49dc677b0e1aa8f2c8cb1..36430cc6cfbce2d18b212d3d184519816cb0be45 100644
--- a/cc/output/shader.h
+++ b/cc/output/shader.h
@@ -43,11 +43,11 @@ enum SamplerType {
// the caching multi-thread/context safe in an easy low-overhead manner.
// The caller must make sure to clear highp_threshold_cache to 0, so it can be
// reinitialized, if a new or different context is used.
-CC_EXPORT TexCoordPrecision TexCoordPrecisionRequired(
- gpu::gles2::GLES2Interface* context,
- int *highp_threshold_cache,
- int highp_threshold_min,
- gfx::Point max_coordinate);
+CC_EXPORT TexCoordPrecision
+ TexCoordPrecisionRequired(gpu::gles2::GLES2Interface* context,
+ int* highp_threshold_cache,
+ int highp_threshold_min,
+ const gfx::Point& max_coordinate);
CC_EXPORT TexCoordPrecision TexCoordPrecisionRequired(
gpu::gles2::GLES2Interface* context,
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/shader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698