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

Side by Side Diff: tests/BitmapCopyTest.cpp

Issue 2147053002: Remove GrWrapTextureInBitmap from public API (Closed) Base URL: https://chromium.googlesource.com/skia.git@wrap
Patch Set: rm SK_API Created 4 years, 5 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/SkGrPriv.h ('k') | tests/GrTextureMipMapInvalidationTest.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 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkBitmap.h" 8 #include "SkBitmap.h"
9 #include "SkGrPriv.h"
9 #include "SkRect.h" 10 #include "SkRect.h"
10 #include "SkTemplates.h" 11 #include "SkTemplates.h"
11 #include "Test.h" 12 #include "Test.h"
12 13
13 static const char* boolStr(bool value) { 14 static const char* boolStr(bool value) {
14 return value ? "true" : "false"; 15 return value ? "true" : "false";
15 } 16 }
16 17
17 // these are in the same order as the SkColorType enum 18 // these are in the same order as the SkColorType enum
18 static const char* gColorTypeName[] = { 19 static const char* gColorTypeName[] = {
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 } 711 }
711 } 712 }
712 dstBmpPixels += dstBmp.rowBytes(); 713 dstBmpPixels += dstBmp.rowBytes();
713 } 714 }
714 } 715 }
715 } 716 }
716 } 717 }
717 } 718 }
718 719
719 #endif 720 #endif
OLDNEW
« no previous file with comments | « src/gpu/SkGrPriv.h ('k') | tests/GrTextureMipMapInvalidationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698