Home
last modified time | relevance | path

Searched refs:pixelValue (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DStorageTextureTests.cpp39 const uint32_t pixelValue = 1 + x + kWidth * (y + kHeight * depthOrArrayLayer); in FillExpectedData() local
40 ASSERT(pixelValue <= 255u / 4); in FillExpectedData()
46 *valuePtr = pixelValue; in FillExpectedData()
52 valuePtr[0] = pixelValue; in FillExpectedData()
53 valuePtr[1] = pixelValue * 2; in FillExpectedData()
59 valuePtr[0] = pixelValue; in FillExpectedData()
60 valuePtr[1] = pixelValue * 2; in FillExpectedData()
61 valuePtr[2] = pixelValue * 3; in FillExpectedData()
62 valuePtr[3] = pixelValue * 4; in FillExpectedData()
69 *valuePtr = static_cast<int32_t>(pixelValue); in FillExpectedData()
[all …]
DTextureViewTests.cpp152 const int pixelValue = GenerateTestPixelValue(layer, level); in initTexture() local
155 std::vector<RGBA8> data(kPaddedTexWidth * texHeight, RGBA8(0, 0, 0, pixelValue)); in initTexture()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DProvokingVertexTest.cpp128 GLint pixelValue = 0; in TEST_P() local
129 glReadPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_INT, &pixelValue); in TEST_P()
132 EXPECT_EQ(vertexData[2], pixelValue); in TEST_P()
159 GLint pixelValue = 0; in TEST_P() local
160 glReadPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_INT, &pixelValue); in TEST_P()
163 EXPECT_EQ(vertexData[2], pixelValue); in TEST_P()
193 GLint pixelValue = 0; in TEST_P() local
194 glReadPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_INT, &pixelValue); in TEST_P()
197 EXPECT_EQ(vertexData[1], pixelValue); in TEST_P()
320 int32_t pixelValue = 0; in TEST_P() local
[all …]
DTextureTest.cpp3922 GLushort pixelValue = (type == GL_SHORT) ? 0x7FFF : 0x6A35; in testNorm16Texture() local
3923 GLushort imageData[] = {pixelValue, pixelValue, pixelValue, pixelValue}; in testNorm16Texture()
3941 GLubyte expectedValue = (type == GL_SHORT) ? 0xFF : static_cast<GLubyte>(pixelValue >> 8); in testNorm16Texture()
3954 GLushort pixelValue = 0x6A35; in testNorm16Render() local
3955 GLushort imageData[] = {pixelValue, pixelValue, pixelValue, pixelValue}; in testNorm16Render()
3973 GLubyte expectedValue = static_cast<GLubyte>(pixelValue >> 8); in testNorm16Render()
4116 GLubyte pixelValue = 0xab; in TEST_P() local
4117 GLubyte imageData[] = {pixelValue, pixelValue}; in TEST_P()
4121 SliceFormatColor(GL_RED_EXT, GLColor(pixelValue, pixelValue, pixelValue, pixelValue))); in TEST_P()
4126 SliceFormatColor(GL_RG_EXT, GLColor(pixelValue, pixelValue, pixelValue, pixelValue))); in TEST_P()
[all …]
DPbufferTest.cpp286 unsigned int pixelValue = 0xFFFF00FF; in TEST_P() local
287 std::vector<unsigned int> pixelData(getWindowWidth() * getWindowHeight(), pixelValue); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DProvokingVertexTest.cpp128 GLint pixelValue[4] = {0}; in TEST_P() local
129 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
132 EXPECT_EQ(vertexData[2], pixelValue[0]); in TEST_P()
162 GLint pixelValue[4] = {0}; in TEST_P() local
163 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
166 EXPECT_EQ(vertexData[2], pixelValue[0]); in TEST_P()
198 GLint pixelValue[4] = {0}; in TEST_P() local
199 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
202 EXPECT_EQ(vertexData[1], pixelValue[0]); in TEST_P()
325 int32_t pixelValue[4] = {0}; in TEST_P() local
[all …]
DPixmapTest.cpp245 unsigned int pixelValue = 0xFFFF00FF; in TEST_P() local
246 std::vector<unsigned int> pixelData(getWindowWidth() * getWindowHeight(), pixelValue); in TEST_P()
DPbufferTest.cpp470 unsigned int pixelValue = 0xFFFF00FF; in TEST_P() local
471 std::vector<unsigned int> pixelData(getWindowWidth() * getWindowHeight(), pixelValue); in TEST_P()
DTextureTest.cpp7085 GLushort pixelValue = (type == GL_SHORT) ? 0x7FFF : 0x6A35; in testNorm16Texture() local
7086 GLushort imageData[] = {pixelValue, pixelValue, pixelValue, pixelValue}; in testNorm16Texture()
7104 GLubyte expectedValue = (type == GL_SHORT) ? 0xFF : static_cast<GLubyte>(pixelValue >> 8); in testNorm16Texture()
7200 GLushort pixelValue = 0x6A35; in testNorm16RenderAndReadPixels() local
7201 GLushort imageData[] = {pixelValue, pixelValue, pixelValue, pixelValue}; in testNorm16RenderAndReadPixels()
7203 format, GLColor16UI(pixelValue, pixelValue, pixelValue, pixelValue)); in testNorm16RenderAndReadPixels()
7485 GLubyte pixelValue = 0xab; in TEST_P() local
7486 GLubyte imageData[] = {pixelValue, pixelValue}; in TEST_P()
7490 SliceFormatColor(GL_RED_EXT, GLColor(pixelValue, pixelValue, pixelValue, pixelValue))); in TEST_P()
7495 SliceFormatColor(GL_RG_EXT, GLColor(pixelValue, pixelValue, pixelValue, pixelValue))); in TEST_P()
[all …]
DGLSLTest.cpp14250 GLubyte pixelValue[4]; in TEST_P() local
14255 glReadPixels(x, compareHeight, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixelValue); in TEST_P()
14256 EXPECT_PIXEL_NEAR(x, getWindowHeight() - compareHeight, pixelValue[0], pixelValue[1], in TEST_P()
14257 pixelValue[2], pixelValue[3], tolerance); in TEST_P()
/third_party/typescript/tests/baselines/reference/
DtemplateLiteralTypes2.js93 const pixelValue: number = 22; constant
99 const pixelStringWithTemplate: PixelValueType = `${pixelValue}px`;
172 var pixelValue = 22; variable
174 var pixelStringWithTemplate = pixelValue + "px";
198 declare const pixelValue: number;
DtemplateLiteralTypes2.types341 const pixelValue: number = 22;
342 >pixelValue : number
352 const pixelStringWithTemplate: PixelValueType = `${pixelValue}px`;
354 >`${pixelValue}px` : string
355 >pixelValue : number
DtemplateLiteralTypes2.symbols310 const pixelValue: number = 22;
311 >pixelValue : Symbol(pixelValue, Decl(templateLiteralTypes2.ts, 91, 5))
320 const pixelStringWithTemplate: PixelValueType = `${pixelValue}px`;
323 >pixelValue : Symbol(pixelValue, Decl(templateLiteralTypes2.ts, 91, 5))
DtemplateLiteralTypes2.errors.txt135 const pixelValue: number = 22;
141 const pixelStringWithTemplate: PixelValueType = `${pixelValue}px`;
/third_party/typescript/tests/cases/conformance/types/literal/
DtemplateLiteralTypes2.ts95 const pixelValue: number = 22;
101 const pixelStringWithTemplate: PixelValueType = `${pixelValue}px`;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp607 deUint32 pixelValue; in iterateAspect() local
608 deMemcpy(&pixelValue, imagePixelPtr, pixelSizeSz); in iterateAspect()
609 pixelValue &= 0xFFFFFFu; // Discard the 8 MSB. in iterateAspect()
610 pixelMatch = (deMemCmp(bufferPixelPtr, &pixelValue, pixelSizeSz) == 0); in iterateAspect()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DTextureViewTests.cpp142 const int pixelValue = GenerateTestPixelValue(layer, level); in initTexture() local
145 std::vector<RGBA8> data(kPaddedTexWidth * texHeight, RGBA8(0, 0, 0, pixelValue)); in initTexture()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp3343 PixelValue pixelValue; in clearValueToPixelValue() local
3350 pixelValue.setValue(0, true); in clearValueToPixelValue()
3352 pixelValue.setValue(0, false); in clearValueToPixelValue()
3360 pixelValue.setValue(1, true); in clearValueToPixelValue()
3362 pixelValue.setValue(1, false); in clearValueToPixelValue()
3380 pixelValue.setValue(i, true); in clearValueToPixelValue()
3382 pixelValue.setValue(i, false); in clearValueToPixelValue()
3395 pixelValue.setValue(i, true); in clearValueToPixelValue()
3397 pixelValue.setValue(i, false); in clearValueToPixelValue()
3412 pixelValue.setValue(i, true); in clearValueToPixelValue()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp1064 const deUint32 pixelValue = *((const deUint32*)image.getDataPtr() + pixelNdx); in getUniqueColorsCount() local
1066 if (histogram.find(pixelValue) != histogram.end()) in getUniqueColorsCount()
1067 histogram[pixelValue]++; in getUniqueColorsCount()
1069 histogram[pixelValue] = 1; in getUniqueColorsCount()