Home
last modified time | relevance | path

Searched refs:osgImage (Results 1 – 7 of 7) sorted by relevance

/dports/games/flightgear/flightgear-2020.3.11/test_suite/simgear_tests/canvas/
H A DtestCanvas.cxx115 auto osgImage = image->getImage(); in testImagePixelOps() local
117 verifyPixel(osgImage.get(), 5, 8, testColor1); in testImagePixelOps()
118 verifyPixel(osgImage.get(), 149, 44, testColor1); in testImagePixelOps()
122 verifyPixel(osgImage.get(), 20, 45, testColor2); in testImagePixelOps()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/dds/
H A DReaderWriterDDS.cpp428 osg::ref_ptr<osg::Image> osgImage = new osg::Image(); in ReadDDSFile() local
1060 osgImage->setOrigin(osg::Image::BOTTOM_LEFT); in ReadDDSFile()
1064 osgImage->flipVertical(); in ReadDDSFile()
1073 return osgImage.release(); in ReadDDSFile()
1422 osg::Image* osgImage = ReadDDSFile(fin, dds_flip); in readImage() local
1423 if (osgImage==NULL) return ReadResult::FILE_NOT_HANDLED; in readImage()
1425 if (osgImage->getPixelFormat()==GL_COMPRESSED_RGB_S3TC_DXT1_EXT || in readImage()
1426 osgImage->getPixelFormat()==GL_COMPRESSED_RGBA_S3TC_DXT1_EXT) in readImage()
1435 osgImage->setPixelFormat(GL_COMPRESSED_RGB_S3TC_DXT1_EXT); in readImage()
1448 if (!osgImage->isImageTranslucent()) in readImage()
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/dds/
H A DReaderWriterDDS.cpp427 osg::ref_ptr<osg::Image> osgImage = new osg::Image();
1018 osgImage->setOrigin(osg::Image::BOTTOM_LEFT);
1022 osgImage->flipVertical();
1031 return osgImage.release();
1380 osg::Image* osgImage = ReadDDSFile(fin, dds_flip);
1381 if (osgImage==NULL) return ReadResult::FILE_NOT_HANDLED;
1383 if (osgImage->getPixelFormat()==GL_COMPRESSED_RGB_S3TC_DXT1_EXT ||
1384 osgImage->getPixelFormat()==GL_COMPRESSED_RGBA_S3TC_DXT1_EXT)
1393 osgImage->setPixelFormat(GL_COMPRESSED_RGB_S3TC_DXT1_EXT);
1406 if (!osgImage->isImageTranslucent())
[all …]
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/vtf/
H A DReaderWriterVTF.cpp610 osg::ref_ptr<osg::Image> osgImage = new osg::Image(); in ReadVTFFile() local
616 osgImage->setImage(s, t, r, internalFormat, pixelFormat, dataType, in ReadVTFFile()
619 osgImage->setMipmapLevels(mipmaps); in ReadVTFFile()
622 size = osgImage->getTotalSizeInBytesIncludingMipmaps(); in ReadVTFFile()
696 osgImage->setImage(s,t,r, internalFormat, pixelFormat, dataType, in ReadVTFFile()
698 if (mipmaps.size()>0) osgImage->setMipmapLevels(mipmaps); in ReadVTFFile()
701 return osgImage.release(); in ReadVTFFile()
753 osg::Image* osgImage = ReadVTFFile(fin); in readImage() local
754 if (osgImage==NULL) return ReadResult::FILE_NOT_HANDLED; in readImage()
758 osgImage->flipVertical(); in readImage()
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/vtf/
H A DReaderWriterVTF.cpp610 osg::ref_ptr<osg::Image> osgImage = new osg::Image(); in ReadVTFFile() local
616 osgImage->setImage(s, t, r, internalFormat, pixelFormat, dataType, in ReadVTFFile()
619 osgImage->setMipmapLevels(mipmaps); in ReadVTFFile()
622 size = osgImage->getTotalSizeInBytesIncludingMipmaps(); in ReadVTFFile()
696 osgImage->setImage(s,t,r, internalFormat, pixelFormat, dataType, in ReadVTFFile()
698 if (mipmaps.size()>0) osgImage->setMipmapLevels(mipmaps); in ReadVTFFile()
701 return osgImage.release(); in ReadVTFFile()
753 osg::Image* osgImage = ReadVTFFile(fin); in readImage() local
754 if (osgImage==NULL) return ReadResult::FILE_NOT_HANDLED; in readImage()
758 osgImage->flipVertical(); in readImage()
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/Inventor/
H A DConvertFromInventor.cpp1091 osg::ref_ptr<osg::Image> osgImage = osgDB::readRefImageFile(fileName, options); in loadImage() local
1093 if (!osgImage) in loadImage()
1099 if (!osgImage->isDataContiguous()) in loadImage()
1105 return osgImage.release(); in loadImage()
1942 osg::ref_ptr<osg::Image> osgImage = new osg::Image; in convertIVTexToOSGTex() local
1943 osgImage->setFileName(fileName); in convertIVTexToOSGTex()
1945 osgImage->setImage(soSize[0], soSize[1], 1, soNC, formats[soNC-1], in convertIVTexToOSGTex()
1950 osgTex->setImage(osgImage.get()); in convertIVTexToOSGTex()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/Inventor/
H A DConvertFromInventor.cpp1091 osg::ref_ptr<osg::Image> osgImage = osgDB::readRefImageFile(fileName, options); in loadImage() local
1093 if (!osgImage) in loadImage()
1099 if (!osgImage->isDataContiguous()) in loadImage()
1105 return osgImage.release(); in loadImage()
1941 osg::ref_ptr<osg::Image> osgImage = new osg::Image; in convertIVTexToOSGTex() local
1942 osgImage->setFileName(fileName); in convertIVTexToOSGTex()
1944 osgImage->setImage(soSize[0], soSize[1], 1, soNC, formats[soNC-1], in convertIVTexToOSGTex()
1949 osgTex->setImage(osgImage.get()); in convertIVTexToOSGTex()