Home
last modified time | relevance | path

Searched refs:slicePitch (Results 1 - 20 of 20) sorted by relevance

/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureSpecificationTests.cpp436 int slicePitch = imageHeight*rowPitch; in createTexture() local
444 data.resize(slicePitch*(m_depth+m_skipImages) + m_offset); in createTexture()
451 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); in createTexture()
538 int slicePitch = rowPitch*m_size; in createTexture() local
540 data.resize(slicePitch*m_depth); in createTexture()
541 tcu::fillWithComponentGradients(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0]), m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
551 int slicePitch = imageHeight*rowPitch; in createTexture() local
557 data.resize(slicePitch*(m_depth+m_skipImages) + m_offset); in createTexture()
558 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, in createTexture()
730 int slicePitch = imageHeight*rowPitch; createTexture() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCLImage.cpp57 copyValue = &mDesc.slicePitch; in getInfo()
58 copySize = sizeof(mDesc.slicePitch); in getInfo()
H A DCLtypes.h81 size_t slicePitch; member
H A DvalidationCL.cpp266 size_t slicePitch) in ValidateBufferRect()
292 if (slicePitch == 0u) in ValidateBufferRect()
294 slicePitch = region[1] * rowPitch; in ValidateBufferRect()
296 else if (slicePitch < region[1] * rowPitch || (slicePitch % rowPitch) != 0u) in ValidateBufferRect()
304 origin[2] * slicePitch + origin[1] * rowPitch + origin[0], in ValidateBufferRect()
305 (region[2] - 1u) * slicePitch + (region[1] - 1u) * rowPitch + region[0])) in ValidateBufferRect()
456 size_t slicePitch, in ValidateHostRegionForImage()
468 if (slicePitch != 0u) in ValidateHostRegionForImage()
480 if (slicePitch < rowPitc in ValidateHostRegionForImage()
262 ValidateBufferRect(const Buffer &buffer, const size_t *origin, const size_t *region, size_t rowPitch, size_t slicePitch) ValidateBufferRect() argument
453 ValidateHostRegionForImage(const Image &image, const size_t region[3], size_t rowPitch, size_t slicePitch, const void *ptr) ValidateHostRegionForImage() argument
[all...]
H A DCLContext.cpp167 size_t slicePitch, in createImage3D()
172 MemObjectType::Image3D, width, height, depth, 0u, rowPitch, slicePitch, 0u, 0u}; in createImage3D()
161 createImage3D(MemFlags flags, const cl_image_format *format, size_t width, size_t height, size_t depth, size_t rowPitch, size_t slicePitch, void *hostPtr, cl_int &errorCode) createImage3D() argument
H A DCLContext.h63 size_t slicePitch,
H A DCLCommandQueue.h128 size_t slicePitch,
H A DCLCommandQueue.cpp340 size_t slicePitch, in enqueueReadImage()
353 cl_int errorCode = mImpl->enqueueReadImage(img, blocking, origin, region, rowPitch, slicePitch, in enqueueReadImage()
335 enqueueReadImage(cl_mem image, cl_bool blockingRead, const size_t *origin, const size_t *region, size_t rowPitch, size_t slicePitch, void *ptr, cl_uint numEventsInWaitList, const cl_event *eventWaitList, cl_event *event) enqueueReadImage() argument
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fTextureSpecificationTests.cpp1152 int slicePitch = imageHeight*rowPitch; in createTexture() local
1159 data.resize(pixelSize * m_skipPixels + rowPitch * m_skipRows + slicePitch * (m_skipImages + m_depth)); in createTexture()
1166 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); in createTexture()
1815 int slicePitch = rowPitch*m_height; in createTexture() local
1817 data.resize(slicePitch*m_depth); in createTexture()
1818 tcu::fillWithComponentGradients(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, m_depth, rowPitch, slicePitch, &data[0]), m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
1828 int slicePitch = imageHeight*rowPitch; in createTexture() local
1834 data.resize(slicePitch*(m_depth+m_skipImages)); in createTexture()
1835 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, in createTexture()
2474 int slicePitch = imageHeight*rowPitch; createTexture() local
2556 int slicePitch = imageHeight*rowPitch; createTexture() local
2849 int slicePitch = rowPitch*m_height; createTexture() local
2862 int slicePitch = imageHeight*rowPitch; createTexture() local
3077 int slicePitch = rowPitch*m_height; createTexture() local
3090 int slicePitch = imageHeight*rowPitch; createTexture() local
3450 int slicePitch = imageHeight*rowPitch; createTexture() local
[all...]
/third_party/vk-gl-cts/modules/egl/
H A DteglAndroidUtil.cpp315 const int slicePitch = rowPitch * desc.height;
316 PixelBufferAccess nativeBuffer (texFormat, desc.width, desc.height, 1, rowPitch, slicePitch, bufferData);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
H A DCLContextCL.cpp146 desc.rowPitch, desc.slicePitch, desc.numMipLevels, desc.numSamples, {nativeParent}}; in createImage()
172 desc.rowPitch, desc.slicePitch, hostPtr, &errorCode); in createImage()
H A DCLCommandQueueCL.h111 size_t slicePitch,
H A DCLCommandQueueCL.cpp285 size_t slicePitch, in enqueueReadImage()
299 mNative, nativeImage, block, origin, region, rowPitch, slicePitch, ptr, numEvents, in enqueueReadImage()
280 enqueueReadImage(const cl::Image &image, bool blocking, const size_t origin[3], const size_t region[3], size_t rowPitch, size_t slicePitch, void *ptr, const cl::EventPtrs &waitEvents, CLEventImpl::CreateFunc *eventCreateFunc) enqueueReadImage() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A DCLCommandQueueImpl.h110 size_t slicePitch,
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderImage.cpp624 auto slicePitch = SIMD::Int( in GetTexelAddress() local
653 ptrOffset += w * slicePitch; in GetTexelAddress()
659 ptrOffset += SIMD::Int(state->routine->viewID) * slicePitch; in GetTexelAddress()
/third_party/vk-gl-cts/framework/common/
H A DtcuTexture.hpp358 ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, const void* data);
403 IVec3 m_pitch; //!< (pixelPitch, rowPitch, slicePitch)
424 PixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, void* data);
H A DtcuTexture.cpp972 const int slicePitch = rowPitch * size.y(); in calculatePackedPitch() local
974 return IVec3(pixelSize, rowPitch, slicePitch); in calculatePackedPitch()
1005 ConstPixelBufferAccess::ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, const void* data) in ConstPixelBufferAccess() argument
1008 , m_pitch (format.getPixelSize(), rowPitch, slicePitch) in ConstPixelBufferAccess()
1056 PixelBufferAccess::PixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, void* data) in PixelBufferAccess() argument
1057 : ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, data) in PixelBufferAccess()
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp965 int slicePitch = imageHeight*rowPitch;
966 const deUint8* ptr = (const deUint8*)data + m_pixelUnpackSkipImages*slicePitch + m_pixelUnpackSkipRows*rowPitch + m_pixelUnpackSkipPixels*pixelSize;
968 return tcu::ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, ptr);
/third_party/mesa3d/include/CL/
H A Dcl2.hpp5023 size_type slicePitch, in Image2DArray()
5036 slicePitch, in Image2DArray()
5015 Image2DArray( const Context& context, cl_mem_flags flags, ImageFormat format, size_type arraySize, size_type width, size_type height, size_type rowPitch, size_type slicePitch, void* host_ptr = NULL, cl_int* err = NULL) Image2DArray() argument
H A Dcl.hpp4147 ::size_t slicePitch, in Image2DArray()
4160 slicePitch, in Image2DArray()
4139 Image2DArray( const Context& context, cl_mem_flags flags, ImageFormat format, ::size_t arraySize, ::size_t width, ::size_t height, ::size_t rowPitch, ::size_t slicePitch, void* host_ptr = NULL, cl_int* err = NULL) Image2DArray() argument

Completed in 67 milliseconds