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

Side by Side Diff: include/gpu/SkGr.h

Issue 1334563002: SK_API on GrWrapTextureInBitmap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // This function is similar to skPaint2GrPaintNoShader but also converts 105 // This function is similar to skPaint2GrPaintNoShader but also converts
106 // skPaint's shader to a GrFragmentProcessor if possible. 106 // skPaint's shader to a GrFragmentProcessor if possible.
107 // constantColor has the same meaning as in skPaint2GrPaintNoShader. 107 // constantColor has the same meaning as in skPaint2GrPaintNoShader.
108 bool SkPaint2GrPaint(GrContext* context, GrRenderTarget*, const SkPaint& skPaint , 108 bool SkPaint2GrPaint(GrContext* context, GrRenderTarget*, const SkPaint& skPaint ,
109 const SkMatrix& viewM, bool constantColor, GrPaint* grPaint ); 109 const SkMatrix& viewM, bool constantColor, GrPaint* grPaint );
110 110
111 111
112 SkImageInfo GrMakeInfoFromTexture(GrTexture* tex, int w, int h, bool isOpaque); 112 SkImageInfo GrMakeInfoFromTexture(GrTexture* tex, int w, int h, bool isOpaque);
113 113
114 // Using the dreaded SkGrPixelRef ... 114 // Using the dreaded SkGrPixelRef ...
115 void GrWrapTextureInBitmap(GrTexture* src, int w, int h, bool isOpaque, SkBitmap * dst); 115 SK_API void GrWrapTextureInBitmap(GrTexture* src, int w, int h, bool isOpaque,
116 SkBitmap* dst);
116 117
117 GrTextureParams::FilterMode GrSkFilterQualityToGrFilterMode(SkFilterQuality pain tFilterQuality, 118 GrTextureParams::FilterMode GrSkFilterQualityToGrFilterMode(SkFilterQuality pain tFilterQuality,
118 const SkMatrix& view M, 119 const SkMatrix& view M,
119 const SkMatrix& loca lM, 120 const SkMatrix& loca lM,
120 bool* doBicubic); 121 bool* doBicubic);
121 122
122 //////////////////////////////////////////////////////////////////////////////// 123 ////////////////////////////////////////////////////////////////////////////////
123 // Classes 124 // Classes
124 125
125 class SkGlyphCache; 126 class SkGlyphCache;
126 127
127 //////////////////////////////////////////////////////////////////////////////// 128 ////////////////////////////////////////////////////////////////////////////////
128 129
129 #endif 130 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698