• Home
  • Raw
  • Download

Lines Matching refs:renderbufferNdx

303 						int								renderbufferNdx,  in clearRenderbuffer()  argument
310 const float redScale = float(renderbufferNdx + 1) / float(renderbufferCount); in clearRenderbuffer()
311 const float blueScale = float(renderbufferCount - renderbufferNdx) / float(renderbufferCount); in clearRenderbuffer()
312 …const float greenScale = float(((renderbufferCount/2) + renderbufferNdx) % renderbufferCount)… in clearRenderbuffer()
314 …alphaScale = float(1 + (((renderbufferCount/2) + renderbufferCount - renderbufferNdx) % renderbuff… in clearRenderbuffer()
327 gl.clearBufferfv(GL_COLOR, renderbufferNdx, color.getPtr()); in clearRenderbuffer()
340 gl.clearBufferiv(GL_COLOR, renderbufferNdx, color.getPtr()); in clearRenderbuffer()
353 gl.clearBufferuiv(GL_COLOR, renderbufferNdx, color.getPtr()); in clearRenderbuffer()
366 gl.clearBufferfv(GL_COLOR, renderbufferNdx, color.getPtr()); in clearRenderbuffer()
379 gl.clearBufferfv(GL_COLOR, renderbufferNdx, color.getPtr()); in clearRenderbuffer()
405 for (int renderbufferNdx = 0; renderbufferNdx < (int)drawBuffers.size(); renderbufferNdx++) in genRenderbuffers() local
407 const DrawBufferInfo& drawBuffer = drawBuffers[renderbufferNdx]; in genRenderbuffers()
412 bufs[renderbufferNdx] = GL_COLOR_ATTACHMENT0 + renderbufferNdx; in genRenderbuffers()
413 refRenderbuffers[renderbufferNdx] = TextureLevel(drawBuffer.getFormat(), size.x(), size.y()); in genRenderbuffers()
415 gl.bindRenderbuffer(GL_RENDERBUFFER, renderbuffers[renderbufferNdx]); in genRenderbuffers()
417 …uffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + renderbufferNdx, GL_RENDERBUFFER, renderbuffers[rende… in genRenderbuffers()
423 for (int renderbufferNdx = 0; renderbufferNdx < (int)drawBuffers.size(); renderbufferNdx++) in genRenderbuffers() local
425 const DrawBufferInfo& drawBuffer = drawBuffers[renderbufferNdx]; in genRenderbuffers()
428 …clearRenderbuffer(gl, format, renderbufferNdx, (int)refRenderbuffers.size(), refRenderbuffers[ren… in genRenderbuffers()
468 int renderbufferNdx, in verifyRenderbuffer() argument
476 const string name = "Renderbuffer" + de::toString(renderbufferNdx); in verifyRenderbuffer()
477 const string desc = "Compare renderbuffer " + de::toString(renderbufferNdx); in verifyRenderbuffer()
481 results.fail("Verification of renderbuffer " + de::toString(renderbufferNdx) + " failed."); in verifyRenderbuffer()
489 const string name = "Renderbuffer" + de::toString(renderbufferNdx); in verifyRenderbuffer()
490 const string desc = "Compare renderbuffer " + de::toString(renderbufferNdx); in verifyRenderbuffer()
494 results.fail("Verification of renderbuffer " + de::toString(renderbufferNdx) + " failed."); in verifyRenderbuffer()
502 const string name = "Renderbuffer" + de::toString(renderbufferNdx); in verifyRenderbuffer()
503 const string desc = "Compare renderbuffer " + de::toString(renderbufferNdx); in verifyRenderbuffer()
507 results.fail("Verification of renderbuffer " + de::toString(renderbufferNdx) + " failed."); in verifyRenderbuffer()
553 for (int renderbufferNdx = 0; renderbufferNdx < (int)renderbuffers.size(); renderbufferNdx++) in verifyRenderbuffers() local
555 const TextureLevel& refRenderbuffer = refRenderbuffers[renderbufferNdx]; in verifyRenderbuffers()
562 gl.readBuffer(GL_COLOR_ATTACHMENT0 + renderbufferNdx); in verifyRenderbuffers()
566 verifyRenderbuffer(log, results, format, renderbufferNdx, refRenderbuffer, result); in verifyRenderbuffers()
1025 for (int renderbufferNdx = 0; renderbufferNdx < (int)drawBuffers.size(); renderbufferNdx++) in renderQuad() local
1026 setIndexedBlendState(gl, drawBuffers[renderbufferNdx].getBlendState(), renderbufferNdx); in renderQuad()