Home
last modified time | relevance | path

Searched refs:drawBuffers (Results 1 - 25 of 42) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDrawBuffersIndexedTests.cpp398 const vector<DrawBufferInfo>& drawBuffers, in genRenderbuffers()
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()
832 const vector<DrawBufferInfo>& drawBuffers, in renderRefQuad()
397 genRenderbuffers(const glw::Functions& gl, const vector<DrawBufferInfo>& drawBuffers, const glu::Framebuffer& framebuffer, const glu::RenderbufferVector& renderbuffers, vector<TextureLevel>& refRenderbuffers) genRenderbuffers() argument
830 renderRefQuad(const BlendState& preCommonBlendState, const BlendState& postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, const int subpixelBits, vector<TextureLevel>& refRenderbuffers) renderRefQuad() argument
859 requiresAdvancedBlendEq(const BlendState& pre, const BlendState post, const vector<DrawBufferInfo>& drawBuffers) requiresAdvancedBlendEq() argument
900 genFragmentSource(const BlendState& preCommonBlendState, const BlendState& postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderContext& renderContext) genFragmentSource() argument
1001 genShaderSources(const BlendState& preCommonBlendState, const BlendState& postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderContext& renderContext) genShaderSources() argument
1017 renderQuad(TestLog& log, glu::RenderContext& renderContext, const BlendState& preCommonBlendState, const BlendState& postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, const glu::Framebuffer& framebuffer, vector<TextureLevel>& refRenderbuffers) renderQuad() argument
1118 logTestCaseInfo(TestLog& log, const BlendState& preCommonBlendState, const BlendState& postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers) logTestCaseInfo() argument
1160 runTest(TestLog& log, tcu::ResultCollector& results, glu::RenderContext& renderContext, const BlendState& preCommonBlendState, const BlendState& postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers) runTest() argument
1201 DrawBuffersIndexedTest(Context& context, const BlendState& preCommonBlendState, const BlendState& postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, const string& name, const string& description) DrawBuffersIndexedTest() argument
1372 genRandomTest(de::Random& rng, BlendState& preCommon, BlendState& postCommon, vector<DrawBufferInfo>& drawBuffers, int maxDrawBufferCount, Context& context) genRandomTest() argument
1448 vector<DrawBufferInfo> drawBuffers; iterate() local
1494 vector<DrawBufferInfo> drawBuffers; iterate() local
1526 vector<DrawBufferInfo> drawBuffers; createDiffTest() local
1539 vector<DrawBufferInfo> drawBuffers; createDiffTest() local
1563 vector<DrawBufferInfo> drawBuffers; createAdvancedEqDiffTest() local
1575 vector<DrawBufferInfo> drawBuffers; createAdvancedEqDiffTest() local
[all...]
H A Des3fShaderFragDataTests.cpp326 const deUint32 drawBuffers[] = { GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1 }; in iterate() local
327 gl.drawBuffers(DE_LENGTH_OF_ARRAY(drawBuffers), &drawBuffers[0]); in iterate() local
H A Des3fFragmentOutputTests.cpp569 vector<deUint32> drawBuffers (numAttachments); in iterate()
586 drawBuffers[ndx] = GL_COLOR_ATTACHMENT0+ndx; in iterate()
770 gl.drawBuffers((int)drawBuffers.size(), &drawBuffers[0]); in iterate()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DDrawBuffersTest.cpp1064 drawBuffers[i] = GL_NONE; in setupColorMaskForDrawBuffersTest()
1070 drawBuffers[0] = GL_COLOR_ATTACHMENT0; in resetDrawBuffers()
1071 drawBuffers[1] = GL_COLOR_ATTACHMENT1; in resetDrawBuffers()
1072 drawBuffers[2] = GL_COLOR_ATTACHMENT2; in resetDrawBuffers()
1073 drawBuffers[3] = GL_NONE; in resetDrawBuffers()
1074 setDrawBuffers(4, drawBuffers); in resetDrawBuffers()
1077 GLenum drawBuffers[4]; member in ColorMaskForDrawBuffersTest
1092 drawBuffers[0] = GL_COLOR_ATTACHMENT0; in TEST_P()
1093 setDrawBuffers(4, drawBuffers); in TEST_P()
1126 drawBuffers[ in TEST_P()
[all...]
H A DClearTest.cpp763 GLenum drawBuffers[kAttachmentCount]; in TEST_P() local
773 drawBuffers[i] = GL_COLOR_ATTACHMENT0 + i; in TEST_P()
781 glDrawBuffers(kAttachmentCount, drawBuffers); in TEST_P()
833 GLenum drawBuffers[kAttachmentCount]; in TEST_P() local
843 drawBuffers[i] = GL_COLOR_ATTACHMENT0 + i; in TEST_P()
856 glDrawBuffers(kAttachmentCount, drawBuffers); in TEST_P()
885 drawBuffers[i] = GL_NONE; in TEST_P()
886 glDrawBuffers(kAttachmentCount, drawBuffers); in TEST_P()
903 GLenum drawBuffers[kAttachmentCount]; in TEST_P() local
912 drawBuffers[ in TEST_P()
1009 GLenum drawBuffers[kAttachmentCount]; TEST_P() local
1093 GLenum drawBuffers[kAttachmentCount]; TEST_P() local
1219 GLenum drawBuffers[kAttachmentCount]; TEST_P() local
1343 GLenum drawBuffers[] = {GL_NONE, GL_COLOR_ATTACHMENT1}; TEST_P() local
1368 GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0}; TEST_P() local
1434 GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1}; TEST_P() local
[all...]
H A DFramebufferMultiviewTest.cpp19 std::vector<GLenum> drawBuffers(numColorAttachments); in GetDrawBufferRange()
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()
H A DBlendIntegerTest.cpp165 GLenum drawBuffers[] = {GL_NONE, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2, in runTestMRT() local
167 glDrawBuffers(4, drawBuffers); in runTestMRT()
H A DWebGLCompatibilityTest.cpp283 const std::array<GLenum, 2> &drawBuffers,
288 const std::array<GLenum, 2> &drawBuffers,
2661 const std::array<GLenum, 2> &drawBuffers, in drawBuffersEXTFeedbackLoop()
2664 glDrawBuffersEXT(2, drawBuffers.data()); in drawBuffersEXTFeedbackLoop()
2742 // A feedback loop is formed regardless of drawBuffers settings. in TEST_P()
2930 const std::array<GLenum, 2> &drawBuffers,
2933 glDrawBuffers(2, drawBuffers.data());
4108 // A feedback loop is formed regardless of drawBuffers settings. in TEST_P()
4575 std::vector<GLenum> drawBuffers(static_cast<size_t>(maxDrawBuffers), GL_NONE); in TEST_P()
4576 drawBuffers[floatLocatio in TEST_P()
2660 drawBuffersEXTFeedbackLoop(GLuint program, const std::array<GLenum, 2> &drawBuffers, GLenum expectedError) drawBuffersEXTFeedbackLoop() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DClearMultiviewGL.cpp65 const auto &drawBuffers = state.getDrawBufferStates(); in clearLayeredFBO() local
66 mFunctions->drawBuffers(static_cast<GLsizei>(drawBuffers.size()), drawBuffers.data()); in clearLayeredFBO()
H A DFramebufferGL.cpp1288 const auto &drawBuffers = mState.getDrawBufferStates(); in syncState() local
1289 functions->drawBuffers(static_cast<GLsizei>(drawBuffers.size()), in syncState()
1290 drawBuffers.data()); in syncState()
H A DDispatchTableGL_autogen.cpp222 ASSIGN("glDrawBuffersARB", drawBuffers); in initProcsDesktopGL()
1323 ASSIGN("glDrawBuffers", drawBuffers); in initProcsDesktopGL()
1977 ASSIGN("glDrawBuffersEXT", drawBuffers); in initProcsGLES()
2436 ASSIGN("glDrawBuffers", drawBuffers); in initProcsGLES()
3010 drawBuffers = &glDrawBuffersNULL; in initProcsDesktopGLNULL()
4110 drawBuffers = &glDrawBuffersNULL; in initProcsDesktopGLNULL()
4763 drawBuffers = &glDrawBuffersNULL; in initProcsGLESNULL()
5222 drawBuffers = &glDrawBuffersNULL; in initProcsGLESNULL()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
H A 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()
H A 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()
/third_party/skia/third_party/externals/angle2/samples/multiple_draw_buffers/
H A DMultipleDrawBuffers.cpp132 GLenum drawBuffers[mFramebufferAttachmentCount] = { variable
138 mDrawBuffers(mFramebufferAttachmentCount, drawBuffers);
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A 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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dangletypes.cpp343 BlendStateExt::BlendStateExt(const size_t drawBuffers) in BlendStateExt() argument
344 : mMaxFactorMask(FactorStorage::GetMask(drawBuffers)), in BlendStateExt()
349 mMaxEquationMask(EquationStorage::GetMask(drawBuffers)), in BlendStateExt()
352 mMaxColorMask(ColorMaskStorage::GetMask(drawBuffers)), in BlendStateExt()
355 mMaxEnabledMask(0xFF >> (8 - drawBuffers)), in BlendStateExt()
357 mMaxDrawBuffers(drawBuffers) in BlendStateExt()
H A Dangletypes.h503 static constexpr Type GetMask(const size_t drawBuffers) in GetMask()
505 ASSERT(drawBuffers > 0); in GetMask()
506 ASSERT(drawBuffers <= IMPLEMENTATION_MAX_DRAW_BUFFERS); in GetMask()
507 return static_cast<Type>(0xFFFFFFFFFFFFFFFFull >> (64 - drawBuffers * kBits)); in GetMask()
614 BlendStateExt(const size_t drawBuffers = 1);
H A DContext_gles_3_0_autogen.h47 void drawBuffers(GLsizei n, const GLenum *bufs); \
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/
H A DesextcDrawBuffersIndexedBlending.cpp71 gl.drawBuffers(maxDrawBuffers, &bufs[0]); in prepareFramebuffer()
90 gl.drawBuffers(1, bufs); in releaseFramebuffer()
H A DesextcDrawBuffersIndexedColorMasks.cpp71 gl.drawBuffers(maxDrawBuffers, &bufs[0]); in prepareFramebuffer()
92 gl.drawBuffers(1, bufs); in releaseFramebuffer()
/third_party/vk-gl-cts/modules/glshared/
H A DglsShaderExecUtil.cpp642 vector<deUint32> drawBuffers(m_outputLayout.locationSymbols.size()); in execute()
644 drawBuffers[ndx] = GL_COLOR_ATTACHMENT0+ndx; in execute()
645 gl.drawBuffers((int)drawBuffers.size(), &drawBuffers[0]); in execute()
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
H A Des3cNumberParsingTests.cpp448 gl.drawBuffers(1, &drawBuffer); in setupRenderTarget()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArrayImageTextureSize.cpp1426 const glw::GLenum drawBuffers[] = { GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1 }; in runShaders() local
1427 gl.drawBuffers(2, drawBuffers); in runShaders()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cFramebufferNoAttachmentsTests.cpp596 gl.drawBuffers(0, NULL); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcGLSLVectorConstructorTests.cpp548 gl.drawBuffers(1, &drawBuffer); in setupRenderTarget()

Completed in 39 milliseconds

12