Lines Matching refs:dst
49 void readPixels (const RenderContext& context, int x, int y, const tcu::PixelBufferAccess& dst)
53 TCU_CHECK_INTERNAL(dst.getDepth() == 1);
54 TCU_CHECK_INTERNAL(dst.getRowPitch() == dst.getFormat().getPixelSize()*dst.getWidth());
56 int width = dst.getWidth();
57 int height = dst.getHeight();
58 TransferFormat format = getTransferFormat(dst.getFormat());
60 gl.pixelStorei(GL_PACK_ALIGNMENT, getTransferAlignment(dst.getFormat()));
61 gl.readPixels(x, y, width, height, format.format, format.dataType, dst.getDataPtr());