Home
last modified time | relevance | path

Searched refs:HEIGHT (Results 1 - 25 of 138) sorted by relevance

123456

/third_party/skia/gm/
H A Dimagealphathreshold.cpp31 #define HEIGHT 500 macro
36 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects()
38 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects()
40 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects()
42 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint); in draw_rects()
47 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300); in create_filter_paint()
48 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT); in create_filter_paint()
76 return SkISize::Make(WIDTH, HEIGHT);
[all...]
H A Dimageblur.cpp21 #define HEIGHT 500 macro
34 int y = rand.nextULessThan(HEIGHT); in imageblurgm_draw()
41 DEF_SIMPLE_GM_BG(imageblur, canvas, WIDTH, HEIGHT, SK_ColorBLACK) { in DEF_SIMPLE_GM_BG()
44 DEF_SIMPLE_GM_BG(imageblur_large, canvas, WIDTH, HEIGHT, SK_ColorBLACK) { in DEF_SIMPLE_GM_BG()
H A Dgammatext.cpp39 #define HEIGHT 480 macro
48 return SkISize::Make(1024, HEIGHT);
52 const SkPoint pts[] = { { 0, 0 }, { 0, SkIntToScalar(HEIGHT) } }; in drawGrad()
57 SkRect r = { 0, 0, SkIntToScalar(1024), SkIntToScalar(HEIGHT) }; in drawGrad()
82 SkScalar stopy = SkIntToScalar(HEIGHT);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawScissorTests.cpp52 HEIGHT = 256 enumerator
132 float scaleHeight = 2.0f / (float)HEIGHT; in getVertices()
233 , framebufferSize ({WIDTH,HEIGHT}) in TestParams()
409 const VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; in iterate()
478 const VkViewport viewport = makeViewport(WIDTH, HEIGHT); in iterate()
608 frame = colorTargetImage->readSurface(m_context.getUniversalQueue(), m_context.getDefaultAllocator(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, zeroOffset, WIDTH, HEIGHT, VK_IMAGE_ASPECT_COLOR_BIT); in iterate()
613 refImage.setStorage(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM), WIDTH, HEIGHT); in iterate() local
717 params.staticScissors.push_back(makeRect2D(30, 40, WIDTH - 60, HEIGHT - 80)); in createTests()
719 params.commands.push_back(TestCommandSp(new QuadDrawTestCommand(WIDTH - 80, HEIGHT - 100, 30, 40, green))); in createTests()
728 params.staticScissors.push_back(makeRect2D(30, 40, WIDTH - 60, HEIGHT in createTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawScissorTests.cpp52 HEIGHT = 256 enumerator
132 float scaleHeight = 2.0f / (float)HEIGHT; in getVertices()
233 , framebufferSize ({WIDTH,HEIGHT}) in TestParams()
409 const VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; in iterate()
478 const VkViewport viewport = makeViewport(WIDTH, HEIGHT); in iterate()
608 frame = colorTargetImage->readSurface(m_context.getUniversalQueue(), m_context.getDefaultAllocator(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, zeroOffset, WIDTH, HEIGHT, VK_IMAGE_ASPECT_COLOR_BIT); in iterate()
613 refImage.setStorage(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM), WIDTH, HEIGHT); in iterate() local
717 params.staticScissors.push_back(makeRect2D(30, 40, WIDTH - 60, HEIGHT - 80)); in createTests()
719 params.commands.push_back(TestCommandSp(new QuadDrawTestCommand(WIDTH - 80, HEIGHT - 100, 30, 40, green))); in createTests()
728 params.staticScissors.push_back(makeRect2D(30, 40, WIDTH - 60, HEIGHT in createTests()
[all...]
H A DvktDrawNegativeViewportHeightTests.cpp58 HEIGHT = WIDTH/2, enumerator
126 const VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; in NegativeViewportHeightTestInstance()
179 const FramebufferCreateInfo framebufferCreateInfo (*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1); in NegativeViewportHeightTestInstance()
205 const VkRect2D scissor = makeRect2D(WIDTH, HEIGHT); in NegativeViewportHeightTestInstance()
323 DE_ASSERT(HEIGHT == WIDTH/2); in generateReferenceImage()
325 MovePtr<tcu::TextureLevel> image (new tcu::TextureLevel(mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT)); in generateReferenceImage()
341 const int p1 = static_cast<int>(static_cast<float>(HEIGHT) * (1.0f - 0.6f) / 2.0f); in generateReferenceImage()
342 const int p2 = p1 + static_cast<int>(static_cast<float>(HEIGHT) * (2.0f * 0.6f) / 2.0f); in generateReferenceImage()
360 for (int x = WIDTH - y; x < p2 + HEIGHT; ++x) in generateReferenceImage()
427 static_cast<float>(HEIGHT), // floa in iterate()
[all...]
/third_party/ffmpeg/tests/checkasm/
H A Dvf_gblur.c25 #define HEIGHT 256 macro
26 #define PIXELS (WIDTH * HEIGHT)
44 call_ref(dst_ref, WIDTH, HEIGHT, steps, nu, bscale, localbuf); in check_horiz_slice()
45 call_new(dst_new, WIDTH, HEIGHT, steps, nu, bscale, localbuf); in check_horiz_slice()
49 bench_new(dst_new, WIDTH, HEIGHT, 1, nu, bscale, localbuf); in check_horiz_slice()
60 call_ref(dst_ref, WIDTH, HEIGHT, 0, WIDTH, steps, nu, bscale); in check_verti_slice()
61 call_new(dst_new, WIDTH, HEIGHT, 0, WIDTH, steps, nu, bscale); in check_verti_slice()
65 bench_new(dst_new, WIDTH, HEIGHT, 0, WIDTH, 1, nu, bscale); in check_verti_slice()
91 s.planeheight[0] = HEIGHT; in checkasm_check_vf_gblur()
H A Dutvideodsp.c30 #define HEIGHT 120 macro
32 #define BUFFER_SIZE (WIDTH_PADDED * HEIGHT)
39 for (h = 0; h < HEIGHT; h++) { \
49 for (h = 0; h < HEIGHT; h++) { \
76 call_ref(src_r0, src_g0, src_b0, WIDTH_PADDED, WIDTH_PADDED, WIDTH_PADDED, WIDTH, HEIGHT);\
77 call_new(src_r1, src_g1, src_b1, WIDTH_PADDED, WIDTH_PADDED, WIDTH_PADDED, WIDTH, HEIGHT);\
81 bench_new(src_r1, src_g1, src_b1, WIDTH_PADDED, WIDTH_PADDED, WIDTH_PADDED, WIDTH, HEIGHT)
H A Dmotion.c43 #define HEIGHT 64 in test_motion() macro
51 LOCAL_ALIGNED_16(uint8_t, img1, [WIDTH * HEIGHT]); in test_motion()
52 LOCAL_ALIGNED_16(uint8_t, img2, [WIDTH * HEIGHT]); in test_motion()
64 fill_random(img1, WIDTH * HEIGHT); in test_motion()
65 fill_random(img2, WIDTH * HEIGHT); in test_motion()
70 y = rnd() % (HEIGHT - look_ahead); in test_motion()
H A Dvf_blend.c29 #define HEIGHT 256 macro
31 #define SIZE_PER_UNIT (WIDTH * HEIGHT)
37 for (i = 0; i < HEIGHT; i++) { \
78 dst1 + dst_offset, w, w, HEIGHT, &param, NULL); \
80 dst2 + dst_offset, w, w, HEIGHT, &param, NULL); \
85 w / 4, HEIGHT / 4, &param, NULL); \
/third_party/ffmpeg/libavcodec/tests/
H A Dmotion.c41 #define HEIGHT 64 macro
43 static uint8_t img1[WIDTH * HEIGHT];
44 static uint8_t img2[WIDTH * HEIGHT];
78 fill_random(img1, WIDTH * HEIGHT); in test_motion()
79 fill_random(img2, WIDTH * HEIGHT); in test_motion()
81 for(y=0;y<HEIGHT-17;y++) { in test_motion()
98 for(y=0;y<HEIGHT-17;y++) { in test_motion()
110 (double)NB_ITS * (WIDTH - 16) * (HEIGHT - 16) / in test_motion()
/third_party/skia/bench/
H A DTileImageFilterBench.cpp15 #define HEIGHT 512 macro
41 SkRect::MakeWH(50, 50), SkRect::MakeWH(WIDTH, HEIGHT), nullptr));
45 for (int y = 0; y < HEIGHT; y += fTileSize) {
50 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint);
55 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateDiscardTests.cpp127 const vk::VkExtent3D stencilImageExtent = { WIDTH, HEIGHT, 1 }; in DiscardTestInstance()
210 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, attachments, WIDTH, HEIGHT, 1); in initFramebuffer()
219 std::vector<vk::VkViewport> viewports { { 0.0f, 0.0f, (float)WIDTH, (float)HEIGHT, 0.0f, 1.0f } }; in initPipeline()
220 std::vector<vk::VkRect2D> scissors { { { 0u, 0u }, { WIDTH, HEIGHT } } }; in initPipeline()
311 m_renderPass.begin(m_vk, *m_cmdBuffer, vk::makeRect2D(0, 0, WIDTH, HEIGHT)); in beginRenderPass()
406 tcu::ConstPixelBufferAccess renderedFrame = m_depthStencilImage->readSurface(queue, m_context.getDefaultAllocator(), vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_STENCIL_BIT); in verifyResults()
411 stencilFrame = de::SharedPtr<tcu::TextureLevel>( new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8), WIDTH, HEIGHT, 1u)); in verifyResults()
418 for (int j = 0; j < HEIGHT; ++j) { in verifyResults()
440 vk::VkViewport viewport = vk::makeViewport(tcu::UVec2(WIDTH, HEIGHT)); in setDynamicState()
457 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); in verifyResults() local
493 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local
561 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local
596 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local
[all...]
H A DvktDynamicStateGeneralTests.cpp81 vk::VkViewport viewport = { 0, 0, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f }; in iterate()
82 vk::VkRect2D scissor_1 = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate()
83 vk::VkRect2D scissor_2 = { { WIDTH / 2, HEIGHT / 2 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate()
130 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<float>(WIDTH)), (int)(0.5f + static_cast<float>(HEIGHT))); in iterate()
154 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, in iterate()
192 vk::VkViewport viewport = { 0.0f, 0.0f, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f }; in iterate()
193 vk::VkRect2D scissor_1 = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate()
194 vk::VkRect2D scissor_2 = { { WIDTH / 2, HEIGHT / 2 }, { WIDTH / 2, HEIGHT / in iterate()
[all...]
H A DvktDynamicStateClearTests.cpp96 const vk::VkViewport viewport = { 0.0f, 0.0f, static_cast<float>(WIDTH / 2), static_cast<float>(HEIGHT / 2), 0.0f, 0.0f }; in iterate()
97 const vk::VkRect2D scissor = { { 0, 0 }, { WIDTH, HEIGHT } }; in iterate()
104 const vk::VkExtent3D imageExtent = { WIDTH, HEIGHT, 1 }; in iterate()
143 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT); in iterate()
184 const vk::VkClearRect rect = { { { 0, 0 }, { WIDTH, HEIGHT } }, 0, 1 }; in command()
191 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); in buildReferenceFrame() local
239 HEIGHT, in command()
255 HEIGHT, in command()
266 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); in buildReferenceFrame() local
307 const vk::VkExtent3D extent = { WIDTH, HEIGHT, in command()
324 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); buildReferenceFrame() local
406 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); buildReferenceFrame() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
H A DvktDynamicStateDiscardTests.cpp126 const vk::VkExtent3D stencilImageExtent = { WIDTH, HEIGHT, 1 }; in DiscardTestInstance()
209 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, attachments, WIDTH, HEIGHT, 1); in initFramebuffer()
218 std::vector<vk::VkViewport> viewports { { 0.0f, 0.0f, (float)WIDTH, (float)HEIGHT, 0.0f, 1.0f } }; in initPipeline()
219 std::vector<vk::VkRect2D> scissors { { { 0u, 0u }, { WIDTH, HEIGHT } } }; in initPipeline()
310 vk::beginRenderPass(m_vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, vk::makeRect2D(0, 0, WIDTH, HEIGHT)); in beginRenderPass()
405 tcu::ConstPixelBufferAccess renderedFrame = m_depthStencilImage->readSurface(queue, m_context.getDefaultAllocator(), vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_STENCIL_BIT); in verifyResults()
410 stencilFrame = de::SharedPtr<tcu::TextureLevel>( new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8), WIDTH, HEIGHT, 1u)); in verifyResults()
417 for (int j = 0; j < HEIGHT; ++j) { in verifyResults()
439 vk::VkViewport viewport = vk::makeViewport(tcu::UVec2(WIDTH, HEIGHT)); in setDynamicState()
445 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); in verifyResults() local
481 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local
549 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local
584 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_depthStencilAttachmentFormat), WIDTH, HEIGHT); verifyResults() local
[all...]
H A DvktDynamicStateGeneralTests.cpp79 vk::VkViewport viewport = { 0, 0, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f }; in iterate()
80 vk::VkRect2D scissor_1 = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate()
81 vk::VkRect2D scissor_2 = { { WIDTH / 2, HEIGHT / 2 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate()
128 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<float>(WIDTH)), (int)(0.5f + static_cast<float>(HEIGHT))); in iterate()
152 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, in iterate()
190 vk::VkViewport viewport = { 0.0f, 0.0f, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f }; in iterate()
191 vk::VkRect2D scissor_1 = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } }; in iterate()
192 vk::VkRect2D scissor_2 = { { WIDTH / 2, HEIGHT / 2 }, { WIDTH / 2, HEIGHT / in iterate()
[all...]
H A DvktDynamicStateClearTests.cpp95 const vk::VkViewport viewport = { 0.0f, 0.0f, static_cast<float>(WIDTH / 2), static_cast<float>(HEIGHT / 2), 0.0f, 0.0f }; in iterate()
96 const vk::VkRect2D scissor = { { 0, 0 }, { WIDTH, HEIGHT } }; in iterate()
103 const vk::VkExtent3D imageExtent = { WIDTH, HEIGHT, 1 }; in iterate()
142 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT); in iterate()
183 const vk::VkClearRect rect = { { { 0, 0 }, { WIDTH, HEIGHT } }, 0, 1 }; in command()
190 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); in buildReferenceFrame() local
238 HEIGHT, in command()
254 HEIGHT, in command()
265 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); in buildReferenceFrame() local
306 const vk::VkExtent3D extent = { WIDTH, HEIGHT, in command()
323 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); buildReferenceFrame() local
382 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), WIDTH, HEIGHT); buildReferenceFrame() local
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcLayoutLocationTests.cpp49 static const GLuint HEIGHT = 2; member
110 std::vector<DATA_TYPE> data = generateData<DATA_TYPE>(WIDTH, HEIGHT, components); in createTexture2D()
115 gl.texStorage2D(target, 1, internalFormat, WIDTH, HEIGHT); in createTexture2D()
116 gl.texSubImage2D(target, 0, 0, 0, WIDTH, HEIGHT, format, type, &data[0]); in createTexture2D()
125 std::vector<DATA_TYPE> data = generateData<DATA_TYPE>(WIDTH, HEIGHT, components); in createTexture3D()
130 gl.texStorage3D(GL_TEXTURE_3D, 1, internalFormat, WIDTH, HEIGHT, 1); in createTexture3D()
131 gl.texSubImage3D(GL_TEXTURE_3D, 0, 0, 0, 0, WIDTH, HEIGHT, 1, format, type, &data[0]); in createTexture3D()
139 std::vector<DATA_TYPE> data = generateData<DATA_TYPE>(WIDTH, HEIGHT, components); in createCubeMap()
146 gl.texStorage2D(GL_TEXTURE_CUBE_MAP, 1, internalFormat, WIDTH, HEIGHT); in createCubeMap()
148 gl.texSubImage2D(faces[i], 0, 0, 0, WIDTH, HEIGHT, forma in createCubeMap()
[all...]
H A DglcSampleVariablesTests.cpp200 HEIGHT = 16, enumerator
292 gl.texStorage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE, m_samples, m_internalFormat, WIDTH, HEIGHT, GL_FALSE); in iterate()
298 gl.texStorage2D(GL_TEXTURE_2D, 1, m_internalFormat, WIDTH, HEIGHT); in iterate()
312 gl.viewport(0, 0, WIDTH, HEIGHT); in iterate()
388 gl.renderbufferStorage(GL_RENDERBUFFER, m_internalFormat, width, HEIGHT); in iterate()
394 gl.viewport(0, 0, width, HEIGHT); in iterate()
461 tcu::TextureLevel results(m_texFormat, width, HEIGHT); in iterate()
490 for (int y = 0; y < HEIGHT; ++y) in iterate()
558 HEIGHT = 8, enumerator
607 gl.texStorage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE, m_samples, GL_RGBA8, WIDTH, HEIGHT, in iterate()
767 HEIGHT); iterate() local
[all...]
/third_party/skia/tests/
H A DCanvasStateTest.cpp115 const int HEIGHT = 400; in DEF_TEST() local
120 SkIntToScalar((HEIGHT-(2*SPACER)) / 7)); in DEF_TEST()
146 auto surf = SkSurface::MakeRaster(SkImageInfo::Make(WIDTH, HEIGHT, in DEF_TEST()
196 const int HEIGHT = 400; in DEF_TEST() local
199 SkIRect layerRect = SkIRect::MakeWH(WIDTH, HEIGHT / 4); in DEF_TEST()
240 auto surf = SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT)); in DEF_TEST()
308 const int HEIGHT = 100; in DEF_TEST() local
313 bitmap.allocN32Pixels(WIDTH, HEIGHT); in DEF_TEST()
317 canvas.clipRect(SkRect::MakeWH(SkIntToScalar(WIDTH), SkIntToScalar(HEIGHT))); in DEF_TEST()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalDrawAndClearTests.cpp338 HEIGHT = 256 enumerator
497 const VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; in createTargetColorImageAndImageView()
511 const VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; in createTargetDepthImageAndImageView()
567 HEIGHT, // deUint32 height in createFramebuffer()
623 for (int h = 0; h < HEIGHT; ++h) in prepareReferenceImageOneColor()
630 for (int h = 0; h < HEIGHT; ++h) in prepareReferenceImageOneColor()
637 for (int h = 0; h < HEIGHT; ++h) in prepareReferenceImageOneDepth()
644 for (int h = 0; h < HEIGHT; ++h) in prepareReferenceImageDepthClearPartial()
647 (w >= (WIDTH / 2) && h >= (HEIGHT / 2)) reference.setPixDepth(clearValueFinal.depth, w, h); in prepareReferenceImageDepthClearPartial()
656 for (int h = 0; h < HEIGHT; in prepareReferenceImageColorClearPartial()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
H A DvktConditionalDrawAndClearTests.cpp337 HEIGHT = 256 enumerator
477 const VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; in createTargetColorImageAndImageView()
491 const VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; in createTargetDepthImageAndImageView()
547 HEIGHT, // deUint32 height in createFramebuffer()
603 for (int h = 0; h < HEIGHT; ++h) in prepareReferenceImageOneColor()
610 for (int h = 0; h < HEIGHT; ++h) in prepareReferenceImageOneColor()
617 for (int h = 0; h < HEIGHT; ++h) in prepareReferenceImageOneDepth()
624 for (int h = 0; h < HEIGHT; ++h) in prepareReferenceImageDepthClearPartial()
627 (w >= (WIDTH / 2) && h >= (HEIGHT / 2)) reference.setPixDepth(clearValueFinal.depth, w, h); in prepareReferenceImageDepthClearPartial()
636 for (int h = 0; h < HEIGHT; in prepareReferenceImageColorClearPartial()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cES31CompatibilitySampleVariablesTests.cpp207 HEIGHT = 16, enumerator
290 gl.texStorage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE, m_samples, m_internalFormat, WIDTH, HEIGHT, GL_FALSE); in iterate()
296 gl.texStorage2D(GL_TEXTURE_2D, 1, m_internalFormat, WIDTH, HEIGHT); in iterate()
310 gl.viewport(0, 0, WIDTH, HEIGHT); in iterate()
386 gl.renderbufferStorage(GL_RENDERBUFFER, m_internalFormat, width, HEIGHT); in iterate()
392 gl.viewport(0, 0, width, HEIGHT); in iterate()
459 tcu::TextureLevel textureLevel(m_texFormat, width, HEIGHT); in iterate()
488 for (int y = 0; y < HEIGHT; ++y) in iterate()
556 HEIGHT = 8, enumerator
608 gl.texStorage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE, m_samples, GL_RGBA8, WIDTH, HEIGHT, in iterate()
768 HEIGHT); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationImageLayoutTransitionTests.cpp57 const int HEIGHT = 64; member
71 makeExtent3D(WIDTH, HEIGHT, 1u), // VkExtent3D extent; in makeImageCreateInfo()
181 const VkExtent2D renderSize = {deUint32(WIDTH), deUint32(HEIGHT)}; in iterate()
182 const VkRect2D renderArea = makeRect2D(makeExtent3D(WIDTH, HEIGHT, 1u)); in iterate()
184 const vector<VkViewport> viewports (1u, makeViewport(makeExtent3D(WIDTH, HEIGHT, 1u))); in iterate()
272 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, WIDTH, HEIGHT), 0, DE_NULL); in iterate()
296 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, WIDTH, HEIGHT), 0, DE_NULL); in iterate()
301 copyImageToBuffer(vk, *cmdBuffer, *targetImage, *resultBuffer, tcu::IVec2(WIDTH, HEIGHT), VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL); in iterate()
312 TextureLevel textureLevel (mapVkFormat(FORMAT), WIDTH, HEIGHT, 1); in iterate() local
321 for (int y = 0; y < HEIGHT; in iterate()
[all...]

Completed in 18 milliseconds

123456