diff options
author | Herb Derby <herb@google.com> | 2018-07-27 11:58:37 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-27 18:28:56 +0000 |
commit | f4f6bbfadac327619a3832acad9c8afe06629b55 (patch) | |
tree | 2af68fcfee34e090040cd548177b673082275535 /src/gpu/SkGpuDevice.cpp | |
parent | 88f6d37f3fd98eb7a588c2188f25cf8de42b41a6 (diff) |
Duplicate drawDFPosText into drawDFGlyphRun
This CL has duplicate code, but this should be a small CL to
judge how glyphRuns will change the code.
Change-Id: Ib4700aa9d19ae3811090796a2c59bbe746361202
Reviewed-on: https://skia-review.googlesource.com/144022
Auto-Submit: Herb Derby <herb@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 39704e5174..0686d61d18 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -1628,6 +1628,8 @@ void SkGpuDevice::drawAtlas(const SkImage* atlas, const SkRSXform xform[], void SkGpuDevice::drawPosText(const void* text, size_t byteLength, const SkScalar pos[], int scalarsPerPos, const SkPoint& offset, const SkPaint& paint) { + + SK_ABORT("Oh no!!! There is not drawPosText for GPU device anymore!"); ASSERT_SINGLE_OWNER GR_CREATE_TRACE_MARKER_CONTEXT("SkGpuDevice", "drawPosText", fContext.get()); SkDEBUGCODE(this->validate();) |