Searched refs:contextEncoding (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | SRGBReadWritePixelsTest.cpp | 197 static sk_sp<GrSurfaceContext> make_surface_context(Encoding contextEncoding, GrContext* context, in make_surface_context() argument 203 desc.fConfig = encoding_as_pixel_config(contextEncoding); in make_surface_context() 212 SkBudgeted::kNo, encoding_as_color_space(contextEncoding)); in make_surface_context() 214 ERRORF(reporter, "Could not create %s surface context.", encoding_as_str(contextEncoding)); in make_surface_context() 219 static void test_write_read(Encoding contextEncoding, Encoding writeEncoding, Encoding readEncoding, in test_write_read() argument 222 auto surfaceContext = make_surface_context(contextEncoding, context, reporter); in test_write_read() 231 encoding_as_str(writeEncoding), encoding_as_str(contextEncoding)); in test_write_read() 239 encoding_as_str(contextEncoding), encoding_as_str(readEncoding)); in test_write_read()
|
/external/skqp/tests/ |
D | SRGBReadWritePixelsTest.cpp | 197 static sk_sp<GrSurfaceContext> make_surface_context(Encoding contextEncoding, GrContext* context, in make_surface_context() argument 203 desc.fConfig = encoding_as_pixel_config(contextEncoding); in make_surface_context() 212 SkBudgeted::kNo, encoding_as_color_space(contextEncoding)); in make_surface_context() 214 ERRORF(reporter, "Could not create %s surface context.", encoding_as_str(contextEncoding)); in make_surface_context() 219 static void test_write_read(Encoding contextEncoding, Encoding writeEncoding, Encoding readEncoding, in test_write_read() argument 222 auto surfaceContext = make_surface_context(contextEncoding, context, reporter); in test_write_read() 231 encoding_as_str(writeEncoding), encoding_as_str(contextEncoding)); in test_write_read() 239 encoding_as_str(contextEncoding), encoding_as_str(readEncoding)); in test_write_read()
|