diff options
author | Francisco Jerez <[email protected]> | 2013-04-06 14:35:00 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2013-04-13 14:20:16 +0200 |
commit | 1a8ad6c2e3beb00d07ef109b984658e08c5729da (patch) | |
tree | 9daa3310cadfd311ebb92109c131f920419293a8 /src/gallium/state_trackers/clover/Makefile.am | |
parent | 6ace4520559094b755ff1eb038ac68f38faa83c6 (diff) |
clover: Define platform class and merge with device_registry.
Null platform IDs are OK according to the spec, but some applications have
been reported to get paranoid and assume that our NULL platform is unusable.
As it doesn't hurt to have device enumeration separate from the rest of the
device code (quite the opposite, it makes the code cleaner), make the API use
an actual platform object that keeps track of the available devices instead of
the former NULL pointer.
Reported-and-reviewed-by: Tom Stellard <[email protected]>
Signed-off-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/Makefile.am')
-rw-r--r-- | src/gallium/state_trackers/clover/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am index 33ff03d77ee..b4c197ab139 100644 --- a/src/gallium/state_trackers/clover/Makefile.am +++ b/src/gallium/state_trackers/clover/Makefile.am @@ -50,6 +50,8 @@ libclover_la_SOURCES = \ core/format.cpp \ core/memory.hpp \ core/memory.cpp \ + core/platform.hpp \ + core/platform.cpp \ core/resource.hpp \ core/resource.cpp \ core/sampler.hpp \ |