Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
H A DGrOpFlushState.cpp118 std::unique_ptr<char[]> tmpPixels; in doUpload()
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()
H A 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/
H A 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::__anon20037::ScopedEXTTextureNorm16ReadbackWorkaround
341 GLubyte *tmpPixels) in RearrangeEXTTextureNorm16Pixels()
331 RearrangeEXTTextureNorm16Pixels(const gl::Context *context, const gl::Rectangle &area, GLenum originalReadFormat, GLenum format, GLenum type, GLuint skipBytes, GLuint rowBytes, GLuint pixelBytes, const gl::PixelPackState &pack, GLubyte *clientPixels, GLubyte *tmpPixels) RearrangeEXTTextureNorm16Pixels() argument
[all...]
/third_party/skia/tests/
H A DTransferPixelsTest.cpp84 std::unique_ptr<char[]> tmpPixels(new char[tmpRowBytes * h]); in read_pixels_from_texture()
89 tmpPixels.get(), in read_pixels_from_texture()
97 GrPixmap(tmpInfo, tmpPixels.get(), tmpRowBytes)); in read_pixels_from_texture()

Completed in 6 milliseconds