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

/frameworks/base/libs/hwui/
H A DPixelBuffer.h31 * To read from or write into a PixelBuffer you must first map the
39 * Mapping and unmapping a PixelBuffer can have the side effect of
42 * using a PixelBuffer to upload to a texture.
44 class PixelBuffer { class in namespace:android::uirenderer
59 * Creates a new PixelBuffer object with the specified format and
66 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height,
69 virtual ~PixelBuffer() {
202 PixelBuffer(GLenum format, uint32_t width, uint32_t height): function in class:android::uirenderer::PixelBuffer
213 }; // class PixelBuffer
H A DPixelBuffer.cpp24 #include "PixelBuffer.h"
34 class CpuPixelBuffer: public PixelBuffer {
51 PixelBuffer(format, width, height) {
83 class GpuPixelBuffer: public PixelBuffer {
102 PixelBuffer(format, width, height), mMappedPointer(0), mCaches(Caches::getInstance()) {
161 PixelBuffer* PixelBuffer::create(GLenum format, uint32_t width, uint32_t height, BufferType type) {
H A DAndroid.mk44 PixelBuffer.cpp \
H A DFontRenderer.cpp38 #include "PixelBuffer.h"
336 const size_t formatSize = PixelBuffer::formatSize(GL_RGBA);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h27 #include "../PixelBuffer.h"
108 return (y * mWidth + x) * PixelBuffer::formatSize(mFormat);
115 inline PixelBuffer* getPixelBuffer() const {
180 PixelBuffer* mTexture;
H A DFont.cpp33 #include "../PixelBuffer.h"
218 PixelBuffer* pixelBuffer = cacheTexture->getPixelBuffer();
220 uint32_t formatSize = PixelBuffer::formatSize(pixelBuffer->getFormat());
221 uint32_t alpha_channel_offset = PixelBuffer::formatAlphaOffset(pixelBuffer->getFormat());
H A DCacheTexture.cpp23 #include "../PixelBuffer.h"
185 mTexture = PixelBuffer::create(mFormat, mWidth, mHeight);

Completed in 8534 milliseconds