summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2013-12-11 15:15:55 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2013-12-11 15:15:55 -0600
commiteb3b933dd0c32c1db7e44a8292c3523927d9ef99 (patch)
tree918dc3d6d1abd3814e3d28740de03bbabc9f8273 /Source/Core/VideoBackends
parentc016d02c661ba8d393327be4a82e545a2f6fb4e3 (diff)
Remove all instances of OpenCL in the Dolphin Project. A brief history of OpenCL in Dolphin. OpenCL was originally added to the Dolphin codebase 1 month after it was released with OS X Snow Leopard in 2009. OpenCL was one of the largest group projects that Dolphin ever has had. The OpenCL texture decoder was originally aded with version 1.0 of the OpenCL spec; This version didn't have the capability of a OpenCL-OpenGL interop which would allow for uploading textures once and have it decoded directly to a OpenGL texure. This was to be worked out when the OpenCL 1.1 spec was released and allowed the interop. This work has never been done, and no one in the team is willing to work on it for various reasons. OpenCL has had the unreasonable expectation that it increases the performance of video games that require a large amount of EFB copies like NSMBW. In reality, enabling OpenCL just put the graphics card in a higher power mode which increased the game speed. This is due to the unfortunate effect of Dolphin tending to not push GPUs out of their lower frequency power savings modes. Thanks to everyone that had contributed to the OpenCL texture decoder.
Diffstat (limited to 'Source/Core/VideoBackends')
-rw-r--r--Source/Core/VideoBackends/OGL/CMakeLists.txt4
-rw-r--r--Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp1
-rw-r--r--Source/Core/VideoBackends/Software/CMakeLists.txt3
3 files changed, 0 insertions, 8 deletions
diff --git a/Source/Core/VideoBackends/OGL/CMakeLists.txt b/Source/Core/VideoBackends/OGL/CMakeLists.txt
index f8ccb85052..8fcc896eb0 100644
--- a/Source/Core/VideoBackends/OGL/CMakeLists.txt
+++ b/Source/Core/VideoBackends/OGL/CMakeLists.txt
@@ -36,10 +36,6 @@ if(wxWidgets_FOUND)
set(LIBS ${LIBS} ${wxWidgets_LIBRARIES})
endif(wxWidgets_FOUND)
-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
- set(LIBS ${LIBS} clrun)
-endif()
-
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR
${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
set(LIBS ${LIBS} usbhid)
diff --git a/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp b/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp
index 8124db15e7..56a620b84a 100644
--- a/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp
@@ -3,7 +3,6 @@
// Refer to the license.txt file included.
// Fast image conversion using OpenGL shaders.
-// This kind of stuff would be a LOT nicer with OpenCL.
#include "TextureConverter.h"
#include "TextureConversionShader.h"
diff --git a/Source/Core/VideoBackends/Software/CMakeLists.txt b/Source/Core/VideoBackends/Software/CMakeLists.txt
index 2ba8e6c0c7..29179b69c5 100644
--- a/Source/Core/VideoBackends/Software/CMakeLists.txt
+++ b/Source/Core/VideoBackends/Software/CMakeLists.txt
@@ -45,8 +45,5 @@ else()
GLEW
${OPENGL_LIBRARIES})
endif()
-if(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
- set(LIBS ${LIBS} clrun)
-endif()
add_dolphin_library(videosoftware "${SRCS}" "${LIBS}")