Home
last modified time | relevance | path

Searched refs:maxDrawBuffers (Results 1 – 22 of 22) sorted by relevance

/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedNegative.cpp65 glw::GLint maxDrawBuffers; in iterate() local
66 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in iterate()
71 gl.blendEquationi(maxDrawBuffers, GL_MIN); in iterate()
74 gl.blendEquationSeparatei(maxDrawBuffers, GL_MIN, GL_MIN); in iterate()
77 gl.blendFuncSeparatei(maxDrawBuffers, GL_CONSTANT_COLOR, GL_DST_ALPHA, GL_SRC_ALPHA, GL_ONE); in iterate()
82 gl.blendFunci(maxDrawBuffers, GL_ZERO, GL_SRC_COLOR); in iterate()
85 gl.getIntegeri_v(GL_BLEND_EQUATION_RGB, maxDrawBuffers, &data); in iterate()
88 gl.getIntegeri_v(GL_BLEND_EQUATION_ALPHA, maxDrawBuffers, &data); in iterate()
91 gl.getIntegeri_v(GL_BLEND_SRC_RGB, maxDrawBuffers, &data); in iterate()
94 gl.getIntegeri_v(GL_BLEND_SRC_ALPHA, maxDrawBuffers, &data); in iterate()
[all …]
DesextcDrawBuffersIndexedBlending.cpp55 glw::GLint maxDrawBuffers = 0; in prepareFramebuffer() local
56 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in prepareFramebuffer()
57 if (maxDrawBuffers < 4) in prepareFramebuffer()
65 std::vector<glw::GLenum> bufs(maxDrawBuffers); in prepareFramebuffer()
66 for (int i = 0; i < maxDrawBuffers; ++i) in prepareFramebuffer()
70 gl.drawBuffers(maxDrawBuffers, &bufs[0]); in prepareFramebuffer()
77 glw::GLint maxDrawBuffers = 0; in releaseFramebuffer() local
78 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in releaseFramebuffer()
79 if (maxDrawBuffers < 4) in releaseFramebuffer()
84 BlendMaskStateMachine state(m_context, m_testCtx.getLog(), maxDrawBuffers); in releaseFramebuffer()
[all …]
DesextcDrawBuffersIndexedColorMasks.cpp55 glw::GLint maxDrawBuffers = 0; in prepareFramebuffer() local
56 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in prepareFramebuffer()
57 if (maxDrawBuffers < 4) in prepareFramebuffer()
65 std::vector<glw::GLenum> bufs(maxDrawBuffers); in prepareFramebuffer()
66 for (int i = 0; i < maxDrawBuffers; ++i) in prepareFramebuffer()
70 gl.drawBuffers(maxDrawBuffers, &bufs[0]); in prepareFramebuffer()
79 glw::GLint maxDrawBuffers = 0; in releaseFramebuffer() local
80 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in releaseFramebuffer()
81 if (maxDrawBuffers < 4) in releaseFramebuffer()
86 BlendMaskStateMachine state(m_context, m_testCtx.getLog(), maxDrawBuffers); in releaseFramebuffer()
[all …]
DesextcDrawBuffersIndexedDefaultState.cpp53 glw::GLint maxDrawBuffers = 0; in iterate() local
54 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in iterate()
55 if (maxDrawBuffers < 4) in iterate()
61 BlendMaskStateMachine state(m_context, m_testCtx.getLog(), maxDrawBuffers); in iterate()
DesextcDrawBuffersIndexedSetGet.cpp53 glw::GLint maxDrawBuffers = 0; in iterate() local
54 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in iterate()
55 if (maxDrawBuffers < 4) in iterate()
61 BlendMaskStateMachine state(m_context, m_testCtx.getLog(), maxDrawBuffers); in iterate()
DesextcDrawBuffersIndexedCoverage.cpp61 glw::GLint maxDrawBuffers = 0; in iterate() local
62 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in iterate()
63 if (maxDrawBuffers < 4) in iterate()
73 for (int i = 0; i < maxDrawBuffers; ++i) in iterate()
DesextcDrawBuffersIndexedBlending.hpp60 std::string GenFS(int maxDrawBuffers);
/external/deqp/modules/gles31/functional/
Des31fIndexedStateQueryTests.cpp883 deInt32 maxDrawBuffers = 0; in iterate() local
887 gl.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in iterate()
893 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate()
901 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate()
908 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate()
916 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate()
922 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate()
932 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate()
967 deInt32 maxDrawBuffers = 0; in iterate() local
971 gl.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in iterate()
[all …]
Des31fNegativeFragmentApiTests.cpp162 glw::GLint maxDrawBuffers = -1; in blend_equationi() local
167 ctx.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in blend_equationi()
175 ctx.glBlendEquationi(maxDrawBuffers, GL_FUNC_ADD); in blend_equationi()
182 glw::GLint maxDrawBuffers = -1; in blend_equation_separatei() local
187 ctx.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in blend_equation_separatei()
199 ctx.glBlendEquationSeparatei(maxDrawBuffers, GL_FUNC_ADD, GL_FUNC_ADD); in blend_equation_separatei()
230 glw::GLint maxDrawBuffers = -1; in blend_funci() local
235 ctx.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in blend_funci()
245 ctx.glBlendFunci(maxDrawBuffers, GL_ONE, GL_ONE); in blend_funci()
252 glw::GLint maxDrawBuffers = -1; in blend_func_separatei() local
[all …]
Des31fNegativeBufferApiTests.cpp510 int maxDrawBuffers = 0x1234; in clear_bufferiv() local
536 ctx.glGetIntegerv (GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in clear_bufferiv()
537 ctx.glClearBufferiv (GL_COLOR, maxDrawBuffers, &data[0]); in clear_bufferiv()
560 int maxDrawBuffers = 0x1234; in clear_bufferuiv() local
588 ctx.glGetIntegerv (GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in clear_bufferuiv()
589 ctx.glClearBufferuiv (GL_COLOR, maxDrawBuffers, &data[0]); in clear_bufferuiv()
607 int maxDrawBuffers = 0x1234; in clear_bufferfv() local
633 ctx.glGetIntegerv (GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in clear_bufferfv()
634 ctx.glClearBufferfv (GL_COLOR, maxDrawBuffers, &data[0]); in clear_bufferfv()
755 int maxDrawBuffers = 0x1234; in draw_buffers() local
[all …]
Des31fDrawBuffersIndexedTests.cpp1468 deInt32 maxDrawBuffers = 0; in iterate() local
1473 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in iterate()
1476 TCU_CHECK(maxDrawBuffers > 0); in iterate()
1478 …genRandomTest(rng, preCommonBlendState, postCommonBlendState, drawBuffers, maxDrawBuffers, m_conte… in iterate()
/external/deqp/modules/gles3/functional/
Des3fNegativeBufferApiTests.cpp430 int maxDrawBuffers; in init()
431 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in init()
432 glClearBufferiv(GL_COLOR, maxDrawBuffers, &data[0]); in init()
474 int maxDrawBuffers; in init()
475 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in init()
476 glClearBufferuiv(GL_COLOR, maxDrawBuffers, &data[0]); in init()
515 int maxDrawBuffers; in init()
516 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in init()
517 glClearBufferfv(GL_COLOR, maxDrawBuffers, &data[0]); in init()
640 int maxDrawBuffers; in init()
[all …]
/external/deqp-deps/glslang/glslang/Include/
DResourceLimits.h64 int maxDrawBuffers; member
/external/deqp-deps/glslang/StandAlone/
DResourceLimits.cpp165 … << "MaxDrawBuffers " << DefaultTBuiltInResource.maxDrawBuffers << "\n" in GetDefaultTBuiltInResourceString()
311 resources->maxDrawBuffers = value; in DecodeResourceLimits()
/external/deqp/external/vulkancts/framework/vulkan/
DvkShaderToSpirV.cpp120 builtin->maxDrawBuffers = 32; in getDefaultBuiltInResources()
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp962 glw::GLint maxDrawBuffers = 0; in execute() local
963 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in execute()
964 if ((gl.getError() == GL_NO_ERROR) && (maxDrawBuffers > 1)) in execute()
/external/vulkan-validation-layers/tests/
Dvktestframework.cpp405 Resources.maxDrawBuffers = value; in ProcessConfigFile()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DInitialize.cpp7289 …(builtInConstant, maxSize, "const mediump int gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers); in add2ndGenerationSamplingImaging()
7391 …snprintf(builtInConstant, maxSize, "const int gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers); in add2ndGenerationSamplingImaging()
9488 arraySizes->addInnerSize(resources.maxDrawBuffers); in add2ndGenerationSamplingImaging()
DParseHelper.cpp5386 if (qualifier.layoutLocation >= (unsigned int)resources.maxDrawBuffers) in layoutTypeCheck()
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp1016 const TVariable *maxDrawBuffers = in declareVariable() local
1018 if(type.getArraySize() != maxDrawBuffers->getConstPointer()->getIConst()) in declareVariable()
/external/deqp/external/openglcts/modules/gl/
Dgl4cGlSpirvTests.cpp121 builtin->maxDrawBuffers = 32; in getDefaultBuiltInResources()
Dgl4cEnhancedLayoutsTests.cpp19438 GLint maxDrawBuffers = 0; in test() local
19439 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in test()
19441 std::vector<GLenum> buffers(maxDrawBuffers, GL_NONE); in test()
19447 gl.drawBuffers(maxDrawBuffers, buffers.data()); in test()