Home | History | Annotate | Download | only in functional

Lines Matching full:allocation

41  * Create an Element, a Type and an Allocation of that type, and verify the
55 // Allocation create test
56 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE,
60 ASSERT_NE(Allocation(0), allocation);
62 // Allocation type test
63 Type type2 = context->allocationGetType(allocation);
104 * Create a Allocation, and verified allocationGetPointer and allocationResize1D
120 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE,
123 ASSERT_NE(Allocation(0), allocation);
127 context->allocationGetPointer(allocation, 0, AllocationCubemapFace::POSITIVE_X, 0,
132 context->allocationResize1D(allocation, 1024*1024);
133 context->allocationGetPointer(allocation, 0, AllocationCubemapFace::POSITIVE_X, 0,
142 * NativeWindow (Surface) is retrieved from one allocation and set to the other.
162 Allocation allocationRecv = context->allocationCreateTyped(type, AllocationMipmapControl::NONE,
166 ASSERT_NE(Allocation(0), allocationRecv);
168 Allocation allocationSend = context->allocationCreateTyped(type, AllocationMipmapControl::NONE,
172 ASSERT_NE(Allocation(0), allocationSend);
215 Allocation allocationRecv1 = context->allocationCreateTyped(type, AllocationMipmapControl::NONE,
219 ASSERT_NE(Allocation(0), allocationRecv1);
221 Allocation allocationRecv2 = context->allocationCreateTyped(type, AllocationMipmapControl::NONE,
225 ASSERT_NE(Allocation(0), allocationRecv2);
227 Allocation allocationSend = context->allocationCreateTyped(type, AllocationMipmapControl::NONE,
231 ASSERT_NE(Allocation(0), allocationSend);