/external/deqp/external/openglcts/modules/common/ |
glcConfigListWGL.cpp | 52 const int pixelFormat = *fmtIter; 53 const tcu::wgl::PixelFormatInfo fmtInfo = wgl.getPixelFormatInfo(tmpWindow.getDeviceContext(), pixelFormat); 65 CONFIGTYPE_WGL, pixelFormat, SURFACETYPE_WINDOW, fmtInfo.redBits, fmtInfo.greenBits, fmtInfo.blueBits, 71 configList.configs.push_back(Config(CONFIGTYPE_WGL, pixelFormat, SURFACETYPE_WINDOW)); 76 ExcludedConfig(CONFIGTYPE_WGL, pixelFormat, EXCLUDEREASON_NOT_COMPATIBLE));
|
glcInfoTests.cpp | 98 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); 102 << TestLog::Integer("RedBits", "Red bits", "", QP_KEY_TAG_NONE, pixelFormat.redBits) 103 << TestLog::Integer("GreenBits", "Green bits", "", QP_KEY_TAG_NONE, pixelFormat.greenBits) 104 << TestLog::Integer("BlueBits", "Blue bits", "", QP_KEY_TAG_NONE, pixelFormat.blueBits) 105 << TestLog::Integer("AlphaBits", "Alpha bits", "", QP_KEY_TAG_NONE, pixelFormat.alphaBits)
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PixelFormatTest.java | 23 import android.graphics.PixelFormat; 35 new PixelFormat(); 40 PixelFormat pixelFormat = new PixelFormat(); 42 PixelFormat.getPixelFormatInfo(PixelFormat.RGBA_8888, pixelFormat); 43 assertEquals(4, pixelFormat.bytesPerPixel); 44 assertEquals(32, pixelFormat.bitsPerPixel) [all...] |
/external/deqp/framework/platform/win32/ |
tcuWGLContextFactory.cpp | 105 int pixelFormat = 0; 108 pixelFormat = config.id; 110 pixelFormat = wgl::choosePixelFormat(wglCore, deviceCtx, config); 112 if (pixelFormat < 0) 115 m_context = new wgl::Context(&wglCore, deviceCtx, config.type, pixelFormat, config.resetNotificationStrategy); 120 const wgl::PixelFormatInfo info = wglCore.getPixelFormatInfo(deviceCtx, pixelFormat); 124 tcu::PixelFormat(info.redBits, info.greenBits, info.blueBits, info.alphaBits),
|
/external/skia/src/gpu/vk/ |
GrVkTextureRenderTarget.cpp | 101 VkFormat pixelFormat; 102 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat); 112 msImageDesc.fFormat = pixelFormat; 132 resolveAttachmentView = GrVkImageView::Create(gpu, image, pixelFormat, 145 const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat, 233 VkFormat pixelFormat; 234 GrPixelConfigToVkFormat(this->config(), &pixelFormat); 239 pixelFormat, 250 pixelFormat,
|
GrVkRenderTarget.cpp | 116 VkFormat pixelFormat; 117 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat); 127 msImageDesc.fFormat = pixelFormat; 146 resolveAttachmentView = GrVkImageView::Create(gpu, info.fImage, pixelFormat, 158 const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat,
|
/external/skia/tools/sk_app/win/ |
GLWindowContext_win.cpp | 84 int pixelFormat = GetPixelFormat(dc); 86 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd); 94 pixelFormat,
|
ANGLEWindowContext_win.cpp | 130 int pixelFormat = GetPixelFormat(dc); 132 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd);
|
/external/skqp/src/gpu/vk/ |
GrVkTextureRenderTarget.cpp | 101 VkFormat pixelFormat; 102 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat); 112 msImageDesc.fFormat = pixelFormat; 132 resolveAttachmentView = GrVkImageView::Create(gpu, image, pixelFormat, 145 const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat, 233 VkFormat pixelFormat; 234 GrPixelConfigToVkFormat(this->config(), &pixelFormat); 239 pixelFormat, 250 pixelFormat,
|
GrVkRenderTarget.cpp | 116 VkFormat pixelFormat; 117 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat); 127 msImageDesc.fFormat = pixelFormat; 146 resolveAttachmentView = GrVkImageView::Create(gpu, info.fImage, pixelFormat, 158 const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat,
|
/external/skqp/tools/sk_app/win/ |
GLWindowContext_win.cpp | 84 int pixelFormat = GetPixelFormat(dc); 86 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd); 94 pixelFormat,
|
ANGLEWindowContext_win.cpp | 130 int pixelFormat = GetPixelFormat(dc); 132 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd);
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
GlTextureFrameBuffer.java | 41 private final int pixelFormat; 49 public GlTextureFrameBuffer(int pixelFormat) { 50 switch (pixelFormat) { 54 this.pixelFormat = pixelFormat; 57 throw new IllegalArgumentException("Invalid pixel format: " + pixelFormat); 102 GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, pixelFormat, width, height, 0, pixelFormat,
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
SurfaceCompositionTest.java | 19 import android.graphics.PixelFormat; 44 PixelFormat.TRANSLUCENT, 45 PixelFormat.OPAQUE, 75 int pixelFormat = TEST_PIXEL_FORMATS[i]; 76 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); 77 CompositorScore score = getActivity().measureCompositionScore(pixelFormat); 84 if (pixelFormat == PixelFormat.TRANSLUCENT) { 98 int pixelFormat = TEST_PIXEL_FORMATS[i]; 99 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat); [all...] |
/hardware/google/av/codec2/vndk/v4l2/ |
C2VdaBqBlockPool.cpp | 40 using ::android::hardware::graphics::common::V1_0::PixelFormat; 103 PixelFormat pixelFormat = static_cast<PixelFormat>(format); 107 width, height, pixelFormat, androidUsage.asGrallocUsage(), true,
|
/prebuilts/misc/windows/sdl2/test/ |
testshape.c | 55 Uint32 pixelFormat = 0; 154 SDL_QueryTexture(pictures[current_picture].texture,(Uint32 *)&pixelFormat,(int *)&access,&texture_dimensions.w,&texture_dimensions.h); 173 SDL_QueryTexture(pictures[current_picture].texture,(Uint32 *)&pixelFormat,(int *)&access,&texture_dimensions.w,&texture_dimensions.h);
|
/external/deqp/framework/opengl/ |
gluFboRenderContext.cpp | 64 static tcu::PixelFormat getPixelFormat (deUint32 colorFormat) 67 return tcu::PixelFormat(bits[0], bits[1], bits[2], bits[3]); 219 tcu::PixelFormat pixelFormat; 239 pixelFormat = getPixelFormat(colorFormat); 292 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, config.numSamples);
|
/external/deqp/framework/platform/osx/ |
tcuOSXPlatform.cpp | 113 , m_renderTarget (0, 0, tcu::PixelFormat(0,0,0,0), 0, 0, 0) 124 CGLPixelFormatObj pixelFormat; 127 if (CGLChoosePixelFormat(&attribs[0], &pixelFormat, &numVScreens) != kCGLNoError) 132 if (CGLCreateContext(pixelFormat, DE_NULL, &m_context) != kCGLNoError) 140 CGLReleasePixelFormat(pixelFormat); 144 CGLReleasePixelFormat(pixelFormat);
|
/external/deqp/modules/gles2/functional/ |
es2fPrerequisiteTests.cpp | 177 tcu::PixelFormat pixelFormat = renderTarget.getPixelFormat(); 234 RGBA colorThreshold = pixelFormat.getColorThreshold();
|
/external/deqp/modules/gles3/functional/ |
es3fPrerequisiteTests.cpp | 177 tcu::PixelFormat pixelFormat = renderTarget.getPixelFormat(); 234 RGBA colorThreshold = pixelFormat.getColorThreshold();
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowDisplay.java | 3 import android.graphics.PixelFormat; 26 private int pixelFormat = PixelFormat.RGBA_4444; 66 return pixelFormat; 129 public void setPixelFormat(int pixelFormat) { 130 this.pixelFormat = pixelFormat;
|
/external/swiftshader/tests/OGLSimpleCube/ |
OGLSimpleCube.cpp | 164 int pixelFormat; 166 pixelFormat = ChoosePixelFormat(hDC, &pfd); 167 if(pixelFormat == 0) { 173 if(SetPixelFormat(hDC, pixelFormat, &pfd) != TRUE) {
|
/external/v4l2_codec2/ |
C2VDAAdaptor.cpp | 87 media::VideoPixelFormat pixelFormat; 90 pixelFormat = media::PIXEL_FORMAT_YV12; 93 pixelFormat = media::PIXEL_FORMAT_NV12; 105 mVDA->ImportBufferForPicture(pictureBufferId, pixelFormat, handle);
|
/frameworks/base/core/jni/ |
android_hardware_HardwareBuffer.cpp | 76 int pixelFormat = android_hardware_HardwareBuffer_convertToPixelFormat(format); 77 if (pixelFormat == 0) { 85 sp<GraphicBuffer> buffer = new GraphicBuffer(width, height, pixelFormat, layers,
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
InputSurfaceConnection.cpp | 236 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { 240 (void)pixelFormat;
|