Lines Matching refs:face
82 RsAllocationCubemapFace face) { in GetOffsetPtr() argument
85 ptr += face * drv->faceOffset; in GetOffsetPtr()
94 RsAllocationCubemapFace face, uint32_t w, uint32_t h) { in Update2DTexture() argument
102 t = gFaceOrder[face]; in Update2DTexture()
120 for (uint32_t face = 0; face < faceCount; face ++) { in Upload2DTexture() local
122 const uint8_t *p = GetOffsetPtr(alloc, 0, 0, lod, (RsAllocationCubemapFace)face); in Upload2DTexture()
126 t = gFaceOrder[face]; in Upload2DTexture()
593 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument
602 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, lod, face); in rsdAllocationData2D()
615 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); in rsdAllocationData2D()
621 uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData3D() argument
637 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationRead2D() argument
646 const uint8_t *src = GetOffsetPtr(alloc, xoff, yoff, lod, face); in rsdAllocationRead2D()
660 uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationRead3D() argument
769 static void mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) { in mip565() argument
775 uint16_t *oPtr = (uint16_t *)GetOffsetPtr(alloc, 0, y, lod + 1, face); in mip565()
776 const uint16_t *i1 = (uint16_t *)GetOffsetPtr(alloc, 0, y*2, lod, face); in mip565()
777 const uint16_t *i2 = (uint16_t *)GetOffsetPtr(alloc, 0, y*2+1, lod, face); in mip565()
788 static void mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) { in mip8888() argument
794 uint32_t *oPtr = (uint32_t *)GetOffsetPtr(alloc, 0, y, lod + 1, face); in mip8888()
795 const uint32_t *i1 = (uint32_t *)GetOffsetPtr(alloc, 0, y*2, lod, face); in mip8888()
796 const uint32_t *i2 = (uint32_t *)GetOffsetPtr(alloc, 0, y*2+1, lod, face); in mip8888()
807 static void mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) { in mip8() argument
813 uint8_t *oPtr = GetOffsetPtr(alloc, 0, y, lod + 1, face); in mip8()
814 const uint8_t *i1 = GetOffsetPtr(alloc, 0, y*2, lod, face); in mip8()
815 const uint8_t *i2 = GetOffsetPtr(alloc, 0, y*2+1, lod, face); in mip8()
832 for (uint32_t face = 0; face < numFaces; face ++) { in rsdAllocationGenerateMipmaps() local
836 mip8888(alloc, lod, (RsAllocationCubemapFace)face); in rsdAllocationGenerateMipmaps()
839 mip565(alloc, lod, (RsAllocationCubemapFace)face); in rsdAllocationGenerateMipmaps()
842 mip8(alloc, lod, (RsAllocationCubemapFace)face); in rsdAllocationGenerateMipmaps()