summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/include/core/SkUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/include/core/SkUtils.h')
-rw-r--r--chromium/third_party/skia/include/core/SkUtils.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/chromium/third_party/skia/include/core/SkUtils.h b/chromium/third_party/skia/include/core/SkUtils.h
index d6bf8dd3ee6..d522ae0dea1 100644
--- a/chromium/third_party/skia/include/core/SkUtils.h
+++ b/chromium/third_party/skia/include/core/SkUtils.h
@@ -17,7 +17,7 @@
@param value The 16bit value to be copied into buffer
@param count The number of times value should be copied into the buffer.
*/
-void sk_memset16_portable(uint16_t dst[], uint16_t value, int count);
+void sk_memset16(uint16_t dst[], uint16_t value, int count);
typedef void (*SkMemset16Proc)(uint16_t dst[], uint16_t value, int count);
SkMemset16Proc SkMemset16GetPlatformProc();
@@ -26,17 +26,18 @@ SkMemset16Proc SkMemset16GetPlatformProc();
@param value The 32bit value to be copied into buffer
@param count The number of times value should be copied into the buffer.
*/
-void sk_memset32_portable(uint32_t dst[], uint32_t value, int count);
+void sk_memset32(uint32_t dst[], uint32_t value, int count);
typedef void (*SkMemset32Proc)(uint32_t dst[], uint32_t value, int count);
SkMemset32Proc SkMemset32GetPlatformProc();
-#ifndef sk_memset16
-extern SkMemset16Proc sk_memset16;
-#endif
-
-#ifndef sk_memset32
-extern SkMemset32Proc sk_memset32;
-#endif
+/** Similar to memcpy(), but it copies count 32bit values from src to dst.
+ @param dst The memory to have value copied into it
+ @param src The memory to have value copied from it
+ @param count The number of values should be copied.
+*/
+void sk_memcpy32(uint32_t dst[], const uint32_t src[], int count);
+typedef void (*SkMemcpy32Proc)(uint32_t dst[], const uint32_t src[], int count);
+SkMemcpy32Proc SkMemcpy32GetPlatformProc();
///////////////////////////////////////////////////////////////////////////////