Home | History | Annotate | Download | only in performance

Lines Matching refs:resolution

183 	vector<float> getFullScreenGrid (int resolution, deUint32 seed, float baseDepth, float depthNoise, float xyNoise)
185 const int gridsize = resolution+1;
193 const bool isEdge = x == 0 || y == 0 || x == resolution || y == resolution;
194 const float x_ = float(x)/float(resolution)*2.0f - 1.0f + (isEdge ? 0.0f : rng.getFloat(-xyNoise, +xyNoise));
195 const float y_ = float(y)/float(resolution)*2.0f - 1.0f + (isEdge ? 0.0f : rng.getFloat(-xyNoise, +xyNoise));
201 retval.reserve(resolution*resolution*6);
203 for (int y = 0; y < resolution; y++)
204 for (int x = 0; x < resolution; x++)
1314 int resolution,
1318 , m_resolution (resolution)