Searched refs:RenderbufferBytesPerPixel (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/gpu/command_buffer/common/ |
D | gles2_cmd_utils_unittest.cc | 221 TEST_F(GLES2UtilTest, RenderbufferBytesPerPixel) { in TEST_F() argument 222 EXPECT_EQ(1u, GLES2Util::RenderbufferBytesPerPixel(GL_STENCIL_INDEX8)); in TEST_F() 223 EXPECT_EQ(2u, GLES2Util::RenderbufferBytesPerPixel(GL_RGBA4)); in TEST_F() 224 EXPECT_EQ(2u, GLES2Util::RenderbufferBytesPerPixel(GL_RGB565)); in TEST_F() 225 EXPECT_EQ(2u, GLES2Util::RenderbufferBytesPerPixel(GL_RGB5_A1)); in TEST_F() 226 EXPECT_EQ(2u, GLES2Util::RenderbufferBytesPerPixel(GL_DEPTH_COMPONENT16)); in TEST_F() 227 EXPECT_EQ(4u, GLES2Util::RenderbufferBytesPerPixel(GL_RGB)); in TEST_F() 228 EXPECT_EQ(4u, GLES2Util::RenderbufferBytesPerPixel(GL_RGBA)); in TEST_F() 230 4u, GLES2Util::RenderbufferBytesPerPixel(GL_DEPTH24_STENCIL8_OES)); in TEST_F() 231 EXPECT_EQ(4u, GLES2Util::RenderbufferBytesPerPixel(GL_RGB8_OES)); in TEST_F() [all …]
|
D | gles2_cmd_utils.h | 132 static size_t RenderbufferBytesPerPixel(int format);
|
D | gles2_cmd_utils.cc | 460 size_t GLES2Util::RenderbufferBytesPerPixel(int format) { in RenderbufferBytesPerPixel() function in gpu::gles2::GLES2Util
|
/external/chromium_org/gpu/command_buffer/service/ |
D | renderbuffer_manager.cc | 170 temp, GLES2Util::RenderbufferBytesPerPixel(impl_format), &temp)) { in ComputeEstimatedRenderbufferSize()
|