Home
last modified time | relevance | path

Searched refs:kWindowSize (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultisampleTest.cpp55 mOSWindow->initialize("MultisampleTest", kWindowSize, kWindowSize); in testSetUp()
119 static constexpr int kWindowSize = 8; member in __anon45cecd010111::MultisampleTest
158 EXPECT_PIXEL_COLOR_EQ(kWindowSize / 2, kWindowSize / 2, GLColor::red); in TEST_P()
159 EXPECT_PIXEL_COLOR_EQ(kWindowSize / 2 - 1, kWindowSize / 2, GLColor::red); in TEST_P()
160 EXPECT_PIXEL_COLOR_EQ(kWindowSize / 2, kWindowSize / 2 - 1, GLColor::red); in TEST_P()
161 EXPECT_PIXEL_COLOR_EQ(kWindowSize / 2 - 1, kWindowSize / 2 - 1, GLColor::red); in TEST_P()
168 EXPECT_PIXEL_COLOR_NEAR(kWindowSize / 2 - 2, kWindowSize / 2 - 2, kCornerColor, kErrorMargin); in TEST_P()
169 EXPECT_PIXEL_COLOR_NEAR(kWindowSize / 2 - 2, kWindowSize / 2 + 1, kCornerColor, kErrorMargin); in TEST_P()
170 EXPECT_PIXEL_COLOR_NEAR(kWindowSize / 2 + 1, kWindowSize / 2 - 2, kCornerColor, kErrorMargin); in TEST_P()
171 EXPECT_PIXEL_COLOR_NEAR(kWindowSize / 2 + 1, kWindowSize / 2 + 1, kCornerColor, kErrorMargin); in TEST_P()
[all …]
DDXTSRGBCompressedTextureTest.cpp19 static constexpr int kWindowSize = 64; variable
26 setWindowWidth(kWindowSize); in DXTSRGBCompressedTextureTest()
27 setWindowHeight(kWindowSize); in DXTSRGBCompressedTextureTest()
67 GLColor actual[kWindowSize * kWindowSize] = {0}; in runTestChecks()
70 glReadPixels(0, 0, kWindowSize, kWindowSize, GL_RGBA, GL_UNSIGNED_BYTE, in runTestChecks()
78 size_t x_actual = (x * kWindowSize + kWindowSize / 2) / test.width; in runTestChecks()
80 ((test.height - y - 1) * kWindowSize + kWindowSize / 2) / test.height; in runTestChecks()
81 GLColor act = actual[y_actual * kWindowSize + x_actual]; in runTestChecks()
DRobustClientMemoryTest.cpp16 constexpr GLsizei kWindowSize = 128; variable
23 setWindowWidth(kWindowSize); in RobustClientMemoryTest()
24 setWindowHeight(kWindowSize); in RobustClientMemoryTest()
176 glReadPixelsRobustANGLE(-1, kWindowSize - dataDimension + 3, dataDimension, dataDimension, in TEST_P()
DStateChangeTest.cpp1318 static constexpr int kWindowSize = 64; member in __anon459476fb0111::SimpleStateChangeTest
1322 setWindowWidth(kWindowSize); in SimpleStateChangeTest()
1323 setWindowHeight(kWindowSize); in SimpleStateChangeTest()
1812 constexpr size_t kRenderSize = kWindowSize * kWindowSize; in TEST_P()
1830 glReadPixels(0, 0, kWindowSize, kWindowSize, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
2927 constexpr int kHalfSize = kWindowSize / 2; in TEST_P()
3000 constexpr int kHalfSize = kWindowSize / 2; in TEST_P()
3015 std::vector<GLColor> s0LinearColors(kWindowSize * kWindowSize); in TEST_P()
3016 glReadPixels(0, 0, kWindowSize, kWindowSize, GL_RGBA, GL_UNSIGNED_BYTE, s0LinearColors.data()); in TEST_P()
3027 std::vector<GLColor> s1LinearColors(kWindowSize * kWindowSize); in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DDXTSRGBCompressedTextureTest.cpp19 static constexpr int kWindowSize = 64; variable
26 setWindowWidth(kWindowSize); in DXTSRGBCompressedTextureTest()
27 setWindowHeight(kWindowSize); in DXTSRGBCompressedTextureTest()
67 GLColor actual[kWindowSize * kWindowSize] = {0}; in runTestChecks()
70 glReadPixels(0, 0, kWindowSize, kWindowSize, GL_RGBA, GL_UNSIGNED_BYTE, in runTestChecks()
78 size_t x_actual = (x * kWindowSize + kWindowSize / 2) / test.width; in runTestChecks()
80 ((test.height - y - 1) * kWindowSize + kWindowSize / 2) / test.height; in runTestChecks()
81 GLColor act = actual[y_actual * kWindowSize + x_actual]; in runTestChecks()
DRobustClientMemoryTest.cpp16 constexpr GLsizei kWindowSize = 128; variable
23 setWindowWidth(kWindowSize); in RobustClientMemoryTest()
24 setWindowHeight(kWindowSize); in RobustClientMemoryTest()
176 glReadPixelsRobustANGLE(-1, kWindowSize - dataDimension + 3, dataDimension, dataDimension, in TEST_P()
DStateChangeTest.cpp1491 static constexpr int kWindowSize = 64; member in __anon99ba4e660111::SimpleStateChangeTest
1495 setWindowWidth(kWindowSize); in SimpleStateChangeTest()
1496 setWindowHeight(kWindowSize); in SimpleStateChangeTest()
2136 constexpr size_t kRenderSize = kWindowSize * kWindowSize; in TEST_P()
2154 glReadPixels(0, 0, kWindowSize, kWindowSize, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
3957 constexpr int kHalfSize = kWindowSize / 2; in TEST_P()
4030 constexpr int kHalfSize = kWindowSize / 2; in TEST_P()
4045 std::vector<GLColor> s0LinearColors(kWindowSize * kWindowSize); in TEST_P()
4046 glReadPixels(0, 0, kWindowSize, kWindowSize, GL_RGBA, GL_UNSIGNED_BYTE, s0LinearColors.data()); in TEST_P()
4057 std::vector<GLColor> s1LinearColors(kWindowSize * kWindowSize); in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/common/
DHashUtils.h70 constexpr size_t kWindowSize = sizeof(unsigned long long); in Hash() local
74 for (size_t processedBits = 0; processedBits < N; processedBits += kWindowSize) { in Hash()
76 bits >>= kWindowSize; in Hash()
/third_party/skia/third_party/externals/dawn/src/common/
DHashUtils.h78 constexpr size_t kWindowSize = sizeof(unsigned long long); in Hash() local
82 for (size_t processedBits = 0; processedBits < N; processedBits += kWindowSize) { in Hash()
84 bits >>= kWindowSize; in Hash()
/third_party/mindspore/mindspore/core/ops/
Daudio_spectrogram.cc58 auto window_size = GetValue<int64_t>(primitive->GetAttr(kWindowSize)); in AudioSpectrogramInferShape()
83 (void)this->AddAttr(kWindowSize, MakeValue(window_size)); in set_window_size()
86 auto value_ptr = GetAttr(kWindowSize); in get_window_size()
Dop_utils.h212 constexpr auto kWindowSize = "window_size"; variable
/third_party/skia/third_party/externals/angle2/src/common/
DFastVector.h533 static constexpr size_t kWindowSize = 64;
534 static constexpr size_t kOneLessThanKWindowSize = kWindowSize - 1;
536 static_cast<size_t>(rx::Log2(static_cast<unsigned int>(kWindowSize)));
537 using KeyBitSet = angle::BitSet64<kWindowSize>;
605 ANGLE_INLINE size_t capacity() const { return kWindowSize * mKeyData.size(); } in capacity()
609 size_t alignedSize = rx::roundUpPow2(newSize, kWindowSize); in reserve()
685 size_t alignedSize = rx::roundUpPow2(newSize, FastIntegerSet::kWindowSize); in reserve()