OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PixelBuffer
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/libs/hwui/
PixelBuffer.h
33
* 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
{
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):
208
}; // class
PixelBuffer
PixelBuffer.cpp
17
#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,
FontRenderer.cpp
28
#include "
PixelBuffer
.h"
324
const size_t formatSize =
PixelBuffer
::formatSize(GL_RGBA);
/frameworks/base/libs/hwui/font/
CacheTexture.h
20
#include "
PixelBuffer
.h"
107
return (y * getWidth() + x) *
PixelBuffer
::formatSize(mFormat);
114
inline
PixelBuffer
* getPixelBuffer() const {
186
PixelBuffer
* mPixelBuffer = nullptr;
Font.cpp
31
#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());
221
const uint8_t* cacheBuffer =
pixelBuffer
->map();
CacheTexture.cpp
24
#include "../
PixelBuffer
.h"
183
mPixelBuffer =
PixelBuffer
::create(mFormat, getWidth(), getHeight());
Completed in 220 milliseconds