Home
last modified time | relevance | path

Searched refs:RGBA (Results 1 – 25 of 459) sorted by relevance

12345678910>>...19

/external/deqp/framework/common/
DtcuRGBA.hpp38 class RGBA class
57 RGBA (void) { m_value = 0; } in RGBA() function in tcu::RGBA
59 RGBA (int r, int g, int b, int a) in RGBA() function in tcu::RGBA
68 explicit RGBA (deUint32 val) in RGBA() function in tcu::RGBA
73 explicit RGBA (const Vec4& v);
85 …bool isBelowThreshold (RGBA thr) const { return (getRed() <= thr.getRed()) && (getGreen() <= thr… in isBelowThreshold()
87 …static RGBA fromBytes (const deUint8* bytes) { return RGBA(bytes[0], bytes[1], bytes[2], bytes[… in fromBytes()
92 bool operator== (const RGBA& v) const { return (m_value == v.m_value); } in operator ==()
93 bool operator!= (const RGBA& v) const { return (m_value != v.m_value); } in operator !=()
96 static inline const RGBA red (void) { return RGBA(0xFF, 0x0, 0x0, 0xFF); } in red()
[all …]
DtcuRGBA.cpp31 RGBA::RGBA (const Vec4& v) in RGBA() function in tcu::RGBA
40 Vec4 RGBA::toVec (void) const in toVec()
48 IVec4 RGBA::toIVec (void) const in toIVec()
53 RGBA computeAbsDiffMasked (RGBA a, RGBA b, deUint32 cmpMask) in computeAbsDiffMasked()
62 if (cmpMask & RGBA::RED_MASK) in computeAbsDiffMasked()
64 int ra = (aPacked >> RGBA::RED_SHIFT) & 0xFF; in computeAbsDiffMasked()
65 int rb = (bPacked >> RGBA::RED_SHIFT) & 0xFF; in computeAbsDiffMasked()
70 if (cmpMask & RGBA::GREEN_MASK) in computeAbsDiffMasked()
72 int ga = (aPacked >> RGBA::GREEN_SHIFT) & 0xFF; in computeAbsDiffMasked()
73 int gb = (bPacked >> RGBA::GREEN_SHIFT) & 0xFF; in computeAbsDiffMasked()
[all …]
DtcuSurface.hpp56 void setPixel (int x, int y, RGBA col);
57 RGBA getPixel (int x, int y) const;
70 inline void Surface::setPixel (int x, int y, RGBA col) in setPixel()
87 inline RGBA Surface::getPixel (int x, int y) const in getPixel()
94 …DE_STATIC_ASSERT(RGBA::RED_SHIFT == 0 && RGBA::GREEN_SHIFT == 8 && RGBA::BLUE_SHIFT == 16 && RGBA:… in getPixel()
97 return RGBA(*pixAddr); in getPixel()
100 return RGBA(byteAddr[0], byteAddr[1], byteAddr[2], byteAddr[3]); in getPixel()
107 …return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_wid… in getAccess()
113 …return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m… in getAccess()
DtcuSurfaceAccess.hpp36 return (deUint8)((format.redBits ? tcu::RGBA::RED_MASK : 0) | in getColorMask()
37 (format.greenBits ? tcu::RGBA::GREEN_MASK : 0) | in getColorMask()
38 (format.blueBits ? tcu::RGBA::BLUE_MASK : 0) | in getColorMask()
39 (format.alphaBits ? tcu::RGBA::ALPHA_MASK : 0)); in getColorMask()
42 inline tcu::RGBA toRGBAMasked (const tcu::Vec4& v, deUint8 mask) in toRGBAMasked()
44 return tcu::RGBA((mask&tcu::RGBA::RED_MASK) ? tcu::floatToU8(v.x()) : 0, in toRGBAMasked()
45 (mask&tcu::RGBA::GREEN_MASK) ? tcu::floatToU8(v.y()) : 0, in toRGBAMasked()
46 (mask&tcu::RGBA::BLUE_MASK) ? tcu::floatToU8(v.z()) : 0, in toRGBAMasked()
47 …(mask&tcu::RGBA::ALPHA_MASK) ? tcu::floatToU8(v.w()) : 0xFF); //!< \note Alpha defaults to full sa… in toRGBAMasked()
DtcuBilinearImageCompare.cpp61 inline RGBA readRGBA8 (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y) in readRGBA8()
66 res |= getChannel<0>(raw) << RGBA::RED_SHIFT; in readRGBA8()
67 res |= getChannel<1>(raw) << RGBA::GREEN_SHIFT; in readRGBA8()
68 res |= getChannel<2>(raw) << RGBA::BLUE_SHIFT; in readRGBA8()
69 res |= getChannel<3>(raw) << RGBA::ALPHA_SHIFT; in readRGBA8()
71 return RGBA(res); in readRGBA8()
86 RGBA bilinearSampleRGBA8 (const ConstPixelBufferAccess& access, deUint32 u, deUint32 v) in bilinearSampleRGBA8()
106 …getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), getChannel<0>(p11)) << RGBA::RED_SHIFT; in bilinearSampleRGBA8()
107 …tChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), getChannel<1>(p11)) << RGBA::GREEN_SHIFT; in bilinearSampleRGBA8()
108 …etChannel<2>(p00), getChannel<2>(p01), getChannel<2>(p10), getChannel<2>(p11)) << RGBA::BLUE_SHIFT; in bilinearSampleRGBA8()
[all …]
DtcuPixelFormat.hpp78 inline RGBA getColorThreshold (void) const in getColorThreshold()
80 return RGBA( in getColorThreshold()
117 inline RGBA convertColor (const RGBA& col) const in convertColor()
119 return RGBA(convertChannel(col.getRed(), redBits), in convertColor()
/external/mesa3d/src/panfrost/lib/
Dpan_format.c138 PAN_V6(ETC2_RGBA8, ETC2_RGBA8, RGBA, L, _T__),
139 PAN_V6(ETC2_SRGBA8, ETC2_RGBA8, RGBA, S, _T__),
143 PAN_V6(ETC2_RGB8A1, ETC2_RGB8A1, RGBA, L, _T__),
144 PAN_V6(ETC2_SRGB8A1, ETC2_RGB8A1, RGBA, S, _T__),
146 PAN_V6(DXT1_RGBA, BC1_UNORM, RGBA, L, _T__),
148 PAN_V6(DXT1_SRGBA, BC1_UNORM, RGBA, S, _T__),
149 PAN_V6(DXT3_RGBA, BC2_UNORM, RGBA, L, _T__),
150 PAN_V6(DXT3_SRGBA, BC2_UNORM, RGBA, S, _T__),
151 PAN_V6(DXT5_RGBA, BC3_UNORM, RGBA, L, _T__),
152 PAN_V6(DXT5_SRGBA, BC3_UNORM, RGBA, S, _T__),
[all …]
/external/deqp/modules/internal/
DditImageCompareTests.cpp48 …dst.setStorage(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), tmp.g… in loadImageRGBA8()
114 …Ctx, const char* name, const char* refImg, const char* cmpImg, const tcu::RGBA& threshold, bool ex… in BilinearCompareCase()
153 const tcu::RGBA m_threshold;
193 …(m_testCtx, "identical", "cube_ref.png", "cube_ref.png", tcu::RGBA(0,0,0,0), true)); in init()
194 … "empty_to_white", "empty_256x256.png", "white_256x256.png", tcu::RGBA(7,7,7,2), false)); in init()
195 … "white_to_empty", "white_256x256.png", "empty_256x256.png", tcu::RGBA(7,7,7,2), false)); in init()
196 …se(m_testCtx, "cube", "cube_ref.png", "cube_cmp.png", tcu::RGBA(7,7,7,2), false)); in init()
197 …m_testCtx, "cube_2", "cube_2_ref.png", "cube_2_cmp.png", tcu::RGBA(7,7,7,2), false)); in init()
198 …cube_sphere", "cube_sphere_ref.png", "cube_sphere_cmp.png", tcu::RGBA(7,7,7,2), false)); in init()
199 …Ctx, "cube_nmap", "cube_nmap_ref.png", "cube_nmap_cmp.png", tcu::RGBA(7,7,7,2), false)); in init()
[all …]
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderImageLoadStoreTests.cpp91 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break; in getShaderImageLayoutQualifier()
397 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT), in image_store()
398 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::HALF_FLOAT), in image_store()
400 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), in image_store()
401 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SNORM_INT8), in image_store()
403 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32), in image_store()
404 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT16), in image_store()
405 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT8), in image_store()
408 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32), in image_store()
409 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT16), in image_store()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.hpp261 tcu::RGBA inputColors[4];
262 tcu::RGBA outputColors[4];
290 InstanceContext (const tcu::RGBA (&inputs)[4],
291 const tcu::RGBA (&outputs)[4],
363 void getDefaultColors (tcu::RGBA (&colors)[4]);
365 void getHalfColorsFullAlpha (tcu::RGBA (&colors)[4]);
367 void getInvertedDefaultColors (tcu::RGBA (&colors)[4]);
386 const tcu::RGBA (&inputColors)[4],
387 const tcu::RGBA (&outputColors)[4],
402 const tcu::RGBA (&inputColors)[4], in createInstanceContext()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawSimpleTest.cpp66 …m_data.push_back(VertexElementData(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), … in SimpleDraw()
67 …m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), … in SimpleDraw()
74 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw()
75 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw()
76 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw()
77 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw()
78 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw()
79 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw()
82 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw()
83 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw()
[all …]
DvktDrawIndirectTest.cpp157 …m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), … in setVertexBuffer()
162 …m_data.push_back(VertexElementData(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer()
163 …m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer()
168 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer()
169 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer()
170 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer()
171 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer()
172 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer()
173 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer()
176 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in setVertexBuffer()
[all …]
/external/deqp/modules/gles3/functional/
Des3fColorClearTest.cpp40 using tcu::RGBA;
90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo()
97 tcu::RGBA m_color;
149 RGBA clearCol(r, g, b, a); in iterate()
186 tcu::RGBA spanColor; in iterate()
200 tcu::RGBA clearCol = op.m_color; in iterate()
236 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate()
237 RGBA matchColor(0, 255, 0, 255); in iterate()
238 RGBA diffColor(255, 0, 0, 255); in iterate()
239 RGBA maxDiff(0, 0, 0, 0); in iterate()
[all …]
Des3fShaderFragDataTests.cpp82 …leColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA thresh… in compareSingleColor()
93 const tcu::RGBA resultColor = surface.getPixel(x, y); in compareSingleColor()
219 …const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate()
225 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold); in iterate()
328 …const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu… in iterate()
332 gl.clearBufferfv(GL_COLOR, 0, tcu::RGBA::red().toVec().getPtr()); in iterate()
333 gl.clearBufferfv(GL_COLOR, 1, tcu::RGBA::red().toVec().getPtr()); in iterate()
352 if (!compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold)) in iterate()
Des3fPrerequisiteTests.cpp36 using tcu::RGBA;
88 RGBA m_clearColor;
234 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate()
235 RGBA matchColor(0, 255, 0, 255); in iterate()
236 RGBA diffColor(255, 0, 0, 255); in iterate()
243 RGBA resRGBA = resImage.getPixel(i, j); in iterate()
244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
/external/deqp/modules/gles2/functional/
Des2fColorClearTest.cpp40 using tcu::RGBA;
90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo()
97 tcu::RGBA m_color;
149 RGBA clearCol(r, g, b, a); in iterate()
186 tcu::RGBA spanColor; in iterate()
200 tcu::RGBA clearCol = op.m_color; in iterate()
236 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate()
237 RGBA matchColor(0, 255, 0, 255); in iterate()
238 RGBA diffColor(255, 0, 0, 255); in iterate()
239 RGBA maxDiff(0, 0, 0, 0); in iterate()
[all …]
Des2fPrerequisiteTests.cpp36 using tcu::RGBA;
88 RGBA m_clearColor;
234 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate()
235 RGBA matchColor(0, 255, 0, 255); in iterate()
236 RGBA diffColor(255, 0, 0, 255); in iterate()
243 RGBA resRGBA = resImage.getPixel(i, j); in iterate()
244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateGeneralTests.cpp64 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StateSwitchTestInstance()
65 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in StateSwitchTestInstance()
66 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec… in StateSwitchTestInstance()
67 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StateSwitchTestInstance()
156 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in BindOrderTestInstance()
157 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in BindOrderTestInstance()
158 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec… in BindOrderTestInstance()
159 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in BindOrderTestInstance()
252 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StatePersistenceTestInstance()
253 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in StatePersistenceTestInstance()
[all …]
DvktDynamicStateRSTests.cpp367 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec()… in DepthBiasParamTestInstance()
368 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec())… in DepthBiasParamTestInstance()
369 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec(… in DepthBiasParamTestInstance()
370 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec()… in DepthBiasParamTestInstance()
372 …m_data.push_back(PositionColorVertex(tcu::Vec4(-0.5f, 0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in DepthBiasParamTestInstance()
373 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in DepthBiasParamTestInstance()
374 …m_data.push_back(PositionColorVertex(tcu::Vec4(-0.5f, -0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec… in DepthBiasParamTestInstance()
375 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.5f, -0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in DepthBiasParamTestInstance()
377 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::red().toVec())… in DepthBiasParamTestInstance()
378 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::red().toVec())); in DepthBiasParamTestInstance()
[all …]
DvktDynamicStateDSTests.cpp396 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance()
397 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, 1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance()
398 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 0.375f, 1.0f), tcu::RGBA::green().toV… in DepthBoundsParamTestInstance()
399 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, -1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance()
401 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, 1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance()
402 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance()
403 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, -1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance()
404 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance()
406 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in DepthBoundsParamTestInstance()
407 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec())… in DepthBoundsParamTestInstance()
[all …]
/external/deqp/framework/opengl/
DgluTextureUtil.cpp79 case TextureFormat::RGBA: format = isInt ? GL_RGBA_INTEGER : GL_RGBA; break; in getTransferFormat()
150 case FMT_CASE(RGBA, UNORM_SHORT_5551): return GL_RGB5_A1; in getInternalFormat()
151 case FMT_CASE(RGBA, UNORM_SHORT_4444): return GL_RGBA4; in getInternalFormat()
156 case FMT_CASE(RGBA, FLOAT): return GL_RGBA32F; in getInternalFormat()
157 case FMT_CASE(RGBA, SIGNED_INT32): return GL_RGBA32I; in getInternalFormat()
158 case FMT_CASE(RGBA, UNSIGNED_INT32): return GL_RGBA32UI; in getInternalFormat()
159 case FMT_CASE(RGBA, UNORM_INT16): return GL_RGBA16; in getInternalFormat()
160 case FMT_CASE(RGBA, SNORM_INT16): return GL_RGBA16_SNORM; in getInternalFormat()
161 case FMT_CASE(RGBA, HALF_FLOAT): return GL_RGBA16F; in getInternalFormat()
162 case FMT_CASE(RGBA, SIGNED_INT16): return GL_RGBA16I; in getInternalFormat()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_formats.c45 #define RGBA _ISL_SWIZZLE(RED, GREEN, BLUE, ALPHA) macro
62 swiz_fmt1(__vk_fmt, __hw_fmt, RGBA)
67 { .isl_format = __hw_fmt, .swizzle = RGBA, \
79 { .isl_format = __hw_fmt, .swizzle = RGBA, \
91 { .isl_format = __fmt1, .swizzle = RGBA, \
95 { .isl_format = __fmt2, .swizzle = RGBA, \
343 y_plane(0, ISL_FORMAT_YCRCB_SWAPUV, RGBA, _ISL_SWIZZLE(BLUE, GREEN, RED, ZERO), 1, 1)),
345 … y_plane(0, ISL_FORMAT_YCRCB_SWAPUVY, RGBA, _ISL_SWIZZLE(BLUE, GREEN, RED, ZERO), 1, 1)),
347 y_plane(0, ISL_FORMAT_R8_UNORM, RGBA, _ISL_SWIZZLE(GREEN, ZERO, ZERO, ZERO), 1, 1),
348 chroma_plane(1, ISL_FORMAT_R8_UNORM, RGBA, _ISL_SWIZZLE(BLUE, ZERO, ZERO, ZERO), 2, 2),
[all …]
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedBlending.cpp137 tcu::RGBA expected[] = { in iterate()
139 tcu::RGBA(static_cast<unsigned int>(background.x() * 255), in iterate()
144 tcu::RGBA(static_cast<unsigned int>(background.x() * 255), in iterate()
149 tcu::RGBA( in iterate()
166 tcu::RGBA(static_cast<unsigned int>((background.x() - colors[3].x()) * 255), in iterate()
236 tcu::RGBA epsilon = GetEpsilon(); in iterate()
241 …tcu::TextureLevel textureLevel(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UN… in iterate()
370 tcu::RGBA DrawBuffersIndexedBlending::GetEpsilon() in GetEpsilon()
384 return tcu::RGBA(epsilon.x(), epsilon.y(), epsilon.z(), epsilon.w()); in GetEpsilon()
387 bool DrawBuffersIndexedBlending::VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expecte… in VerifyImg()
[all …]
DesextcDrawBuffersIndexedColorMasks.cpp206 tcu::RGBA epsilon = GetEpsilon(); in iterate()
222 tcu::RGBA expected(e.x(), e.y(), e.z(), e.w()); in iterate()
226 …tcu::TextureLevel textureLevel(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UN… in iterate()
246 tcu::RGBA expected(e.x(), e.y(), e.z(), e.w()); in iterate()
249 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32), kSize, kSize); in iterate()
268 tcu::RGBA expected(e.x(), e.y(), e.z(), e.w()); in iterate()
271 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32), kSize, kSize); in iterate()
404 tcu::RGBA DrawBuffersIndexedColorMasks::GetEpsilon() in GetEpsilon()
418 return tcu::RGBA(epsilon.x(), epsilon.y(), epsilon.z(), epsilon.w()); in GetEpsilon()
421 bool DrawBuffersIndexedColorMasks::VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expec… in VerifyImg()
[all …]
/external/mesa3d/docs/_extra/specs/OLD/
DMESA_packed_depth_stencil.spec92 RGBA Color R, G, B, A components
116 UNSIGNED_SHORT_4_4_4_4 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
117 UNSIGNED_SHORT_4_4_4_4_REV ushort 4 RGBA,BGRA
118 UNSIGNED_SHORT_5_5_5_1 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
119 UNSIGNED_SHORT_1_5_5_5_REV ushort 4 RGBA,BGRA
120 UNSIGNED_INT_8_8_8_8 uint 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
121 UNSIGNED_INT_8_8_8_8_REV uint 4 RGBA,BGRA
122 UNSIGNED_INT_10_10_10_2 uint 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
123 UNSIGNED_INT_2_10_10_10_REV uint 4 RGBA,BGRA
178 RGBA red green blue alpha

12345678910>>...19