/external/deqp/modules/gles2/accuracy/ |
es2aVaryingInterpolationTests.cpp | 90 Vec4 color = Vec4(r, g, b, 1.0f); local 92 dst.setPixel(color, px, py);
|
/external/deqp/modules/gles2/functional/ |
es2fDefaultVertexAttributeTests.cpp | 434 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying rendered image. Expecting color " << refColor << ", threshold " << colorThreshold << tcu::TestLog::EndMessage; 439 const tcu::RGBA color = scene.getPixel(x, y); local 441 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || 442 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() || 443 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) 448 exampleColor = color; 463 << "Pixel at (" << examplePos.x() << ", " << examplePos.y() << ") color: " << exampleColor
|
es2fDepthRangeTests.cpp | 345 // Visualize by rendering full-screen quads with increasing depth and color. 355 Vec4 color = Vec4(f, f, f, 1.0f); local 365 glUniform4fv(colorLoc, 1, color.getPtr());
|
/external/deqp/modules/gles3/accuracy/ |
es3aVaryingInterpolationTests.cpp | 93 Vec4 color = Vec4(r, g, b, 1.0f); local 95 dst.setPixel(color, px, py);
|
/external/deqp/modules/gles3/functional/ |
es3fDefaultVertexAttributeTests.cpp | 511 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying rendered image. Expecting color " << refColor << ", threshold " << colorThreshold << tcu::TestLog::EndMessage; 516 const tcu::RGBA color = scene.getPixel(x, y); local 518 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || 519 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() || 520 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) 525 exampleColor = color; 540 << "Pixel at (" << examplePos.x() << ", " << examplePos.y() << ") color: " << exampleColor
|
es3fFboTestUtil.cpp | 103 void FlatColorShader::setColor (sglr::Context& context, deUint32 program, const tcu::Vec4& color) 108 context.uniform4fv(location, 1, color.getPtr()); 123 const tcu::Vec4 color (m_uniforms[0].value.f4); 124 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); 125 const tcu::UVec4 uicolor = castVectorSaturate<deUint32>(color); 133 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); 222 const tcu::Vec4 color = gradientMin + (gradientMax-gradientMin) * fv; local 223 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); 224 const tcu::UVec4 uicolor = castVectorSaturate<deUint32>(color); 226 if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); 409 const tcu::Vec4 color = colors[fragNdx] * outScale + outBias; local 547 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias; local 655 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias; local 763 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias; local [all...] |
es3fFragDepthTests.cpp | 361 // Visualize by rendering full-screen quads with increasing depth and color. 380 Vec4 color = Vec4(f, f, f, 1.0f); local 391 gl.uniform4fv(colorLoc, 1, color.getPtr());
|
/external/deqp/modules/gles31/stress/ |
es31sVertexAttributeBindingTests.cpp | 291 << "Color:\n" 443 // In interleaved mode color rg and position zw are the same. Select "good" values for r and g 450 const tcu::Vec4& color = ((x + y) % 2 == 0) ? (colorA) : (colorB); local 465 // copy color to buffer 468 memcpy(&dataBuf[m_spec.bufferOffset + m_spec.colorAttrOffset + m_spec.bufferStride * ((y * GRID_SIZE + x) * 6 + v)], color.getPtr(), sizeof(color));
|
/external/deqp/modules/glshared/ |
glsShaderRenderCase.hpp | 162 tcu::Vec4 color; member in class:deqp::gls::ShaderEvalContext 177 inline void evalCoordsPassthroughX (ShaderEvalContext& c) { c.color.x() = c.coords.x(); } 178 inline void evalCoordsPassthroughXY (ShaderEvalContext& c) { c.color.xy() = c.coords.swizzle(0,1); } 179 inline void evalCoordsPassthroughXYZ (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); } 180 inline void evalCoordsPassthrough (ShaderEvalContext& c) { c.color = c.coords; } 181 inline void evalCoordsSwizzleWZYX (ShaderEvalContext& c) { c.color = c.coords.swizzle(3,2,1,0); }
|
/external/deqp/modules/internal/ |
ditFrameworkTests.cpp | 699 << "color = " << subCase.varying 806 const Vec4 color = interpAccess.getPixel(sampleNdx, x, y); local 807 const UVec4 colorDiff = ulpDiff(color, subCase.varying); 825 << " color ulp diff = " << colorDiff 847 m_testCtx.getLog() << TestLog::Message << "FAIL: Found " << numFailedColorSamples << " invalid color samples!" << TestLog::EndMessage; 856 m_testCtx.getLog() << TestLog::Message << (numCoveredSamples-numFailedColorSamples) << " / " << numCoveredSamples << " color samples passed" << TestLog::EndMessage;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
LineGraph.java | 15 import org.eclipse.swt.graphics.Color; 31 Color color; field in class:LineGraph.GraphItem 34 GraphItem(String title, String description,double value, Color color,boolean display) { 35 this(title, description, value, color); 39 GraphItem(String title, String description, double value, Color color) { 42 this.color= color; [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
MaterialLoader.java | 78 ColorRGBA color = new ColorRGBA(); local 79 color.r = Float.parseFloat(split[0]); 80 color.g = Float.parseFloat(split[1]); 81 color.b = Float.parseFloat(split[2]); 83 color.a = Float.parseFloat(split[3]); 85 return color; 405 mat.setColor("Color", diffuse);
|
/external/linux-tools-perf/src/tools/perf/util/ |
hist.h | 8 #include "color.h" 147 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, member in struct:perf_hpp_fmt
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_rast.c | 106 /* reset pointers to color tile(s) */ 130 * data is tiled differently than color data. 146 * Clear the rasterizer's current color tile. 175 /* Non-gray color. 294 * Convert the color tile from tiled to linear layout. 297 * tiled color buffer to linear layout in the llvmpipe_texture_unmap() 360 uint8_t *color[PIPE_MAX_COLOR_BUFS]; local 364 /* color buffer */ 366 color[i] = lp_rast_get_color_block_pointer(task, i, 380 color, 433 uint8_t *color[PIPE_MAX_COLOR_BUFS]; local 585 uint8_t *color = lp_rast_get_color_block_pointer(task, buf, local [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
gs-test.c | 57 float color[4]; member in struct:vertex 241 ve[1].src_offset = Offset(struct vertex, color); 280 "DCL OUT[1], COLOR[0]\n" 298 "DCL IN[0], COLOR, LINEAR\n" 299 "DCL OUT[0], COLOR\n"
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i830_state.c | 238 if (ctx->Color.ColorLogicOpEnabled) { 244 else if (ctx->Color.BlendEnabled) { 259 i830BlendColor(struct gl_context * ctx, const GLfloat color[4]) 266 UNCLAMPED_FLOAT_TO_UBYTE(r, color[RCOMP]); 267 UNCLAMPED_FLOAT_TO_UBYTE(g, color[GCOMP]); 268 UNCLAMPED_FLOAT_TO_UBYTE(b, color[BCOMP]); 269 UNCLAMPED_FLOAT_TO_UBYTE(a, color[ACOMP]); 295 SRC_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].SrcRGB)) 296 | DST_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].DstRGB)); 298 switch (ctx->Color.Blend[0].EquationRGB) 747 GLuint color = (((GLubyte) (ctx->Fog.Color[0] * 255.0F) << 16) | local [all...] |
/external/mesa3d/src/mesa/program/ |
prog_execute.c | 391 GLfloat color[4]) 405 lodBias, unit, color); 408 machine->FetchTexelLod(ctx, texcoord, lodBias, unit, color); 1651 GLfloat texcoord[4], color[4]; local 1676 GLfloat texcoord[4], color[4], lodBias; local 1703 GLfloat texcoord[4], dtdx[4], dtdy[4], color[4]; local 1716 GLfloat texcoord[4], color[4], lod; local 1732 GLfloat texcoord[4], color[4]; local 1755 GLfloat texcoord[4], color[4]; local [all...] |
/external/opencv/cvaux/src/ |
cv3dtracker.cpp | 84 IplImage *gray_img = NULL; // temporary image for color conversion 138 // The input samples are not required to all have the same size or color 158 // no color conversion required 347 CvScalar color = colors[0]; local 351 color = colors[y % ARRAY_SIZEOF(rgb_colors)]; 364 cvLine(img, prev_pt, pt, color, 1, CV_AA); 369 cvPoint(pt.x + r, pt.y + r), color, 1, CV_AA ); 371 cvPoint(pt.x + r, pt.y - r), color, 1, CV_AA ); 372 cvCircle( img, pt, r+1, color, 1, CV_AA );
|
/external/pdfium/core/src/fpdfdoc/ |
doc_formcontrol.cpp | 362 FX_ARGB color = 0; local 365 return color; 371 color = ArgbEncode(255, (int)g, (int)g, (int)g); 377 color = ArgbEncode(255, (int)r, (int)g, (int)b); 387 color = ArgbEncode(255, (int)(r * 255), (int)(g * 255), (int)(b * 255)); 389 return color;
|
/external/pdfium/core/src/fxge/agg/agg23/ |
fx_agg_driver.cpp | 82 void color(const color_type& c) function in class:agg::renderer_scanline_aa_offset 86 const color_type& color() const function in class:agg::renderer_scanline_aa_offset 225 CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color, 313 final_render.color(agg::gray8(255)); [all...] |
/external/pdfium/fpdfsdk/include/javascript/ |
Field.h | 95 CPWL_Color color; member in struct:CJS_DelayData 204 static void SetFillColor(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int nControlIndex, const CPWL_Color& color); 215 static void SetStrokeColor(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int nControlIndex, const CPWL_Color& color); 217 static void SetTextColor(CPDFSDK_Document* pDocument, const CFX_WideString& swFieldName, int nControlIndex, const CPWL_Color& color); 252 void AddDelay_Color(enum FIELD_PROP prop, const CPWL_Color& color);
|
/external/selinux/policycoreutils/secon/ |
secon.c | 91 " --color -C Output using ANSI color codes (requires -P).\n" 173 {"color", no_argument, NULL, 'C'}, 559 struct context_color_t *color) 568 fg = disp__color_to_ansi(color->user_fg); 569 bg = disp__color_to_ansi(color->user_bg) + 10; 571 fg = disp__color_to_ansi(color->role_fg); 572 bg = disp__color_to_ansi(color->role_bg) + 10; 574 fg = disp__color_to_ansi(color->type_fg); 575 bg = disp__color_to_ansi(color->type_bg) + 10 629 struct context_color_t color = { .valid = 0 }; local [all...] |
/external/skia/gm/ |
beziereffects.cpp | 146 static const GrColor color = 0xff000000; variable 164 gp.reset(GrCubicEffect::Create(color, SkMatrix::I(), et, 226 geometry.fColor = color; 294 static const GrColor color = 0xff000000; variable 312 gp.reset(GrConicEffect::Create(color, SkMatrix::I(), et, 371 geometry.fColor = color; 535 static const GrColor color = 0xff000000; variable 552 gp.reset(GrQuadEffect::Create(color, SkMatrix::I(), et, 610 geometry.fColor = color;
|
degeneratesegments.cpp | 192 void drawPath(SkPath& path, SkCanvas* canvas, SkColor color, 201 paint.setColor(color); 320 SkColor color = 0xff007000; local 337 this->drawPath(path, canvas, color, rect, 349 labelPaint.setColor(color);
|
/external/skia/tools/ |
filtermain.cpp | 33 // Is the supplied paint simply a color? 50 // where the saveLayer's color can be moved into the drawBitmapRect 97 SkColor color = saveLayerPaint->getColor(); local 98 int a0 = SkColorGetA(color); 100 color = dbmrPaint->getColor(); 101 int a1 = SkColorGetA(color); 106 SkColor newColor = SkColorSetA(color, newA); 122 // where the saveLayer's color can be moved into the drawBitmapRect 439 SkColor color = 0xFF000000; local 444 color = saveLayerPaint0->getColor() [all...] |