/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/ |
D | Clear11.hlsl | 102 float4 color0 : SV_TARGET0; 111 float4 color0 : SV_TARGET0; 117 float4 color0 : SV_TARGET0; 124 float4 color0 : SV_TARGET0; 132 float4 color0 : SV_TARGET0; 141 float4 color0 : SV_TARGET0; 151 float4 color0 : SV_TARGET0; 162 float4 color0 : SV_TARGET0; 174 float4 color0 : SV_TARGET0; 187 uint4 color0 : SV_TARGET0; [all …]
|
/third_party/astc-encoder/Source/ |
D | astcenc_color_quantize.cpp | 107 vfloat4 color0, in quantize_rgb() argument 114 float r0 = astc::clamp255f(color0.lane<0>() * scale); in quantize_rgb() 115 float g0 = astc::clamp255f(color0.lane<1>() * scale); in quantize_rgb() 116 float b0 = astc::clamp255f(color0.lane<2>() * scale); in quantize_rgb() 168 vfloat4 color0, in quantize_rgba() argument 175 float a0 = astc::clamp255f(color0.lane<3>() * scale); in quantize_rgba() 181 quantize_rgb(color0, color1, output, quant_level); in quantize_rgba() 197 vfloat4 color0, in try_quantize_rgb_blue_contract() argument 204 float r0 = color0.lane<0>() * scale; in try_quantize_rgb_blue_contract() 205 float g0 = color0.lane<1>() * scale; in try_quantize_rgb_blue_contract() [all …]
|
/third_party/openGLES/extensions/3DFX/ |
D | 3DFX_texture_compression_FXT1.txt | 203 mode[1:0] color1 color0 texel 31 to 16 texel 15 to 0 211 [110:106] red of color0 212 [105:101] green of color0 213 [100:96] blue of color0 222 color0 (RGB555 format) colors are converted into 24-bit RGB888 224 converted color1 and color0 are then used to linearly interpolate 5 249 Color[0] = color0[r,g,b], alpha[0] = ffh 250 Color[1] = (5*color0[r,g,b] + color1[r,g,b] +3 )/6 alpha[1] = ffh 251 Color[2] = (4*color0[r,g,b] + 2*color1[r,g,b] +3 )/6 alpha[2] = ffh 252 Color[3] = (3*color0[r,g,b] + 3*color1[r,g,b] +3 )/6 alpha[3] = ffh [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/3DFX/ |
D | 3DFX_texture_compression_FXT1.txt | 203 mode[1:0] color1 color0 texel 31 to 16 texel 15 to 0 211 [110:106] red of color0 212 [105:101] green of color0 213 [100:96] blue of color0 222 color0 (RGB555 format) colors are converted into 24-bit RGB888 224 converted color1 and color0 are then used to linearly interpolate 5 249 Color[0] = color0[r,g,b], alpha[0] = ffh 250 Color[1] = (5*color0[r,g,b] + color1[r,g,b] +3 )/6 alpha[1] = ffh 251 Color[2] = (4*color0[r,g,b] + 2*color1[r,g,b] +3 )/6 alpha[2] = ffh 252 Color[3] = (3*color0[r,g,b] + 3*color1[r,g,b] +3 )/6 alpha[3] = ffh [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_s3tc_tmp.h | 59 const GLushort color0 = img_block_src[0] | (img_block_src[1] << 8); in dxt135_decode_imageblock() local 70 rgba[RCOMP] = UBYTE_TO_CHAN( EXP5TO8R(color0) ); in dxt135_decode_imageblock() 71 rgba[GCOMP] = UBYTE_TO_CHAN( EXP6TO8G(color0) ); in dxt135_decode_imageblock() 72 rgba[BCOMP] = UBYTE_TO_CHAN( EXP5TO8B(color0) ); in dxt135_decode_imageblock() 80 if ((dxt_type > 1) || (color0 > color1)) { in dxt135_decode_imageblock() 81 rgba[RCOMP] = UBYTE_TO_CHAN( ((EXP5TO8R(color0) * 2 + EXP5TO8R(color1)) / 3) ); in dxt135_decode_imageblock() 82 rgba[GCOMP] = UBYTE_TO_CHAN( ((EXP6TO8G(color0) * 2 + EXP6TO8G(color1)) / 3) ); in dxt135_decode_imageblock() 83 rgba[BCOMP] = UBYTE_TO_CHAN( ((EXP5TO8B(color0) * 2 + EXP5TO8B(color1)) / 3) ); in dxt135_decode_imageblock() 86 rgba[RCOMP] = UBYTE_TO_CHAN( ((EXP5TO8R(color0) + EXP5TO8R(color1)) / 2) ); in dxt135_decode_imageblock() 87 rgba[GCOMP] = UBYTE_TO_CHAN( ((EXP6TO8G(color0) + EXP6TO8G(color1)) / 2) ); in dxt135_decode_imageblock() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | texturedsp.c | 41 uint16_t color0, in extract_color() argument 49 tmp = (color0 >> 11) * 255 + 16; in extract_color() 51 tmp = ((color0 & 0x07E0) >> 5) * 255 + 32; in extract_color() 53 tmp = (color0 & 0x001F) * 255 + 16; in extract_color() 63 if (dxtn || color0 > color1) { in extract_color() 90 uint16_t color0 = AV_RL16(block + 0); in dxt1_block_internal() local 94 extract_color(colors, color0, color1, 0, alpha); in dxt1_block_internal() 144 uint16_t color0 = AV_RL16(block + 8); in dxt3_block_internal() local 148 extract_color(colors, color0, color1, 1, 0); in dxt3_block_internal() 259 uint16_t color0 = AV_RL16(block + 8); in dxt5_block_internal() local [all …]
|
/third_party/skia/tests/ |
D | RectangleTextureTest.cpp | 45 GrColor color0 = GrColorPackRGBA(0xA, 0xB, 0xC, 0xD); in test_clear() local 46 sfc->clear(SkPMColor4f::FromBytes_RGBA(color0)); in test_clear() 56 expectedBytes0[0] = GrColorUnpackR(color0); in test_clear() 57 expectedBytes0[1] = GrColorUnpackG(color0); in test_clear() 58 expectedBytes0[2] = GrColorUnpackB(color0); in test_clear() 59 expectedBytes0[3] = GrColorUnpackA(color0); in test_clear()
|
/third_party/openGLES/extensions/NV/ |
D | NV_texture_compression_s3tc.txt | 196 color0 = c0_lo + c0_hi * 256 200 color0 and color1 are 16-bit unsigned integers that are 217 RGB0, if color0 > color1 and code(x,y) == 0 218 RGB1, if color0 > color1 and code(x,y) == 1 219 (2*RGB0+RGB1)/3, if color0 > color1 and code(x,y) == 2 220 (RGB0+2*RGB1)/3, if color0 > color1 and code(x,y) == 3 222 RGB0, if color0 <= color1 and code(x,y) == 0 223 RGB1, if color0 <= color1 and code(x,y) == 1 224 (RGB0+RGB1)/2, if color0 <= color1 and code(x,y) == 2 225 BLACK, if color0 <= color1 and code(x,y) == 3 [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
D | NV_texture_compression_s3tc.txt | 196 color0 = c0_lo + c0_hi * 256 200 color0 and color1 are 16-bit unsigned integers that are 217 RGB0, if color0 > color1 and code(x,y) == 0 218 RGB1, if color0 > color1 and code(x,y) == 1 219 (2*RGB0+RGB1)/3, if color0 > color1 and code(x,y) == 2 220 (RGB0+2*RGB1)/3, if color0 > color1 and code(x,y) == 3 222 RGB0, if color0 <= color1 and code(x,y) == 0 223 RGB1, if color0 <= color1 and code(x,y) == 1 224 (RGB0+RGB1)/2, if color0 <= color1 and code(x,y) == 2 225 BLACK, if color0 <= color1 and code(x,y) == 3 [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_linear.c | 195 jit.color0 = color + x * 4 + y * stride; in lp_fs_linear_run() 200 jit.color0 += stride; in lp_fs_linear_run() 225 alignas(16) uint8_t color0[TILE_SIZE*4]; in check_linear_interp_mask_a() local 244 jit.color0 = color0; in check_linear_interp_mask_a()
|
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/vert/ |
D | pointsize.vert | 8 layout(location = 1) in vec4 color0; 14 color = color0;
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_texture_compression_dxt1.txt | 234 color0 = c0_lo + c0_hi * 256 238 color0 and color1 are 16-bit unsigned integers that are unpacked to 252 RGB0, if color0 > color1 and code(x,y) == 0 253 RGB1, if color0 > color1 and code(x,y) == 1 254 (2*RGB0+RGB1)/3, if color0 > color1 and code(x,y) == 2 255 (RGB0+2*RGB1)/3, if color0 > color1 and code(x,y) == 3 257 RGB0, if color0 <= color1 and code(x,y) == 0 258 RGB1, if color0 <= color1 and code(x,y) == 1 259 (RGB0+RGB1)/2, if color0 <= color1 and code(x,y) == 2 260 BLACK, if color0 <= color1 and code(x,y) == 3 [all …]
|
D | EXT_texture_compression_s3tc.txt | 134 opaque block encoding, regardless of the relative values of "color0" 685 color0 = c0_lo + c0_hi * 256 689 color0 and color1 are 16-bit unsigned integers that are unpacked to 703 RGB0, if color0 > color1 and code(x,y) == 0 704 RGB1, if color0 > color1 and code(x,y) == 1 705 (2*RGB0+RGB1)/3, if color0 > color1 and code(x,y) == 2 706 (RGB0+2*RGB1)/3, if color0 > color1 and code(x,y) == 3 708 RGB0, if color0 <= color1 and code(x,y) == 0 709 RGB1, if color0 <= color1 and code(x,y) == 1 710 (RGB0+RGB1)/2, if color0 <= color1 and code(x,y) == 2 [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_texture_compression_dxt1.txt | 234 color0 = c0_lo + c0_hi * 256 238 color0 and color1 are 16-bit unsigned integers that are unpacked to 252 RGB0, if color0 > color1 and code(x,y) == 0 253 RGB1, if color0 > color1 and code(x,y) == 1 254 (2*RGB0+RGB1)/3, if color0 > color1 and code(x,y) == 2 255 (RGB0+2*RGB1)/3, if color0 > color1 and code(x,y) == 3 257 RGB0, if color0 <= color1 and code(x,y) == 0 258 RGB1, if color0 <= color1 and code(x,y) == 1 259 (RGB0+RGB1)/2, if color0 <= color1 and code(x,y) == 2 260 BLACK, if color0 <= color1 and code(x,y) == 3 [all …]
|
D | EXT_texture_compression_s3tc.txt | 134 opaque block encoding, regardless of the relative values of "color0" 685 color0 = c0_lo + c0_hi * 256 689 color0 and color1 are 16-bit unsigned integers that are unpacked to 703 RGB0, if color0 > color1 and code(x,y) == 0 704 RGB1, if color0 > color1 and code(x,y) == 1 705 (2*RGB0+RGB1)/3, if color0 > color1 and code(x,y) == 2 706 (RGB0+2*RGB1)/3, if color0 > color1 and code(x,y) == 3 708 RGB0, if color0 <= color1 and code(x,y) == 0 709 RGB1, if color0 <= color1 and code(x,y) == 1 710 (RGB0+RGB1)/2, if color0 <= color1 and code(x,y) == 2 [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/ |
D | astc_decompress_symbolic.cpp | 41 uint4 color0, in lerp_color_int() argument 47 int4 ecolor0 = int4(color0.x, color0.y, color0.z, color0.w); in lerp_color_int()
|
/third_party/skia/docs/examples/ |
D | radial_gradient_test.cpp | 10 const SkColor color0 = 0xFF000000; in draw() local 13 SkColor cs[] = {preColor, color0, color1, postColor}; in draw()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_lower_alpha_to_coverage.c | 149 nir_ssa_def *color0 = color0_write->src[0].ssa; in brw_nir_lower_alpha_to_coverage() local 150 if (color0->num_components < 4) in brw_nir_lower_alpha_to_coverage() 171 nir_ssa_def *dither_mask = build_dither_mask(&b, color0); in brw_nir_lower_alpha_to_coverage()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsTextureBufferCase.cpp | 233 const tcu::Vec4 color0 = vtxColor0; in shadeFragments() local 238 …utput(context, packetNdx, 0, 0, tcu::Vec4(color0.x() * color0.w(), color0.y() * color0.w(), color0… in shadeFragments() 278 const tcu::Vec4 color0 = 0.5f * (vtxColor0 + texColor0); in shadeFragments() local 283 …utput(context, packetNdx, 0, 0, tcu::Vec4(color0.x() * color0.w(), color0.y() * color0.w(), color0… in shadeFragments()
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/vert/ |
D | pointsize.vert | 22 float4 color0 [[attribute(1)]]; 30 out.color = in.color0;
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/vert/ |
D | pointsize.vert | 22 float4 color0 [[attribute(1)]]; 30 out.color = in.color0;
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | GeometryShaderTest.cpp | 63 GLuint color0, 908 GLuint color0, in setupLayeredFramebuffer() argument 930 glBindTexture(colorTarget, color0); in setupLayeredFramebuffer() 949 glFramebufferTextureEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, color0, 0); in setupLayeredFramebuffer() 1138 GLTexture color0; in layeredFramebufferClearTest() local 1143 setupLayeredFramebuffer(framebuffer, color0, color1, depthStencil, colorTarget, in layeredFramebufferClearTest() 1171 verifyLayeredFramebufferColor(color0, colorTarget, kExpectedColor0, kColor0Layers); in layeredFramebufferClearTest() 1203 GLTexture color0; in layeredFramebufferPreRenderClearTest() local 1208 setupLayeredFramebuffer(framebuffer, color0, color1, depthStencil, colorTarget, in layeredFramebufferPreRenderClearTest() 1245 verifyLayeredFramebufferColor(color0, colorTarget, kExpectedColor0, kColor0Layers); in layeredFramebufferPreRenderClearTest() [all …]
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/ |
D | gles2-driver-issues.txt | 226 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgb_half_float_oes 227 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgba_half_float_oes 228 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgb8 229 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgba4 230 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgb5_a1 231 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgba8 232 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgb10_a2 233 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgb565 261 dEQP-GLES2.functional.fbo.completeness.renderable.renderbuffer.color0.srgb8_alpha8 262 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.srgb8_alpha8
|
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/src/ |
D | gles2-driver-issues.txt | 220 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgb_half_float_oes 221 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgba_half_float_oes 222 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgb8 223 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgba4 224 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgb5_a1 225 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgba8 226 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgb10_a2 227 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.rgb565 248 dEQP-GLES2.functional.fbo.completeness.renderable.renderbuffer.color0.srgb8_alpha8 249 dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.srgb8_alpha8
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_negative.cpp | 2562 void dng_negative::SetColorKeys (ColorKeyCode color0, in SetColorKeys() argument 2572 info.fCFAPlaneColor [0] = color0; in SetColorKeys() 2588 ColorKeyCode color0 = (ColorKeyCode) info.fCFAPlaneColor [0]; in SetBayerMosaic() local 2600 info.fCFAPattern [0] [1] = color0; in SetBayerMosaic() 2608 info.fCFAPattern [0] [0] = color0; in SetBayerMosaic() 2620 info.fCFAPattern [1] [1] = color0; in SetBayerMosaic() 2628 info.fCFAPattern [1] [0] = color0; in SetBayerMosaic() 2650 ColorKeyCode color0 = (ColorKeyCode) info.fCFAPlaneColor [0]; in SetFujiMosaic() local 2661 info.fCFAPattern [0] [0] = color0; in SetFujiMosaic() 2667 info.fCFAPattern [1] [2] = color0; in SetFujiMosaic() [all …]
|