Home
last modified time | relevance | path

Searched refs:drawBuffers (Results 1 – 25 of 76) sorted by relevance

1234

/external/deqp/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp398 const vector<DrawBufferInfo>& drawBuffers, in genRenderbuffers() argument
405 bufs.resize(drawBuffers.size()); in genRenderbuffers()
407 DE_ASSERT(drawBuffers.size() == renderbuffers.size()); in genRenderbuffers()
408 DE_ASSERT(drawBuffers.size() == refRenderbuffers.size()); in genRenderbuffers()
412 for (int renderbufferNdx = 0; renderbufferNdx < (int)drawBuffers.size(); renderbufferNdx++) in genRenderbuffers()
414 const DrawBufferInfo& drawBuffer = drawBuffers[renderbufferNdx]; in genRenderbuffers()
428 gl.drawBuffers((glw::GLsizei)bufs.size(), &(bufs[0])); in genRenderbuffers()
430 for (int renderbufferNdx = 0; renderbufferNdx < (int)drawBuffers.size(); renderbufferNdx++) in genRenderbuffers()
432 const DrawBufferInfo& drawBuffer = drawBuffers[renderbufferNdx]; in genRenderbuffers()
820 const vector<DrawBufferInfo>& drawBuffers, in renderRefQuad() argument
[all …]
/external/angle/src/tests/gl_tests/
DClearTest.cpp722 GLenum drawBuffers[kAttachmentCount]; in TEST_P() local
732 drawBuffers[i] = GL_COLOR_ATTACHMENT0 + i; in TEST_P()
740 glDrawBuffers(kAttachmentCount, drawBuffers); in TEST_P()
792 GLenum drawBuffers[kAttachmentCount]; in TEST_P() local
802 drawBuffers[i] = GL_COLOR_ATTACHMENT0 + i; in TEST_P()
815 glDrawBuffers(kAttachmentCount, drawBuffers); in TEST_P()
844 drawBuffers[i] = GL_NONE; in TEST_P()
845 glDrawBuffers(kAttachmentCount, drawBuffers); in TEST_P()
862 GLenum drawBuffers[kAttachmentCount]; in TEST_P() local
871 drawBuffers[i] = GL_COLOR_ATTACHMENT0 + i; in TEST_P()
[all …]
DDrawBuffersTest.cpp887 drawBuffers[i] = GL_NONE; in setupColorMaskForDrawBuffersTest()
893 drawBuffers[0] = GL_COLOR_ATTACHMENT0; in resetDrawBuffers()
894 drawBuffers[1] = GL_COLOR_ATTACHMENT1; in resetDrawBuffers()
895 drawBuffers[2] = GL_COLOR_ATTACHMENT2; in resetDrawBuffers()
896 drawBuffers[3] = GL_NONE; in resetDrawBuffers()
897 setDrawBuffers(4, drawBuffers); in resetDrawBuffers()
900 GLenum drawBuffers[4]; member in ColorMaskForDrawBuffersTest
915 drawBuffers[0] = GL_COLOR_ATTACHMENT0; in TEST_P()
916 setDrawBuffers(4, drawBuffers); in TEST_P()
949 drawBuffers[1] = GL_COLOR_ATTACHMENT1; in TEST_P()
[all …]
DFramebufferMultiviewTest.cpp19 std::vector<GLenum> drawBuffers(numColorAttachments); in GetDrawBufferRange() local
21 for (size_t i = 0u; i < drawBuffers.size(); ++i) in GetDrawBufferRange()
23 drawBuffers[i] = static_cast<GLenum>(kBase + i); in GetDrawBufferRange()
25 return drawBuffers; in GetDrawBufferRange()
110 const auto &drawBuffers = GetDrawBufferRange(numColorAttachments); in initializeFBOs() local
111 glDrawBuffers(numColorAttachments, drawBuffers.data()); in initializeFBOs()
135 glDrawBuffers(numColorAttachments, drawBuffers.data()); in initializeFBOs()
DBlendIntegerTest.cpp165 GLenum drawBuffers[] = {GL_NONE, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2, in runTestMRT() local
167 glDrawBuffers(4, drawBuffers); in runTestMRT()
DWebGLCompatibilityTest.cpp283 const std::array<GLenum, 2> &drawBuffers,
288 const std::array<GLenum, 2> &drawBuffers,
2625 const std::array<GLenum, 2> &drawBuffers, in drawBuffersEXTFeedbackLoop() argument
2628 glDrawBuffersEXT(2, drawBuffers.data()); in drawBuffersEXTFeedbackLoop()
2894 const std::array<GLenum, 2> &drawBuffers, in drawBuffersFeedbackLoop() argument
2897 glDrawBuffers(2, drawBuffers.data()); in drawBuffersFeedbackLoop()
4461 std::vector<GLenum> drawBuffers(static_cast<size_t>(maxDrawBuffers), GL_NONE); in TEST_P() local
4462 drawBuffers[floatLocation] = GL_COLOR_ATTACHMENT0 + floatLocation; in TEST_P()
4463 drawBuffers[uintLocation] = GL_COLOR_ATTACHMENT0 + uintLocation; in TEST_P()
4464 drawBuffers[intLocation] = GL_COLOR_ATTACHMENT0 + intLocation; in TEST_P()
[all …]
/external/angle/src/libANGLE/renderer/gl/
DClearMultiviewGL.cpp65 const auto &drawBuffers = state.getDrawBufferStates(); in clearLayeredFBO() local
66 mFunctions->drawBuffers(static_cast<GLsizei>(drawBuffers.size()), drawBuffers.data()); in clearLayeredFBO()
DFramebufferGL.cpp1287 const auto &drawBuffers = mState.getDrawBufferStates(); in syncState() local
1288 functions->drawBuffers(static_cast<GLsizei>(drawBuffers.size()), in syncState()
1289 drawBuffers.data()); in syncState()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRenderingBoundaryCondition.cpp340 glw::GLenum* drawBuffers = new glw::GLenum[m_textures_info.size()]; in iterate() local
344 drawBuffers[i] = m_textures_info[i].m_draw_buffer; in iterate()
347 gl.drawBuffers((glw::GLsizei)m_textures_info.size(), drawBuffers); in iterate()
349 delete[] drawBuffers; in iterate()
350 drawBuffers = 0; in iterate()
DesextcGeometryShaderLayeredFBO.cpp151 gl.drawBuffers(n_fbo_a_draw_buffers, fbo_a_draw_buffers); in initFBOs()
165 gl.drawBuffers(n_fbo_b_draw_buffers, fbo_b_draw_buffers); in initFBOs()
178 gl.drawBuffers(n_fbo_c_draw_buffers, fbo_c_draw_buffers); in initFBOs()
189 gl.drawBuffers(n_fbo_d_draw_buffers, fbo_d_draw_buffers); in initFBOs()
/external/deqp/modules/gles3/functional/
Des3fShaderFragDataTests.cpp318 const deUint32 drawBuffers[] = { GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1 }; in iterate() local
319 gl.drawBuffers(DE_LENGTH_OF_ARRAY(drawBuffers), &drawBuffers[0]); in iterate()
Des3fFragmentOutputTests.cpp569 vector<deUint32> drawBuffers (numAttachments); in iterate() local
586 drawBuffers[ndx] = GL_COLOR_ATTACHMENT0+ndx; in iterate()
769 gl.drawBuffers((int)drawBuffers.size(), &drawBuffers[0]); in iterate()
/external/angle/samples/multiple_draw_buffers/
DMultipleDrawBuffers.cpp132 GLenum drawBuffers[mFramebufferAttachmentCount] = { in draw() local
138 mDrawBuffers(mFramebufferAttachmentCount, drawBuffers); in draw()
/external/angle/src/libANGLE/
Dangletypes.cpp341 BlendStateExt::BlendStateExt(const size_t drawBuffers) in BlendStateExt() argument
342 : mMaxFactorMask(FactorStorage::GetMask(drawBuffers)), in BlendStateExt()
347 mMaxEquationMask(EquationStorage::GetMask(drawBuffers)), in BlendStateExt()
350 mMaxColorMask(ColorMaskStorage::GetMask(drawBuffers)), in BlendStateExt()
353 mMaxEnabledMask(0xFF >> (8 - drawBuffers)), in BlendStateExt()
355 mMaxDrawBuffers(drawBuffers) in BlendStateExt()
Dangletypes.h469 static constexpr Type GetMask(const size_t drawBuffers) in GetMask()
471 ASSERT(drawBuffers > 0); in GetMask()
472 ASSERT(drawBuffers <= IMPLEMENTATION_MAX_DRAW_BUFFERS); in GetMask()
473 return static_cast<Type>(0xFFFFFFFFFFFFFFFFull >> (64 - drawBuffers * kBits)); in GetMask()
580 BlendStateExt(const size_t drawBuffers = 1);
DCompiler.cpp100 mResources.EXT_draw_buffers = extensions.drawBuffers; in Compiler()
220 if (state.getClientMajorVersion() == 2 && !extensions.drawBuffers) in Compiler()
DContext_gles_3_0_autogen.h47 void drawBuffers(GLsizei n, const GLenum *bufs); \
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureBarrierTests.cpp177 GLenum drawBuffers[NUM_TEXTURES]; in init() local
181 drawBuffers[i] = GL_COLOR_ATTACHMENT0 + i; in init()
183 gl.drawBuffers(NUM_TEXTURES, drawBuffers); in init()
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedBlending.cpp70 gl.drawBuffers(maxDrawBuffers, &bufs[0]); in prepareFramebuffer()
89 gl.drawBuffers(1, bufs); in releaseFramebuffer()
DesextcDrawBuffersIndexedColorMasks.cpp70 gl.drawBuffers(maxDrawBuffers, &bufs[0]); in prepareFramebuffer()
91 gl.drawBuffers(1, bufs); in releaseFramebuffer()
/external/deqp/framework/opengl/
DgluES3PlusWrapperFuncs.inl79 dst->drawBuffers = src.drawBuffers;
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp642 vector<deUint32> drawBuffers(m_outputLayout.locationSymbols.size()); in execute() local
644 drawBuffers[ndx] = GL_COLOR_ATTACHMENT0+ndx; in execute()
645 gl.drawBuffers((int)drawBuffers.size(), &drawBuffers[0]); in execute()
/external/deqp/external/openglcts/modules/gles3/
Des3cNumberParsingTests.cpp446 gl.drawBuffers(1, &drawBuffer); in setupRenderTarget()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayImageTextureSize.cpp1426 const glw::GLenum drawBuffers[] = { GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1 }; in runShaders() local
1427 gl.drawBuffers(2, drawBuffers); in runShaders()
/external/deqp/framework/opengl/wrapper/
DglwInitES30Direct.inl70 gl->drawBuffers = &glDrawBuffers;

1234