Home
last modified time | relevance | path

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

123

/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.cpp56 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 …]
DesextcDrawBuffersIndexedColorMasks.cpp56 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 …]
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/gles3/functional/
Des3fIndexedStateQueryTests.cpp569 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 …]
Des3fNegativeFragmentApiTests.cpp190 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 …]
Des3fNegativeBufferApiTests.cpp431 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/
Des31fIndexedStateQueryTests.cpp889 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 …]
Des31fNegativeFragmentApiTests.cpp169 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 …]
Des31fNegativeBufferApiTests.cpp516 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/
DEmulateGLFragColorBroadcast.cpp33 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()
DEmulateGLFragColorBroadcast.h29 int maxDrawBuffers,
/external/angle/src/compiler/translator/
DValidateOutputs.cpp33 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()
DValidateOutputs.h26 int maxDrawBuffers,
/external/angle/src/tests/gl_tests/
DBlendFuncExtendedTest.cpp586 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()
DClearTest.cpp2105 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/
DvalidationES32.cpp65 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/
DEmulateFramebufferFetch.cpp35 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/
DResourceLimits.h64 int maxDrawBuffers; member
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DResourceLimits.h64 int maxDrawBuffers; member
/external/deqp-deps/glslang/glslang/ResourceLimits/
DResourceLimits.cpp175 … << "MaxDrawBuffers " << DefaultTBuiltInResource.maxDrawBuffers << "\n" in GetDefaultTBuiltInResourceString()
329 resources->maxDrawBuffers = value; in DecodeResourceLimits()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/ResourceLimits/
DResourceLimits.cpp175 … << "MaxDrawBuffers " << DefaultTBuiltInResource.maxDrawBuffers << "\n" in GetDefaultTBuiltInResourceString()
329 resources->maxDrawBuffers = value; in DecodeResourceLimits()

123