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

Unified Diff: bench/GLVertexAttributesBench.cpp

Issue 1379923005: Remove const from `const int loops`. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: n too Created 5 years, 3 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 | « bench/GLVec4ScalarBench.cpp ('k') | bench/GMBench.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/GLVertexAttributesBench.cpp
diff --git a/bench/GLVertexAttributesBench.cpp b/bench/GLVertexAttributesBench.cpp
index f55fb6545fbd1d896303a5bf862a2eb18e36e703..6a4ccf5063e74f0a2c07b7ee3e30d7aece02d8ef 100644
--- a/bench/GLVertexAttributesBench.cpp
+++ b/bench/GLVertexAttributesBench.cpp
@@ -36,7 +36,7 @@ public:
protected:
const char* onGetName() override { return fName.c_str(); }
void setup(const GrGLContext*) override;
- void glDraw(const int loops, const GrGLContext*) override;
+ void glDraw(int loops, const GrGLContext*) override;
void teardown(const GrGLInterface*) override;
static const GrGLuint kScreenWidth = 800;
@@ -207,7 +207,7 @@ void GLVertexAttributesBench::setup(const GrGLContext* ctx) {
GR_GL_CALL(gl, UseProgram(fProgram));
}
-void GLVertexAttributesBench::glDraw(const int loops, const GrGLContext* ctx) {
+void GLVertexAttributesBench::glDraw(int loops, const GrGLContext* ctx) {
const GrGLInterface* gl = ctx->interface();
// upload vertex attributes
« no previous file with comments | « bench/GLVec4ScalarBench.cpp ('k') | bench/GMBench.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698