Searched defs:pixelFormat (Results 1 - 25 of 31) sorted by relevance

12

/external/deqp/framework/opengl/
H A DgluFboRenderContext.cpp185 tcu::PixelFormat pixelFormat; local
205 pixelFormat = getPixelFormat(colorFormat);
258 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, config.numSamples);
/external/deqp/framework/platform/win32/
H A DtcuWGLContextFactory.cpp99 int pixelFormat = 0; local
102 pixelFormat = config.id;
104 pixelFormat = wgl::choosePixelFormat(wglCore, deviceCtx, config);
106 if (pixelFormat < 0)
109 m_context = new wgl::Context(&wglCore, deviceCtx, config.type, pixelFormat);
114 const wgl::PixelFormatInfo info = wglCore.getPixelFormatInfo(deviceCtx, pixelFormat);
H A DtcuWGL.hpp79 int pixelFormat; member in class:tcu::wgl::PixelFormatInfo
133 : pixelFormat (0)
165 PixelFormatInfo getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const;
190 Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat);
H A DtcuWin32GLES3Platform.cpp92 const int pixelFormat = wgl::choosePixelFormat(wgl, deviceCtx, config); local
94 if (pixelFormat < 0)
97 m_platformCtx.context = new wgl::Context(&wgl, m_window.getDeviceContext(), wgl::PROFILE_COMPATIBILITY, 3, 3, pixelFormat);
111 const wgl::PixelFormatInfo info = wgl.getPixelFormatInfo(deviceCtx, pixelFormat);
H A DtcuWGL.cpp215 int pixelFormat = ChoosePixelFormat(tmpWindow.getDeviceContext(), &pixelFormatDesc); local
216 if (!SetPixelFormat(tmpWindow.getDeviceContext(), pixelFormat, &pixelFormatDesc))
304 PixelFormatInfo Core::getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const
326 if (!wgl.getPixelFormatAttribivARB(deviceCtx, pixelFormat, 0, DE_LENGTH_OF_ARRAY(attribs), &attribs[0], &values[0]))
332 info.pixelFormat = pixelFormat;
353 Context::Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat) argument
405 if (!DescribePixelFormat(deviceCtx, pixelFormat, sizeof(pixelFormatDesc), &pixelFormatDesc))
408 if (!SetPixelFormat(deviceCtx, pixelFormat, &pixelFormatDesc))
498 return info.pixelFormat;
[all...]
/external/deqp/framework/platform/osx/
H A DtcuOSXPlatform.cpp124 CGLPixelFormatObj pixelFormat; local
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/gles3/functional/
H A Des3fPrerequisiteTests.cpp177 tcu::PixelFormat pixelFormat = renderTarget.getPixelFormat(); local
234 RGBA colorThreshold = pixelFormat.getColorThreshold();
H A Des3fTextureSwizzleTests.cpp193 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); local
202 if (pixelFormat != tcu::PixelFormat(8,8,8,8))
209 referenceFrame.setPixel(x, y, pixelFormat.convertColor(p));
H A Des3fColorClearTest.cpp105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); local
217 if (pixelFormat.alphaBits == 0)
236 RGBA colorThreshold = pixelFormat.getColorThreshold();
H A Des3fTextureWrapTests.cpp333 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); local
334 const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 : 2), tcu::IVec4(0));
343 lookupPrecision.colorMask = getCompareMask(pixelFormat);
348 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat);
H A Des3fTextureFilteringTests.cpp299 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); local
300 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise
309 lookupPrecision.colorMask = getCompareMask(pixelFormat);
312 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat);
323 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat);
612 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); local
613 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise
622 lookupPrecision.colorMask = getCompareMask(pixelFormat);
625 &texCoord[0], sampleParams, lookupPrecision, lodPrecision, pixelFormat);
636 &texCoord[0], sampleParams, lookupPrecision, lodPrecision, pixelFormat);
878 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); local
1120 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); local
[all...]
H A Des3fTextureShadowTests.cpp103 const tcu::PixelFormat& pixelFormat)
108 const tcu::Vec3 nonShadowThreshold = tcu::computeFixedPointThreshold(getBitsVec(pixelFormat)-1).swizzle(1,2,3);
124 sampleTexture(SurfaceAccess(reference, pixelFormat), clampedSource, texCoord, sampleParams);
131 sampleTexture(SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams);
362 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); local
372 texComparePrecision.resultBits = pixelFormat.redBits-1;
375 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat);
386 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat);
652 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); local
662 texComparePrecision.resultBits = pixelFormat
96 verifyTexCompareResult(tcu::TestContext& testCtx, const tcu::ConstPixelBufferAccess& result, const TextureType& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::TexComparePrecision& comparePrec, const tcu::LodPrecision& lodPrec, const tcu::PixelFormat& pixelFormat) argument
928 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); local
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowDisplay.java26 private int pixelFormat = PixelFormat.RGBA_4444; field in class:ShadowDisplay
66 return pixelFormat;
129 public void setPixelFormat(int pixelFormat) { argument
130 this.pixelFormat = pixelFormat;
/external/deqp/modules/gles2/functional/
H A Des2fPrerequisiteTests.cpp177 tcu::PixelFormat pixelFormat = renderTarget.getPixelFormat(); local
234 RGBA colorThreshold = pixelFormat.getColorThreshold();
H A Des2fColorClearTest.cpp105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); local
217 if (pixelFormat.alphaBits == 0)
236 RGBA colorThreshold = pixelFormat.getColorThreshold();
H A Des2fTextureFilteringTests.cpp299 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); local
300 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise
309 lookupPrecision.colorMask = getCompareMask(pixelFormat);
312 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat);
585 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); local
586 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise
595 lookupPrecision.colorMask = getCompareMask(pixelFormat);
598 &texCoord[0], sampleParams, lookupPrecision, lodPrecision, pixelFormat);
H A Des2fTextureMipmapTests.cpp347 const tcu::PixelFormat& pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); local
357 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0)));
358 lookupPrec.colorMask = getCompareMask(pixelFormat);
389 sampleTexture(SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH),
H A Des2fTextureSpecificationTests.cpp86 static tcu::IVec4 getPixelFormatCompareDepth (const tcu::PixelFormat& pixelFormat, tcu::TextureFormat textureFormat) argument
92 return tcu::IVec4(pixelFormat.redBits, pixelFormat.redBits, pixelFormat.redBits, pixelFormat.alphaBits);
94 return tcu::IVec4(pixelFormat.redBits, pixelFormat.greenBits, pixelFormat.blueBits, pixelFormat.alphaBits);
98 static tcu::UVec4 computeCompareThreshold (const tcu::PixelFormat& pixelFormat, tc argument
[all...]
/external/deqp/modules/egl/
H A DteglColorClearCase.cpp100 static void renderReference (tcu::Surface& dst, const vector<ClearOp>& clears, const tcu::PixelFormat& pixelFormat) argument
105 tcu::clear(access, pixelFormat.convertColor(clearIter->color).toIVec());
/external/chromium_org/third_party/skia/src/views/win/
H A DSkOSWindow_win.cpp346 int pixelFormat = GetPixelFormat(dc); local
348 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd);
356 pixelFormat,
/external/deqp/modules/gles31/functional/
H A Des31fTextureFilteringTests.cpp375 const tcu::PixelFormat pixelFormat = renderCtx.getRenderTarget().getPixelFormat(); local
377 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise
386 lookupPrecision.colorMask = getCompareMask(pixelFormat);
389 &texCoord[0], refParams, lookupPrecision, coordBits, lodPrecision, pixelFormat);
400 &texCoord[0], refParams, lookupPrecision, coordBits, lodPrecision, pixelFormat);
/external/skia/src/views/win/
H A DSkOSWindow_win.cpp345 int pixelFormat = GetPixelFormat(dc); local
347 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd);
355 pixelFormat,
/external/chromium_org/third_party/libjpeg_turbo/
H A Dturbojpeg.c149 int pixelFormat, int subsamp, int jpegQual, int flags)
153 switch(pixelFormat)
185 cinfo->in_color_space=JCS_RGB; pixelFormat=TJPF_RGB;
190 cinfo->input_components=tjPixelSize[pixelFormat];
214 int pixelFormat, int flags)
218 switch(pixelFormat)
319 int height, int pixelFormat, unsigned char *dst)
322 switch(pixelFormat)
380 int pitch, int height, int pixelFormat)
382 switch(pixelFormat)
148 setCompDefaults(struct jpeg_compress_struct *cinfo, int pixelFormat, int subsamp, int jpegQual, int flags) argument
213 setDecompDefaults(struct jpeg_decompress_struct *dinfo, int pixelFormat, int flags) argument
318 toRGB(unsigned char *src, int width, int pitch, int height, int pixelFormat, unsigned char *dst) argument
379 fromRGB(unsigned char *src, unsigned char *dst, int width, int pitch, int height, int pixelFormat) argument
574 tjCompress2(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) argument
672 tjEncodeYUV2(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char *dstBuf, int subsamp, int flags) argument
939 tjDecompress2(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, int height, int pixelFormat, int flags) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
H A Dxm_api.c647 GLuint pixelFormat)
650 switch (pixelFormat) {
645 xmesa_color_to_pixel(struct gl_context *ctx, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLuint pixelFormat) argument
/external/mesa3d/src/mesa/drivers/x11/
H A Dxm_api.c647 GLuint pixelFormat)
650 switch (pixelFormat) {
645 xmesa_color_to_pixel(struct gl_context *ctx, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLuint pixelFormat) argument

Completed in 378 milliseconds

12