Home
last modified time | relevance | path

Searched refs:numViews (Results 1 – 25 of 62) sorted by relevance

123

/external/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp215 int numViews, in GrDistanceFieldA8TextGeoProc() argument
229 SkASSERT(numViews <= kMaxTextures); in GrDistanceFieldA8TextGeoProc()
242 if (numViews) { in GrDistanceFieldA8TextGeoProc()
245 for (int i = 0; i < numViews; ++i) { in GrDistanceFieldA8TextGeoProc()
251 this->setTextureSamplerCnt(numViews); in GrDistanceFieldA8TextGeoProc()
255 int numViews, in addNewViews() argument
257 SkASSERT(numViews <= kMaxTextures); in addNewViews()
259 numViews = std::min(numViews, kMaxTextures); in addNewViews()
265 for (int i = 0; i < numViews; ++i) { in addNewViews()
273 this->setTextureSamplerCnt(numViews); in addNewViews()
[all …]
DGrBitmapTextGeoProc.h66 const GrSurfaceProxyView* views, int numViews, GrSamplerState params,
DGrDistanceFieldGeoProc.h103 void addNewViews(const GrSurfaceProxyView* views, int numViews, GrSamplerState);
/external/angle/src/tests/perf_tests/
DMultiviewPerf.cpp28 int numViews, in GetShaderExtensionHeader() argument
52 return "#extension " + ext + " : require\nlayout(num_views = " + ToString(numViews) + in GetShaderExtensionHeader()
89 numViews = 2; in MultiviewPerfParams()
125 name += "_" + ToString(numViews) + "_views"; in story()
130 int numViews; member
261 0, params->numViews); in initializeBenchmark()
263 0, params->numViews); in initializeBenchmark()
280 const int viewWidth = params->windowWidth / params->numViews; in drawBenchmark()
288 for (int i = 0; i < params->numViews; ++i) in drawBenchmark()
317 GetShaderExtensionHeader(usesMultiview, params->numViews, in initializeBenchmark()
[all …]
/external/angle/src/tests/test_utils/
DMultiviewTest.cpp17 GLuint CreateSimplePassthroughProgram(int numViews, ExtensionName multiviewExtension) in CreateSimplePassthroughProgram() argument
39 ToString(numViews) + in CreateSimplePassthroughProgram()
180 int numViews, in AttachMultiviewTextures() argument
191 numViews); in AttachMultiviewTextures()
196 baseViewIndex, numViews); in AttachMultiviewTextures()
201 0, baseViewIndex, numViews); in AttachMultiviewTextures()
207 int numViews, in AttachMultiviewTextures() argument
215 AttachMultiviewTextures(target, viewWidth, numViews, baseViewIndex, colorTextures, depthTexture, in AttachMultiviewTextures()
DMultiviewTest.h25 GLuint CreateSimplePassthroughProgram(int numViews, ExtensionName multiviewExtension);
50 int numViews,
57 int numViews,
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineNoPositionTests.cpp80 deUint32 numViews; // Number of views for multiview. member
132 DE_ASSERT(params.numViews >= 1u); in NoPositionCase()
147 const bool multiview = (m_params.numViews > 1u); in initPrograms()
155 const auto ssboElementCount = kStageCount * m_params.numViews; in initPrograms()
345 if (m_params.numViews > 1u) in checkSupport()
427 m_params.numViews, // deUint32 arrayLayers; in iterate()
438 …esourceRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, m_params.numViews); in iterate()
497 if (m_params.numViews > 1u) in iterate()
499 for (deUint32 viewIdx = 0u; viewIdx < m_params.numViews; ++viewIdx) in iterate()
562 const auto ssboElementCount = kStageCount * m_params.numViews; in iterate()
[all …]
/external/angle/src/tests/gl_tests/
DFramebufferMultiviewTest.cpp77 int numViews, in initializeFBOs() argument
85 ASSERT_LE(baseViewIndex + numViews, numLayers); in initializeFBOs()
107 AttachMultiviewTextures(GL_FRAMEBUFFER, width, numViews, baseViewIndex, mColorTex, in initializeFBOs()
177 GLint numViews = -1; in TEST_P() local
180 &numViews); in TEST_P()
182 EXPECT_EQ(1, numViews); in TEST_P()
204 GLint numViews = -1; in TEST_P() local
207 &numViews); in TEST_P()
399 GLint numViews = -1; in TEST_P() local
402 &numViews); in TEST_P()
[all …]
DMultiviewDrawTest.cpp84 void updateFBOs(int viewWidth, int height, int numViews, int numLayers, int baseViewIndex) in updateFBOs() argument
86 ASSERT_TRUE(numViews + baseViewIndex <= numLayers); in updateFBOs()
92 mNumViews = numViews; in updateFBOs()
104 AttachMultiviewTextures(GL_DRAW_FRAMEBUFFER, viewWidth, numViews, baseViewIndex, in updateFBOs()
126 void updateFBOs(int viewWidth, int height, int numViews) in updateFBOs() argument
128 updateFBOs(viewWidth, height, numViews, numViews, 0); in updateFBOs()
1866 auto generateVertexShaderSource = [](int numViews, std::string extensionName) -> std::string { in TEST_P() argument
1873 ToString(numViews) + in TEST_P()
2016 for (int numViews = 2; numViews <= 4; ++numViews) in TEST_P() local
2018 updateFBOs(4, 1, numViews); in TEST_P()
[all …]
/external/skia/src/gpu/
DGrProcessorUnitTest.cpp21 int maxTreeDepth, int numViews, const ViewInfo views[]) in GrProcessorTestData() argument
22 : GrProcessorTestData(random, context, maxTreeDepth, numViews, views, in GrProcessorTestData()
26 int maxTreeDepth, int numViews, const ViewInfo views[], in GrProcessorTestData() argument
32 fViews.reset(views, numViews); in GrProcessorTestData()
DGrProcessorUnitTest.h59 int numViews, const ViewInfo views[]);
61 int numViews, const ViewInfo views[],
/external/angle/src/libANGLE/
DFramebuffer.cpp1793 GLsizei numViews, in setAttachment() argument
1812 setAttachmentImpl(context, type, binding, textureIndex, resource, numViews, baseViewIndex, in setAttachment()
1822 context, type, binding, textureIndex, resource, numViews, baseViewIndex, in setAttachment()
1828 numViews, baseViewIndex, isMultiview, samples, in setAttachment()
1834 numViews, baseViewIndex, isMultiview, samples, in setAttachment()
1838 setAttachmentImpl(context, type, binding, textureIndex, resource, numViews, in setAttachment()
1843 commitWebGL1DepthStencilIfConsistent(context, numViews, baseViewIndex, isMultiview, samples); in setAttachment()
1851 GLsizei numViews, in setAttachmentMultiview() argument
1854 setAttachment(context, type, binding, textureIndex, resource, numViews, baseViewIndex, true, in setAttachmentMultiview()
1859 GLsizei numViews, in commitWebGL1DepthStencilIfConsistent() argument
[all …]
DFramebuffer.h233 GLsizei numViews,
450 GLsizei numViews,
455 GLsizei numViews,
464 GLsizei numViews,
476 GLsizei numViews,
DFramebufferAttachment.cpp115 GLsizei numViews, in attach() argument
129 mNumViews = numViews; in attach()
DFramebufferAttachment.h76 GLsizei numViews,
/external/skia/src/gpu/d3d/
DGrD3DCommandList.cpp401 int numViews = 0; in setVertexBuffers() local
404 views[numViews].BufferLocation = d3dBuffer->d3dResource()->GetGPUVirtualAddress(); in setVertexBuffers()
405 views[numViews].SizeInBytes = vertexBuffer->size(); in setVertexBuffers()
406 views[numViews++].StrideInBytes = vertexStride; in setVertexBuffers()
411 views[numViews].BufferLocation = d3dBuffer->d3dResource()->GetGPUVirtualAddress(); in setVertexBuffers()
412 views[numViews].SizeInBytes = instanceBuffer->size(); in setVertexBuffers()
413 views[numViews++].StrideInBytes = instanceStride; in setVertexBuffers()
416 fCommandList->IASetVertexBuffers(startSlot, numViews, views); in setVertexBuffers()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DVertexArray11.cpp342 void VertexArray11::markAllAttributeDivisorsForAdjustment(int numViews) in markAllAttributeDivisorsForAdjustment() argument
344 if (mAppliedNumViewsToDivisor != numViews) in markAllAttributeDivisorsForAdjustment()
346 mAppliedNumViewsToDivisor = numViews; in markAllAttributeDivisorsForAdjustment()
DVertexArray11.h55 void markAllAttributeDivisorsForAdjustment(int numViews);
/external/angle/src/libANGLE/renderer/gl/
DClearMultiviewGL.cpp69 int numViews = firstAttachment->getNumViews(); in clearLayeredFBO() local
71 for (int i = 0; i < numViews; ++i) in clearLayeredFBO()
DVertexArrayGL.cpp58 GLuint GetAdjustedDivisor(GLuint numViews, GLuint divisor) in GetAdjustedDivisor() argument
60 return numViews * divisor; in GetAdjustedDivisor()
942 void VertexArrayGL::applyNumViewsToDivisor(const gl::Context *context, int numViews) in applyNumViewsToDivisor() argument
944 if (numViews != mAppliedNumViews) in applyNumViewsToDivisor()
948 mAppliedNumViews = numViews; in applyNumViewsToDivisor()
DVertexArrayGL.h56 void applyNumViewsToDivisor(const gl::Context *context, int numViews);
/external/angle/src/compiler/translator/
DBaseTypes.h1292 return location == -1 && binding == -1 && offset == -1 && numViews == -1 && yuv == false && in isEmpty()
1305 bool numViewsSet = (numViews != -1); in isCombinationValid()
1343 int numViews; member
1380 numViews(-1), in TLayoutQualifier()
DQualifierTypes.cpp754 if (rightQualifier.numViews != -1) in JoinLayoutQualifiers()
756 joinedQualifier.numViews = rightQualifier.numViews; in JoinLayoutQualifiers()
DOutputGLSLBase.cpp1436 const auto &numViews = compiler.getNumViews(); in EmitMultiviewGLSL() local
1437 if (isVertexShader && numViews != -1) in EmitMultiviewGLSL()
1439 sink << "layout(num_views=" << numViews << ") in;\n"; in EmitMultiviewGLSL()
/external/deqp-deps/glslang/glslang/Include/
DTypes.h1249 int numViews; // multiview extenstions member
1285 numViews = TQualifier::layoutNotSet; in init()
1341 if (src.numViews != TQualifier::layoutNotSet) in merge()
1342 numViews = src.numViews; in merge()

123