ocl: refactor Program API
authorAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 5 Dec 2017 10:26:38 +0000 (13:26 +0300)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Tue, 5 Dec 2017 19:25:14 +0000 (22:25 +0300)
commita82d2363f483c4467064f7f0b4ec2026aac69c40
treec2f9ac2017ef962078610adf13bc549d844ca884
parent13c4a02157d516fff52590f551d9476b44b018f0
ocl: refactor Program API

- don't store ProgramSource in compiled Programs (resolved problem with "source" buffers lifetime)
- completelly remove Program::read/write methods implementation:
  - replaced with method to query RAW OpenCL binary without any "custom" data
- deprecate Program::getPrefix() methods
modules/core/include/opencv2/core/ocl.hpp
modules/core/src/ocl.cpp