/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/ |
D | esextcDrawBuffersIndexedNegative.cpp | 65 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 …]
|
D | esextcDrawBuffersIndexedBlending.cpp | 56 glw::GLint maxDrawBuffers = 0; in prepareFramebuffer() local 57 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in prepareFramebuffer() 58 if (maxDrawBuffers < 4) in prepareFramebuffer() 66 std::vector<glw::GLenum> bufs(maxDrawBuffers); in prepareFramebuffer() 67 for (int i = 0; i < maxDrawBuffers; ++i) in prepareFramebuffer() 71 gl.drawBuffers(maxDrawBuffers, &bufs[0]); in prepareFramebuffer() 78 glw::GLint maxDrawBuffers = 0; in releaseFramebuffer() local 79 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in releaseFramebuffer() 80 if (maxDrawBuffers < 4) in releaseFramebuffer() 85 BlendMaskStateMachine state(m_context, m_testCtx.getLog(), maxDrawBuffers); in releaseFramebuffer() [all …]
|
D | esextcDrawBuffersIndexedColorMasks.cpp | 56 glw::GLint maxDrawBuffers = 0; in prepareFramebuffer() local 57 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in prepareFramebuffer() 58 if (maxDrawBuffers < 4) in prepareFramebuffer() 66 std::vector<glw::GLenum> bufs(maxDrawBuffers); in prepareFramebuffer() 67 for (int i = 0; i < maxDrawBuffers; ++i) in prepareFramebuffer() 71 gl.drawBuffers(maxDrawBuffers, &bufs[0]); in prepareFramebuffer() 80 glw::GLint maxDrawBuffers = 0; in releaseFramebuffer() local 81 gl.getIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in releaseFramebuffer() 82 if (maxDrawBuffers < 4) in releaseFramebuffer() 87 BlendMaskStateMachine state(m_context, m_testCtx.getLog(), maxDrawBuffers); in releaseFramebuffer() [all …]
|
D | esextcDrawBuffersIndexedDefaultState.cpp | 53 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()
|
D | esextcDrawBuffersIndexedSetGet.cpp | 53 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()
|
D | esextcDrawBuffersIndexedCoverage.cpp | 61 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()
|
D | esextcDrawBuffersIndexedBlending.hpp | 60 std::string GenFS(int maxDrawBuffers);
|
/external/deqp/modules/gles3/functional/ |
D | es3fIndexedStateQueryTests.cpp | 569 deInt32 maxDrawBuffers = 0; in iterate() local 573 gl.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in iterate() 579 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate() 587 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate() 594 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate() 602 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate() 608 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate() 618 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate() 653 deInt32 maxDrawBuffers = 0; in iterate() local 657 gl.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in iterate() [all …]
|
D | es3fNegativeFragmentApiTests.cpp | 190 glw::GLint maxDrawBuffers = -1; in init() 191 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in init() 201 glBlendEquationi(maxDrawBuffers, GL_FUNC_ADD); in init() 207 glw::GLint maxDrawBuffers = -1; in init() 208 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in init() 222 glBlendEquationSeparatei(maxDrawBuffers, GL_FUNC_ADD, GL_FUNC_ADD); in init() 228 glw::GLint maxDrawBuffers = -1; in init() 229 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in init() 241 glBlendFunci(maxDrawBuffers, GL_ONE, GL_ONE); in init() 247 glw::GLint maxDrawBuffers = -1; in init() [all …]
|
D | es3fNegativeBufferApiTests.cpp | 431 int maxDrawBuffers; in init() 432 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in init() 433 glClearBufferiv(GL_COLOR, maxDrawBuffers, &data[0]); in init() 475 int maxDrawBuffers; in init() 476 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in init() 477 glClearBufferuiv(GL_COLOR, maxDrawBuffers, &data[0]); in init() 516 int maxDrawBuffers; in init() 517 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in init() 518 glClearBufferfv(GL_COLOR, maxDrawBuffers, &data[0]); in init() 641 int maxDrawBuffers; in init() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fIndexedStateQueryTests.cpp | 889 deInt32 maxDrawBuffers = 0; in iterate() local 893 gl.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in iterate() 899 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate() 907 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate() 913 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() 927 for (int ndx = 0; ndx < maxDrawBuffers; ++ndx) in iterate() 981 deInt32 maxDrawBuffers = 0; in iterate() local 985 gl.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in iterate() [all …]
|
D | es31fNegativeFragmentApiTests.cpp | 169 glw::GLint maxDrawBuffers = -1; in blend_equationi() local 174 ctx.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in blend_equationi() 182 ctx.glBlendEquationi(maxDrawBuffers, GL_FUNC_ADD); in blend_equationi() 189 glw::GLint maxDrawBuffers = -1; in blend_equation_separatei() local 194 ctx.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in blend_equation_separatei() 206 ctx.glBlendEquationSeparatei(maxDrawBuffers, GL_FUNC_ADD, GL_FUNC_ADD); in blend_equation_separatei() 237 glw::GLint maxDrawBuffers = -1; in blend_funci() local 242 ctx.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in blend_funci() 252 ctx.glBlendFunci(maxDrawBuffers, GL_ONE, GL_ONE); in blend_funci() 259 glw::GLint maxDrawBuffers = -1; in blend_func_separatei() local [all …]
|
D | es31fNegativeBufferApiTests.cpp | 516 int maxDrawBuffers = 0x1234; in clear_bufferiv() local 542 ctx.glGetIntegerv (GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in clear_bufferiv() 543 ctx.glClearBufferiv (GL_COLOR, maxDrawBuffers, &data[0]); in clear_bufferiv() 566 int maxDrawBuffers = 0x1234; in clear_bufferuiv() local 594 ctx.glGetIntegerv (GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in clear_bufferuiv() 595 ctx.glClearBufferuiv (GL_COLOR, maxDrawBuffers, &data[0]); in clear_bufferuiv() 613 int maxDrawBuffers = 0x1234; in clear_bufferfv() local 639 ctx.glGetIntegerv (GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in clear_bufferfv() 640 ctx.glClearBufferfv (GL_COLOR, maxDrawBuffers, &data[0]); in clear_bufferfv() 761 int maxDrawBuffers = 0x1234; in draw_buffers() local [all …]
|
/external/angle/src/compiler/translator/tree_ops/ |
D | EmulateGLFragColorBroadcast.cpp | 33 GLFragColorBroadcastTraverser(int maxDrawBuffers, TSymbolTable *symbolTable, int shaderVersion) in GLFragColorBroadcastTraverser() argument 36 mMaxDrawBuffers(maxDrawBuffers), in GLFragColorBroadcastTraverser() 107 int maxDrawBuffers, in EmulateGLFragColorBroadcast() argument 112 ASSERT(maxDrawBuffers > 1); in EmulateGLFragColorBroadcast() 113 GLFragColorBroadcastTraverser traverser(maxDrawBuffers, symbolTable, shaderVersion); in EmulateGLFragColorBroadcast() 133 var.arraySizes.push_back(maxDrawBuffers); in EmulateGLFragColorBroadcast()
|
D | EmulateGLFragColorBroadcast.h | 29 int maxDrawBuffers,
|
/external/angle/src/compiler/translator/ |
D | ValidateOutputs.cpp | 33 int maxDrawBuffers, 54 int maxDrawBuffers, in ValidateOutputsTraverser() argument 57 mMaxDrawBuffers(maxDrawBuffers), in ValidateOutputsTraverser() 191 int maxDrawBuffers, in ValidateOutputs() argument 195 ValidateOutputsTraverser validateOutputs(extBehavior, maxDrawBuffers, usesPixelLocalStorage); in ValidateOutputs()
|
D | ValidateOutputs.h | 26 int maxDrawBuffers,
|
/external/angle/src/tests/gl_tests/ |
D | BlendFuncExtendedTest.cpp | 586 GLint maxDrawBuffers = 0; in TEST_P() local 587 glGetIntegerv(GL_MAX_DRAW_BUFFERS_EXT, &maxDrawBuffers); in TEST_P() 588 EXPECT_LT(kTestArraySize, maxDrawBuffers); in TEST_P() 758 GLint maxDrawBuffers; in TEST_P() local 759 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in TEST_P() 760 ANGLE_SKIP_TEST_IF(maxDrawBuffers < 4); in TEST_P() 797 GLint maxDrawBuffers; in TEST_P() local 798 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in TEST_P() 799 ANGLE_SKIP_TEST_IF(maxDrawBuffers < 4); in TEST_P() 807 << (maxDrawBuffers - 1) << R"(]; in TEST_P()
|
D | ClearTest.cpp | 2105 GLint maxDrawBuffers = 0; in TEST_P() local 2106 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in TEST_P() 2107 ASSERT_GE(maxDrawBuffers, 4); in TEST_P() 2113 std::vector<GLRenderbuffer> color(maxDrawBuffers); in TEST_P() 2114 std::vector<GLenum> drawBuffers(maxDrawBuffers); in TEST_P() 2116 for (GLint colorIndex = 0; colorIndex < maxDrawBuffers; ++colorIndex) in TEST_P() 2135 glDrawBuffers(maxDrawBuffers, drawBuffers.data()); in TEST_P() 2144 for (GLint colorIndex = 0; colorIndex < maxDrawBuffers; ++colorIndex) in TEST_P() 2192 GLint maxDrawBuffers = 0; in TEST_P() local 2193 glGetIntegerv(GL_MAX_DRAW_BUFFERS, &maxDrawBuffers); in TEST_P() [all …]
|
/external/angle/src/libANGLE/ |
D | validationES32.cpp | 65 if (buf >= static_cast<GLuint>(state.getCaps().maxDrawBuffers)) in ValidateBlendEquationSeparatei() 91 if (buf >= static_cast<GLuint>(state.getCaps().maxDrawBuffers)) in ValidateBlendEquationi() 120 if (buf >= static_cast<GLuint>(state.getCaps().maxDrawBuffers)) in ValidateBlendFuncSeparatei() 147 if (buf >= static_cast<GLuint>(state.getCaps().maxDrawBuffers)) in ValidateBlendFunci() 176 if (buf >= static_cast<GLuint>(state.getCaps().maxDrawBuffers)) in ValidateColorMaski() 270 if (index >= static_cast<GLuint>(state.getCaps().maxDrawBuffers)) in ValidateDisablei() 361 if (index >= static_cast<GLuint>(state.getCaps().maxDrawBuffers)) in ValidateEnablei() 540 if (index >= static_cast<GLuint>(state.getCaps().maxDrawBuffers)) in ValidateIsEnabledi()
|
/external/angle/src/compiler/translator/tree_ops/spirv/ |
D | EmulateFramebufferFetch.cpp | 35 InputAttachmentUsageTraverser(uint32_t maxDrawBuffers, TVector<const TType *> *attachmentTypes) in InputAttachmentUsageTraverser() argument 37 mMaxDrawBuffers(maxDrawBuffers), in InputAttachmentUsageTraverser() 41 mAttachmentTypes->resize(maxDrawBuffers, nullptr); in InputAttachmentUsageTraverser()
|
/external/deqp-deps/glslang/glslang/Include/ |
D | ResourceLimits.h | 64 int maxDrawBuffers; member
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/ |
D | ResourceLimits.h | 64 int maxDrawBuffers; member
|
/external/deqp-deps/glslang/glslang/ResourceLimits/ |
D | ResourceLimits.cpp | 175 … << "MaxDrawBuffers " << DefaultTBuiltInResource.maxDrawBuffers << "\n" in GetDefaultTBuiltInResourceString() 329 resources->maxDrawBuffers = value; in DecodeResourceLimits()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/ResourceLimits/ |
D | ResourceLimits.cpp | 175 … << "MaxDrawBuffers " << DefaultTBuiltInResource.maxDrawBuffers << "\n" in GetDefaultTBuiltInResourceString() 329 resources->maxDrawBuffers = value; in DecodeResourceLimits()
|