Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrTestUtils.h112 color = GrColorPackRGBA(0xFF, 0xFF, 0xFF, 0xFF); in GrRandomColor()
115 color = GrColorPackRGBA(0, 0, 0, 0); in GrRandomColor()
118 color = GrColorPackRGBA(random->nextULessThan(256), in GrRandomColor()
125 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/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/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()
DGrMeshTest.cpp117 GrColorPackRGBA(rgb[0], rgb[1], rgb[2], 255) in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DOnFlushCallbackTest.cpp275 GrColorPackRGBA(255, 0, 0, 255),
276 GrColorPackRGBA(0, 255, 0, 255),
277 GrColorPackRGBA(0, 0, 255, 255),
278 GrColorPackRGBA(0, 255, 255, 255),
279 GrColorPackRGBA(255, 0, 255, 255),
280 GrColorPackRGBA(255, 255, 0, 255),
281 GrColorPackRGBA(0, 0, 0, 255),
282 GrColorPackRGBA(128, 128, 128, 255),
283 GrColorPackRGBA(255, 255, 255, 255)
DSkSLCross.cpp109 REPORTER_ASSERT(reporter, result == GrColorPackRGBA(0, 255, 0, 255)); // Green. in run_test()
111 REPORTER_ASSERT(reporter, result == GrColorPackRGBA(255, 0, 0, 255)); // Red. in run_test()
113 REPORTER_ASSERT(reporter, result == GrColorPackRGBA(0, 0, 0, 255)); // Black. in run_test()
DGrPipelineDynamicStateTest.cpp47 GrColorPackRGBA(255, 0, 0, 255),
48 GrColorPackRGBA(0, 255, 0, 255),
49 GrColorPackRGBA(0, 0, 255, 255),
50 GrColorPackRGBA(0, 0, 0, 255)
DRectangleTextureTest.cpp44 GrColor color0 = GrColorPackRGBA(0xA, 0xB, 0xC, 0xD); in test_clear()
64 GrColor color1 = GrColorPackRGBA(0x1, 0x2, 0x3, 0x4); in test_clear()
DDSLFPTest.cpp60 REPORTER_ASSERT(r, *color == GrColorPackRGBA(0x00, 0xFF, 0x00, 0xFF), in test_dsl_fp()
DGrPorterDuffTest.cpp486 SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(229, 0, 154, 240))); in test_color_not_opaque_no_coverage()
1032 GrProcessorAnalysisColor color = SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(123, 45, 67, 255)); in test_lcd_coverage_fallback_case()
1047 color = SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(123, 45, 67, 221)); in test_lcd_coverage_fallback_case()
1095 GrProcessorAnalysisColor(SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(0, 82, 17, 100))), in DEF_GPUTEST()
1096 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/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/text/
DGrAtlasManager.cpp115 uint32_t colorRGBA = GrColorPackRGBA(masks.getRed(color565), in get_packed_glyph_image()

12