Searched refs:GL_COLOR (Results 1 - 25 of 64) sorted by relevance

123

/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
H A DesextcDrawBuffersIndexedColorMasks.cpp137 gl.clearBufferfv(GL_COLOR, i, &c0[0]);
146 gl.clearBufferuiv(GL_COLOR, i, &c0[0]);
155 gl.clearBufferiv(GL_COLOR, i, &c0[0]);
180 gl.clearBufferfv(GL_COLOR, i, &c1[0]);
189 gl.clearBufferuiv(GL_COLOR, i, &c1[0]);
198 gl.clearBufferiv(GL_COLOR, i, &c1[0]);
H A DesextcDrawBuffersIndexedBlending.cpp129 gl.clearBufferfv(GL_COLOR, i, &background[0]);
/external/deqp/modules/glshared/
H A DglsScissorTests.cpp514 gl.clearBufferfv(GL_COLOR, 0, clearColor.getPtr());
597 case Color::FLOAT: gl.clearBufferfv (GL_COLOR, 0, color.f); break;
598 case Color::INT: gl.clearBufferiv (GL_COLOR, 0, color.i); break;
599 case Color::UINT: gl.clearBufferuiv(GL_COLOR, 0, color.u); break;
804 case CLEAR_COLOR_FIXED: gl.clearBufferfv (GL_COLOR, 0, clearColor.f); break;
805 case CLEAR_COLOR_FLOAT: gl.clearBufferfv (GL_COLOR, 0, clearColor.f); break;
806 case CLEAR_COLOR_INT: gl.clearBufferiv (GL_COLOR, 0, clearColor.i); break;
807 case CLEAR_COLOR_UINT: gl.clearBufferuiv(GL_COLOR, 0, clearColor.u); break;
/external/deqp/modules/gles3/functional/
H A Des3fFboMultisampleTests.cpp287 glClearBufferfv(GL_COLOR, 0, Vec4(1.0f, 0.0f, 0.0f, 1.0f).getPtr());
304 glClearBufferfv(GL_COLOR, 0, Vec4(0.0f, 0.0f, 1.0f, 1.0f).getPtr());
308 glClearBufferfv(GL_COLOR, 0, Vec4(0.0f, 1.0f, 0.0f, 1.0f).getPtr());
H A Des3fFboStencilbufferTests.cpp102 glClearBufferfv(GL_COLOR, 0, Vec4(0.0f).getPtr());
199 glClearBufferfv(GL_COLOR, 0, Vec4(0.0f).getPtr());
H A Des3fShaderFragDataTests.cpp299 gl.clearBufferfv(GL_COLOR, 0, tcu::RGBA::red().toVec().getPtr());
300 gl.clearBufferfv(GL_COLOR, 1, tcu::RGBA::red().toVec().getPtr());
H A Des3fPixelBufferObjectTests.cpp354 GLU_CHECK_CALL(glClearBufferiv(GL_COLOR, 0, color));
362 GLU_CHECK_CALL(glClearBufferuiv(GL_COLOR, 0, color));
370 GLU_CHECK_CALL(glClearBufferfv(GL_COLOR, 0, color));
H A Des3fFboColorbufferTests.cpp146 glClearBufferfv(GL_COLOR, 0, Vec4(0.0f).getPtr());
150 glClearBufferuiv(GL_COLOR, 0, UVec4(0).getPtr());
154 glClearBufferiv(GL_COLOR, 0, IVec4(0).getPtr());
178 glClearBufferfv(GL_COLOR, 0, color.getPtr());
182 glClearBufferuiv(GL_COLOR, 0, color.cast<deUint32>().getPtr());
186 glClearBufferiv(GL_COLOR, 0, color.cast<int>().getPtr());
H A Des3fReadPixelsTests.cpp271 GLU_CHECK_CALL(glClearBufferfv(GL_COLOR, 0, color));
287 GLU_CHECK_CALL(glClearBufferiv(GL_COLOR, 0, color));
301 GLU_CHECK_CALL(glClearBufferuiv(GL_COLOR, 0, color));
H A Des3fFramebufferBlitTests.cpp672 glClearBufferfv(GL_COLOR, 0, Vec4(1.0f, 0.0f, 0.0f, 1.0f).getPtr());
817 glClearBufferfv(GL_COLOR, 0, Vec4(1.0f, 0.0f, 0.0f, 1.0f).getPtr());
831 glClearBufferfv(GL_COLOR, 0, Vec4(1.0f, 1.0f, 0.0f, 1.0f).getPtr());
833 glClearBufferiv(GL_COLOR, 0, IVec4(0, 0, 0, 0).getPtr());
835 glClearBufferuiv(GL_COLOR, 0, UVec4(0, 0, 0, 0).getPtr());
H A Des3fFboTestUtil.cpp875 ctx.clearBufferfv(GL_COLOR, 0, value.getPtr());
879 ctx.clearBufferuiv(GL_COLOR, 0, value.asUint().getPtr());
883 ctx.clearBufferiv(GL_COLOR, 0, value.asInt().getPtr());
H A Des3fNegativeBufferApiTests.cpp429 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_COLOR, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, or GL_FRONT_AND_BACK and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS.");
432 glClearBufferiv(GL_COLOR, maxDrawBuffers, &data[0]);
473 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_COLOR, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, or GL_FRONT_AND_BACK and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS.");
476 glClearBufferuiv(GL_COLOR, maxDrawBuffers, &data[0]);
514 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_COLOR, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, or GL_FRONT_AND_BACK and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS.");
517 glClearBufferfv(GL_COLOR, maxDrawBuffers, &data[0]);
550 glClearBufferfi(GL_COLOR, 0, 1.0f, 1);
/external/mesa3d/src/mesa/main/
H A Dclear.c363 case GL_COLOR:
434 case GL_COLOR:
532 case GL_COLOR:
H A Ddrawpix.c217 if (type != GL_COLOR &&
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_pixel_copy.c69 case GL_COLOR:
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_pixel_copy.c68 case GL_COLOR:
/external/mesa3d/src/mesa/swrast/
H A Ds_copypix.c445 if (type == GL_COLOR) {
577 case GL_COLOR:
640 case GL_COLOR:
/external/deqp/framework/opengl/
H A DgluStrUtil.inl567 case GL_COLOR: return "GL_COLOR";
579 case GL_COLOR: return "GL_COLOR";
601 case GL_COLOR: return "GL_COLOR";
/external/deqp/external/openglcts/modules/gl/
H A Dgl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp1777 static const glw::GLenum default_attachments[] = { GL_COLOR, GL_DEPTH, GL_STENCIL };
1996 static const glw::GLenum default_attachments[] = { GL_COLOR, GL_DEPTH, GL_STENCIL };
2465 PrepareFramebuffer(GL_COLOR, GL_R8);
2469 is_ok &= TestClearColor<glw::GLfloat>(GL_COLOR, GL_COLOR_ATTACHMENT0 + i, 0.5);
2475 PrepareFramebuffer(GL_COLOR, GL_R32F);
2479 is_ok &= TestClearColor<glw::GLfloat>(GL_COLOR, GL_COLOR_ATTACHMENT0 + i, 0.5);
2485 PrepareFramebuffer(GL_COLOR, GL_R8I);
2489 is_ok &= TestClearColor<glw::GLint>(GL_COLOR, GL_COLOR_ATTACHMENT0 + i, -16);
2495 PrepareFramebuffer(GL_COLOR, GL_R8UI);
2499 is_ok &= TestClearColor<glw::GLuint>(GL_COLOR, GL_COLOR_ATTACHMENT
[all...]
H A Dgl4cES31CompatibilitySampleVariablesTests.cpp314 gl.clearBufferiv(GL_COLOR, 0, color);
319 gl.clearBufferuiv(GL_COLOR, 0, color);
324 gl.clearBufferfv(GL_COLOR, 0, color);
/external/deqp/external/openglcts/modules/common/
H A DglcSampleVariablesTests.cpp316 gl.clearBufferiv(GL_COLOR, 0, color);
321 gl.clearBufferuiv(GL_COLOR, 0, color);
326 gl.clearBufferfv(GL_COLOR, 0, color);
H A DglcShaderIntegerMixTests.cpp491 glClearBufferiv(GL_COLOR, 0, clear);
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
H A DesextcGeometryShaderLayeredFramebuffer.cpp676 gl.clearBufferiv(GL_COLOR, 0 /* draw buffer index */, clear_color_int);
683 gl.clearBufferuiv(GL_COLOR, 0 /* draw buffer index */, (const glw::GLuint*)clear_color_int);
690 gl.clearBufferfv(GL_COLOR, 0 /* draw buffer index */, clear_color_float);
/external/deqp/modules/gles31/functional/
H A Des31fFboTestUtil.cpp429 ctx.clearBufferfv(GL_COLOR, 0, value.getPtr());
433 ctx.clearBufferuiv(GL_COLOR, 0, value.asUint().getPtr());
437 ctx.clearBufferiv(GL_COLOR, 0, value.asInt().getPtr());
H A Des31fNegativeBufferApiTests.cpp538 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR or GL_STENCIL and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS.");
540 ctx.glClearBufferiv (GL_COLOR, maxDrawBuffers, &data[0]);
544 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR or GL_STENCIL and drawBuffer is negative.");
545 ctx.glClearBufferiv (GL_COLOR, -1, &data[0]);
574 ctx.beginSection("GL_INVALID_ENUM is generated if buffer is not GL_COLOR.");
590 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS.");
592 ctx.glClearBufferuiv (GL_COLOR, maxDrawBuffers, &data[0]);
596 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR and drawBuffer is negative.");
597 ctx.glClearBufferuiv (GL_COLOR, -1, &data[0]);
621 ctx.beginSection("GL_INVALID_ENUM is generated if buffer is not GL_COLOR o
[all...]

Completed in 761 milliseconds

123