Searched refs:kResolution (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/gpu/command_buffer/tests/ |
D | gl_depth_texture_unittest.cc | 19 static const GLsizei kResolution = 64; member in gpu::DepthTextureTest 22 options.size = gfx::Size(kResolution, kResolution); in SetUp() 111 GL_TEXTURE_2D, 0, GL_RGBA, kResolution, kResolution, in TEST_F() 130 glUniform2f(resolution_loc, kResolution, kResolution); in TEST_F() 148 GL_TEXTURE_2D, 0, format, kResolution, kResolution, in TEST_F() 186 uint8 actual_pixels[kResolution * kResolution * 4] = { 0, }; in TEST_F() 188 0, 0, kResolution, kResolution, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_F() 201 for (GLint yy = 0; bad_count < 16 && yy < kResolution; ++yy) { in TEST_F() 202 for (GLint xx = 0; bad_count < 16 && xx < kResolution; ++xx) { in TEST_F() 203 const uint8* actual = &actual_pixels[(yy * kResolution + xx) * 4]; in TEST_F() [all …]
|
D | gl_pointcoord_unittest.cc | 19 static const GLsizei kResolution = 256; member in gpu::PointCoordTest 24 options.size = gfx::Size(kResolution, kResolution); in SetUp() 63 return (s + 1.0) * 0.5 * PointCoordTest::kResolution; in s2p() 110 GLint point_width = max_point_size / kResolution; in TEST_F() 116 GLfloat pixel_offset = (max_point_size % 2) ? (1.0f / kResolution) : 0; in TEST_F()
|
D | gl_bind_uniform_location_unittest.cc | 20 static const GLsizei kResolution = 4; member in gpu::BindUniformLocationTest 23 options.size = gfx::Size(kResolution, kResolution); in SetUp() 99 GLTestHelper::CheckPixels(0, 0, kResolution, kResolution, 1, expected)); in TEST_F() 215 GLTestHelper::CheckPixels(0, 0, kResolution, kResolution, 1, expected)); in TEST_F()
|
D | gl_chromium_path_rendering_unittest.cc | 19 static const GLsizei kResolution = 100; member in gpu::CHROMIUMPathRenderingTest 24 options.size = gfx::Size(kResolution, kResolution); in SetUp()
|
D | gl_texture_storage_unittest.cc | 17 static const GLsizei kResolution = 64; member in gpu::TextureStorageTest 20 options.size = gfx::Size(kResolution, kResolution); in SetUp()
|