Lines Matching defs:access
906 tcu::PixelBufferAccess access = is2dTex ? m_textures2d.back()->getLevel(levelNdx)
911 tcu::fillWithGrid(access, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
1067 tcu::ConstPixelBufferAccess access = texture->getLevel(levelNdx);
1068 int width = access.getWidth();
1069 int height = access.getHeight();
1071 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width);
1073 context.texImage2D(GL_TEXTURE_2D, levelNdx, m_textureParams[texNdx].internalFormat, width, height, 0 /* border */, formatGl.format, formatGl.dataType, access.getDataPtr());
1093 tcu::ConstPixelBufferAccess access = texture->getLevelFace(levelNdx, (tcu::CubeFace)face);
1094 int width = access.getWidth();
1095 int height = access.getHeight();
1097 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width);
1099 context.texImage2D(s_cubeFaceTargets[face], levelNdx, m_textureParams[texNdx].internalFormat, width, height, 0 /* border */, formatGl.format, formatGl.dataType, access.getDataPtr());
1118 tcu::ConstPixelBufferAccess access = texture->getLevel(levelNdx);
1119 int width = access.getWidth();
1120 int height = access.getHeight();
1121 int layers = access.getDepth();
1123 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width);
1124 DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*width*height);
1126 context.texImage3D(GL_TEXTURE_2D_ARRAY, levelNdx, m_textureParams[texNdx].internalFormat, width, height, layers, 0 /* border */, formatGl.format, formatGl.dataType, access.getDataPtr());
1144 tcu::ConstPixelBufferAccess access = texture->getLevel(levelNdx);
1145 int width = access.getWidth();
1146 int height = access.getHeight();
1147 int depth = access.getDepth();
1149 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width);
1150 DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*width*height);
1152 context.texImage3D(GL_TEXTURE_3D, levelNdx, m_textureParams[texNdx].internalFormat, width, height, depth, 0 /* border */, formatGl.format, formatGl.dataType, access.getDataPtr());