/external/deqp/framework/common/ |
tcuRenderTarget.hpp | 42 const PixelFormat& getPixelFormat (void) const { return m_pixelFormat; }
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/ |
DeviceDisplayInfo.java | 82 private int getPixelFormat() { 84 return getDisplay().getPixelFormat(); 95 int format = getPixelFormat(); 107 int format = getPixelFormat();
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
MacNative.h | 35 void* getPixelFormat(int i);
|
/external/deqp/modules/gles2/functional/ |
es2fReadPixelsTests.cpp | 247 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); 248 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); 249 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); 250 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); 260 const float redThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); 261 const float greenThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); 262 const float blueThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); 263 const float alphaThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w()));
|
es2fTextureSizeTests.cpp | 124 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(7,7,7,7); 154 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(wrapS, wrapT, minFilter, magFilter))); 267 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(7,7,7,7); 298 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler));
|
es2fRasterizationTests.cpp | 266 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; 267 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; 268 args.blueBits = m_context.getRenderTarget().getPixelFormat().blueBits; 361 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; 362 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; 363 args.blueBits = m_context.getRenderTarget().getPixelFormat().blueBits; 454 args.redBits = m_context.getRenderTarget().getPixelFormat().redBits; 455 args.greenBits = m_context.getRenderTarget().getPixelFormat().greenBits; 456 args.blueBits = m_context.getRenderTarget().getPixelFormat().blueBits; [all...] |
es2fTextureFormatTests.cpp | 143 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); 191 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); 319 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); 359 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); 453 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); 481 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], refParams); 565 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); 593 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler));
|
es2fTextureSpecificationTests.cpp | 432 sglr::ReferenceContextBuffers refBuffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, width, height); 506 tcu::UVec4 threshold = computeCompareThreshold(m_context.getRenderTarget().getPixelFormat(), m_texFormat); [all...] |
es2fTextureWrapTests.cpp | 171 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() 199 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, viewport.height), 212 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, viewport.height),
|
/external/deqp/modules/glshared/ |
glsShaderPerformanceCase.cpp | 123 << " R" << renderTarget.getPixelFormat().redBits 124 << " G" << renderTarget.getPixelFormat().greenBits 125 << " B" << renderTarget.getPixelFormat().blueBits 126 << " A" << renderTarget.getPixelFormat().alphaBits
|
/external/deqp/modules/gles3/functional/ |
es3fReadPixelsTests.cpp | 386 const deUint8 redThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())))); 387 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); 388 const deUint8 blueThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())))); 389 const deUint8 alphaThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w())))); 399 const float redThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().redBits, formatBitDepths.x())); 400 const float greenThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); 401 const float blueThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().blueBits, formatBitDepths.z())); 402 const float alphaThreshold = 2.0f / (1 << deMin32(m_context.getRenderTarget().getPixelFormat().alphaBits, formatBitDepths.w()));
|
es3fTextureSizeTests.cpp | 124 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(7,7,7,7); 154 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(wrapS, wrapT, minFilter, magFilter))); 267 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(7,7,7,7); 298 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler));
|
es3fFboStateQueryTests.cpp | 169 const bool hasColorBuffer = m_context.getRenderTarget().getPixelFormat().redBits > 0 || 170 m_context.getRenderTarget().getPixelFormat().greenBits > 0 || 171 m_context.getRenderTarget().getPixelFormat().blueBits > 0 || 172 m_context.getRenderTarget().getPixelFormat().alphaBits > 0; 577 m_context.getRenderTarget().getPixelFormat().redBits, 578 m_context.getRenderTarget().getPixelFormat().greenBits, 579 m_context.getRenderTarget().getPixelFormat().blueBits, 580 m_context.getRenderTarget().getPixelFormat().alphaBits, [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowDisplay.java | 65 public int getPixelFormat() {
|
/frameworks/native/libs/gui/ |
CpuConsumer.cpp | 100 if (mSlots[buf].mGraphicBuffer->getPixelFormat() == 128 if (mSlots[buf].mGraphicBuffer->getPixelFormat() == 173 nativeBuffer->format = mSlots[buf].mGraphicBuffer->getPixelFormat();
|
/frameworks/base/core/jni/ |
android_view_GraphicBuffer.cpp | 188 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); 192 convertPixelFormat(buffer->getPixelFormat()), 202 SET_INT(canvas, gCanvasClassInfo.mSurfaceFormat, buffer->getPixelFormat());
|
/external/deqp/modules/gles2/ |
tes2InfoTests.cpp | 103 const tcu::PixelFormat& pf = rt.getPixelFormat();
|
/external/deqp/modules/gles3/ |
tes3InfoTests.cpp | 103 const tcu::PixelFormat& pf = rt.getPixelFormat();
|
/external/deqp/modules/gles31/ |
tes31InfoTests.cpp | 103 const tcu::PixelFormat& pf = rt.getPixelFormat();
|
/external/deqp/framework/opengl/ |
gluFboRenderContext.cpp | 38 static tcu::PixelFormat getPixelFormat (deUint32 colorFormat) 205 pixelFormat = getPixelFormat(colorFormat);
|
/external/deqp/modules/gles2/accuracy/ |
es2aTextureFilteringTests.cpp | 242 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bottomHeight), 253 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, bottomHeight), 282 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, leftWidth, topHeight), 293 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, bottomHeight, rightWidth, topHeight), 561 SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bottomHeight), 571 SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, bottomHeight), 592 SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, leftWidth, topHeight), 602 SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, bottomHeight, rightWidth, topHeight),
|
/external/deqp/modules/gles3/accuracy/ |
es3aTextureFilteringTests.cpp | 233 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bottomHeight), 244 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, bottomHeight), 273 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, leftWidth, topHeight), 284 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, bottomHeight, rightWidth, topHeight), 575 SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bottomHeight), 586 SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, bottomHeight), 608 SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, leftWidth, topHeight), 619 SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, bottomHeight, rightWidth, topHeight),
|
/frameworks/native/opengl/tests/hwc/ |
hwcTestLib.cpp | 621 if (gBuf->getPixelFormat() == HAL_PIXEL_FORMAT_YV12) { 642 if (attrib->format == gBuf->getPixelFormat()) { break; } 646 gBuf->getPixelFormat()); 661 pixel = hwcTestColor2Pixel(gBuf->getPixelFormat(), color, alpha); 720 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) { 721 hwcTestColorConvert(colorFormat, gBuf->getPixelFormat(), color); 723 pixel = hwcTestColor2Pixel(gBuf->getPixelFormat(), color, 1.0); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderTextureSizeTests.cpp | 455 const int colorThresholdRed = 1 << (8 - m_context.getRenderTarget().getPixelFormat().redBits); 456 const int colorThresholdGreen = 1 << (8 - m_context.getRenderTarget().getPixelFormat().greenBits); 457 const int colorThresholdBlue = 1 << (8 - m_context.getRenderTarget().getPixelFormat().blueBits);
|
/cts/tests/tests/display/src/android/display/cts/ |
DisplayTest.java | 121 assertEquals(PixelFormat.RGBA_8888, display.getPixelFormat());
|