Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(775)

Side by Side Diff: src/gpu/SkGpuDevice.h

Issue 609223003: Revert of Fix SkTextBlob offset semantics. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/GrTextContext.h ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 const SkMatrix&, const SkPaint&) SK_OVERRIDE; 83 const SkMatrix&, const SkPaint&) SK_OVERRIDE;
84 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, 84 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&,
85 const SkRect* srcOrNull, const SkRect& dst, 85 const SkRect* srcOrNull, const SkRect& dst,
86 const SkPaint& paint, 86 const SkPaint& paint,
87 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE ; 87 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE ;
88 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, 88 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap,
89 int x, int y, const SkPaint& paint); 89 int x, int y, const SkPaint& paint);
90 virtual void drawText(const SkDraw&, const void* text, size_t len, 90 virtual void drawText(const SkDraw&, const void* text, size_t len,
91 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; 91 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE;
92 virtual void drawPosText(const SkDraw&, const void* text, size_t len, 92 virtual void drawPosText(const SkDraw&, const void* text, size_t len,
93 const SkScalar pos[], int scalarsPerPos, 93 const SkScalar pos[], SkScalar constY,
94 const SkPoint& offset, const SkPaint&) SK_OVERRIDE; 94 int scalarsPerPos, const SkPaint&) SK_OVERRIDE;
95 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, 95 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len,
96 const SkPath& path, const SkMatrix* matrix, 96 const SkPath& path, const SkMatrix* matrix,
97 const SkPaint&) SK_OVERRIDE; 97 const SkPaint&) SK_OVERRIDE;
98 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou nt, 98 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou nt,
99 const SkPoint verts[], const SkPoint texs[], 99 const SkPoint verts[], const SkPoint texs[],
100 const SkColor colors[], SkXfermode* xmode, 100 const SkColor colors[], SkXfermode* xmode,
101 const uint16_t indices[], int indexCount, 101 const uint16_t indices[], int indexCount,
102 const SkPaint&) SK_OVERRIDE; 102 const SkPaint&) SK_OVERRIDE;
103 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, 103 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y,
104 const SkPaint&) SK_OVERRIDE; 104 const SkPaint&) SK_OVERRIDE;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 bool bicubic); 200 bool bicubic);
201 201
202 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); 202 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);
203 203
204 static SkPicture::AccelData::Key ComputeAccelDataKey(); 204 static SkPicture::AccelData::Key ComputeAccelDataKey();
205 205
206 typedef SkBaseDevice INHERITED; 206 typedef SkBaseDevice INHERITED;
207 }; 207 };
208 208
209 #endif 209 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTextContext.h ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698