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

Unified Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 2289693002: Add MIPS SIMD Arch (MSA) optimized WebGL image conversion function (Closed)
Patch Set: Fixed merge conflicts Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | third_party/WebKit/Source/platform/blink_platform.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/BUILD.gn
diff --git a/third_party/WebKit/Source/platform/BUILD.gn b/third_party/WebKit/Source/platform/BUILD.gn
index 600f295c9dd9158f2243758a9fe8c80e8b5ea778..7a4ac69cf0109cc8ac52fd6c1ff978cf496cad91 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -17,6 +17,8 @@ visibility = [ ":*" ]
blink_platform_neon_files = [ "graphics/cpu/arm/WebGLImageConversionNEON.h" ]
+blink_platform_msa_files = [ "graphics/cpu/mips/WebGLImageConversionMSA.h" ]
+
blink_platform_sse_files = [ "graphics/cpu/x86/WebGLImageConversionSSE.h" ]
component("blink_common") {
@@ -563,6 +565,7 @@ component("platform") {
"clipboard/ClipboardUtilities.h",
"clipboard/ClipboardUtilitiesPosix.cpp",
"clipboard/ClipboardUtilitiesWin.cpp",
+ "cpu/mips/CommonMacrosMSA.h",
"credentialmanager/PlatformCredential.cpp",
"credentialmanager/PlatformCredential.h",
"credentialmanager/PlatformFederatedCredential.cpp",
@@ -958,6 +961,7 @@ component("platform") {
"graphics/compositing/PaintArtifactCompositor.cpp",
"graphics/compositing/PaintArtifactCompositor.h",
"graphics/cpu/arm/WebGLImageConversionNEON.h",
+ "graphics/cpu/mips/WebGLImageConversionMSA.h",
"graphics/cpu/x86/WebGLImageConversionSSE.h",
"graphics/filters/DistantLightSource.cpp",
"graphics/filters/DistantLightSource.h",
@@ -1497,6 +1501,7 @@ component("platform") {
]
sources -= blink_platform_neon_files
+ sources -= blink_platform_msa_files
sources -= blink_platform_sse_files
# Add in the generated files.
@@ -1642,6 +1647,10 @@ component("platform") {
deps += [ ":blink_arm_neon" ]
}
+ if (current_cpu == "mipsel" || current_cpu == "mips64el") {
+ deps += [ ":blink_mips_msa" ]
+ }
+
if (current_cpu == "x86" || current_cpu == "x64") {
deps += [ ":blink_x86_sse" ]
}
@@ -2004,6 +2013,15 @@ if (current_cpu == "arm") {
}
}
+if (current_cpu == "mipsel" || current_cpu == "mips64el") {
+ source_set("blink_mips_msa") {
+ sources = blink_platform_msa_files
+ deps = [
+ ":blink_common",
+ ]
+ }
+}
+
if (current_cpu == "x86" || current_cpu == "x64") {
source_set("blink_x86_sse") {
sources = blink_platform_sse_files
« no previous file with comments | « AUTHORS ('k') | third_party/WebKit/Source/platform/blink_platform.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698