Mateusz Hoppe
7a7cb3d33a
Set correct AllocationType in createGraphicsAllocationFromSharedHandle
...
Resolves: NEO-3077
Change-Id: I893544f4bfc19ffa8f49878bc9b44df4820cd619
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-08 08:19:55 +02:00
Mateusz Hoppe
5c0c1f77f9
Pass AllocationProperties to createGraphicsAllocationFromSharedHandle()
...
- only extends interface to MemoryManager
Change-Id: I585d91be95abd50e11eedb53e2acfa3f66491d44
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-02 08:55:38 +02:00
Maciej Plewka
9e52684f5b
Change namespace from OCLRT to NEO
...
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-03-26 15:48:19 +01:00
Jobczyk, Lukasz
9ecb3193af
Reverse logic of creating Memory Manager - part 3
...
-Move a Device::getEnabled64kbPages method's logic
to the Memory Manager constructor
Change-Id: Ide88898000e5817a79f9a6ad5dfc9d680bec0533
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-03-25 14:42:16 +01:00
Mateusz Jablonski
395e79fee8
Add support for many GMMs in Graphics Allocation
...
Change-Id: I955b8dd50b502f91700c5529d0a0a291632aa157
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-13 15:44:45 +01:00
Mateusz Jablonski
6fb28dd828
Refactor GraphicsAllocation class
...
move most of members to protected section
merge related members into structs
Change-Id: Ief2e092aa5e61ca6f13308f9d9b1937ea6c913b4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-02-28 14:09:11 +01:00
Filip Hazubski
8b57d28116
clang-format: enable sorting includes
...
Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library
Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-02-27 11:50:07 +01:00
Maciej Godek
f9ba697587
Sharing queries for DX10/DX11
...
Change-Id: Ia4f176a38bb2dbfe215efe17b13a533ee83510d3
2018-10-31 11:52:46 +01:00
Mateusz Jablonski
b602cd2bb8
Pass execution environment to memory manager
...
Change-Id: If43cf9d1353b4cbc02ea269fb9105c01cc4e0876
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-03 22:12:26 +02:00
Maciej Godek
2ad5108380
Clarified dependencies in Context::getSupportedImageFormats
...
Change-Id: Iaa09a2b572b3ae6d0533378f0ecf227bd90b1a10
2018-09-27 18:41:18 +02:00
Artur Harasimiuk
40146291ad
Update copyright headers
...
Updating files modified in 2018 only. Older files remain with old style
copyright header
Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 18:02:35 +02:00
Venevtsev, Igor
f6743ced2a
Remove reuseBO from createGraphicsAllocationFromSharedHandle
...
Change-Id: Ia7af1cdd8e3986b8af7c542032d2767303865382
2018-09-03 13:38:19 +02:00
Katarzyna Cencelewska
9d157dc443
Refactor of sharing function
...
Change arguments in functions from pointer type to referance type
Change-Id: If3569ceee2188d9ad572f23e3b7510e7a40e917d
2018-08-24 10:09:36 +02:00
Koska, Andrzej
1c88165f6f
Simplifying plane tests
...
Change-Id: I0ac491036a2f7b303a08ef6d345fef3442dc98b1
2018-07-06 11:08:39 +02:00
Koska, Andrzej
87af7b3c2b
Adding support for formats P010 and P016
...
Change-Id: Id57fa936be9c31049fd50a5309a7fd02f000f7e3
2018-07-03 16:06:07 +02:00
Mrozek, Michal
815151cb94
Simplify memory manager interfaces.
...
- Remove one function that routes to another function.
Change-Id: I44c17bf51abaf3aebf0692086de0f38e0693ab59
2018-06-29 15:39:10 +02:00
Mrozek, Michal
686209874a
Remove not used parameters in PlatformFixture SetUp function
...
Change-Id: Ib58c97e377218350cea19373dd1f193c4cc32a45
2018-06-26 15:00:27 +02:00
Hoppe, Mateusz
83160213f0
Fix problems in thkWrapper and SharingHandler
...
- ThkWrapper had uninitialized mFunc member, setting it
to nullptr
- D3DSurface could dereference null image pointer,
adding validateUpdateData method in SharingHandler
that may return CL_INVALID_MEM_OBJECT if memObject is invalid
Change-Id: Iaa4499bcea47baca156c9d28be4c93ba4f0e1ebb
2018-04-19 15:04:38 +02:00
Dunajski, Bartosz
b2cca4c6ca
Improve gmock usage: Remove default ON_CALL from MockGmmResourceInfo
...
Change-Id: I2d85e7b0cf61f3ebb735d2d1cd5b46ec560436b6
2018-03-26 11:34:57 +02:00
Dunajski, Bartosz
ef1f5a03a2
D3D sharing: set isRenderCompressed for all 2d and 3d textures
...
- Dont check if resource is shared
- Check only gmm allocation capability
- Add missing support for 3d textures
Change-Id: I989533549087db74d5c238d639055462d5fea604
2018-03-23 10:21:42 +01:00
Dunajski, Bartosz
8974af4de8
SNORM formats support
...
Change-Id: I4138a3e96788aab2a8f3af108dcbfa6f81006bf9
2018-02-01 11:18:01 +01:00
Dunajski, Bartosz
3532c6373f
D3D sharable 2D texture: Map Aux GpuVa and set renderCompressed if possible
...
Change-Id: I508965d07f456af74ecef6e980337f42f5967b43
2018-01-26 08:38:59 +01:00
Brandon Fliflet
7e9ad41290
Initial commit
...
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
2017-12-21 00:45:38 +01:00