Reformat Framebuffer::readPixels and its overriding methods
to the following method signature
angle::Result readPixels(const Context *context,
const Rectangle &area,
GLenum format,
GLenum type,
const PixelPackState &pack,
Buffer *packBuffer
void *pixels);
This will allow capture replay tool to use its own PixelPackState
to read pixels from framebuffer without having to set the global states
Bug: angleproject:4787
Change-Id: Idc64179d8e8f6b5163ef0747f239cd5172a2491b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2267417
Commit-Queue: Manh Nguyen <nguyenmh@google.com>
Reviewed-by:
Cody Northrop <cnorthrop@google.com>
Reviewed-by:
Jamie Madill <jmadill@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| BufferNULL.cpp | Loading commit data... | |
| BufferNULL.h | Loading commit data... | |
| CompilerNULL.cpp | Loading commit data... | |
| CompilerNULL.h | Loading commit data... | |
| ContextNULL.cpp | Loading commit data... | |
| ContextNULL.h | Loading commit data... | |
| DeviceNULL.cpp | Loading commit data... | |
| DeviceNULL.h | Loading commit data... | |
| DisplayNULL.cpp | Loading commit data... | |
| DisplayNULL.h | Loading commit data... | |
| FenceNVNULL.cpp | Loading commit data... | |
| FenceNVNULL.h | Loading commit data... | |
| FramebufferNULL.cpp | Loading commit data... | |
| FramebufferNULL.h | Loading commit data... | |
| ImageNULL.cpp | Loading commit data... | |
| ImageNULL.h | Loading commit data... | |
| ProgramNULL.cpp | Loading commit data... | |
| ProgramNULL.h | Loading commit data... | |
| ProgramPipelineNULL.cpp | Loading commit data... | |
| ProgramPipelineNULL.h | Loading commit data... | |
| QueryNULL.cpp | Loading commit data... | |
| QueryNULL.h | Loading commit data... | |
| RenderbufferNULL.cpp | Loading commit data... | |
| RenderbufferNULL.h | Loading commit data... | |
| SamplerNULL.cpp | Loading commit data... | |
| SamplerNULL.h | Loading commit data... | |
| ShaderNULL.cpp | Loading commit data... | |
| ShaderNULL.h | Loading commit data... | |
| SurfaceNULL.cpp | Loading commit data... | |
| SurfaceNULL.h | Loading commit data... | |
| SyncNULL.cpp | Loading commit data... | |
| SyncNULL.h | Loading commit data... | |
| TextureNULL.cpp | Loading commit data... | |
| TextureNULL.h | Loading commit data... | |
| TransformFeedbackNULL.cpp | Loading commit data... | |
| TransformFeedbackNULL.h | Loading commit data... | |
| VertexArrayNULL.cpp | Loading commit data... | |
| VertexArrayNULL.h | Loading commit data... |