/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | Blitter.hpp | 136 uint32_t pitchB; member 171 static Int ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes); 172 static Int ComputeOffset(Int &x, Int &y, Int &z, Int &sliceB, Int &pitchB, int bytes); 188 …void computeCubeCorner(Pointer<Byte> &layer, Int &x0, Int &x1, Int &y0, Int &y1, Int &pitchB, cons…
|
D | Blitter.cpp | 1478 Int Blitter::ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes) in ComputeOffset() argument 1480 return y * pitchB + x * bytes; in ComputeOffset() 1483 Int Blitter::ComputeOffset(Int &x, Int &y, Int &z, Int &sliceB, Int &pitchB, int bytes) in ComputeOffset() argument 1485 return z * sliceB + y * pitchB + x * bytes; in ComputeOffset() 2241 …ubeCorner(Pointer<Byte> &layer, Int &x0, Int &x1, Int &y0, Int &y1, Int &pitchB, const State &stat… in computeCubeCorner() argument 2245 Float4 c = readFloat4(layer + ComputeOffset(x0, y1, pitchB, bytes), state) + in computeCubeCorner() 2246 readFloat4(layer + ComputeOffset(x1, y0, pitchB, bytes), state) + in computeCubeCorner() 2247 readFloat4(layer + ComputeOffset(x1, y1, pitchB, bytes), state); in computeCubeCorner() 2251 write(c, layer + ComputeOffset(x0, y0, pitchB, bytes), state); in computeCubeCorner() 2269 Int pitchB = *Pointer<Int>(blit + OFFSET(CubeBorderData, pitchB)); in generateCornerUpdate() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | PixelRoutine.cpp | 948 Int pitchB = *Pointer<Int>(data + OFFSET(DrawData, colorPitchB[index])); in readPixel() local 954 buffer2 = buffer + pitchB; in readPixel() 974 buffer2 = buffer + pitchB; in readPixel() 994 buffer2 = buffer + pitchB; in readPixel() 1014 buffer2 = buffer + pitchB; in readPixel() 1034 buffer2 = buffer + pitchB; in readPixel() 1052 buffer2 = buffer + pitchB; in readPixel() 1070 buffer2 = buffer + pitchB; in readPixel() 1088 buffer2 = buffer + pitchB; in readPixel() 1106 buffer2 = buffer + pitchB; in readPixel() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Surface.hpp | 240 int pitchB; member 334 static int pitchB(int width, int border, Format format, bool target); 550 return external.pitchB; in getExternalPitchB() 575 return internal.pitchB; in getInternalPitchB() 600 return stencil.pitchB; in getStencilPitchB()
|
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() 1167 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect() 1171 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect() 1173 return (unsigned char*)buffer + x * bytes + y * pitchB + z * samples * sliceB; in lockRect() 1229 external.pitchB = pitch; in Surface() 1244 internal.pitchB = pitchB(internal.width, 0, internal.format, false); in Surface() [all …]
|
D | Blitter.hpp | 111 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()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/ |
D | Image.cpp | 525 GLsizei pitchB = ComputePitch(width, format, type, storageModes.alignment); in ComputePackingOffset() local 526 …return (storageModes.skipImages * height + storageModes.skipRows) * pitchB + storageModes.skipPixe… in ComputePackingOffset() 1067 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); in pitchP() local 1069 ASSERT((pitchB % bytesPerPixel) == 0); in pitchP() 1070 return pitchB / bytesPerPixel; in pitchP() 1109 int pitchB = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(ioSurface, plane)); in lock() local 1110 int sliceB = static_cast<int>(IOSurfaceGetHeightOfPlane(ioSurface, plane)) * pitchB; in lock() 1111 return (unsigned char*)pixels + x * bytes + y * pitchB + z * sliceB; in lock() 1117 int pitchB = sw::Surface::pitchB(width, 0, format, false); in lock() 1118 int sliceB = height * pitchB; in lock() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkFormat.cpp | 1745 size_t Format::pitchB(int width, int border) const in pitchB() function in vk::Format 1854 return pitchB(width, border) * ((height + 3) / 4); // Pitch computed per 4 rows in sliceBUnpadded() 1863 return pitchB(width, border) * ((height + 4) / 5); // Pitch computed per 5 rows in sliceBUnpadded() 1870 return pitchB(width, border) * ((height + 5) / 6); // Pitch computed per 6 rows in sliceBUnpadded() 1875 return pitchB(width, border) * ((height + 7) / 8); // Pitch computed per 8 rows in sliceBUnpadded() 1880 return pitchB(width, border) * ((height + 9) / 10); // Pitch computed per 10 rows in sliceBUnpadded() 1883 return pitchB(width, border) * ((height + 11) / 12); // Pitch computed per 12 rows in sliceBUnpadded() 1887 return pitchB(width, border) * (height + height / 2); // U and V planes are 1/4 size of Y plane. in sliceBUnpadded() 1889 return pitchB(width, border) * height; // Pitch computed per row in sliceBUnpadded()
|
D | VkFormat.hpp | 60 size_t pitchB(int width, int border) const;
|
D | VkImage.cpp | 839 return usedFormat.pitchB(mipLevelExtent.width, borderSize()); in rowPitchBytes() 1327 int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresource.mipLevel); in decodeETC2() local 1334 sizeToWrite = ((mipLevelExtent.height - 1) * pitchB) + (mipLevelExtent.width * bytes); in decodeETC2() 1349 pitchB, bytes, inputType); in decodeETC2() 1364 int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresource.mipLevel); in decodeBC() local 1372 pitchB, bytes, n, noAlphaU); in decodeBC() 1398 int pitchB = decompressedImage->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, subresource.mipLevel); in decodeASTC() local 1406 …ce, dest, mipLevelExtent.width, mipLevelExtent.height, mipLevelExtent.depth, bytes, pitchB, sliceB, in decodeASTC()
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
D | FrameBufferOzone.cpp | 22 sw::Surface::pitchB(width, 0, format, true), in FrameBufferOzone()
|