GravatarCommit : 1e951a78801dec84b9665a5a03c482fdb9039581 [1e951a7]
Parents: 9c460bac6f
Auteur : Antonio Gomes <a1.gomes@sisa.samsung.com>
Date : 7 mars 2014 19:17:37 UTC+1
Commit Date : 8 mars 2014 14:22:44 UTC+1
Labels : HEAD origin/master_r152423 origin/HEAD master_r152423

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

Remove WebCLEvent cache mechanism
Issue #473

Reviewed by TrustMe.

As per weekly call discussion on March/06, (see bug
http://www.khronos.org/bugzilla/show_bug.cgi?id=1113)
we should throw an exception if one sets a callback to
a non-populated yet event.

* Modules/webcl/WebCLCommandQueue.cpp:
(WebCore::WebCLCommandQueue::enqueueWriteBufferBase):
(WebCore::WebCLCommandQueue::enqueueWriteBufferRectBase):
(WebCore::WebCLCommandQueue::enqueueReadBufferBase):
(WebCore::WebCLCommandQueue::enqueueReadImageBase):
(WebCore::WebCLCommandQueue::enqueueReadBufferRectBase):
(WebCore::WebCLCommandQueue::enqueueNDRangeKernel):
(WebCore::WebCLCommandQueue::enqueueWriteImageBase):
(WebCore::WebCLCommandQueue::enqueueCopyImage):
(WebCore::WebCLCommandQueue::enqueueCopyImageToBuffer):
(WebCore::WebCLCommandQueue::enqueueCopyBufferToImage):
(WebCore::WebCLCommandQueue::enqueueCopyBuffer):
(WebCore::WebCLCommandQueue::enqueueCopyBufferRect):
(WebCore::WebCLCommandQueue::enqueueAcquireGLObjects):
(WebCore::WebCLCommandQueue::enqueueReleaseGLObjects):
* Modules/webcl/WebCLEvent.cpp:
(WebCore::WebCLEvent::setCallback):
* Modules/webcl/WebCLEvent.h:
Fix