Home
last modified time | relevance | path

Searched refs:pitchP (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/src/Device/
DSampler.cpp131 int pitchP = surface->getInternalPitchP(); in setTextureLevel() local
210 mipmap.onePitchP[1] = pitchP; in setTextureLevel()
212 mipmap.onePitchP[3] = pitchP; in setTextureLevel()
214 mipmap.pitchP[0] = pitchP; in setTextureLevel()
215 mipmap.pitchP[1] = pitchP; in setTextureLevel()
216 mipmap.pitchP[2] = pitchP; in setTextureLevel()
217 mipmap.pitchP[3] = pitchP; in setTextureLevel()
226 unsigned int YStride = pitchP; in setTextureLevel()
DSurface.hpp103 int pitchP; member
115 …depth, int border, int samples, VkFormat format, bool lockable, bool renderTarget, int pitchP = 0);
119 …depth, int border, int samples, VkFormat format, bool lockable, bool renderTarget, int pitchP = 0);
196 static int pitchP(int width, int border, VkFormat format, bool target);
403 return external.pitchP; in getExternalPitchP()
428 return internal.pitchP; in getInternalPitchP()
DSurface.cpp750 … depth, int border, int samples, VkFormat format, bool lockable, bool renderTarget, int pitchP = 0) in SurfaceImplementation() argument
751 …: Surface(texture, width, height, depth, border, samples, format, lockable, renderTarget, pitchP) … in SurfaceImplementation()
790 external.pitchP = external.bytes ? pitch / external.bytes : 0; in Surface()
805 internal.pitchP = pitchP(internal.width, 0, internal.format, false); in Surface()
820 stencil.pitchP = pitchP(stencil.width, 0, stencil.format, false); in Surface()
846 …external.pitchP = !pitchPprovided ? pitchP(external.width, 0, external.format, renderTarget && !te… in Surface()
861 …internal.pitchP = !pitchPprovided ? pitchP(internal.width, border, internal.format, renderTarget) … in Surface()
876 stencil.pitchP = pitchP(stencil.width, 0, stencil.format, renderTarget); in Surface()
1352 int Surface::pitchP(int width, int border, VkFormat format, bool target) in pitchP() function in sw::Surface
1579 … dest[(x + i) + (y + j) * internal.pitchP] = c[(unsigned int)(source->lut >> 2 * (i + j * 4)) % 4]; in decodeDXT1()
[all …]
DSampler.hpp39 int4 pitchP; member
/external/swiftshader/src/Renderer/
DSampler.cpp132 int pitchP = surface->getInternalPitchP(); in setTextureLevel() local
211 mipmap.onePitchP[1] = pitchP; in setTextureLevel()
213 mipmap.onePitchP[3] = pitchP; in setTextureLevel()
215 mipmap.pitchP[0] = pitchP; in setTextureLevel()
216 mipmap.pitchP[1] = pitchP; in setTextureLevel()
217 mipmap.pitchP[2] = pitchP; in setTextureLevel()
218 mipmap.pitchP[3] = pitchP; in setTextureLevel()
229 unsigned int YStride = pitchP; in setTextureLevel()
DSurface.hpp269 int pitchP; member
281 …t depth, int border, int samples, Format format, bool lockable, bool renderTarget, int pitchP = 0);
285 …t depth, int border, int samples, Format format, bool lockable, bool renderTarget, int pitchP = 0);
363 static int pitchP(int width, int border, Format format, bool target);
584 return external.pitchP; in getExternalPitchP()
609 return internal.pitchP; in getInternalPitchP()
DSurface.cpp1231 …nt depth, int border, int samples, Format format, bool lockable, bool renderTarget, int pitchP = 0) in SurfaceImplementation() argument
1232 …: Surface(texture, width, height, depth, border, samples, format, lockable, renderTarget, pitchP) … in SurfaceImplementation()
1271 external.pitchP = external.bytes ? pitch / external.bytes : 0; in Surface()
1286 internal.pitchP = pitchP(internal.width, 0, internal.format, false); in Surface()
1301 stencil.pitchP = pitchP(stencil.width, 0, stencil.format, false); in Surface()
1328 …external.pitchP = !pitchPprovided ? pitchP(external.width, 0, external.format, renderTarget && !te… in Surface()
1343 …internal.pitchP = !pitchPprovided ? pitchP(internal.width, border, internal.format, renderTarget) … in Surface()
1358 stencil.pitchP = pitchP(stencil.width, 0, stencil.format, renderTarget); in Surface()
1797 int Surface::pitchP(int width, int border, Format format, bool target) in pitchP() function in sw::Surface
2314 … dest[(x + i) + (y + j) * internal.pitchP] = c[(unsigned int)(source->lut >> 2 * (i + j * 4)) % 4]; in decodeDXT1()
[all …]
DSampler.hpp39 int4 pitchP; member
/external/swiftshader/src/OpenGL/common/
DImage.hpp79 int pitchP() const;
118 Image(GLsizei width, GLsizei height, GLint internalformat, int pitchP) in Image() argument
119 …ace(nullptr, width, height, 1, 0, 1, gl::SelectInternalFormat(internalformat), true, true, pitchP), in Image()
143 static Image *create(GLsizei width, GLsizei height, GLint internalformat, int pitchP);
DImage.cpp1033 ImageImplementation(GLsizei width, GLsizei height, GLint internalformat, int pitchP) in ImageImplementation() argument
1034 : Image(width, height, internalformat, pitchP) {} in ImageImplementation()
1079 Image *Image::create(GLsizei width, GLsizei height, GLint internalformat, int pitchP) in create() argument
1081 if(size(pitchP, height, 1, 0, 1, internalformat) > IMPLEMENTATION_MAX_IMAGE_SIZE_BYTES) in create()
1086 return new ImageImplementation(width, height, internalformat, pitchP); in create()
1124 int ClientBuffer::pitchP() const in pitchP() function in egl::ClientBuffer
1138 return sw::Surface::pitchP(width, 0, format, false); in pitchP()
1213 clientBuffer.pitchP()), in ClientBufferImage()
/external/swiftshader/src/Pipeline/
DSamplerCore.cpp1137 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat2D() local
1138 y0 *= pitchP; in sampleFloat2D()
1151 y1 *= pitchP; in sampleFloat2D()
1206 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat3D() local
1208 y0 *= pitchP; in sampleFloat3D()
1217 y1 *= pitchP; in sampleFloat3D()
/external/swiftshader/src/Shader/
DSamplerCore.cpp1228 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat2D() local
1229 y0 *= pitchP; in sampleFloat2D()
1242 y1 *= pitchP; in sampleFloat2D()
1297 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat3D() local
1299 y0 *= pitchP; in sampleFloat3D()
1308 y1 *= pitchP; in sampleFloat3D()