Searched refs:PixelBuffer (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/
H A DPixelBuffer.h33 * To read from or write into a PixelBuffer you must first map the
41 * Mapping and unmapping a PixelBuffer can have the side effect of
44 * using a PixelBuffer to upload to a texture.
46 class PixelBuffer { class in namespace:android::uirenderer
61 * Creates a new PixelBuffer object with the specified format and
68 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height,
71 virtual ~PixelBuffer() {
190 PixelBuffer(GLenum format, uint32_t width, uint32_t height): function in class:android::uirenderer::PixelBuffer
208 }; // class PixelBuffer
H A DPixelBuffer.cpp17 #include "PixelBuffer.h"
34 class CpuPixelBuffer: public PixelBuffer {
50 : PixelBuffer(format, width, height)
74 class GpuPixelBuffer: public PixelBuffer {
94 : PixelBuffer(format, width, height)
150 PixelBuffer* PixelBuffer::create(GLenum format,
H A DAndroid.mk98 PixelBuffer.cpp \
H A DFontRenderer.cpp28 #include "PixelBuffer.h"
324 const size_t formatSize = PixelBuffer::formatSize(GL_RGBA);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h20 #include "PixelBuffer.h"
107 return (y * getWidth() + x) * PixelBuffer::formatSize(mFormat);
114 inline PixelBuffer* getPixelBuffer() const {
186 PixelBuffer* mPixelBuffer = nullptr;
H A DFont.cpp31 #include "../PixelBuffer.h"
212 PixelBuffer* pixelBuffer = cacheTexture->getPixelBuffer();
214 uint32_t formatSize = PixelBuffer::formatSize(pixelBuffer->getFormat());
215 uint32_t alpha_channel_offset = PixelBuffer::formatAlphaOffset(pixelBuffer->getFormat());
H A DCacheTexture.cpp24 #include "../PixelBuffer.h"
180 mPixelBuffer = PixelBuffer::create(mFormat, getWidth(), getHeight());

Completed in 99 milliseconds