Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DPaletteTexture.cpp137 unsigned char* pixelsOut = new unsigned char[nPixels*colorSizeOut]; in uncompressTexture() local
138 if(!pixelsOut) return NULL; in uncompressTexture()
161 pixelsOut[indexOut] = c.red; in uncompressTexture()
162 pixelsOut[indexOut+1] = c.green; in uncompressTexture()
163 pixelsOut[indexOut+2] = c.blue; in uncompressTexture()
165 pixelsOut[indexOut+3] = c.alpha; in uncompressTexture()
168 return pixelsOut; in uncompressTexture()
/hardware/google/gfxstream/host/tests/
DTextureDraw_unittest.cpp78 std::vector<unsigned char> pixelsOut(bytes, 0xff); in TestTextureDrawBasic() local
80 gl->glReadPixels(0, 0, width, height, format, type, pixelsOut.data()); in TestTextureDrawBasic()
87 pixelsOut.data() + (height - i - 1) * rowBytes)); in TestTextureDrawBasic()
146 std::vector<unsigned char> pixelsOut(bytes, 0xff); in TestTextureDrawLayer() local
147 gl->glReadPixels(0, 0, width, height, GL_RGBA, type, pixelsOut.data()); in TestTextureDrawLayer()
149 pixels.data(), pixelsOut.data())); in TestTextureDrawLayer()
167 gl->glReadPixels(0, 0, width, height, GL_RGBA, type, pixelsOut.data()); in TestTextureDrawLayer()
169 pixels.data(), pixelsOut.data())); in TestTextureDrawLayer()
203 gl->glReadPixels(0, 0, width, height, GL_RGBA, type, pixelsOut.data()); in TestTextureDrawLayer()
205 pixels.data(), pixelsOut.data())); in TestTextureDrawLayer()
/hardware/google/gfxstream/host/
DFrameBuffer.h785 void* pixelsOut; member
DFrameBuffer.cpp661 m_readbackWorker->getPixels(readback.displayId, readback.pixelsOut, readback.bytes); in sendReadbackWorkerCmd()