Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrOpFlushState.cpp103 std::unique_ptr<char[]> tmpPixels; in doUpload() local
106 tmpPixels.reset(new char[height * tightRB]); in doUpload()
112 if (!GrConvertPixels(tmpInfo, tmpPixels.get(), tightRB, srcInfo, buffer, rowBytes)) { in doUpload()
116 buffer = tmpPixels.get(); in doUpload()
DGrSurfaceContext.cpp187 std::unique_ptr<char[]> tmpPixels; in readPixels() local
197 tmpPixels.reset(new char[size]()); in readPixels()
199 readDst = tmpPixels.get(); in readPixels()
381 std::unique_ptr<char[]> tmpPixels; in writePixels() local
388 tmpPixels.reset(new char[tmpRB * tmpInfo.height()]); in writePixels()
390 GrConvertPixels(tmpInfo, tmpPixels.get(), tmpRB, srcInfo, src, rowBytes, flip); in writePixels()
394 src = tmpPixels.get(); in writePixels()
/third_party/skia/src/gpu/
DGrOpFlushState.cpp118 std::unique_ptr<char[]> tmpPixels; in doUpload() local
121 tmpPixels.reset(new char[rect.height()*tightRB]); in doUpload()
126 if (!GrConvertPixels( GrPixmap(tmpInfo, tmpPixels.get(), tightRB ), in doUpload()
131 buffer = tmpPixels.get(); in doUpload()
DSurfaceContext.cpp226 std::unique_ptr<char[]> tmpPixels; in readPixels() local
238 tmpPixels = std::make_unique<char[]>(size); in readPixels()
239 tmp = {tmpInfo, tmpPixels.get(), tmpRB}; in readPixels()
241 readDst = tmpPixels.get(); in readPixels()
/third_party/skia/third_party/externals/angle2/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()
309 tmpPixels = new GLubyte[allocatedBytes]; in Initialize()
310 memset(tmpPixels, 0, allocatedBytes); in Initialize()
316 GLubyte *Pixels() const { return tmpPixels ? tmpPixels : clientPixels; } in Pixels()
322 GLubyte *tmpPixels; member in rx::__anon7d1eca990111::ScopedEXTTextureNorm16ReadbackWorkaround
341 GLubyte *tmpPixels) in RearrangeEXTTextureNorm16Pixels() argument
343 ASSERT(tmpPixels != nullptr); in RearrangeEXTTextureNorm16Pixels()
[all …]
/third_party/flutter/skia/tests/
DTransferPixelsTest.cpp83 std::unique_ptr<char[]> tmpPixels(new char[tmpRowBytes * h]); in read_pixels_from_texture() local
85 tmpPixels.get(), tmpRowBytes)) { in read_pixels_from_texture()
91 return GrConvertPixels(dstInfo, dst, rowBytes, tmpInfo, tmpPixels.get(), tmpRowBytes, in read_pixels_from_texture()
/third_party/skia/tests/
DTransferPixelsTest.cpp84 std::unique_ptr<char[]> tmpPixels(new char[tmpRowBytes * h]); in read_pixels_from_texture() local
89 tmpPixels.get(), in read_pixels_from_texture()
97 GrPixmap(tmpInfo, tmpPixels.get(), tmpRowBytes)); in read_pixels_from_texture()
/third_party/flutter/skia/src/gpu/gl/
DGrGLGpu.cpp3885 char* tmpPixels = (char*)pixelStorage.reset(totalSize); in createBackendTexture() local
3887 GrFillInData(config, w, h, individualMipOffsets, tmpPixels, *color); in createBackendTexture()
3894 texels.get()[i] = {&(tmpPixels[offset]), currentWidth * bytesPerPixel}; in createBackendTexture()