Home
last modified time | relevance | path

Searched refs:subpixel (Results 1 - 13 of 13) sorted by relevance

/third_party/skia/docs/examples/
H A DDevice_Text.cpp17 for (bool subpixel : { false, true }) { in REG_FIDDLE()
18 paint.setSubpixelText(subpixel); in REG_FIDDLE()
/third_party/skia/gm/
H A Dtypeface.cpp221 for (const SubpixelType subpixel : subpixelTypes) { in draw_typeface_rendering_gm()
223 font.setSubpixel(subpixel.requested); in draw_typeface_rendering_gm()
244 canvas->rotate(2, x + subpixel.offset.x(), in draw_typeface_rendering_gm()
245 y + subpixel.offset.y()); in draw_typeface_rendering_gm()
248 x + subpixel.offset.x(), in draw_typeface_rendering_gm()
249 y + subpixel.offset.y(), font, paint); in draw_typeface_rendering_gm()
/third_party/skia/tests/
H A DTextBlobCacheTest.cpp122 for (int subpixel = 0; subpixel < 2; subpixel++) { in text_blob_cache_inner()
131 font.setSubpixel(SkToBool(subpixel)); in text_blob_cache_inner()
H A DFontHostTest.cpp210 bool subpixel; in test_advances() member
244 font.setSubpixel(settings[j].subpixel); in test_advances()
/third_party/skia/src/utils/mac/
H A DSkCTFont.h24 some, // SmoothFonts produces some effect, but not subpixel coverage.
25 subpixel, // SmoothFonts produces some effect and provides subpixel coverage. member in SkCTFontSmoothBehavior
H A DSkCTFont.cpp266 return SkCTFontSmoothBehavior::subpixel; in SkCTFontGetSmoothBehavior()
/third_party/glfw/src/
H A Dwl_monitor.c47 int32_t subpixel, in outputHandleGeometry()
41 outputHandleGeometry(void* userData, struct wl_output* output, int32_t x, int32_t y, int32_t physicalWidth, int32_t physicalHeight, int32_t subpixel, const char* make, const char* model, int32_t transform) outputHandleGeometry() argument
/third_party/skia/include/core/
H A DSkFont.h142 @param subpixel setting for sub-pixel positioning
144 void setSubpixel(bool subpixel);
/third_party/mesa3d/include/drm-uapi/
H A Ddrm_mode.h505 * @subpixel: Subpixel order of the connected sink.
509 __u32 subpixel; member
/third_party/libdrm/include/drm/
H A Ddrm_mode.h473 * @subpixel: Subpixel order of the connected sink.
477 __u32 subpixel; member
/third_party/libdrm/
H A Dxf86drmMode.h212 drmModeSubPixel subpixel; member
H A Dxf86drmMode.c569 /* convert subpixel from kernel to userspace */ in _drmModeGetConnector()
570 r->subpixel = conn.subpixel + 1; in _drmModeGetConnector()
/third_party/skia/src/ports/
H A DSkTypeface_mac_ct.cpp933 // The above turns off subpixel rendering, but the user requested it.
934 // Normal hinting will cause the A8 masks to be generated from CoreGraphics subpixel masks.
977 if (smoothBehavior == SkCTFontSmoothBehavior::subpixel) {
1006 // CoreGraphics smoothed text without subpixel coverage blitting goes from a gamma of
1012 } else if (smoothBehavior == SkCTFontSmoothBehavior::subpixel) {
1013 // CoreGraphics smoothed text with subpixel coverage blitting goes from a gamma of

Completed in 14 milliseconds