OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 <cstring> | 8 #include <cstring> |
9 | 9 |
10 #include "SkBitmap.h" | 10 #include "SkBitmap.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 &imageErr); | 113 &imageErr); |
114 bitmap->unlockPixels(); | 114 bitmap->unlockPixels(); |
115 | 115 |
116 if (CL_SUCCESS != imageErr) { | 116 if (CL_SUCCESS != imageErr) { |
117 SkDebugf("Input image creation failed: %s\n", cl_error_to_string(imageEr
r)); | 117 SkDebugf("Input image creation failed: %s\n", cl_error_to_string(imageEr
r)); |
118 return false; | 118 return false; |
119 } | 119 } |
120 | 120 |
121 return true; | 121 return true; |
122 } | 122 } |
OLD | NEW |