Home
last modified time | relevance | path

Searched refs:green (Results 26 - 50 of 604) sorted by relevance

12345678910>>...25

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DCopyTexture3DTest.cpp335 std::vector<GLColor> texDataGreen(2u * 2u * 2u, GLColor::green); in TEST_P()
358 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
367 std::vector<GLColor> texDataGreen(4u * 4u * 4u, GLColor::green); in TEST_P()
396 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
416 // Change some pixels to green to create a 2x2x2 cube starting at (1, 1, 1) in TEST_P()
446 // Copy the 2x2x2 green cube into a new texture in TEST_P()
455 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
456 EXPECT_PIXEL_COLOR_EQ(width, 0, GLColor::green); in TEST_P()
457 EXPECT_PIXEL_COLOR_EQ(0, height, GLColor::green); in TEST_P()
458 EXPECT_PIXEL_COLOR_EQ(width, height, GLColor::green); in TEST_P()
[all...]
H A DRobustBufferAccessBehaviorTest.cpp134 EXPECT_PIXEL_COLOR_EQ(width * 1 / 4, height * 1 / 4, GLColor::green); in runIndexOutOfRangeTests()
135 EXPECT_PIXEL_COLOR_EQ(width * 1 / 4, height * 3 / 4, GLColor::green); in runIndexOutOfRangeTests()
136 EXPECT_PIXEL_COLOR_EQ(width * 3 / 4, height * 1 / 4, GLColor::green); in runIndexOutOfRangeTests()
137 EXPECT_PIXEL_COLOR_EQ(width * 3 / 4, height * 3 / 4, GLColor::green); in runIndexOutOfRangeTests()
177 // 2 quads, the first one red, the second one green in TEST_P()
250 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
257 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
408 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
419 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
476 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P()
[all...]
H A DBlitFramebufferANGLETest.cpp415 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, 3 * getWindowHeight() / 4, GLColor::green); in TEST_P() member in __anon20173::GLColor
449 EXPECT_PIXEL_COLOR_EQ(3 * getWindowWidth() / 4, 3 * getWindowHeight() / 4, GLColor::green); in TEST_P()
463 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, getWindowHeight() / 4, GLColor::green); in TEST_P() member in __anon20173::GLColor
483 EXPECT_PIXEL_COLOR_EQ(3 * getWindowWidth() / 4, getWindowHeight() / 4, GLColor::green); in TEST_P()
499 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, 3 * getWindowHeight() / 4, GLColor::green); in TEST_P() member in __anon20173::GLColor
531 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, 3 * getWindowHeight() / 4, GLColor::green); in TEST_P() member in __anon20173::GLColor
638 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, 3 * getWindowHeight() / 4, GLColor::green); in TEST_P() member in __anon20173::GLColor
670 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, 3 * getWindowHeight() / 4, GLColor::green); in TEST_P() member in __anon20173::GLColor
967 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, 3 * getWindowHeight() / 4, GLColor::green); in TEST_P() member in __anon20173::GLColor
969 EXPECT_PIXEL_COLOR_EQ(3 * getWindowWidth() / 4, 3 * getWindowHeight() / 4, GLColor::green); in TEST_P()
979 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, 3 * getWindowHeight() / 4, GLColor::green); TEST_P() member in __anon20173::GLColor
1040 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, 3 * getWindowHeight() / 4, GLColor::green); TEST_P() member in __anon20173::GLColor
1049 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, 3 * getWindowHeight() / 4, GLColor::green); TEST_P() member in __anon20173::GLColor
[all...]
H A DMipmapTest.cpp248 GLfloat green, in clearTextureLevel0()
255 glClearColor(red, green, blue, alpha); in clearTextureLevel0()
505 const std::vector<GLColor> kGreenData(16, GLColor::green); in TEST_P()
756 const std::vector<GLColor> kModifyData(width * height, GLColor::green); in TEST_P()
760 // Generate the mips again, which should update all levels to the new (green) color. in TEST_P()
843 // Now clear the texture to green. This just clears the top level. The lower mips should remain in TEST_P()
847 // Render a textured quad equal in size to the texture. This should be green, since we just in TEST_P()
850 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::green); in TEST_P() member in GLColor
861 // Render a textured quad equal in size to the texture. This should be green, the color of level in TEST_P()
864 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::green); in TEST_P() member in GLColor
245 clearTextureLevel0(GLenum textarget, GLuint texture, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) clearTextureLevel0() argument
869 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 8, getWindowHeight() / 8, GLColor::green); TEST_P() member in GLColor
910 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, getWindowHeight() / 4, GLColor::green); TEST_P() member in GLColor
947 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 8, getWindowHeight() / 8, GLColor::green); TEST_P() member in GLColor
1604 std::vector<GLColor> pixelsGreen(getWindowWidth() * getWindowHeight() / 16, GLColor::green); TEST_P() member in GLColor
1725 std::vector<GLColor> pixelsGreen(getWindowWidth() * getWindowWidth() / 16, GLColor::green); TEST_P() member in GLColor
1779 std::vector<GLColor> pixelsGreen(getWindowWidth() * getWindowHeight() / 16, GLColor::green); TEST_P() member in GLColor
1801 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 8, getWindowHeight() / 8, GLColor::green); TEST_P() member in GLColor
1858 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::green); TEST_P() member in GLColor
1899 std::vector<GLColor> pixelsGreen(getWindowWidth() * getWindowHeight() / 4, GLColor::green); TEST_P() member in GLColor
1956 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 8, getWindowHeight() / 8, GLColor::green); TEST_P() member in GLColor
[all...]
H A DD3DImageFormatConversionTest.cpp74 srcColorF[0].green = 0.0f; in runTest()
78 srcColorF[1].green = 1.0f; in runTest()
82 srcColorF[2].green = 0.0f; in runTest()
86 srcColorF[3].green = 1.0f; in runTest()
H A DSamplersTest.cpp122 {GLColor::green, GLColor::green, GLColor::green, GLColor::green}}; in TEST_P()
133 // Create a green texture and bind to texture unit 1 in TEST_P()
163 // Draw green in TEST_P()
/third_party/glfw/src/
H A Dnull_monitor.c135 monitor->null.ramp.green[i] = (unsigned short) value; in _glfwGetGammaRampNull()
142 memcpy(ramp->green, monitor->null.ramp.green, sizeof(short) * ramp->size); in _glfwGetGammaRampNull()
157 memcpy(monitor->null.ramp.green, ramp->green, sizeof(short) * ramp->size); in _glfwSetGammaRampNull()
/third_party/skia/src/codec/
H A DSkMasks.cpp134 masks.green &= (1 << bitsPerPixel) - 1; in CreateMasks()
140 if (((masks.red & masks.green) | in CreateMasks()
143 (masks.green & masks.blue ) | in CreateMasks()
144 (masks.green & masks.alpha) | in CreateMasks()
150 process_mask(masks.green), in CreateMasks()
H A DSkMasks.h22 constexpr SkMasks(const MaskInfo red, const MaskInfo green, const MaskInfo blue, in SkMasks() argument
25 , fGreen(green) in SkMasks()
32 uint32_t green; member
H A DSkBmpRLECodec.cpp92 uint8_t green = get_byte(cBuffer.get(), i*fBytesPerColor + 1); in createColorTable() local
94 colorTable[i] = packARGB(0xFF, red, green, blue); in createColorTable()
206 uint32_t y, uint8_t red, uint8_t green, in setRGBPixel()
217 dstRow[dstX] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in setRGBPixel()
222 dstRow[dstX] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in setRGBPixel()
227 dstRow[dstX] = SkPack888ToRGB16(red, green, blue); in setRGBPixel()
462 uint8_t green = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
465 x++, y, red, green, blue); in decodeRLE()
499 uint8_t green = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()
502 setRGBPixel(dst, dstRowBytes, dstInfo, x++, y, red, green, blu in decodeRLE()
204 setRGBPixel(void* dst, size_t dstRowBytes, const SkImageInfo& dstInfo, uint32_t x, uint32_t y, uint8_t red, uint8_t green, uint8_t blue) setRGBPixel() argument
[all...]
/third_party/node/test/fixtures/wpt/resources/
H A DSVGAnimationTestCase-testharness.js10 function expectFillColor(element, red, green, blue, message) {
16 assert_approx_equals(Number(rgb[2]), green, 2.0, message);
20 function expectColor(element, red, green, blue, property) {
28 assert_approx_equals(Number(rgb[2]), green, 2.0);
/third_party/skia/third_party/externals/angle2/src/common/
H A Dmathutil.cpp47 unsigned int convertRGBFloatsTo999E5(float red, float green, float blue) in convertRGBFloatsTo999E5() argument
50 const float green_c = std::max<float>(0, std::min(g_sharedexp_max, green)); in convertRGBFloatsTo999E5()
71 void convert999E5toRGBFloats(unsigned int input, float *red, float *green, float *blue) in convert999E5toRGBFloats() argument
79 *green = inputData->G * pow2_exp; in convert999E5toRGBFloats()
/third_party/typescript/tests/baselines/reference/
H A DexportAssignmentTopLevelEnumdule.js5 red, green, blue
15 if(color === foo.green){
26 foo[foo["green"] = 1] = "green";
39 if (color === foo.green) {
/third_party/skia/third_party/externals/swiftshader/tests/GLESUnitTests/
H A Dunittests.cpp534 unsigned char green[4] = { 0, 255, 0, 255 }; in TEST_F() local
584 expectFramebufferColor(green); in TEST_F()
647 unsigned char green[4] = { 0, 255, 0, 255 }; in TEST_F() local
648 expectFramebufferColor(green); in TEST_F()
703 unsigned char green[4] = { 0, 255, 0, 255 }; in TEST_F() local
704 expectFramebufferColor(green); in TEST_F()
840 unsigned char green[4] = { 0, 255, 0, 255 }; in TEST_F() local
841 expectFramebufferColor(green); in TEST_F()
931 float green[4] = { 0.0f, 1.0f, 0.0f, 1.0f }; in TEST_F() local
934 glTexSubImage2D(GL_TEXTURE_2D, 0, 5, 10, 1, 1, GL_RGBA, GL_FLOAT, &green); in TEST_F()
959 const GLuint green = 0x00ff00ff; TEST_F() local
1158 unsigned char green[4] = { 0, 255, 0, 255 }; TEST_F() local
1661 unsigned char green[4] = { 0, 255, 0, 255 }; TEST_F() local
1712 unsigned char green[4] = { 0, 255, 0, 255 }; TEST_F() local
1777 unsigned char green[4] = { 0, 255, 0, 255 }; TEST_F() local
1831 unsigned char green[4] = { 0, 255, 0, 255 }; TEST_F() local
1865 unsigned char green[4] = { 0, 255, 0, 255 }; TEST_F() local
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fReadPixelsTests.cpp262 const float green = rnd.getFloat(); in clearColor() local
266 const GLfloat color[] = { red, green, blue, alpha }; in clearColor()
268 GLU_CHECK_CALL(glClearColor(red, green, blue, alpha)); in clearColor()
269 m_testCtx.getLog() << tcu::TestLog::Message << "ClearColor: (" << red << ", " << green << ", " << blue << ")" << tcu::TestLog::EndMessage; in clearColor()
273 tcu::clear(reference.getLevel(0), tcu::Vec4(red, green, blue, alpha)); in clearColor()
280 const GLint green = rnd.getUint32(); in clearColor() local
284 const GLint color[] = { red, green, blue, alpha }; in clearColor()
285 m_testCtx.getLog() << tcu::TestLog::Message << "ClearColor: (" << red << ", " << green << ", " << blue << ")" << tcu::TestLog::EndMessage; in clearColor()
289 tcu::clear(reference.getLevel(0), tcu::IVec4(red, green, blue, alpha)); in clearColor()
294 const GLuint green in clearColor() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
H A Dastc_image_load_store.cpp196 float green = pb->data_g[i]; in update_imageblock_flags() local
203 if (green < green_min) in update_imageblock_flags()
204 green_min = green; in update_imageblock_flags()
205 if (green > green_max) in update_imageblock_flags()
206 green_max = green; in update_imageblock_flags()
216 if (grayscale == 1 && (red != green || red != blue)) in update_imageblock_flags()
/third_party/glfw/tests/
H A Dgamma.c125 orig_ramp.green = malloc(array_size); in main()
128 memcpy(orig_ramp.green, ramp->green, array_size); in main()
168 chart_ramp_array(nk, nk_rgb(0, 255, 0), ramp->size, ramp->green); in main()
180 free(orig_ramp.green); in main()
/third_party/cJSON/tests/unity/auto/
H A Dcolour_reporter.rb20 Regexp.last_match(1).to_i.zero? ? :green : :red
22 :green
24 :green
/third_party/unity/auto/
H A Dcolour_reporter.rb20 Regexp.last_match(1).to_i.zero? ? :green : :red
22 :green
24 :green
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/
H A Drosen_context_impl.cpp67 EGLint red, green, blue, alpha, depth, stencil, samples, sft, rt; in ShowConfig() local
70 eglGetConfigAttrib(eglDisplay_, cfg, EGL_GREEN_SIZE, &green); in ShowConfig()
79 printf("%8d%8d%8d%8d%8d%8d%8d%8d%8d\n", red, green, blue, alpha, depth, stencil, samples, sft, rt); in ShowConfig()
121 printf("%8s%8s%8s%8s%8s%8s%8s%8s%8s\n", "red", "green", "blue", "alpha", "depth", "stencil", "samples", "sft", "rt"); in InitEgl()
238 EGLint red, green, blue, alpha, depth, stencil, samples; in SetConfig() local
240 eglGetConfigAttrib(eglDisplay_, config_, EGL_GREEN_SIZE, &green); in SetConfig()
259 pixelFormat_.greenBits = green; in SetConfig()
261 else if (pixelFormat_.greenBits != green) in SetConfig()
263 printf("Failed to eglChooseConfig redBits %d != %d\n", pixelFormat_.greenBits, green); in SetConfig()
634 EGLint red, green, blu in OH_createWindowSurface() local
[all...]
/third_party/skia/tests/
H A DColorSpaceTest.cpp31 const float red[], const float green[], const float blue[], in test_space()
39 const float* ref[3] = { red, green, blue }; in test_space()
48 const float red[], const float green[], const float blue[], in test_path()
63 test_space(r, colorSpace.get(), red, green, blue, expectSRGB); in test_path()
82 const float green[] = { 0.143051f, 0.0606079f, 0.713913f }; in DEF_TEST() local
84 test_path(r, "images/icc-v2-gbr.jpg", red, green, blue); in DEF_TEST()
87 red, green, blue); in DEF_TEST()
89 red, green, blue); in DEF_TEST()
91 red, green, blue); in DEF_TEST()
93 red, green, blu in DEF_TEST()
30 test_space(skiatest::Reporter* r, SkColorSpace* space, const float red[], const float green[], const float blue[], bool expectSRGB = false) test_space() argument
47 test_path(skiatest::Reporter* r, const char* path, const float red[], const float green[], const float blue[], bool expectSRGB = false) test_path() argument
[all...]
/third_party/astc-encoder/Source/
H A Dastcenc_color_unquantize.cpp323 int green = v1 & 0x1F; in hdr_rgbo_unpack() local
338 green |= bit0 << 6; in hdr_rgbo_unpack()
340 green |= bit1 << 5; in hdr_rgbo_unpack()
382 green <<= shamt; in hdr_rgbo_unpack()
386 // on modes 0 to 4, the values stored for "green" and "blue" are differentials, in hdr_rgbo_unpack()
390 green = red - green; in hdr_rgbo_unpack()
400 red = green; in hdr_rgbo_unpack()
401 green = temp; in hdr_rgbo_unpack()
413 int green0 = green in hdr_rgbo_unpack()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateGeneralTests.cpp64 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StateSwitchTestInstance()
65 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StateSwitchTestInstance()
66 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StateSwitchTestInstance()
67 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StateSwitchTestInstance()
175 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance()
176 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance()
177 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance()
178 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance()
300 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StatePersistenceTestInstance()
301 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green() in StatePersistenceTestInstance()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
H A DvktDynamicStateGeneralTests.cpp62 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StateSwitchTestInstance()
63 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StateSwitchTestInstance()
64 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StateSwitchTestInstance()
65 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StateSwitchTestInstance()
173 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance()
174 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance()
175 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance()
176 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance()
298 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StatePersistenceTestInstance()
299 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green() in StatePersistenceTestInstance()
[all...]
/third_party/backends/backend/
H A Du12-image.c79 u12io_ReadMonoData( dev, dev->scan.BufPut.green.bp, in fnReadToDriver()
85 dev->scan.BufPut.green.bp += dev->DataInf.dwAsicBytesPerPlane; in fnReadToDriver()
87 if( dev->scan.BufPut.green.bp >= dev->scan.BufEnd.green.bp ) in fnReadToDriver()
88 dev->scan.BufPut.green.bp = dev->scan.BufBegin.green.bp; in fnReadToDriver()
105 dev->scan.BufData.green.bp = dev->scan.BufGet.green.bp; in fnReadToDriver()
110 dev->scan.BufGet.green.bp += dev->DataInf.dwAsicBytesPerPlane; in fnReadToDriver()
115 if( dev->scan.BufGet.green in fnReadToDriver()
[all...]

Completed in 22 milliseconds

12345678910>>...25