Home
last modified time | relevance | path

Searched refs:m_height (Results 1 – 25 of 110) sorted by relevance

12345

/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayGenerateMipMap.cpp224 storage_config_1.m_height = 64; in initTest()
227 …nfig_1.m_levels = getAmountOfLevelsForTexture(storage_config_1.m_width, storage_config_1.m_height); in initTest()
233 storage_config_2.m_height = 117; in initTest()
236 …nfig_2.m_levels = getAmountOfLevelsForTexture(storage_config_2.m_width, storage_config_2.m_height); in initTest()
242 storage_config_3.m_height = 256; in initTest()
245 …nfig_3.m_levels = getAmountOfLevelsForTexture(storage_config_3.m_width, storage_config_3.m_height); in initTest()
251 storage_config_4.m_height = 173; in initTest()
254 …nfig_4.m_levels = getAmountOfLevelsForTexture(storage_config_4.m_width, storage_config_4.m_height); in initTest()
279 GL_RGBA8, config.m_width, config.m_height, config.m_depth, 0, /* border */ in initTest()
288 …texStorage3D(GL_TEXTURE_CUBE_MAP_ARRAY, config.m_levels, GL_RGBA8, config.m_width, config.m_height, in initTest()
[all …]
DesextcTextureCubeMapArraySubImage3D.cpp239 …m_copy_data_buffer.assign(copy_params.m_width * copy_params.m_height * copy_params.m_depth * m_n_c… in configureDataBuffer()
243 …lw::GLuint yoffset = copy_params.m_yoffset; yoffset < copy_params.m_yoffset + copy_params.m_height; in configureDataBuffer()
261 …lw::GLuint yoffset = copy_params.m_yoffset; yoffset < copy_params.m_yoffset + copy_params.m_height; in configureDataBuffer()
297 copy_params.m_width * copy_params.m_height * copy_params.m_depth * m_n_components * in configurePixelUnpackBuffer()
383 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_RGBA32UI, copy_params.m_width, copy_params.m_height); in configure2DTexture()
386 …gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, copy_params.m_width, copy_params.m_height, GL_RGBA_INTEGE… in configure2DTexture()
402 … copy_params.m_width, copy_params.m_height, copy_params.m_depth, GL_RGBA_INTEGER, GL_UNSIGNED_INT, in texSubImage3D()
421 copy_params.m_zoffset, 0, 0, copy_params.m_width, copy_params.m_height); in copyTexSubImage3D()
486 …<< "(" << copy_params.m_width << "," << copy_params.m_height << "," << copy_params.m_depth << ")\n" in testTexSubImage3D()
509 << "(" << copy_params.m_width << "," << copy_params.m_height << "," << copy_params.m_depth in testTexSubImage3D()
[all …]
/external/pdfium/fxbarcode/common/
DBC_CommonBitMatrix.cpp33 m_height = dimension; in Init()
34 int32_t rowSize = (m_height + 31) >> 5; in Init()
36 m_bits = FX_Alloc2D(int32_t, m_rowSize, m_height); in Init()
37 memset(m_bits, 0, m_rowSize * m_height * sizeof(int32_t)); in Init()
42 m_height = height; in Init()
45 m_bits = FX_Alloc2D(int32_t, m_rowSize, m_height); in Init()
46 memset(m_bits, 0, m_rowSize * m_height * sizeof(int32_t)); in Init()
55 if (offset >= m_rowSize * m_height || offset < 0) in Get()
62 if (offset >= m_rowSize * m_height || offset < 0) in Set()
73 memset(m_bits, 0, m_rowSize * m_height * sizeof(int32_t)); in Clear()
[all …]
DBC_CommonByteMatrix.cpp27 m_height = height; in CBC_CommonByteMatrix()
32 m_bytes = FX_Alloc2D(uint8_t, m_height, m_width); in Init()
33 memset(m_bytes, 0xff, m_height * m_width); in Init()
39 return m_height; in GetHeight()
55 for (y = 0; y < m_height; y++) { in clear()
/external/deqp/modules/gles3/functional/
Des3fFboDepthbufferTests.cpp56 , m_height (height) in BasicFboDepthCase()
89 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
92 glRenderbufferStorage(GL_RENDERBUFFER, m_format, m_width, m_height); in render()
100 glViewport(0, 0, m_width, m_height); in render()
132 …readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0… in render()
138 int m_height; member in deqp::gles3::Functional::BasicFboDepthCase
148 , m_height (height) in DepthWriteClampCase()
179 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
182 …glTexImage2D(GL_TEXTURE_2D, 0, m_format, m_width, m_height, 0, transferFmt.format, transferFmt.dat… in render()
192 glViewport(0, 0, m_width, m_height); in render()
[all …]
Des3fTextureFormatTests.cpp103 int m_height; member in deqp::gles3::Functional::Texture2DFormatCase
116 , m_height (height) in Texture2DFormatCase()
129 , m_height (height) in Texture2DFormatCase()
154 log << TestLog::Message << "2D texture, " << fmtName.str() << ", " << m_width << "x" << m_height in init()
159 …? new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height) // Implicit internal fo… in init()
160 : new glu::Texture2D(m_renderCtx, m_format, m_width, m_height); // Explicit internal format. in init()
179 …RandomViewport viewport (m_renderCtx.getRenderTarget(), m_width, m_height, deStringHash(getNam… in iterate()
266 int m_height; member in deqp::gles3::Functional::TextureCubeFormatCase
282 , m_height (height) in TextureCubeFormatCase()
297 , m_height (height) in TextureCubeFormatCase()
[all …]
Des3fReadPixelsTests.cpp86 const int m_height; member in deqp::gles3::Functional::__anon2f16e6700111::ReadPixelsTest
104 , m_height (13) in ReadPixelsTest()
233 GLU_CHECK_CALL(glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA32UI, m_width, m_height)); in clearColor()
239 GLU_CHECK_CALL(glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA32I, m_width, m_height)); in clearColor()
316 pixelData.resize(rowPitch * (m_height + m_skipRows), 0); in clearColor()
318 GLU_CHECK_CALL(glReadPixels(0, 0, m_width, m_height, m_format, m_type, &(pixelData[0]))); in clearColor()
335 tcu::Texture2D reference(format, m_width, m_height); in iterate()
350 GLU_CHECK_CALL(glViewport(0, 0, m_width, m_height)); in iterate()
357 …ufferAccess resultAccess = tcu::ConstPixelBufferAccess(format, m_width, m_height, 1, rowPitch, 0, … in iterate()
369 … (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), m_width, m_height); in iterate()
[all …]
Des3fTextureSizeTests.cpp71 int m_height; member in deqp::gles3::Functional::Texture2DSizeCase
84 , m_height (height) in Texture2DSizeCase()
99 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
101 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
193 int m_height; member in deqp::gles3::Functional::TextureCubeSizeCase
209 , m_height (height) in TextureCubeSizeCase()
226 DE_ASSERT(m_width == m_height); in init()
239 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
Des3fTextureSpecificationTests.cpp261 int m_height; member in deqp::gles3::Functional::Texture2DSpecCase
270 , m_height (height) in Texture2DSpecCase()
304 int levelH = de::max(1, m_height >> levelNdx); in verifyTexture()
443 int m_height; member in deqp::gles3::Functional::Texture2DArraySpecCase
453 , m_height (height) in Texture2DArraySpecCase()
495 int levelH = de::max(1, m_height >> levelNdx); in verifyTexture()
543 int m_height; member in deqp::gles3::Functional::Texture3DSpecCase
553 , m_height (height) in Texture3DSpecCase()
589 int levelH = de::max(1, m_height >> levelNdx); in verifyTexture()
671 int levelH = de::max(1, m_height >> ndx); in createTexture()
[all …]
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRenderingFBONoAttachment.cpp107 const glw::GLint GeometryShaderLayeredRenderingFBONoAttachment::m_height = 128; member in glcts::GeometryShaderLayeredRenderingFBONoAttachment
262 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_HEIGHT, m_height); in iterate()
267 if (m_width != width || m_height != height) in iterate()
270 << "\\" << m_height << " but is " << width << "\\" << height << tcu::TestLog::EndMessage; in iterate()
290 m_all_layers_data = new glw::GLint[m_n_layers * m_width * m_height * m_n_texture_components]; in iterate()
292 for (int n = 0; n < m_n_layers * m_width * m_height; ++n) in iterate()
302 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1 /* levels */, GL_RGBA32I, m_width, m_height, m_n_layers); in iterate()
323 gl.viewport(0 /* x */, 0 /* y */, m_width /* width */, m_height /* height */); in iterate()
334 m_layer_data = new glw::GLint[m_width * m_height * m_n_texture_components]; in iterate()
345 m_width, m_height, m_n_layers, GL_RGBA_INTEGER, GL_INT, m_all_layers_data); in iterate()
[all …]
DesextcGeometryShaderLayeredRenderingBoundaryCondition.cpp38 const glw::GLint GeometryShaderLayeredRenderingBoundaryCondition::m_height = 4; member in glcts::GeometryShaderLayeredRenderingBoundaryCondition
323 unsigned char buffer[m_width * m_height * m_max_depth * m_texture_components]; in iterate()
330 gl.texStorage3D(m_textures_info[i].m_texture_target, 1, GL_RGBA8, m_width, m_height, in iterate()
332 …gl.texSubImage3D(m_textures_info[i].m_texture_target, 0, 0, 0, 0, m_width, m_height, m_textures_in… in iterate()
384 gl.viewport(0, 0, m_width, m_height); in iterate()
441 gl.viewport(0, 0, m_width, m_height); in iterate()
444 …gl.readPixels(0 /* x */, 0 /* y */, m_width /* width */, m_height /* height */, GL_RGBA, GL_UNSIGN… in iterate()
455 …if (!comparePixels(m_width, m_height, m_texture_components, buffer, expectedData, nTexture, nLayer… in iterate()
/external/deqp/framework/common/
DtcuSurface.hpp54 int getHeight (void) const { return m_height; } in getHeight()
66 int m_height; member in tcu::Surface
72 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in setPixel()
89 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in getPixel()
107 …TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empt… in getAccess()
113 …TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empt… in getAccess()
DtcuSurface.cpp30 , m_height (0) in Surface()
36 , m_height (height) in Surface()
55 m_height = height; in setSize()
DtcuSurfaceAccess.cpp34 , m_height (height) in SurfaceAccess()
44 , m_height (surface.getHeight()) in SurfaceAccess()
54 , m_height (height) in SurfaceAccess()
DtcuSurfaceAccess.hpp58 int getHeight (void) const { return m_height; } in getHeight()
68 int m_height; member in tcu::SurfaceAccess
73 DE_ASSERT(de::inBounds(x, 0, m_width) && de::inBounds(y, 0, m_height)); in setPixel()
/external/pdfium/third_party/agg23/
Dagg_rendering_buffer.h52 m_height(0), in rendering_buffer()
61 m_height(0), in rendering_buffer()
71 m_height = height; in attach()
101 return m_height; in height()
140 unsigned m_height; variable
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp368 const int m_height; member in deqp::gles2::Functional::TextureSpecCase
400 , m_height (height) in TextureSpecCase()
422 DE_ASSERT(m_width <= 256 && m_height <= 256); in iterate()
423 if (renderTarget.getWidth() < m_width || renderTarget.getHeight() < m_height) in iterate()
486 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTex2D()
493 int levelH = de::max(1, m_height >> levelNdx); in verifyTex2D()
524 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTexCube()
531 int levelH = de::max(1, m_height >> levelNdx); in verifyTexCube()
631 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture()
646 int levelH = de::max(1, m_height >> ndx); in createTexture()
[all …]
Des2fTextureSizeTests.cpp70 int m_height; member in deqp::gles2::Functional::Texture2DSizeCase
83 , m_height (height) in Texture2DSizeCase()
98 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
100 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
192 int m_height; member in deqp::gles2::Functional::TextureCubeSizeCase
208 , m_height (height) in TextureCubeSizeCase()
225 DE_ASSERT(m_width == m_height); in init()
238 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSparseRenderTargetTests.cpp388 const deUint32 m_height; member in vkt::__anone8d174220111::SparseRenderTargetTestInstance
416 , m_height (32u) in SparseRenderTargetTestInstance()
419 …SparseQueue(), context.getSparseQueueFamilyIndex(), *m_bindSemaphore, m_format, m_width, m_height)) in SparseRenderTargetTestInstance()
421 …r (createBuffer(context.getDeviceInterface(), context.getDevice(), m_format, m_width, m_height)) in SparseRenderTargetTestInstance()
424 …text.getDeviceInterface(), context.getDevice(), *m_renderPass, *m_dstImageView, m_width, m_height)) in SparseRenderTargetTestInstance()
426 …evice(), *m_renderPass, *m_renderPipelineLayout, context.getBinaryCollection(), m_width, m_height)) in SparseRenderTargetTestInstance()
470 { m_width, m_height } in iterateInternal()
483 copyImageToBuffer(vkd, *commandBuffer, *m_dstImage, *m_dstBuffer, tcu::IVec2(m_width, m_height)); in iterateInternal()
492 const tcu::ConstPixelBufferAccess access (format, m_width, m_height, 1, ptr); in iterateInternal()
493 tcu::TextureLevel reference (format, m_width, m_height); in iterateInternal()
[all …]
DvktRenderPassSubpassDependencyTests.cpp367 const deUint32 m_height; member in vkt::__anone831ca2d0111::ExternalDependencyTestInstance
398 , m_height (testConfig.imageSize.y()) in ExternalDependencyTestInstance()
401 …ageMemories, context.getUniversalQueueFamilyIndex(), m_format, m_width, m_height, testConfig.rende… in ExternalDependencyTestInstance()
404 … (createBuffer(context.getDeviceInterface(), context.getDevice(), m_format, m_width, m_height)) in ExternalDependencyTestInstance()
407 …ontext.getDeviceInterface(), context.getDevice(), m_renderPasses, m_imageViews, m_width, m_height)) in ExternalDependencyTestInstance()
412 …vice(), m_renderPasses, m_renderPipelineLayouts, context.getBinaryCollection(), m_width, m_height)) in ExternalDependencyTestInstance()
712 { m_width, m_height } // VkExtent2D extent in iterateInternal()
785 { m_width, m_height, 1u } // VkExtent3D imageExtent in iterateInternal()
816 const tcu::ConstPixelBufferAccess access (format, m_width, m_height, 1, ptr); in iterateInternal()
817 tcu::TextureLevel reference (format, m_width, m_height); in iterateInternal()
[all …]
DvktRenderPassSampleReadTests.cpp761 const deUint32 m_height; member in vkt::__anonf70c96eb0111::SampleReadTestInstance
803 , m_height (32u) in SampleReadTestInstance()
806 …nt), VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT, m_width, m_height)) in SampleReadTestInstance()
810 …pleCountBitFromSampleCount(m_sampleCount), VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, m_width, m_height)) in SampleReadTestInstance()
813 …T_1_BIT, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, m_width, m_height)) in SampleReadTestInstance()
816 …teBuffer(context.getDeviceInterface(), context.getDevice(), VK_FORMAT_R32_UINT, m_width, m_height)) in SampleReadTestInstance()
819 …Pass, *m_srcImageView, *m_dstMultisampleImageView, *m_dstSinglesampleImageView, m_width, m_height)) in SampleReadTestInstance()
821 …derPass, *m_renderPipelineLayout, context.getBinaryCollection(), m_width, m_height, m_sampleCount)) in SampleReadTestInstance()
824 …erPass, *m_subpassPipelineLayout, context.getBinaryCollection(), m_width, m_height, m_sampleCount)) in SampleReadTestInstance()
870 { m_width, m_height } in iterateInternal()
[all …]
DvktRenderPassMultisampleResolveTests.cpp795 const deUint32 m_height; member in vkt::__anonea07a03a0111::MultisampleRenderPassTestInstance
829 , m_height (32u) in MultisampleRenderPassTestInstance()
831 …tDeviceInterface(), context.getDevice(), m_format, m_sampleCount, m_width, m_height, m_layerCount)) in MultisampleRenderPassTestInstance()
835 …e(), context.getDeviceInterface(), context.getDevice(), m_format, m_width, m_height, m_layerCount)) in MultisampleRenderPassTestInstance()
840 …*m_renderPass, m_multisampleImageViews, m_singlesampleImageViews, m_width, m_height, m_layerCount)) in MultisampleRenderPassTestInstance()
843 …rPass, *m_renderPipelineLayout, context.getBinaryCollection(), m_width, m_height, m_sampleCount, m… in MultisampleRenderPassTestInstance()
845 …fers(context.getDeviceInterface(), context.getDevice(), m_format, m_width, m_height, m_layerCount)) in MultisampleRenderPassTestInstance()
849 …extureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT), m_width, m_height, m_layerCount) in MultisampleRenderPassTestInstance()
866 …tcu::ConstPixelBufferAccess layerImage (image.getFormat(), m_width, m_height, 1, image.getPixelPtr… in logImage()
930 { m_width, m_height } in submit()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureBarrierTests.cpp122 , m_height(0) in TextureBarrierBasicOutline()
153 m_height = renderTarget.getHeight(); in init()
167 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_R32UI, m_width, m_height); in init()
170 m_reference[i] = new GLuint[m_width * m_height]; in init()
172 m_actual = new GLuint[m_width * m_height]; in init()
344 …f ((static_cast<GLint>(x) < 0) || (x >= m_width) || (static_cast<GLint>(y) < 0) || (y >= m_height)) in texel()
361 for (GLuint y = 0; y < m_height; ++y) in initTextureData()
367 gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_width, m_height, GL_RED_INTEGER, GL_UNSIGNED_INT, in initTextureData()
386 for (GLuint y = 0; y < m_height; ++y) in verifyTextureData()
495 GLuint m_width, m_height; member in gl4cts::TextureBarrierBasicOutline
[all …]
/external/libkmsxx/kms++/src/
Dframebuffer.cpp16 : DrmObject(card, DRM_MODE_OBJECT_FB), m_width(width), m_height(height) in Framebuffer()
28 m_height = fb->height; in Framebuffer()
32 m_width = m_height = 0; in Framebuffer()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_jbig.cpp32 m_height(0), in CCodec_Jbig2Context()
58 pJbig2Context->m_height = height; in StartDecode()
89 int dword_size = pJbig2Context->m_height * pJbig2Context->m_dest_pitch / 4; in Decode()

12345