Home | History | Annotate | Download | only in hwui

Lines Matching refs:height

36     CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
42 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
51 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height)
52 : PixelBuffer(format, width, height)
53 , mBuffer(new uint8_t[width * height * formatSize(format)]) {
71 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) {
72 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height,
82 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
89 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
101 uint32_t width, uint32_t height)
102 : PixelBuffer(format, width, height)
149 void GpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) {
153 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height, mFormat,
163 uint32_t width, uint32_t height, BufferType type) {
165 return new GpuPixelBuffer(format, width, height);
167 return new CpuPixelBuffer(format, width, height);