/external/swiftshader/src/Renderer/ |
D | Surface.cpp | 51 …byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * slice… in write() 65 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB; in write() 410 …void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB + z * sample… in read() 420 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB; in read() 1162 return (unsigned char*)buffer + 8 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect() 1169 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect() 1172 return (unsigned char*)buffer + 16 * (x / 5) + (y / 4) * pitchB + z * sliceB; in lockRect() 1175 return (unsigned char*)buffer + 16 * (x / 5) + (y / 5) * pitchB + z * sliceB; in lockRect() 1178 return (unsigned char*)buffer + 16 * (x / 6) + (y / 5) * pitchB + z * sliceB; in lockRect() 1181 return (unsigned char*)buffer + 16 * (x / 6) + (y / 6) * pitchB + z * sliceB; in lockRect() [all …]
|
D | Surface.hpp | 268 int pitchB; member 362 static int pitchB(int width, int border, Format format, bool target); 579 return external.pitchB; in getExternalPitchB() 604 return internal.pitchB; in getInternalPitchB() 629 return stencil.pitchB; in getStencilPitchB()
|
D | Blitter.hpp | 110 static Int ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes, bool quadLayout);
|
D | Blitter.cpp | 1144 Int Blitter::ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes, bool quadLayout) in ComputeOffset() argument 1148 return y * pitchB + x * bytes; in ComputeOffset() 1153 return (y & Int(~1)) * pitchB + in ComputeOffset()
|
/external/swiftshader/src/Device/ |
D | Surface.cpp | 48 …byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * slice… in write() 62 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB; in write() 250 …void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB + z * sample… in read() 260 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB; in read() 685 return (unsigned char*)buffer + 8 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect() 692 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect() 695 return (unsigned char*)buffer + 16 * (x / 5) + (y / 4) * pitchB + z * sliceB; in lockRect() 698 return (unsigned char*)buffer + 16 * (x / 5) + (y / 5) * pitchB + z * sliceB; in lockRect() 701 return (unsigned char*)buffer + 16 * (x / 6) + (y / 5) * pitchB + z * sliceB; in lockRect() 704 return (unsigned char*)buffer + 16 * (x / 6) + (y / 6) * pitchB + z * sliceB; in lockRect() [all …]
|
D | Surface.hpp | 102 int pitchB; member 195 static int pitchB(int width, int border, VkFormat format, bool target); 398 return external.pitchB; in getExternalPitchB() 423 return internal.pitchB; in getInternalPitchB() 448 return stencil.pitchB; in getStencilPitchB()
|
D | Blitter.hpp | 110 static Int ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes, bool quadLayout);
|
D | Blitter.cpp | 1384 Int Blitter::ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes, bool quadLayout) in ComputeOffset() argument 1388 return y * pitchB + x * bytes; in ComputeOffset() 1393 return (y & Int(~1)) * pitchB + in ComputeOffset()
|
/external/swiftshader/src/OpenGL/common/ |
D | Image.cpp | 553 GLsizei pitchB = ComputePitch(width, format, type, storageModes.alignment); in ComputePackingOffset() local 554 …return (storageModes.skipImages * height + storageModes.skipRows) * pitchB + storageModes.skipPixe… in ComputePackingOffset() 1130 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); in pitchP() local 1132 ASSERT((pitchB % bytesPerPixel) == 0); in pitchP() 1133 return pitchB / bytesPerPixel; in pitchP() 1172 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); in lock() local 1173 int sliceB = static_cast<int>(IOSurfaceGetHeightOfPlane(ioSurface, plane)) * pitchB; in lock() 1174 return (unsigned char*)pixels + x * bytes + y * pitchB + z * sliceB; in lock() 1180 int pitchB = sw::Surface::pitchB(width, 0, format, false); in lock() 1181 int sliceB = height * pitchB; in lock() [all …]
|
/external/swiftshader/src/Main/ |
D | FrameBufferOzone.cpp | 22 sw::Surface::pitchB(width, 0, format, true), in FrameBufferOzone()
|
/external/swiftshader/src/WSI/ |
D | FrameBufferOzone.cpp | 22 sw::Surface::pitchB(width, 0, format, true), in FrameBufferOzone()
|
/external/swiftshader/src/D3D8/ |
D | Direct3DVolume8.cpp | 148 lockedVolume->RowPitch = pitchB(getWidth(), 0, getExternalFormat(), false); in LockBox()
|
/external/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 302 …return sw::Surface::pitchB(getMipLevelExtent(mipLevel).width, isCube() ? 1 : 0, getFormat(flags), … in rowPitchBytes()
|