Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
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 …]
DSampler.hpp39 int4 pitchP; member
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDescriptorSetLayout.cpp334 mipmap.pitchP.x = mipmap.pitchP.y = mipmap.pitchP.z = mipmap.pitchP.w = numElements; in WriteDescriptorSet()
438 int pitchP = imageView->rowPitchBytes(aspect, level, ImageView::SAMPLING) / bytes; in WriteDescriptorSet() local
443 …WriteTextureLevelInfo(texture, mipmapLevel, width, height, depth, pitchP, sliceP, samplePitchP, sa… in WriteDescriptorSet()
524 …o(sw::Texture *texture, int level, int width, int height, int depth, int pitchP, int sliceP, int s… in WriteTextureLevelInfo() argument
553 mipmap.onePitchP[1] = static_cast<short>(pitchP); in WriteTextureLevelInfo()
555 mipmap.onePitchP[3] = static_cast<short>(pitchP); in WriteTextureLevelInfo()
557 mipmap.pitchP = sw::int4(pitchP); in WriteTextureLevelInfo()
DVkDescriptorSetLayout.hpp108 …o(sw::Texture *texture, int level, int width, int height, int depth, int pitchP, int sliceP, int s…
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DSampler.hpp39 int4 pitchP; member
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSamplerCore.cpp912 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat2D() local
913 y0 *= pitchP; in sampleFloat2D()
943 y1 *= pitchP; in sampleFloat2D()
1006 Int4 pitchP = *Pointer<Int4>(mipmap + OFFSET(Mipmap, pitchP), 16); in sampleFloat3D() local
1008 y0 *= pitchP; in sampleFloat3D()
1017 y1 *= pitchP; in sampleFloat3D()
/third_party/skia/third_party/externals/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()