HomeSort by relevance Sort by last modified time
    Searched refs:RGBA (Results 1 - 25 of 239) sorted by null

1 2 3 4 5 6 7 8 910

  /external/deqp/framework/common/
tcuRGBA.hpp 38 class RGBA
57 RGBA (void) { m_value = 0; }
59 RGBA (int r, int g, int b, int a)
68 explicit RGBA (deUint32 val)
73 explicit RGBA (const Vec4& v);
85 bool isBelowThreshold (RGBA thr) const { return (getRed() <= thr.getRed()) && (getGreen() <= thr.getGreen()) && (getBlue() <= thr.getBlue()) && (getAlpha() <= thr.getAlpha()); }
87 static RGBA fromBytes (const deUint8* bytes) { return RGBA(bytes[0], bytes[1], bytes[2], bytes[3]); }
92 bool operator== (const RGBA& v) const { return (m_value == v.m_value); }
93 bool operator!= (const RGBA& v) const { return (m_value != v.m_value);
    [all...]
tcuRGBA.cpp 31 RGBA::RGBA (const Vec4& v)
40 Vec4 RGBA::toVec (void) const
48 IVec4 RGBA::toIVec (void) const
53 RGBA computeAbsDiffMasked (RGBA a, RGBA b, deUint32 cmpMask)
62 if (cmpMask & RGBA::RED_MASK)
64 int ra = (aPacked >> RGBA::RED_SHIFT) & 0xFF;
65 int rb = (bPacked >> RGBA::RED_SHIFT) & 0xFF
    [all...]
tcuBilinearImageCompare.hpp 33 class RGBA;
35 bool bilinearCompare (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA threshold);
tcuSurface.hpp 56 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)
87 inline RGBA Surface::getPixel (int x, int y) const
94 DE_STATIC_ASSERT(RGBA::RED_SHIFT == 0 && RGBA::GREEN_SHIFT == 8 && RGBA::BLUE_SHIFT == 16 && RGBA::ALPHA_SHIFT == 24);
97 return RGBA(*pixAddr);
100 return RGBA(byteAddr[0], byteAddr[1], byteAddr[2], byteAddr[3])
    [all...]
tcuPixelFormat.hpp 64 inline RGBA getColorThreshold (void) const
66 return RGBA(
91 inline RGBA convertColor (const RGBA& col) const
93 return RGBA(convertChannel(col.getRed(), redBits),
tcuBilinearImageCompare.cpp 41 // tcu::RGBA::*_SHIFT values.
61 inline RGBA readRGBA8 (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y)
66 res |= getChannel<0>(raw) << RGBA::RED_SHIFT;
67 res |= getChannel<1>(raw) << RGBA::GREEN_SHIFT;
68 res |= getChannel<2>(raw) << RGBA::BLUE_SHIFT;
69 res |= getChannel<3>(raw) << RGBA::ALPHA_SHIFT;
71 return RGBA(res);
86 RGBA bilinearSampleRGBA8 (const ConstPixelBufferAccess& access, deUint32 u, deUint32 v)
106 res |= interpolateChannel(fx1, fy1, getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), getChannel<0>(p11)) << RGBA::RED_SHIFT;
107 res |= interpolateChannel(fx1, fy1, getChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), getChannel<1>(p11)) << RGBA::GREEN_SHIFT
    [all...]
tcuImageCompare.hpp 32 class RGBA;
47 bool pixelThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& result, const RGBA& threshold, CompareLogMode logMode);
59 bool bilinearCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, CompareLogMode logMode);
  /external/deqp/modules/internal/
ditImageCompareTests.cpp 48 dst.setStorage(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), tmp.getWidth(), tmp.getHeight());
114 BilinearCompareCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const char* cmpImg, const tcu::RGBA& threshold, bool expectedResult)
153 const tcu::RGBA m_threshold;
193 addChild(new BilinearCompareCase(m_testCtx, "identical", "cube_ref.png", "cube_ref.png", tcu::RGBA(0,0,0,0), true));
194 addChild(new BilinearCompareCase(m_testCtx, "empty_to_white", "empty_256x256.png", "white_256x256.png", tcu::RGBA(7,7,7,2), false));
195 addChild(new BilinearCompareCase(m_testCtx, "white_to_empty", "white_256x256.png", "empty_256x256.png", tcu::RGBA(7,7,7,2), false));
196 addChild(new BilinearCompareCase(m_testCtx, "cube", "cube_ref.png", "cube_cmp.png", tcu::RGBA(7,7,7,2), false));
197 addChild(new BilinearCompareCase(m_testCtx, "cube_2", "cube_2_ref.png", "cube_2_cmp.png", tcu::RGBA(7,7,7,2), false));
198 addChild(new BilinearCompareCase(m_testCtx, "cube_sphere", "cube_sphere_ref.png", "cube_sphere_cmp.png", tcu::RGBA(7,7,7,2), false));
199 addChild(new BilinearCompareCase(m_testCtx, "cube_nmap", "cube_nmap_ref.png", "cube_nmap_cmp.png", tcu::RGBA(7,7,7,2), false))
    [all...]
  /external/deqp/modules/gles31/functional/
es31fNegativeShaderImageLoadStoreTests.cpp 101 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break;
407 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT),
408 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::HALF_FLOAT),
410 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8),
411 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SNORM_INT8),
413 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32),
414 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT16),
415 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT8),
418 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32)
    [all...]
  /external/deqp/external/vulkancts/framework/vulkan/
vkImageUtil.cpp 149 case FMT_CASE(RGBA, UNORM_SHORT_4444): return VK_FORMAT_R4G4B4A4_UNORM_PACK16;
150 case FMT_CASE(RGBA, UNORM_SHORT_5551): return VK_FORMAT_R5G5B5A1_UNORM_PACK16;
176 case FMT_CASE(RGBA, UNORM_INT8): return VK_FORMAT_R8G8B8A8_UNORM;
177 case FMT_CASE(RGBA, SNORM_INT8): return VK_FORMAT_R8G8B8A8_SNORM;
178 case FMT_CASE(RGBA, UNSIGNED_INT8): return VK_FORMAT_R8G8B8A8_UINT;
179 case FMT_CASE(RGBA, SIGNED_INT8): return VK_FORMAT_R8G8B8A8_SINT;
182 case FMT_CASE(RGBA, UNORM_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_UNORM_PACK32;
183 case FMT_CASE(RGBA, SNORM_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_SNORM_PACK32;
184 case FMT_CASE(RGBA, UNSIGNED_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_UINT_PACK32;
185 case FMT_CASE(RGBA, SIGNED_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_SINT_PACK32
    [all...]
  /external/deqp/modules/gles2/functional/
es2fColorClearTest.cpp 40 using tcu::RGBA;
90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color)
97 tcu::RGBA m_color;
149 RGBA clearCol(r, g, b, a);
186 tcu::RGBA spanColor;
200 tcu::RGBA clearCol = op.m_color;
236 RGBA colorThreshold = pixelFormat.getColorThreshold();
237 RGBA matchColor(0, 255, 0, 255);
238 RGBA diffColor(255, 0, 0, 255);
239 RGBA maxDiff(0, 0, 0, 0)
    [all...]
es2fPrerequisiteTests.cpp 36 using tcu::RGBA;
88 RGBA m_clearColor;
234 RGBA colorThreshold = pixelFormat.getColorThreshold();
235 RGBA matchColor(0, 255, 0, 255);
236 RGBA diffColor(255, 0, 0, 255);
243 RGBA resRGBA = resImage.getPixel(i, j);
244 RGBA refRGBA = refImage.getPixel(i, j);
es2fShaderFragDataTests.cpp 64 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold)
75 const tcu::RGBA resultColor = surface.getPixel(x, y);
201 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1);
207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold);
es2fDitheringTests.cpp 108 bool checkColor (const tcu::Vec4& inputClr, const tcu::RGBA& renderedClr, bool logErrors) const;
168 bool DitheringCase::checkColor (const Vec4& inputClr, const tcu::RGBA& renderedClr, const bool logErrors) const
294 errorMask.setPixel(x, y, tcu::RGBA::red());
303 errorMask.setPixel(x, y, tcu::RGBA::green());
324 tcu::RGBA prevConstantDirectionPix;
329 const tcu::RGBA clr = renderedImg.getPixel(x, y);
405 errorMask.setPixel(x, y, tcu::RGBA::red());
414 errorMask.setPixel(x, y, tcu::RGBA::green());
429 const tcu::RGBA renderedClr00 = renderedImg.getPixel(0, 0);
435 const tcu::RGBA curClr = renderedImg.getPixel(x, y)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fColorClearTest.cpp 40 using tcu::RGBA;
90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color)
97 tcu::RGBA m_color;
149 RGBA clearCol(r, g, b, a);
186 tcu::RGBA spanColor;
200 tcu::RGBA clearCol = op.m_color;
236 RGBA colorThreshold = pixelFormat.getColorThreshold();
237 RGBA matchColor(0, 255, 0, 255);
238 RGBA diffColor(255, 0, 0, 255);
239 RGBA maxDiff(0, 0, 0, 0)
    [all...]
es3fShaderFragDataTests.cpp 64 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold)
75 const tcu::RGBA resultColor = surface.getPixel(x, y);
201 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1);
207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold);
299 gl.clearBufferfv(GL_COLOR, 0, tcu::RGBA::red().toVec().getPtr());
300 gl.clearBufferfv(GL_COLOR, 1, tcu::RGBA::red().toVec().getPtr());
319 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1)
    [all...]
es3fPrerequisiteTests.cpp 36 using tcu::RGBA;
88 RGBA m_clearColor;
234 RGBA colorThreshold = pixelFormat.getColorThreshold();
235 RGBA matchColor(0, 255, 0, 255);
236 RGBA diffColor(255, 0, 0, 255);
243 RGBA resRGBA = resImage.getPixel(i, j);
244 RGBA refRGBA = refImage.getPixel(i, j);
  /external/deqp/external/vulkancts/modules/vulkan/draw/
vktDrawSimpleTest.cpp 68 m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
69 m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
70 m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
71 m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
72 m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
73 m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
74 m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
75 m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
76 m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
79 m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()))
    [all...]
vktDrawIndirectTest.cpp 109 m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
110 m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
111 m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
112 m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
113 m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
114 m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
115 m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
116 m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
117 m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()));
120 m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()))
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
vktSpvAsmInstructionTests.cpp 74 using tcu::RGBA;
    [all...]
  /external/skia/src/gpu/
GrSwizzle.h 14 /** Represents a rgba swizzle. It can be converted either into a string or a eight bit int.
19 GrSwizzle() { *this = RGBA(); }
67 static const GrSwizzle& RGBA() {
68 static GrSwizzle gRGBA("rgba");
90 return RGBA();
99 return RGBA();
  /external/deqp/framework/egl/
egluConfigFilter.hpp 63 tcu::RGBA colorBits (void) const { return tcu::RGBA(redSize(), greenSize(), blueSize(), alphaSize()); }
  /external/mesa3d/docs/OLD/
MESA_packed_depth_stencil.spec 92 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 alph
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
vktDynamicStateGeneralTests.cpp 59 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
60 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
61 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
62 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
164 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
165 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
166 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
167 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
273 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
274 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()))
    [all...]
  /external/deqp/framework/opengl/
gluTextureUtil.cpp 79 case TextureFormat::RGBA: format = isInt ? GL_RGBA_INTEGER : GL_RGBA; break;
150 case FMT_CASE(RGBA, UNORM_SHORT_5551): return GL_RGB5_A1;
151 case FMT_CASE(RGBA, UNORM_SHORT_4444): return GL_RGBA4;
156 case FMT_CASE(RGBA, FLOAT): return GL_RGBA32F;
157 case FMT_CASE(RGBA, SIGNED_INT32): return GL_RGBA32I;
158 case FMT_CASE(RGBA, UNSIGNED_INT32): return GL_RGBA32UI;
159 case FMT_CASE(RGBA, UNORM_INT16): return GL_RGBA16;
160 case FMT_CASE(RGBA, SNORM_INT16): return GL_RGBA16_SNORM;
161 case FMT_CASE(RGBA, HALF_FLOAT): return GL_RGBA16F;
162 case FMT_CASE(RGBA, SIGNED_INT16): return GL_RGBA16I
    [all...]

Completed in 546 milliseconds

1 2 3 4 5 6 7 8 910