/external/deqp/modules/gles2/accuracy/ |
es2aTextureMipmapTests.cpp | 167 deUint32 color = 0xff000000 | rgb; local 170 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), toVec4(tcu::RGBA(color))); 477 deUint32 color = 0xff000000 | rgb; local 480 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::RGBA(color)));
|
/external/deqp/modules/gles2/functional/ |
es2fShaderInvarianceTests.cpp | 280 const tcu::Vec4 color = (passNdx == 0) ? (red) : (green); local 283 m_testCtx.getLog() << tcu::TestLog::Message << "Drawing position test pattern using shader " << (passNdx+1) << ". Primitive color: " << colorStr << "." << tcu::TestLog::EndMessage; 286 gl.uniform4fv (colorLoc, 1, color.getPtr()); 322 const tcu::Vec4 color = (passNdx == 0) ? (red) : (green); local 327 m_testCtx.getLog() << tcu::TestLog::Message << "Drawing Z-test pattern using shader " << (passNdx+1) << ". Primitive color: " << colorStr << ". DepthFunc: " << depthFuncStr << tcu::TestLog::EndMessage; 330 gl.uniform4fv (colorLoc, 1, color.getPtr()); [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aTextureMipmapTests.cpp | 159 deUint32 color = 0xff000000 | rgb; local 162 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), toVec4(tcu::RGBA(color))); 465 deUint32 color = 0xff000000 | rgb; local 468 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::RGBA(color)));
|
/external/deqp/modules/gles3/functional/ |
es3fFboColorbufferTests.cpp | 169 Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); local 178 glClearBufferfv(GL_COLOR, 0, color.getPtr()); 182 glClearBufferuiv(GL_COLOR, 0, color.cast<deUint32>().getPtr()); 186 glClearBufferiv(GL_COLOR, 0, color.cast<int>().getPtr()); 872 const Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); local 875 clearColorBuffer(fboFormat, color); 938 const Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); local 941 clearColorBuffer(fboFormat, color); 1000 const Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); local [all...] |
es3fFramebufferBlitTests.cpp | 219 const tcu::RGBA color = result.getPixel(destinationArea.x() + dx, destinationArea.y() + dy); local 220 const bool isValidColor = tcu::compareThreshold(color, cellColorA, threshold) || tcu::compareThreshold(color, cellColorB, threshold); 247 const tcu::RGBA color = result.getPixel(destinationArea.x() + dx, destinationArea.y()); local 249 if (tcu::compareThreshold(color, cellColorA, threshold)) 251 else if (tcu::compareThreshold(color, cellColorB, threshold)) 258 const tcu::RGBA color = result.getPixel(destinationArea.x(), destinationArea.y() + dy); local 260 if (tcu::compareThreshold(color, cellColorA, threshold)) 262 else if (tcu::compareThreshold(color, cellColorB, threshold)) 273 const tcu::RGBA color = result.getPixel(destinationArea.x() + dx, destinationArea.y() + dy) local [all...] |
es3fPixelBufferObjectTests.cpp | 352 GLint color[4] = { (GLint)r, (GLint)g, (GLint)b, (GLint)a }; local 354 GLU_CHECK_CALL(glClearBufferiv(GL_COLOR, 0, color)); 360 GLuint color[4] = { (GLuint)r, (GLuint)g, (GLuint)b, (GLuint)a }; local 362 GLU_CHECK_CALL(glClearBufferuiv(GL_COLOR, 0, color)); 368 GLfloat color[4] = { (GLfloat)r, (GLfloat)g, (GLfloat)b, (GLfloat)a }; local 370 GLU_CHECK_CALL(glClearBufferfv(GL_COLOR, 0, color)); 606 "Simple read pixels test with color clears",
|
es3fShaderInvarianceTests.cpp | 280 const tcu::Vec4 color = (passNdx == 0) ? (red) : (green); local 283 m_testCtx.getLog() << tcu::TestLog::Message << "Drawing position test pattern using shader " << (passNdx+1) << ". Primitive color: " << colorStr << "." << tcu::TestLog::EndMessage; 286 gl.uniform4fv (colorLoc, 1, color.getPtr()); 322 const tcu::Vec4 color = (passNdx == 0) ? (red) : (green); local 327 m_testCtx.getLog() << tcu::TestLog::Message << "Drawing Z-test pattern using shader " << (passNdx+1) << ". Primitive color: " << colorStr << ". DepthFunc: " << depthFuncStr << tcu::TestLog::EndMessage; 330 gl.uniform4fv (colorLoc, 1, color.getPtr()); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fMultisampleTests.cpp | 173 void renderTriangle (const Vec3& p0, const Vec3& p1, const Vec3& p2, const Vec4& color) const; 175 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& color) const; 177 void renderQuad (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec2& p3, const Vec4& color) const; 337 void DefaultFBOMultisampleCase::renderTriangle (const Vec3& p0, const Vec3& p1, const Vec3& p2, const Vec4& color) const 339 renderTriangle(p0, p1, p2, color, color, color); 350 void DefaultFBOMultisampleCase::renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& color) const 352 renderTriangle(p0, p1, p2, color, color, color) 494 const Vec4 color = Vec4(0.4f + (float)triNdx\/(float)numTriangles*0.6f, local [all...] |
es31fTextureMultisampleTests.cpp | 948 const tcu::RGBA color = result.getPixel(x, y); local [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/materials/ |
MaterialContext.java | 155 float[] color = new float[] { ((Number) mtexAndTex[0].getFieldValue("r")).floatValue(), local 160 texture = textureBlender.blend(diffuseColorArray, texture, color, colfac, blendType, negateTexture, blenderContext); 178 if(sortedTextures.size() > 0) {//texutre covers the material color 295 * This method returns the diffuse color. 299 * @return the diffuse color 305 // diffuse color 333 * This method returns a specular color used by the material. 337 * @return a specular color used by the material 404 * @return a copy of diffuse color 418 * @return a copy of specular color [all...] |
MaterialHelper.java | 219 if(texture.getType()==Type.TwoDimensional) {//so far only 2D textures can be mapped in other way than color
249 result.setColor("Color", materialContext.diffuseColor);
336 * The texture and glow color are being copied.
377 // copying glow color
380 ColorRGBA color = (ColorRGBA) glowColor.getValue();
local 381 result.setParam("GlowColor", VarType.Vector3, color);
444 * @return a list of vertices colors, each color belongs to a single vertex
473 * red value of the color
475 * green value of the color
477 * blue value of the color
[all...] |
/external/jmonkeyengine/engine/src/test/jme3test/batching/ |
TestBatchNodeCluster.java | 82 mat1.setColor("Color", ColorRGBA.White); 86 mat2.setColor("Color", ColorRGBA.White); 90 mat3.setColor("Color", ColorRGBA.White); 94 mat4.setColor("Color", ColorRGBA.White); 126 m.setColor("Color", ColorRGBA.Blue); 178 ColorRGBA color = ColorRGBA.Black; local 181 color = ColorRGBA.Orange; 183 color = ColorRGBA.Blue; 185 color = ColorRGBA.Brown; 187 color = ColorRGBA.Magenta [all...] |
/external/libdrm/tests/modetest/ |
buffers.c | 760 struct color_yuv color = local 764 y_mem[x] = color.y; 765 u_mem[x/xsub*cs] = color.u; 766 v_mem[x/xsub*cs] = color.v; 795 struct color_yuv color = local 799 y_mem[2*x] = color.y; 800 c_mem[2*x+u] = color.u; 801 y_mem[2*x+2] = color.y; 802 c_mem[2*x+v] = color.v; 823 uint16_t color local 848 struct color_rgb24 color = local 872 uint32_t color = local [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_compositor.c | 59 struct ureg_src vpos, vtex, color; local 70 color = ureg_DECL_vs_input(shader, 2); 81 * o_color = color 85 ureg_MOV(shader, o_color, color); 315 struct ureg_src tc, color, sampler; local 323 color = ureg_DECL_fs_input(shader, TGSI_SEMANTIC_COLOR, VS_O_COLOR, TGSI_INTERPOLATE_LINEAR); 332 ureg_MUL(shader, fragment, ureg_src(texel), color); 752 vl_compositor_set_clear_color(struct vl_compositor_state *s, union pipe_color_union *color) 755 assert(color); 757 s->clear_color = *color; [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
d3d11gears.cpp | 52 float4 color; member in struct:gear 291 cbd.diffuse = gears[i].color; 292 cbd.specular = gears[i].color; 512 gears[0].color = vec(0.8f, 0.1f, 0.0f, 1.0f); 513 gears[1].color = vec(0.0f, 0.8f, 0.2f, 1.0f); 514 gears[2].color = vec(0.2f, 0.2f, 1.0f, 1.0f);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
paint.c | 47 VGfloat color[4]; member in struct:vg_paint::__anon16774 205 memcpy(paint->solid.color, default_color, 241 const VGfloat *color) 243 paint->solid.color[0] = color[0]; 244 paint->solid.color[1] = color[1]; 245 paint->solid.color[2] = color[2]; 246 paint->solid.color[3] = color[3] [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_visitor.cpp | 80 /* Writing gl_FragColor outputs to all color regions. */ 96 /* General color output. */ 1961 fs_reg color = outputs[target]; local 2166 fs_reg color = outputs[0]; local [all...] |
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
wmesa.c | 247 * Clear the color/depth/stencil buffers. 263 if (!ctx->Color.ColorMask[0][0] || 264 !ctx->Color.ColorMask[0][1] || 265 !ctx->Color.ColorMask[0][2] || 266 !ctx->Color.ColorMask[0][3]) { 272 /* setup the clearing color */ 273 const union gl_color_union color = ctx->Color.ClearColor; local 275 UNCLAMPED_FLOAT_TO_UBYTE(col[0], color.f[0]); 276 UNCLAMPED_FLOAT_TO_UBYTE(col[1], color.f[1]) [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_bitmap.c | 94 GLfloat color[4]; member in struct:bitmap_cache 334 float z, const float color[4], 351 float (*vertices)[3][4]; /**< vertex pos + color + texcoord */ 391 vertices[i][1][0] = color[0]; 392 vertices[i][1][1] = color[1]; 393 vertices[i][1][2] = color[2]; 394 vertices[i][1][3] = color[3]; 411 const GLfloat *color) 426 st->ctx->Color._ClampFragmentColor && 432 * primary color from a statevar/constant rather than a varying variable [all...] |
/external/opencv/cv/src/ |
cvinpaint.cpp | 281 int i = 0, j = 0, ii = 0, jj = 0, k, l, q, color = 0; local 303 for (color=0; color<=2; color++) { 352 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color)))*2.0f; 354 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))); 358 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color))); 515 int i = 0, j = 0, ii = 0, jj = 0, k, l, q, color = 0; local [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_fax.cpp | 541 int color = TRUE; local 549 int run = _FaxGetRun(color ? FaxWhiteRunIns : FaxBlackRunIns, src_buf, bitpos, bitsize); 564 if (!color) { 571 color = !color;
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
jp2.h | 195 opj_jp2_color_t color; member in struct:opj_jp2
|
/external/pdfium/core/src/fxge/dib/ |
fx_dib_convert.cpp | 178 FX_DWORD color = cLut[lut_offset]; local 180 _ColorDecode(color, r, g, b); [all...] |
/external/pdfium/fpdfsdk/src/formfiller/ |
FFL_FormFiller.cpp | 377 FX_COLORREF color; local 378 if (m_pWidget->GetFillColor(color)) 380 cp.sBackgroundColor = CPWL_Color(GetRed(color), GetGreen(color), GetBlue(color)); 383 if (m_pWidget->GetBorderColor(color)) 385 cp.sBorderColor = CPWL_Color(GetRed(color), GetGreen(color), GetBlue(color)); 390 if (m_pWidget->GetTextColor(color)) [all...] |
/external/skia/src/core/ |
SkBlitter_RGB16.cpp | 360 #define solid_8_pixels(mask, dst, color) \ 362 if (mask & 0x80) dst[0] = color; \ 363 if (mask & 0x40) dst[1] = color; \ 364 if (mask & 0x20) dst[2] = color; \ 365 if (mask & 0x10) dst[3] = color; \ 366 if (mask & 0x08) dst[4] = color; \ 367 if (mask & 0x04) dst[5] = color; \ 368 if (mask & 0x02) dst[6] = color; \ 369 if (mask & 0x01) dst[7] = color; \ 373 #define SK_BLITBWMASK_ARGS , uint16_t color 405 uint32x4_t color, dev_lo, dev_hi; local 529 SkColor color = paint.getColor(); local 1048 SkColor color = paint.getColor(); local [all...] |