Home
last modified time | relevance | path

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

/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.hpp241 int pitchP; member
253 …t depth, int border, int samples, Format format, bool lockable, bool renderTarget, int pitchP = 0);
257 …t depth, int border, int samples, Format format, bool lockable, bool renderTarget, int pitchP = 0);
335 static int pitchP(int width, int border, Format format, bool target);
555 return external.pitchP; in getExternalPitchP()
580 return internal.pitchP; in getInternalPitchP()
DSampler.hpp39 int4 pitchP; member
DSurface.cpp1190 …nt depth, int border, int samples, Format format, bool lockable, bool renderTarget, int pitchP = 0) in SurfaceImplementation() argument
1191 …: Surface(texture, width, height, depth, border, samples, format, lockable, renderTarget, pitchP) … in SurfaceImplementation()
1230 external.pitchP = external.bytes ? pitch / external.bytes : 0; in Surface()
1245 internal.pitchP = pitchP(internal.width, 0, internal.format, false); in Surface()
1260 stencil.pitchP = pitchP(stencil.width, 0, stencil.format, false); in Surface()
1287 …external.pitchP = !pitchPprovided ? pitchP(external.width, 0, external.format, renderTarget && !te… in Surface()
1302 …internal.pitchP = !pitchPprovided ? pitchP(internal.width, border, internal.format, renderTarget) … in Surface()
1317 stencil.pitchP = pitchP(stencil.width, 0, stencil.format, renderTarget); in Surface()
1695 int Surface::pitchP(int width, int border, Format format, bool target) in pitchP() function in sw::Surface
2151 … dest[(x + i) + (y + j) * internal.pitchP] = c[(unsigned int)(source->lut >> 2 * (i + j * 4)) % 4]; in decodeDXT1()
[all …]
/external/swiftshader/src/Vulkan/
DVkDescriptorSetLayout.cpp313 mipmap.pitchP.x = mipmap.pitchP.y = mipmap.pitchP.z = mipmap.pitchP.w = numElements; in WriteDescriptorSet()
421 int pitchP = imageView->rowPitchBytes(aspect, level, ImageView::SAMPLING) / bytes; in WriteDescriptorSet() local
426 …WriteTextureLevelInfo(texture, mipmapLevel, width, height, depth, pitchP, sliceP, samplePitchP, sa… in WriteDescriptorSet()
501 …o(sw::Texture *texture, int level, int width, int height, int depth, int pitchP, int sliceP, int s… in WriteTextureLevelInfo() argument
530 mipmap.onePitchP[1] = static_cast<short>(pitchP); in WriteTextureLevelInfo()
532 mipmap.onePitchP[3] = static_cast<short>(pitchP); in WriteTextureLevelInfo()
534 mipmap.pitchP = sw::int4(pitchP); in WriteTextureLevelInfo()
DVkDescriptorSetLayout.hpp111 …o(sw::Texture *texture, int level, int width, int height, int depth, int pitchP, int sliceP, int s…
/external/swiftshader/src/OpenGL/common/
DImage.hpp81 int pitchP() const;
120 Image(GLsizei width, GLsizei height, GLint internalformat, int pitchP) in Image() argument
121 …ace(nullptr, width, height, 1, 0, 1, gl::SelectInternalFormat(internalformat), true, true, pitchP), in Image()
145 static Image *create(GLsizei width, GLsizei height, GLint internalformat, int pitchP);
DImage.cpp970 ImageImplementation(GLsizei width, GLsizei height, GLint internalformat, int pitchP) in ImageImplementation() argument
971 : Image(width, height, internalformat, pitchP) {} in ImageImplementation()
1016 Image *Image::create(GLsizei width, GLsizei height, GLint internalformat, int pitchP) in create() argument
1018 if(size(pitchP, height, 1, 0, 1, internalformat) > IMPLEMENTATION_MAX_IMAGE_SIZE_BYTES) in create()
1023 return new ImageImplementation(width, height, internalformat, pitchP); in create()
1061 int ClientBuffer::pitchP() const in pitchP() function in egl::ClientBuffer
1075 return sw::Surface::pitchP(width, 0, format, false); in pitchP()
1150 clientBuffer.pitchP()), in ClientBufferImage()
/external/swiftshader/src/Device/
DSampler.hpp39 int4 pitchP; member
/external/swiftshader/src/Pipeline/
DSamplerCore.cpp990 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat2D() local
991 y0 *= pitchP; in sampleFloat2D()
1021 y1 *= pitchP; in sampleFloat2D()
1084 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat3D() local
1086 y0 *= pitchP; in sampleFloat3D()
1095 y1 *= pitchP; in sampleFloat3D()
/external/swiftshader/src/Shader/
DSamplerCore.cpp1229 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat2D() local
1230 y0 *= pitchP; in sampleFloat2D()
1243 y1 *= pitchP; in sampleFloat2D()
1298 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat3D() local
1300 y0 *= pitchP; in sampleFloat3D()
1309 y1 *= pitchP; in sampleFloat3D()