From eb3b933dd0c32c1db7e44a8292c3523927d9ef99 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 11 Dec 2013 15:15:55 -0600 Subject: 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. --- .../Core/VideoCommon/Src/OpenCL/TextureDecoder_OpenCL.h | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 Source/Core/VideoCommon/Src/OpenCL/TextureDecoder_OpenCL.h (limited to 'Source/Core/VideoCommon/Src/OpenCL/TextureDecoder_OpenCL.h') diff --git a/Source/Core/VideoCommon/Src/OpenCL/TextureDecoder_OpenCL.h b/Source/Core/VideoCommon/Src/OpenCL/TextureDecoder_OpenCL.h deleted file mode 100644 index aacccd3885..0000000000 --- a/Source/Core/VideoCommon/Src/OpenCL/TextureDecoder_OpenCL.h +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2013 Dolphin Emulator Project -// Licensed under GPLv2 -// Refer to the license.txt file included. - -#ifndef OPENCL_TEXTURE_DECODER -#define OPENCL_TEXTURE_DECODER -#include "Common.h" -#include "../TextureDecoder.h" - -void TexDecoder_OpenCL_Initialize(); -void TexDecoder_OpenCL_Shutdown(); - -PC_TexFormat TexDecoder_Decode_OpenCL(u8 *dst, const u8 *src, int width, int height, int texformat, int tlutaddr, int tlutfmt, bool rgba); - -#endif -- cgit v1.2.3