Lines Matching refs:library
30 // Uncomment to include tests of CanvasState across a library boundary. This will change how 'dm'
32 // instead compiled as part of the 'canvas_state_lib' build target. This produces a shared library
33 // that must be passed to 'dm' using the --library flag when running.
39 // dlopen, the library flag and canvas state helpers are only used for tests which require this flag
42 static DEFINE_string(library, "",
43 "Support library to use for CanvasState test. Must be provided when"
44 " SK_TEST_CANVAS_STATE_CROSS_LIBRARY to specify the dynamically loaded library"
45 " that receives the captured canvas state. Functions from the library will be"
46 " called to test SkCanvasState. The library is built from the canvas_state_lib"
51 // Automatically loads library passed to --library flag and closes it when it goes out of scope.
57 REPORTER_ASSERT(reporter, fLibrary != nullptr, "Failed to open library!");
69 // Load a function address from the library object, or null if the library had failed