Home
last modified time | relevance | path

Searched refs:GrColorPackRGBA (Results 1 – 25 of 29) sorted by relevance

12

/external/skqp/src/gpu/
DGrTestUtils.h109 color = GrColorPackRGBA(0xFF, 0xFF, 0xFF, 0xFF); in GrRandomColor()
112 color = GrColorPackRGBA(0, 0, 0, 0); in GrRandomColor()
115 color = GrColorPackRGBA(random->nextULessThan(256), in GrRandomColor()
122 color = GrColorPackRGBA(random->nextRangeU(0, alpha), in GrRandomColor()
DSkGr.h49 return GrColorPackRGBA(r, g, b, a); in SkColorToPremulGrColor()
57 return GrColorPackRGBA(r, g, b, a); in SkColorToUnpremulGrColor()
/external/skia/src/gpu/
DGrTestUtils.h109 color = GrColorPackRGBA(0xFF, 0xFF, 0xFF, 0xFF); in GrRandomColor()
112 color = GrColorPackRGBA(0, 0, 0, 0); in GrRandomColor()
115 color = GrColorPackRGBA(random->nextULessThan(256), in GrRandomColor()
122 color = GrColorPackRGBA(random->nextRangeU(0, alpha), in GrRandomColor()
DSkGr.h51 return GrColorPackRGBA(r, g, b, a); in SkColorToPremulGrColor()
59 return GrColorPackRGBA(r, g, b, a); in SkColorToUnpremulGrColor()
DGrColor.h45 static inline GrColor GrColorPackRGBA(unsigned r, unsigned g, unsigned b, unsigned a) { in GrColorPackRGBA() function
/external/skia/tests/
DOnFlushCallbackTest.cpp250 GrColorPackRGBA(255, 0, 0, 255),
251 GrColorPackRGBA(0, 255, 0, 255),
252 GrColorPackRGBA(0, 0, 255, 255),
253 GrColorPackRGBA(0, 255, 255, 255),
254 GrColorPackRGBA(255, 0, 255, 255),
255 GrColorPackRGBA(255, 255, 0, 255),
256 GrColorPackRGBA(0, 0, 0, 255),
257 GrColorPackRGBA(128, 128, 128, 255),
258 GrColorPackRGBA(255, 255, 255, 255)
DGrPipelineDynamicStateTest.cpp48 GrColorPackRGBA(255, 0, 0, 255),
49 GrColorPackRGBA(0, 255, 0, 255),
50 GrColorPackRGBA(0, 0, 255, 255),
51 GrColorPackRGBA(0, 0, 0, 255)
DRectangleTextureTest.cpp53 GrColor color0 = GrColorPackRGBA(0xA, 0xB, 0xC, 0xD); in test_clear()
74 GrColor color1 = GrColorPackRGBA(0x1, 0x2, 0x3, 0x4); in test_clear()
DReadWriteAlphaTest.cpp182 rgbaData[y * X_SIZE + x] = GrColorPackRGBA(6, 7, 8, alphaData[y * X_SIZE + x]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrPorterDuffTest.cpp453 SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(229, 0, 154, 240))); in test_color_not_opaque_no_coverage()
955 GrProcessorAnalysisColor color = SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(123, 45, 67, 255)); in test_lcd_coverage_fallback_case()
970 color = SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(123, 45, 67, 221)); in test_lcd_coverage_fallback_case()
1016 GrProcessorAnalysisColor(SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(0, 82, 17, 100))), in DEF_GPUTEST()
1017 GrProcessorAnalysisColor(SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(0, 82, 17, 255)))}; in DEF_GPUTEST()
/external/skqp/tests/
DOnFlushCallbackTest.cpp239 GrColorPackRGBA(255, 0, 0, 255),
240 GrColorPackRGBA(0, 255, 0, 255),
241 GrColorPackRGBA(0, 0, 255, 255),
242 GrColorPackRGBA(0, 255, 255, 255),
243 GrColorPackRGBA(255, 0, 255, 255),
244 GrColorPackRGBA(255, 255, 0, 255),
245 GrColorPackRGBA(0, 0, 0, 255),
246 GrColorPackRGBA(128, 128, 128, 255),
247 GrColorPackRGBA(255, 255, 255, 255)
DGrPipelineDynamicStateTest.cpp44 GrColorPackRGBA(255, 0, 0, 255),
45 GrColorPackRGBA(0, 255, 0, 255),
46 GrColorPackRGBA(0, 0, 255, 255),
47 GrColorPackRGBA(0, 0, 0, 255)
DRectangleTextureTest.cpp51 GrColor color0 = GrColorPackRGBA(0xA, 0xB, 0xC, 0xD); in test_clear()
72 GrColor color1 = GrColorPackRGBA(0x1, 0x2, 0x3, 0x4); in test_clear()
DTransferPixelsTest.cpp32 data[i + j*bufferWidth] = GrColorPackRGBA(red - (red>>8), in fill_transfer_data()
DTestUtils.cpp125 data[i + j * width] = GrColorPackRGBA(red - (red >> 8), green - (green >> 8), in fill_pixel_data()
DReadWriteAlphaTest.cpp186 rgbaData[y * X_SIZE + x] = GrColorPackRGBA(6, 7, 8, alphaData[y * X_SIZE + x]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrPorterDuffTest.cpp447 SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(229, 0, 154, 240))); in test_color_not_opaque_no_coverage()
944 GrProcessorAnalysisColor color = SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(123, 45, 67, 255)); in test_lcd_coverage_fallback_case()
960 color = SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(123, 45, 67, 221)); in test_lcd_coverage_fallback_case()
1007 GrProcessorAnalysisColor(SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(0, 82, 17, 100))), in DEF_GPUTEST()
1008 GrProcessorAnalysisColor(SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(0, 82, 17, 255)))}; in DEF_GPUTEST()
/external/skqp/src/gpu/text/
DGrTextBlobVertexRegenerator.cpp99 hackColor = GrColorPackRGBA(0, 255, 0, 255); in regen_texcoords()
102 hackColor = GrColorPackRGBA(255, 0, 0, 255);; in regen_texcoords()
105 hackColor = GrColorPackRGBA(255, 0, 255, 255); in regen_texcoords()
108 hackColor = GrColorPackRGBA(0, 255, 255, 255); in regen_texcoords()
111 hackColor = GrColorPackRGBA(0, 0, 0, 255); in regen_texcoords()
DGrStrikeCache.cpp104 uint32_t colorRGBA = GrColorPackRGBA(masks.getRed(color565), in get_packed_glyph_image()
/external/skqp/include/private/
DGrColor.h44 static inline GrColor GrColorPackRGBA(unsigned r, unsigned g, unsigned b, unsigned a) { in GrColorPackRGBA() function
/external/skia/src/gpu/effects/
DGrConstColorProcessor.fp73 color = SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(r, g, b, a));
/external/skqp/src/gpu/effects/
DGrConstColorProcessor.fp74 color = SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(r, g, b, a));
DGrConstColorProcessor.cpp89 color = SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(r, g, b, a)); in TestCreate()
/external/skia/src/gpu/effects/generated/
DGrConstColorProcessor.cpp89 color = SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(r, g, b, a)); in TestCreate()
/external/skia/src/gpu/text/
DGrStrikeCache.cpp108 uint32_t colorRGBA = GrColorPackRGBA(masks.getRed(color565), in get_packed_glyph_image()

12