GravatarCommit : 4dd912e63921f9662e3d5ca5ba720841a2d91e5a [4dd912e]
Parents: 2f777fa17b
Auteur : Antonio Gomes <a1.gomes@sisa.samsung.com>
Date : 5 mars 2014 20:12:09 UTC+1
Commit Date : 5 mars 2014 20:22:53 UTC+1
Labels : HEAD origin/master_r152423 origin/HEAD master_r152423

2014-03-05 Antonio Gomes <a1.gomes@sisa.samsung.com>

Introduce ComputePlatform class
Issue #455

Reviewed by NOBODY (OOPS!).

* Modules/webcl/WebCLContext.cpp:
(WebCore::setUpComputeContextProperties):
* Modules/webcl/WebCLExtensionsAccessor.cpp:
* Modules/webcl/WebCLPlatform.cpp:
(WebCore::WebCLPlatform::create):
(WebCore::WebCLPlatform::WebCLPlatform):
(WebCore::WebCLPlatform::getInfo):
(WebCore::WebCLPlatform::getDevices):
(WebCore::getPlatforms):
* Modules/webcl/WebCLPlatform.h:
(WebCore::WebCLPlatform::platformObject):
* WebCore.xcodeproj/project.pbxproj:
* platform/ComputeContext.h:
(WebCore::ComputeContext::getDeviceInfo):
* platform/ComputeExtensions.h:
* platform/ComputeExtensionsTraits.h:
(WebCore::CacheExtensions::perform):
* platform/ComputePlatform.h: Copied from Source/WebCore/Modules/webcl/WebCLPlatform.h.
(WebCore::ComputePlatform::platform):
(WebCore::ComputePlatform::getPlatformInfo):
* platform/opencl/ComputeContextCL.cpp:
* platform/opencl/ComputeExtensionsCL.cpp:
(WebCore::ComputeExtensions::supports):
(WebCore::ComputeExtensions::cacheGlobalExtensions):
(WebCore::ComputeExtensions::cacheExtensionsForPlatform):
* platform/opencl/ComputePlatformCL.cpp: Added.
(WebCore::ComputePlatform::ComputePlatform):
(WebCore::ComputePlatform::getPlatformIDs):
(WebCore::ComputePlatform::getDeviceIDs):
(WebCore::ComputePlatform::getPlatformInfoBase):