/external/mesa3d/src/mesa/main/ |
H A D | clip.c | 56 GLfloat equation[4]; local 64 equation[0] = (GLfloat) eq[0]; 65 equation[1] = (GLfloat) eq[1]; 66 equation[2] = (GLfloat) eq[2]; 67 equation[3] = (GLfloat) eq[3]; 70 * The equation is transformed by the transpose of the inverse of the 80 _mesa_transform_vector( equation, equation, 83 if (TEST_EQ_4V(ctx->Transform.EyeUserPlane[p], equation)) 87 COPY_4FV(ctx->Transform.EyeUserPlane[p], equation); [all...] |
H A D | es1_conversion.c | 54 _mesa_ClipPlanef(GLenum plane, const GLfloat *equation) argument 60 converted_equation[i] = (GLdouble) (equation[i]); 67 _mesa_ClipPlanex(GLenum plane, const GLfixed *equation) argument 73 converted_equation[i] = (GLdouble) (equation[i] / 65536.0); 204 _mesa_GetClipPlanef(GLenum plane, GLfloat *equation) argument 211 equation[i] = (GLfloat) (converted_equation[i]); 216 _mesa_GetClipPlanex(GLenum plane, GLfixed *equation) argument 223 equation[i] = (GLfixed) (converted_equation[i] * 65536);
|
/external/deqp/framework/opengl/simplereference/ |
H A D | sglrReferenceUtils.cpp | 251 rr::BlendEquation mapGLBlendEquation (deUint32 equation) argument 253 switch (equation) 266 rr::BlendEquationAdvanced mapGLBlendEquationAdvanced (deUint32 equation) argument 268 switch (equation)
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fNegativeAdvancedBlendEquationTests.cpp | 81 std::string getShaderLayoutEquation (BlendEquation equation) argument 83 switch (equation) 107 glw::GLenum getEquation (BlendEquation equation) argument 109 switch (equation) 147 std::string generateFragmentShaderSource (NegativeTestContext& ctx, BlendEquation equation) argument 155 << "layout(" << getShaderLayoutEquation(equation) << ") out;\n" 165 glu::ProgramSources generateProgramSources (NegativeTestContext& ctx, BlendEquation equation) argument 169 << glu::FragmentSource(generateFragmentShaderSource(ctx, equation)); 178 ctx.beginSection("GL_INVALID_OPERATION is generated if blending is enabled, and the blend qualifier is different from blend_support_all_equations and does not match the blend equation.");
|
H A D | es31fAdvancedBlendTests.cpp | 89 static const char* getEquationName (glw::GLenum equation) argument 91 switch (equation) 185 const char* getBlendLayoutQualifier (rr::BlendEquationAdvanced equation) argument 206 DE_ASSERT(de::inBounds<int>(equation, 0, rr::BLENDEQUATION_ADVANCED_LAST)); 207 return s_qualifiers[equation]; 210 glu::ProgramSources getBlendProgramSrc (rr::BlendEquationAdvanced equation, glu::RenderContext& renderContext) argument 236 args["SUPPORT_QUALIFIER"] = getBlendLayoutQualifier(equation);
|
H A D | es31fDrawBuffersIndexedTests.cpp | 591 const rr::BlendEquationAdvanced equation = mapGLBlendEquationAdvanced(state.blendEq->get<BlendEq>()); local 594 fragOps.blendEquationAdvaced = equation; 598 const rr::BlendEquation equation = mapGLBlendEquation(state.blendEq->get<BlendEq>()); local 601 fragOps.blendRGBState.equation = equation; 602 fragOps.blendAState.equation = equation; 610 fragOps.blendRGBState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().rgb); 611 fragOps.blendAState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().alpha); 1072 log << TestLog::Message << "Set blend equation [all...] |
H A D | es31fFboSRGBWriteControlTests.cpp | 288 deUint32 equation; member in struct:deqp::gles31::Functional::__anon5345::BlendConfig 298 blendConfigs[0].equation = GL_FUNC_ADD; 299 blendConfigs[1].equation = GL_FUNC_ADD; 300 blendConfigs[2].equation = GL_FUNC_ADD; 301 blendConfigs[3].equation = GL_FUNC_ADD; 313 blendConfigs[4].equation = GL_FUNC_SUBTRACT; 314 blendConfigs[5].equation = GL_FUNC_SUBTRACT; 315 blendConfigs[6].equation = GL_FUNC_SUBTRACT; 316 blendConfigs[7].equation = GL_FUNC_SUBTRACT; 328 blendConfigs[8].equation 1197 std::string equation, src, dst; local [all...] |
/external/deqp/modules/glshared/ |
H A D | glsInteractionTestUtil.hpp | 45 deUint32 equation; member in struct:deqp::gls::InteractionTestUtil::BlendState 50 : equation (0)
|
/external/skia/src/gpu/effects/ |
H A D | GrCustomXfermode.cpp | 54 static bool can_use_hw_blend_equation(GrBlendEquation equation, argument 60 return false; // LCD coverage must be applied after the blend equation. 62 if (caps.canUseAdvancedBlendEquation(equation)) { 259 The general SVG blend equation is defined in the spec as follows: 269 modes, X=Y=Z=1 and this equation reduces to the PDF blend equation.
|
H A D | GrPorterDuffXferProcessor.cpp | 45 constexpr BlendFormula(OutputType primaryOut, OutputType secondaryOut, GrBlendEquation equation, argument 49 , fBlendEquation(equation) 52 , fProps(GetProperties(primaryOut, secondaryOut, equation, srcCoeff, dstCoeff)) {} 87 GrBlendEquation equation() const { function in class:BlendFormula 214 * When there is coverage, the equation with f=coverage is: 234 * When there is coverage and the src coeff is Zero, the equation with f=coverage becomes: 243 * subtract HW blend equation with coeffs of (DC, One). 254 * When there is coverage and the dst coeff is Zero, the equation with f=coverage becomes: 416 blendInfo->fEquation = fBlendFormula.equation(); 849 SkASSERT(kAdd_GrBlendEquation == colorFormula.equation()); [all...] |
/external/skia/src/gpu/glsl/ |
H A D | GrGLSLFragmentShaderBuilder.cpp | 20 static const char* specific_layout_qualifier_name(GrBlendEquation equation) { argument 21 SkASSERT(GrBlendEquationIsAdvanced(equation)); 40 return kLayoutQualifierNames[equation - kFirstAdvancedGrBlendEquation]; 123 void GrGLSLFragmentShaderBuilder::enableAdvancedBlendEquationIfNeeded(GrBlendEquation equation) { argument 124 SkASSERT(GrBlendEquationIsAdvanced(equation)); 134 this->addLayoutQualifier(specific_layout_qualifier_name(equation), kOut_InterfaceQualifier);
|
/external/skqp/src/gpu/effects/ |
H A D | GrCustomXfermode.cpp | 54 static bool can_use_hw_blend_equation(GrBlendEquation equation, argument 60 return false; // LCD coverage must be applied after the blend equation. 62 if (caps.canUseAdvancedBlendEquation(equation)) { 259 The general SVG blend equation is defined in the spec as follows: 269 modes, X=Y=Z=1 and this equation reduces to the PDF blend equation.
|
H A D | GrPorterDuffXferProcessor.cpp | 45 constexpr BlendFormula(OutputType primaryOut, OutputType secondaryOut, GrBlendEquation equation, argument 49 , fBlendEquation(equation) 52 , fProps(GetProperties(primaryOut, secondaryOut, equation, srcCoeff, dstCoeff)) {} 87 GrBlendEquation equation() const { function in class:BlendFormula 214 * When there is coverage, the equation with f=coverage is: 234 * When there is coverage and the src coeff is Zero, the equation with f=coverage becomes: 243 * subtract HW blend equation with coeffs of (DC, One). 254 * When there is coverage and the dst coeff is Zero, the equation with f=coverage becomes: 416 blendInfo->fEquation = fBlendFormula.equation(); 849 SkASSERT(kAdd_GrBlendEquation == colorFormula.equation()); [all...] |
/external/skia/include/gpu/ |
H A D | GrBlend.h | 99 static constexpr bool GrBlendEquationIsAdvanced(GrBlendEquation equation) { argument 100 return equation >= kFirstAdvancedGrBlendEquation; 103 static constexpr bool GrBlendModifiesDst(GrBlendEquation equation, GrBlendCoeff srcCoeff, argument 105 return (kAdd_GrBlendEquation != equation && kReverseSubtract_GrBlendEquation != equation) || 112 * For "add" and "reverse subtract" the blend equation with f=coverage is: 136 static constexpr bool GrBlendAllowsCoverageAsAlpha(GrBlendEquation equation, argument 139 return GrBlendEquationIsAdvanced(equation) || 140 !GrBlendModifiesDst(equation, srcCoeff, dstCoeff) || 141 ((kAdd_GrBlendEquation == equation || kReverseSubtract_GrBlendEquatio [all...] |
/external/skqp/include/gpu/ |
H A D | GrBlend.h | 99 static constexpr bool GrBlendEquationIsAdvanced(GrBlendEquation equation) { argument 100 return equation >= kFirstAdvancedGrBlendEquation; 103 static constexpr bool GrBlendModifiesDst(GrBlendEquation equation, GrBlendCoeff srcCoeff, argument 105 return (kAdd_GrBlendEquation != equation && kReverseSubtract_GrBlendEquation != equation) || 112 * For "add" and "reverse subtract" the blend equation with f=coverage is: 136 static constexpr bool GrBlendAllowsCoverageAsAlpha(GrBlendEquation equation, argument 139 return GrBlendEquationIsAdvanced(equation) || 140 !GrBlendModifiesDst(equation, srcCoeff, dstCoeff) || 141 ((kAdd_GrBlendEquation == equation || kReverseSubtract_GrBlendEquatio [all...] |
/external/skqp/src/gpu/glsl/ |
H A D | GrGLSLFragmentShaderBuilder.cpp | 32 static const char* specific_layout_qualifier_name(GrBlendEquation equation) { argument 33 SkASSERT(GrBlendEquationIsAdvanced(equation)); 52 return kLayoutQualifierNames[equation - kFirstAdvancedGrBlendEquation]; 206 void GrGLSLFragmentShaderBuilder::enableAdvancedBlendEquationIfNeeded(GrBlendEquation equation) { argument 207 SkASSERT(GrBlendEquationIsAdvanced(equation)); 217 this->addLayoutQualifier(specific_layout_qualifier_name(equation), kOut_InterfaceQualifier);
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
H A D | output.c | 562 BlendEquationToPipe(VdpOutputSurfaceRenderBlendEquation equation) argument 564 switch (equation) {
|
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/ |
H A D | Tween.java | 344 private TweenEquation equation; field in class:Tween 378 equation = null; 418 * Sets the easing equation of the tween. Existing equations are located in 422 * equations. Default equation is Quad.INOUT. 443 this.equation = easeEquation; 739 * Gets the easing equation. 742 return equation; 821 if (target == null || equation == null) return; 856 float t = equation.compute(time/duration);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nouveau_state.c | 62 nouveau_clip_plane(struct gl_context *ctx, GLenum plane, const GLfloat *equation) argument
|
/external/deqp/framework/referencerenderer/ |
H A D | rrFragmentOperations.cpp | 422 switch (blendRGBState.equation) 433 switch (blendAState.equation) 556 void FragmentProcessor::executeAdvancedBlend (BlendEquationAdvanced equation) argument 617 switch (equation)
|
H A D | rrRenderState.hpp | 209 BlendEquation equation; member in struct:rr::BlendState 214 : equation (BLENDEQUATION_ADD)
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fIntegerStateQueryTests.cpp | 1507 virtual void SetBlendEquation (GLenum equation) argument 1509 glBlendEquation(equation); 1526 void SetBlendEquation (GLenum equation) argument 1531 glBlendEquationSeparate(equation, GL_FUNC_ADD); 1535 glBlendEquationSeparate(GL_FUNC_ADD, equation);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fIntegerStateQueryTests.cpp | 1819 virtual void SetBlendEquation (GLenum equation) argument 1821 glBlendEquation(equation); 1837 void SetBlendEquation (GLenum equation) argument 1842 glBlendEquationSeparate(equation, GL_FUNC_ADD); 1846 glBlendEquationSeparate(GL_FUNC_ADD, equation);
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
H A D | libGLES_CM.cpp | 547 void ClipPlanef(GLenum plane, const GLfloat *equation) argument 549 TRACE("(GLenum plane = 0x%X, const GLfloat *equation)", plane); 562 context->setClipPlane(index, equation); 566 void ClipPlanex(GLenum plane, const GLfixed *equation) argument 570 (float)equation[0] / 0x10000, 571 (float)equation[1] / 0x10000, 572 (float)equation[2] / 0x10000, 573 (float)equation[3] / 0x10000,
|
H A D | main.cpp | 175 void ClipPlanef(GLenum plane, const GLfloat *equation); 176 void ClipPlanex(GLenum plane, const GLfixed *equation); 651 GL_API void GL_APIENTRY glClipPlanef(GLenum plane, const GLfloat *equation) argument 653 return es1::ClipPlanef(plane, equation); 656 GL_API void GL_APIENTRY glClipPlanex(GLenum plane, const GLfixed *equation) argument 658 return es1::ClipPlanex(plane, equation);
|