Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrOpFlushState.cpp113 std::unique_ptr<char[]> tmpPixels; in doUpload() local
116 tmpPixels.reset(new char[height * tightRB]); in doUpload()
121 if (!GrConvertPixels( GrPixmap(tmpInfo, tmpPixels.get(), tightRB ), in doUpload()
126 buffer = tmpPixels.get(); in doUpload()
DGrSurfaceContext.cpp324 std::unique_ptr<char[]> tmpPixels; in readPixels() local
336 tmpPixels = std::make_unique<char[]>(size); in readPixels()
337 tmp = {tmpInfo, tmpPixels.get(), tmpRB}; in readPixels()
339 readDst = tmpPixels.get(); in readPixels()
/external/angle/src/libANGLE/renderer/gl/
DFramebufferGL.cpp262 : tmpPixels(nullptr), clientPixels(nullptr), enabled(false) in ScopedEXTTextureNorm16ReadbackWorkaround()
267 if (tmpPixels) in ~ScopedEXTTextureNorm16ReadbackWorkaround()
269 delete[] tmpPixels; in ~ScopedEXTTextureNorm16ReadbackWorkaround()
285 ASSERT(tmpPixels == nullptr); in Initialize()
308 tmpPixels = new GLubyte[checkedAllocatedBytes.ValueOrDie()]; in Initialize()
309 memset(tmpPixels, 0, checkedAllocatedBytes.ValueOrDie()); in Initialize()
315 GLubyte *Pixels() const { return tmpPixels ? tmpPixels : clientPixels; } in Pixels()
321 GLubyte *tmpPixels; member in rx::__anon9756a0c30111::ScopedEXTTextureNorm16ReadbackWorkaround
340 GLubyte *tmpPixels) in RearrangeEXTTextureNorm16Pixels() argument
342 ASSERT(tmpPixels != nullptr); in RearrangeEXTTextureNorm16Pixels()
[all …]
/external/skia/tests/
DTransferPixelsTest.cpp84 std::unique_ptr<char[]> tmpPixels(new char[tmpRowBytes * h]); in read_pixels_from_texture() local
86 tmpPixels.get(), tmpRowBytes)) { in read_pixels_from_texture()
93 GrPixmap(tmpInfo, tmpPixels.get(), tmpRowBytes)); in read_pixels_from_texture()