/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureCompletenessTests.cpp | 257 IVec2 m_size; member in deqp::gles2::Functional::Incomplete2DSizeCase 265 , m_size (size) in Incomplete2DSizeCase() 289 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() 293 …int levelW = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.x() : de::max(1, m_size.x() >> l… in createTexture() 294 …int levelH = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.y() : de::max(1, m_size.y() >> l… in createTexture() 296 levelData.setSize(m_size.x(), m_size.y()); in createTexture() 305 if (!deIsPowerOfTwo32(m_size.x()) && !deIsPowerOfTwo32(m_size.y())) in createTexture() 331 IVec2 m_size; member in deqp::gles2::Functional::Incomplete2DFormatCase 339 , m_size (size) in Incomplete2DFormatCase() 356 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() [all …]
|
D | es2fBufferWriteTests.cpp | 184 , m_size (size) in BasicBufferDataCase() 196 refBuf.setSize(m_size); in iterate() 197 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed); in iterate() 201 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate() 205 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size); in iterate() 217 int m_size; member in deqp::gles2::Functional::BasicBufferDataCase 277 , m_size (size) in BasicBufferSubDataCase() 292 refBuf.setSize(m_size); in iterate() 298 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed ^ 0x80354f); in iterate() 299 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate() [all …]
|
D | es2fTextureMipmapTests.cpp | 463 int m_size; member in deqp::gles2::Functional::TextureCubeMipmapCase 490 , m_size (size) in TextureCubeMipmapCase() 511 m_texture = new TextureCube(m_renderCtx, m_format, m_dataType, m_size); in init() 513 int numLevels = deLog2Floor32(m_size)+1; in init() 909 int m_size; member in deqp::gles2::Functional::TextureCubeGenMipmapCase 921 , m_size (size) in TextureCubeGenMipmapCase() 934 …m_renderCtx.getRenderTarget().getWidth() < 3*m_size || m_renderCtx.getRenderTarget().getHeight() <… in init() 935 …"Render target size must be at least (" + de::toString(3*m_size) + ", " + de::toString(2*m_size) +… in init() 938 m_texture = new TextureCube(m_renderCtx, m_format, m_dataType, m_size); in init() 958 …ultTexture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), m_size); in iterate() [all …]
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deRingBuffer.hpp | 44 int getSize (void) const { return m_size; } in getSize() 46 int getNumFree (void) const { return m_size - m_numElements; } in getNumFree() 64 int m_size; member in de::RingBuffer 74 , m_size (size) in RingBuffer() 77 m_buffer = new T[m_size]; in RingBuffer() 104 buf[ndx] = m_buffer[(m_back + ndx) % m_size]; in resize() 109 m_size = newSize; in resize() 126 m_front = (m_front + 1) % m_size; in pushFront() 135 m_buffer[(m_front + i) % m_size] = elemBuf[i]; in pushFront() 136 m_front = (m_front + count) % m_size; in pushFront() [all …]
|
D | deThreadSafeRingBuffer.hpp | 54 const size_t m_size; member in de::ThreadSafeRingBuffer 71 : m_size (size+1) in ThreadSafeRingBuffer() 72 , m_elements (m_size) in ThreadSafeRingBuffer() 86 m_front = (m_front + 1) % m_size; in pushFrontInternal() 93 m_back = (m_back + 1) % m_size; in popBackInternal()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayColorDepthAttachments.cpp | 175 : m_size(size), m_n_cubemaps(n_cubemaps) in _texture_size() 457 texture_size.m_size, texture_size.m_size); in draw() 819 …generateAndConfigureTextureObjects(texture_size.m_size, texture_size.m_n_cubemaps, should_use_muta… in testLayeredRendering() 929 …generateAndConfigureTextureObjects(texture_size.m_size, texture_size.m_n_cubemaps, should_use_muta… in testNonLayeredRendering() 1036 const glw::GLuint result_data_size = texture_size.m_size * texture_size.m_size * 4; in verifyColorData() 1044 texture_size.m_size, texture_size.m_size, GL_RGBA_INTEGER, m_color_type, result_data); in verifyColorData() 1050 …result = verifyImage<glw::GLuint, 4>(texture_size.m_size, texture_size.m_size, expected, result_da… in verifyColorData() 1078 const glw::GLuint result_data_size = texture_size.m_size * texture_size.m_size; in verifyDepth16Data() 1088 texture_size.m_size, texture_size.m_size, m_depth_format, m_depth_type, result_data); in verifyDepth16Data() 1092 …result = verifyImage<glw::GLushort, 1>(texture_size.m_size, texture_size.m_size, &expected_value, … in verifyDepth16Data() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFboMultisampleTests.cpp | 62 , m_size (size) in BasicFboMultisampleCase() 108 … glRenderbufferStorageMultisample(GL_RENDERBUFFER, samples, m_colorFormat, m_size.x(), m_size.y()); in render() 114 …erbufferStorageMultisample(GL_RENDERBUFFER, samples, m_depthStencilFormat, m_size.x(), m_size.y()); in render() 130 glViewport(0, 0, m_size.x(), m_size.y()); in render() 174 …glBlitFramebuffer(0, 0, m_size.x(), m_size.y(), 0, 0, m_size.x(), m_size.y(), GL_COLOR_BUFFER_BIT … in render() 225 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.loo… in render() 246 IVec2 m_size; member in deqp::gles3::Functional::BasicFboMultisampleCase
|
D | es3fFboStencilbufferTests.cpp | 55 , m_size (size) in BasicFboStencilCase() 82 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_size.x(), m_size.y()); in render() 87 glRenderbufferStorage(GL_RENDERBUFFER, m_format, m_size.x(), m_size.y()); in render() 99 glViewport(0, 0, m_size.x(), m_size.y()); in render() 132 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), V… in render() 137 IVec2 m_size; member in deqp::gles3::Functional::BasicFboStencilCase
|
D | es3fBufferWriteTests.cpp | 184 , m_size (size) in BasicBufferDataCase() 196 refBuf.setSize(m_size); in iterate() 197 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed); in iterate() 201 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate() 205 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_target); in iterate() 217 int m_size; member in deqp::gles3::Functional::BasicBufferDataCase 277 , m_size (size) in BasicBufferSubDataCase() 292 refBuf.setSize(m_size); in iterate() 298 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed ^ 0x80354f); in iterate() 299 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate() [all …]
|
D | es3fBufferMapTests.cpp | 114 , m_size (size) in BufferMapWriteCase() 126 refBuf.setSize(m_size); in iterate() 127 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed); in iterate() 131 glBufferData(m_bufferTarget, m_size, DE_NULL, m_usage); in iterate() 133 void* ptr = glMapBufferRange(m_bufferTarget, 0, m_size, GL_MAP_WRITE_BIT); in iterate() 137 fillWithRandomBytes((deUint8*)ptr, m_size, dataSeed); in iterate() 141 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_bufferTarget); in iterate() 152 int m_size; member in deqp::gles3::Functional::BufferMapWriteCase
|
D | es3fFramebufferBlitTests.cpp | 336 , m_size (size) in BlitColorConversionCase() 389 glRenderbufferStorage(GL_RENDERBUFFER, format, m_size.x(), m_size.y()); in render() 397 glViewport(0, 0, m_size.x(), m_size.y()); in render() 419 …glBlitFramebuffer(0, 0, m_size.x(), m_size.y(), 0, 0, m_size.x(), m_size.y(), GL_COLOR_BUFFER_BIT,… in render() 424 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), dstFormat, dstRangeInfo.lookupScale, dstRangeInfo.lo… in render() 455 IVec2 m_size; member in deqp::gles3::Functional::BlitColorConversionCase
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureSpecificationTests.cpp | 218 int m_size; member in deqp::gles31::Functional::TextureCubeArraySpecCase 227 , m_size (size) in TextureCubeArraySpecCase() 280 int levelSize = de::max(1, m_size >> levelNdx); in verifyTexture() 343 int levelW = de::max(1, m_size >> ndx); in createTexture() 377 …glTexStorage3D (GL_TEXTURE_CUBE_MAP_ARRAY, m_numLevels, m_internalFormat, m_size, m_size, m_depth); in createTexture() 383 int levelW = de::max(1, m_size >> ndx); in createTexture() 433 int rowLength = m_rowLength > 0 ? m_rowLength : m_size; in createTexture() 435 int imageHeight = m_imageHeight > 0 ? m_imageHeight : m_size; in createTexture() 451 …tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitc… in createTexture() 467 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, 0, m_internalFormat, m_size, m_size, m_depth, 0, transferF… in createTexture() [all …]
|
D | es31fTextureFormatTests.cpp | 117 const int m_size; member in deqp::gles31::Functional::TextureCubeArrayFormatCase 132 , m_size (size) in TextureCubeArrayFormatCase() 146 , m_size (size) in TextureCubeArrayFormatCase() 168 …? new glu::TextureCubeArray(m_renderCtx, m_format, m_dataType, m_size, m_depth) // Implicit intern… in init() 169 …: new glu::TextureCubeArray(m_renderCtx, m_format, m_size, m_depth); // Explicit internal forma… in init() 207 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_size, m_size, deStringHash(getName())… in testLayerFace()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageSampleDrawnCubeFaceTests.cpp | 126 const tcu::IVec2& m_size; member in vkt::image::__anon2de22b670111::SampleDrawnCubeFaceTestInstance 132 , m_size (size) in SampleDrawnCubeFaceTestInstance() 255 const IVec3 imageSize = {m_size.x(), m_size.y(), (deInt32)layerCount}; in iterate() 256 const VkExtent2D renderSize = {deUint32(m_size.x()), deUint32(m_size.y())}; in iterate() 257 const VkRect2D renderArea = makeRect2D(makeExtent3D(m_size.x(), m_size.y(), 1u)); in iterate() 259 …const vector<VkViewport> viewports (1u, makeViewport(makeExtent3D(m_size.x(), m_size.y(), 1u))… in iterate() 429 …copyImageToBuffer(vk, *cmdBuffer, *targetImage, *resultBuffer, IVec2(m_size.x(), m_size.y()), VK_A… in iterate() 476 const tcu::IVec2 m_size; member in vkt::image::__anon2de22b670111::SampleDrawnCubeFaceTest 486 , m_size (size) in SampleDrawnCubeFaceTest() 549 return new SampleDrawnCubeFaceTestInstance(context, m_size, m_format); in createInstance()
|
D | vktImageMisalignedCubeTests.cpp | 137 const tcu::IVec3& m_size; member in vkt::image::__anonfc3493370111::MisalignedCubeTestInstance 143 , m_size (size) in MisalignedCubeTestInstance() 150 DE_ASSERT(de::inRange(m_size.z(), 6, 16)); in iterate() 158 const deUint32 numLayers = m_size.z(); in iterate() 162 const VkExtent3D imageExtent = makeExtent3D(m_size.x(), m_size.y(), 1u); in iterate() 170 const VkImageCreateInfo imageCreateInfo = makeImageCreateInfo(m_size, m_format); in iterate() 296 const tcu::IVec3 m_size; member in vkt::image::__anonfc3493370111::MisalignedCubeTest 306 , m_size (size) in MisalignedCubeTest() 358 return new MisalignedCubeTestInstance(context, m_size, m_format); in createInstance()
|
/third_party/python/Objects/ |
D | moduleobject.c | 221 if (module->m_size > 0) { in _PyModule_CreateInitialized() 222 m->md_state = PyMem_Malloc(module->m_size); in _PyModule_CreateInitialized() 228 memset(m->md_state, 0, module->m_size); in _PyModule_CreateInitialized() 273 if (def->m_size < 0) { in PyModule_FromDefAndSpec2() 331 if (def->m_size > 0 || def->m_traverse || def->m_clear || def->m_free) { in PyModule_FromDefAndSpec2() 383 if (def->m_size >= 0) { in PyModule_ExecDef() 388 md->md_state = PyMem_Malloc(def->m_size); in PyModule_ExecDef() 393 memset(md->md_state, 0, def->m_size); in PyModule_ExecDef() 682 && (m->md_def->m_size <= 0 || m->md_state != NULL)) in module_dealloc() 779 && (m->md_def->m_size <= 0 || m->md_state != NULL)) in module_traverse() [all …]
|
/third_party/vk-gl-cts/execserver/ |
D | xsProtocol.cpp | 52 , m_size (dataSize) in MessageParser() 60 XS_CHECK_MSG(m_pos + sizeof(T) <= m_size, "Invalid payload size"); in get() 73 XS_CHECK_MSG(m_pos < m_size, "Unterminated string payload"); in getString() 81 if (m_pos != m_size) in assumEnd() 87 size_t m_size; member in xs::MessageParser
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl3cClipDistance.hpp | 179 glw::GLsizei m_size; member in gl3cts::ClipDistance::Utility::VertexBufferObject 332 : m_gl(gl), m_vertex_buffer_object_id(0), m_target(target), m_size(0) in VertexBufferObject() 339 m_size = (glw::GLsizei)(sizeof(T) * data.size()); in VertexBufferObject() 343 m_gl.bufferData(m_target, m_size, &data[0], GL_STATIC_DRAW); in VertexBufferObject() 447 std::vector<T> buffer_data(m_size / sizeof(T)); in readBuffer() 455 memcpy(&buffer_data[0], results, m_size); in readBuffer()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTexture.hpp | 361 const IVec3& getSize (void) const { return m_size; } in getSize() 362 int getWidth (void) const { return m_size.x(); } in getWidth() 363 int getHeight (void) const { return m_size.y(); } in getHeight() 364 int getDepth (void) const { return m_size.z(); } in getDepth() 399 IVec3 m_size; member in tcu::ConstPixelBufferAccess 451 const IVec3& getSize (void) const { return m_size; } in getSize() 452 int getWidth (void) const { return m_size.x(); } in getWidth() 453 int getHeight (void) const { return m_size.y(); } in getHeight() 454 int getDepth (void) const { return m_size.z(); } in getDepth() 455 bool isEmpty (void) const { return m_size.x() * m_size.y() * m_size.z() == 0; } in isEmpty() [all …]
|
D | tcuTexture.cpp | 937 : m_size (0) in ConstPixelBufferAccess() 946 , m_size (width, height, depth) in ConstPixelBufferAccess() 947 , m_pitch (calculatePackedPitch(m_format, m_size)) in ConstPixelBufferAccess() 956 , m_size (size) in ConstPixelBufferAccess() 957 , m_pitch (calculatePackedPitch(m_format, m_size)) in ConstPixelBufferAccess() 966 , m_size (width, height, depth) in ConstPixelBufferAccess() 976 , m_size (size) in ConstPixelBufferAccess() 987 , m_size (size) in ConstPixelBufferAccess() 998 , m_size (level.getSize()) in ConstPixelBufferAccess() 999 , m_pitch (calculatePackedPitch(m_format, m_size)) in ConstPixelBufferAccess() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/ |
D | vktQueryPoolPerformanceTests.cpp | 412 deUint32 m_size; member in vkt::QueryPool::__anon34162e060111::GraphicQueryTestBase 418 , m_size(32) in GraphicQueryTestBase() 431 m_size, // width in initStateObjects() 432 m_size, // height in initStateObjects() 481 FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, attachments, m_size, m_size, 1); in initStateObjects() 526 const VkViewport viewport = makeViewport(m_size, m_size); in initStateObjects() 527 const VkRect2D scissor = makeRect2D(m_size, m_size); in initStateObjects() 625 makeRect2D(0, 0, m_size, m_size), in iterate() 772 makeRect2D(0, 0, m_size, m_size), in iterate()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_virtualvalues.cpp | 733 m_size(size), in LocalArray() 744 for (unsigned i = 0; i < m_size; ++i) { in LocalArray() 746 m_values[m_size * c + i] = new LocalArrayValue(reg, *this); in LocalArray() 752 m_values[m_size * c + i]->pin_live_range(true); in LocalArray() 778 return m_size; in size() 788 ASSERT_OR_THROW(offset < m_size, "Array: index out of range"); in element() 818 ASSERT_OR_THROW(offset < m_size, "Array: indirect constant index out of range"); in element() 822 LocalArrayValue *reg = m_values[m_size * chan + offset]; in element() 850 int offset = (chan - m_frac) * m_size; in ready_for_indirect() 851 for (unsigned i = 0; i < m_size; ++i) { in ready_for_indirect() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrUtil.hpp | 66 const tcu::UVec2& getSize (void) const { return m_size; } in getSize() 80 const tcu::UVec2 m_size; member in vkt::ycbcr::MultiPlaneImageData 147 const tcu::IVec3& getSize (void) const { return m_size; } in getSize() 163 const tcu::IVec3 m_size; member in vkt::ycbcr::ChannelAccess
|
D | vktYCbCrUtil.cpp | 67 , m_size (size) in MultiPlaneImageData() 76 , m_size (other.m_size) in MultiPlaneImageData() 93 …const deUint32 planeW = m_size.x() / ( m_description.blockWidth * m_description.planes[planeNdx].… in getChannelAccess() 99 m_size, in getChannelAccess() 112 …const deUint32 planeW = m_size.x() / (m_description.blockWidth * m_description.planes[planeNdx].w… in getChannelAccess() 118 m_size, in getChannelAccess() 777 , m_size (size) in ChannelAccess() 786 DE_ASSERT(pos[0] < m_size[0]); in getChannelUint() 787 DE_ASSERT(pos[1] < m_size[1]); in getChannelUint() 788 DE_ASSERT(pos[2] < m_size[2]); in getChannelUint() [all …]
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_validator.cpp | 255 m_size(size) in ShaderBlob() 268 return m_size; in GetBufferSize() 290 size_t m_size; member in ShaderBlob
|