/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ProgramPipelineTest.cpp | 467 EXPECT_PIXEL_COLOR_EQ(0, h, GLColor::green); in TEST_P() 497 {GLColor::red, GLColor::green, GLColor::blue, GLColor::yellow}}; in TEST_P() 514 EXPECT_PIXEL_COLOR_EQ(w, 0, GLColor::green); in TEST_P() 558 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P() 625 {GLColor::red, GLColor::green, GLColor::blue, GLColor::yellow}}; in TEST_P() 743 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P() 911 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P() 959 {GLColor::red, GLColor::green, GLColor::blue, GLColor::yellow}}; in TEST_P() 1018 EXPECT_PIXEL_COLOR_EQ(w, 0, GLColor::green); in TEST_P() 1054 {GLColor::green, GLColo in TEST_P() [all...] |
H A D | VulkanUniformUpdatesTest.cpp | 425 const GLColor kColors[4] = {GLColor::red, GLColor::green, GLColor::blue, GLColor::yellow}; in TEST_P() 522 // 10.0f < 11.0f, should see green in TEST_P() 523 EXPECT_PIXEL_RECT_EQ(xoffset, yoffset, kHalfX, kHalfY, GLColor::green); in TEST_P() 535 // 10.0f < 11.0f, should see green again in TEST_P() 539 EXPECT_PIXEL_RECT_EQ(xoffset, yoffset, kHalfX, kHalfY, GLColor::green); in TEST_P() 547 GLColor expectedColor = vsUniformValue > 11.0f ? GLColor::red : GLColor::green; in TEST_P() 640 // 10.0f < 11.0f, should see green in TEST_P() 641 EXPECT_PIXEL_RECT_EQ(xoffset, yoffset, kHalfX, kHalfY, GLColor::green); in TEST_P() 656 // 10.0f < 11.0f, should see green again in TEST_P() 661 EXPECT_PIXEL_RECT_EQ(xoffset, yoffset, kHalfX, kHalfY, GLColor::green); in TEST_P() [all...] |
H A D | FramebufferTest.cpp | 636 const std::array<GLColor, 2 * 2> mip1Data = {GLColor::green, GLColor::green, GLColor::green, in TEST_P() 637 GLColor::green}; in TEST_P() 669 const std::array<GLColor, 2 * 2> mip1Data = {GLColor::green, GLColor::green, GLColor::green, in TEST_P() 670 GLColor::green}; in TEST_P() 686 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P() 921 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor::green); in TEST_P() 1071 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green); TEST_P() member in GLColor [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/ |
H A D | radeon_base.c | 858 v.red.offset = v.green.offset = v.blue.offset = 0; in radeonfb_check_var() 859 v.red.length = v.green.length = v.blue.length = 8; in radeonfb_check_var() 866 v.green.offset = 5; in radeonfb_check_var() 868 v.red.length = v.green.length = v.blue.length = 5; in radeonfb_check_var() 875 v.green.offset = 5; in radeonfb_check_var() 878 v.green.length = 6; in radeonfb_check_var() 886 v.green.offset = 8; in radeonfb_check_var() 888 v.red.length = v.blue.length = v.green.length = 8; in radeonfb_check_var() 895 v.green.offset = 8; in radeonfb_check_var() 897 v.red.length = v.blue.length = v.green in radeonfb_check_var() 1158 radeon_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct radeonfb_info *rinfo) radeon_setcolreg() argument 1230 radeonfb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *info) radeonfb_setcolreg() argument 1264 u16 *red, *green, *blue, *transp; radeonfb_setcmap() local [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/ |
H A D | radeon_base.c | 859 v.red.offset = v.green.offset = v.blue.offset = 0; in radeonfb_check_var() 860 v.red.length = v.green.length = v.blue.length = 8; in radeonfb_check_var() 867 v.green.offset = 5; in radeonfb_check_var() 869 v.red.length = v.green.length = v.blue.length = 5; in radeonfb_check_var() 876 v.green.offset = 5; in radeonfb_check_var() 879 v.green.length = 6; in radeonfb_check_var() 887 v.green.offset = 8; in radeonfb_check_var() 889 v.red.length = v.blue.length = v.green.length = 8; in radeonfb_check_var() 896 v.green.offset = 8; in radeonfb_check_var() 898 v.red.length = v.blue.length = v.green in radeonfb_check_var() 1159 radeon_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct radeonfb_info *rinfo) radeon_setcolreg() argument 1231 radeonfb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *info) radeonfb_setcolreg() argument 1265 u16 *red, *green, *blue, *transp; radeonfb_setcmap() local [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | efifb.c | 5 * (c) 2006 Edgar Hucek <gimli@dark-green.com> 67 static int efifb_setcolreg(unsigned regno, unsigned red, unsigned green, in efifb_setcolreg() argument 83 green >>= 16 - info->var.green.length; in efifb_setcolreg() 87 (green << info->var.green.offset) | in efifb_setcolreg() 518 efifb_defined.green.offset = screen_info.green_pos; in efifb_probe() 519 efifb_defined.green.length = screen_info.green_size; in efifb_probe()
|
H A D | platinumfb.c | 52 __u8 red, green, blue; member 77 static int platinumfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 182 static int platinumfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in platinumfb_setcolreg() argument 192 green >>= 8; in platinumfb_setcolreg() 196 pinfo->palette[regno].green = green; in platinumfb_setcolreg() 201 out_8(&cmap_regs->lut, green); /* a time... */ in platinumfb_setcolreg()
|
H A D | p9100.c | 144 * @green: The green value which can be up to 16 bits wide 150 unsigned red, unsigned green, unsigned blue, in p9100_setcolreg() 161 green >>= 8; in p9100_setcolreg() 168 sbus_writel((green << 16), ®s->ramdac_palette_data); in p9100_setcolreg() 275 info->var.green.length = 8; in p9100_probe() 149 p9100_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *info) p9100_setcolreg() argument
|
H A D | gxt4500.c | 307 if (var->green.length == 5) in gxt4500_var_to_par() 330 var->green = eightbits; in gxt4500_unpack_pixfmt() 337 var->green.length = 6; in gxt4500_unpack_pixfmt() 342 var->green.length = 5; in gxt4500_unpack_pixfmt() 352 var->green.offset = var->blue.length; in gxt4500_unpack_pixfmt() 353 var->red.offset = var->green.offset + var->green.length; in gxt4500_unpack_pixfmt() 513 unsigned int green, unsigned int blue, in gxt4500_setcolreg() 522 (green & 0xff00) | (blue >> 8); in gxt4500_setcolreg() 512 gxt4500_setcolreg(unsigned int reg, unsigned int red, unsigned int green, unsigned int blue, unsigned int transp, struct fb_info *info) gxt4500_setcolreg() argument
|
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | efifb.c | 5 * (c) 2006 Edgar Hucek <gimli@dark-green.com> 77 static int efifb_setcolreg(unsigned regno, unsigned red, unsigned green, in efifb_setcolreg() argument 93 green >>= 16 - info->var.green.length; in efifb_setcolreg() 97 (green << info->var.green.offset) | in efifb_setcolreg() 531 efifb_defined.green.offset = screen_info.green_pos; in efifb_probe() 532 efifb_defined.green.length = screen_info.green_size; in efifb_probe()
|
H A D | platinumfb.c | 52 __u8 red, green, blue; member 77 static int platinumfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 180 static int platinumfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in platinumfb_setcolreg() argument 190 green >>= 8; in platinumfb_setcolreg() 194 pinfo->palette[regno].green = green; in platinumfb_setcolreg() 199 out_8(&cmap_regs->lut, green); /* a time... */ in platinumfb_setcolreg()
|
H A D | xen-fbfront.c | 213 static int xenfb_setcolreg(unsigned regno, unsigned red, unsigned green, in xenfb_setcolreg() argument 224 green = CNVT_TOHW(green, info->var.green.length); in xenfb_setcolreg() 229 (green << info->var.green.offset) | in xenfb_setcolreg() 419 fb_info->var.green = (struct fb_bitfield){8, 8, 0}; in xenfb_probe()
|
H A D | p9100.c | 145 * @green: The green value which can be up to 16 bits wide 151 unsigned red, unsigned green, unsigned blue, in p9100_setcolreg() 162 green >>= 8; in p9100_setcolreg() 169 sbus_writel((green << 16), ®s->ramdac_palette_data); in p9100_setcolreg() 276 info->var.green.length = 8; in p9100_probe() 150 p9100_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *info) p9100_setcolreg() argument
|
H A D | gxt4500.c | 308 if (var->green.length == 5) in gxt4500_var_to_par() 331 var->green = eightbits; in gxt4500_unpack_pixfmt() 338 var->green.length = 6; in gxt4500_unpack_pixfmt() 343 var->green.length = 5; in gxt4500_unpack_pixfmt() 353 var->green.offset = var->blue.length; in gxt4500_unpack_pixfmt() 354 var->red.offset = var->green.offset + var->green.length; in gxt4500_unpack_pixfmt() 514 unsigned int green, unsigned int blue, in gxt4500_setcolreg() 523 (green & 0xff00) | (blue >> 8); in gxt4500_setcolreg() 513 gxt4500_setcolreg(unsigned int reg, unsigned int red, unsigned int green, unsigned int blue, unsigned int transp, struct fb_info *info) gxt4500_setcolreg() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_color.c | 406 drm_color_lut_extract(color->green, 8) << 8 | in i9xx_lut_8() 413 entry->green = intel_color_lut_pack(REG_FIELD_GET(LGC_PALETTE_GREEN_MASK, val), 8); in i9xx_lut_8_pack() 421 (color->green & 0xff) << 8 | in i965_lut_10p6_ldw() 429 (color->green >> 8) << 8 | in i965_lut_10p6_udw() 437 entry->green = REG_FIELD_GET(PALETTE_GREEN_MASK, udw) << 8 | in i965_lut_10p6_pack() 452 drm_color_lut_extract(color->green, 10) << 10 | in ilk_lut_10() 459 entry->green = intel_color_lut_pack(REG_FIELD_GET(PREC_PALETTE_GREEN_MASK, val), 10); in ilk_lut_10_pack() 467 entry->green = REG_FIELD_GET(PAL_PREC_MULTI_SEG_GREEN_UDW_MASK, udw) << 6 | in icl_lut_multi_seg_pack() 584 intel_de_write(dev_priv, PIPEGCMAX(pipe, 1), lut[i].green); in i965_load_lut_10p6() 815 * programs green valu in glk_load_degamma_lut() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 1188 dc_fixpt_lt(max_os, ramp->entries.green[i]) || in scale_gamma() 1202 ramp->entries.green[i], scaler); in scale_gamma() 1251 if (dc_fixpt_lt(ramp->entries.green[i], min)) in scale_gamma_dx() 1252 min = ramp->entries.green[i]; in scale_gamma_dx() 1260 if (dc_fixpt_lt(max, ramp->entries.green[i])) in scale_gamma_dx() 1261 max = ramp->entries.green[i]; in scale_gamma_dx() 1278 ramp->entries.green[i], delta), offset); in scale_gamma_dx() 1413 regamma_y = &tf_pts->green[i]; in apply_lut_1d() 1442 lut1 = ramp->entries.green[index]; in apply_lut_1d() 1443 lut2 = ramp->entries.green[index_nex in apply_lut_1d() [all...] |
/third_party/mesa3d/src/gallium/frontends/wgl/ |
H A D | gldrv.h | 43 void (APIENTRY *glColor3b )( GLbyte red, GLbyte green, GLbyte blue ); 45 void (APIENTRY *glColor3d )( GLdouble red, GLdouble green, GLdouble blue ); 47 void (APIENTRY *glColor3f )( GLfloat red, GLfloat green, GLfloat blue ); 49 void (APIENTRY *glColor3i )( GLint red, GLint green, GLint blue ); 51 void (APIENTRY *glColor3s )( GLshort red, GLshort green, GLshort blue ); 53 void (APIENTRY *glColor3ub )( GLubyte red, GLubyte green, GLubyte blue ); 55 void (APIENTRY *glColor3ui )( GLuint red, GLuint green, GLuint blue ); 57 void (APIENTRY *glColor3us )( GLushort red, GLushort green, GLushort blue ); 59 void (APIENTRY *glColor4b )( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ); 61 void (APIENTRY *glColor4d )( GLdouble red, GLdouble green, GLdoubl [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_attributes_parser.cpp | 114 { "green", Color(0xff008000) }, in GetSpecialColor() 227 auto green = (baseColorValue >> ONE_BYTE_BITS) & 0xff; in ParseRGBAMagicColor() local 229 color = Color::FromARGB(alpha, red, green, blue); in ParseRGBAMagicColor() 277 auto green = static_cast<uint8_t>(std::stoi(matches[2])); in CheckColorAlpha() local 281 result = Color::FromARGB(static_cast<uint8_t>(std::min(MAX_ALPHA, alpha)) * 0xff, red, green, blue); in CheckColorAlpha()
|
/third_party/lame/frontend/ |
H A D | gpkplotting.c | 58 setcolor(GtkWidget * widget, GdkColor * color, gint red, gint green, gint blue) in setcolor() argument 63 color->green = green * (65535 / 255); in setcolor() 65 color->pixel = (gulong) (color->red * 65536 + color->green * 256 + color->blue); in setcolor()
|
/third_party/rust/crates/codespan/codespan-reporting/examples/ |
H A D | readme_preview.rs | 122 pre .fg.green {{ color: #b5bd68; }} in main() 131 pre .fg.green.bright {{ color: #b5bd68; }} in main() 140 pre .bg.green {{ background-color: #b5bd68; }} in main() 149 pre .bg.green.bright {{ background-color: #b5bd68; }} in main() 303 Color::Green => write!(writer, "green"), in set_color()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateCBTests.cpp | 57 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BlendConstantsTestInstance() 58 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BlendConstantsTestInstance() 59 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BlendConstantsTestInstance() 60 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BlendConstantsTestInstance()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateCBTests.cpp | 55 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BlendConstantsTestInstance() 56 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BlendConstantsTestInstance() 57 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BlendConstantsTestInstance() 58 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BlendConstantsTestInstance()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context_gles_1_0_autogen.h | 16 void clearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); \ 21 void color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); \ 22 void color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); \ 23 void color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); \
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fReadPixelsTests.cpp | 192 const float green = rnd.getFloat(); in iterate() local 196 m_testCtx.getLog() << tcu::TestLog::Message << "Clear color: (" << red << ", " << green << ", " << blue << ", " << alpha << ")" << tcu::TestLog::EndMessage; in iterate() 199 GLU_CHECK_CALL(glClearColor(red, green, blue, alpha)); in iterate() 202 tcu::clear(reference.getLevel(0), tcu::Vec4(red, green, blue, alpha)); in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | Image9.cpp | 662 unsigned char green = static_cast<unsigned char>((rgb & 0x07E0) >> 3); in copyFromRTInternal() local 665 destPixels[x + 1] = green | (green >> 6); in copyFromRTInternal() 699 unsigned char green = static_cast<unsigned char>((argb & 0x03E0) >> 2); in copyFromRTInternal() local 702 destPixels[x + 1] = green | (green >> 5); in copyFromRTInternal() 717 unsigned char green = static_cast<unsigned char>((argb & 0x03E0) >> 2); in copyFromRTInternal() local 721 destPixels[x + 1] = green | (green >> 5); in copyFromRTInternal()
|