Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DSaveableTexture.cpp600 static constexpr GLenum pixelStoreIndexes[] = { in onSave() local
605 GLint pixelStorePrev[android::base::arraySize(pixelStoreIndexes)]; in onSave()
610 for (int i = 0; i != android::base::arraySize(pixelStoreIndexes); ++i) { in onSave()
611 if (isGles2Gles() && pixelStoreIndexes[i] != GL_PACK_ALIGNMENT && in onSave()
612 pixelStoreIndexes[i] != GL_UNPACK_ALIGNMENT) { in onSave()
615 dispatcher.glGetIntegerv(pixelStoreIndexes[i], &pixelStorePrev[i]); in onSave()
617 dispatcher.glPixelStorei(pixelStoreIndexes[i], in onSave()
810 for (int i = 0; i != android::base::arraySize(pixelStoreIndexes); ++i) { in onSave()
811 if (isGles2Gles() && pixelStoreIndexes[i] != GL_PACK_ALIGNMENT && in onSave()
812 pixelStoreIndexes[i] != GL_UNPACK_ALIGNMENT) { in onSave()
[all …]