Searched defs:equation (Results 1 - 25 of 28) sorted by relevance

12

/external/mesa3d/src/mesa/main/
H A Dclip.c56 GLfloat equation[4]; local
65 equation[0] = (GLfloat) eq[0];
66 equation[1] = (GLfloat) eq[1];
67 equation[2] = (GLfloat) eq[2];
68 equation[3] = (GLfloat) eq[3];
71 * The equation is transformed by the transpose of the inverse of the
81 _mesa_transform_vector( equation, equation,
84 if (TEST_EQ_4V(ctx->Transform.EyeUserPlane[p], equation))
88 COPY_4FV(ctx->Transform.EyeUserPlane[p], equation);
[all...]
H A Des1_conversion.c60 _es_ClipPlanef(GLenum plane, const GLfloat *equation) argument
66 converted_equation[i] = (GLdouble) (equation[i]);
73 _es_ClipPlanex(GLenum plane, const GLfixed *equation) argument
79 converted_equation[i] = (GLdouble) (equation[i] / 65536.0);
210 _es_GetClipPlanef(GLenum plane, GLfloat *equation) argument
217 equation[i] = (GLfloat) (converted_equation[i]);
222 _es_GetClipPlanex(GLenum plane, GLfixed *equation) argument
229 equation[i] = (GLfixed) (converted_equation[i] * 65536);
H A Ddlist.c9240 exec_GetClipPlane(GLenum plane, GLdouble * equation) argument
9244 CALL_GetClipPlane(ctx->Exec, (plane, equation));
/external/deqp/framework/opengl/simplereference/
H A DsglrReferenceUtils.cpp251 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 Des31fNegativeAdvancedBlendEquationTests.cpp81 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 Des31fAdvancedBlendTests.cpp89 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 Des31fDrawBuffersIndexedTests.cpp591 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...]
/external/deqp/modules/glshared/
H A DglsInteractionTestUtil.hpp45 deUint32 equation; member in struct:deqp::gls::InteractionTestUtil::BlendState
50 : equation (0)
/external/skia/src/gpu/effects/
H A DGrCustomXfermode.cpp55 static bool can_use_hw_blend_equation(GrBlendEquation equation, GrPipelineAnalysisCoverage coverage, argument
61 return false; // LCD coverage must be applied after the blend equation.
63 if (caps.canUseAdvancedBlendEquation(equation)) {
197 The general SVG blend equation is defined in the spec as follows:
207 modes, X=Y=Z=1 and this equation reduces to the PDF blend equation.
/external/skia/src/gpu/glsl/
H A DGrGLSLFragmentShaderBuilder.cpp32 static const char* specific_layout_qualifier_name(GrBlendEquation equation) { argument
33 SkASSERT(GrBlendEquationIsAdvanced(equation));
52 return kLayoutQualifierNames[equation - kFirstAdvancedGrBlendEquation];
209 void GrGLSLFragmentShaderBuilder::enableAdvancedBlendEquationIfNeeded(GrBlendEquation equation) { argument
210 SkASSERT(GrBlendEquationIsAdvanced(equation));
220 this->addLayoutQualifier(specific_layout_qualifier_name(equation), kOut_InterfaceQualifier);
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Doutput.c548 BlendEquationToPipe(VdpOutputSurfaceRenderBlendEquation equation) argument
550 switch (equation) {
/external/skia/include/gpu/
H A DGrBlend.h77 * Given a known blend equation in the form of srcCoeff * srcColor + dstCoeff * dstColor where
177 inline bool GrBlendEquationIsAdvanced(GrBlendEquation equation) { argument
178 return equation >= kFirstAdvancedGrBlendEquation;
195 * For "add" and "reverse subtract" the blend equation with f=coverage is:
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
H A DTween.java344 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 Dnouveau_state.c61 nouveau_clip_plane(struct gl_context *ctx, GLenum plane, const GLfloat *equation) argument
/external/deqp/framework/referencerenderer/
H A DrrFragmentOperations.cpp422 switch (blendRGBState.equation)
433 switch (blendAState.equation)
556 void FragmentProcessor::executeAdvancedBlend (BlendEquationAdvanced equation) argument
617 switch (equation)
H A DrrRenderState.hpp198 BlendEquation equation; member in struct:rr::BlendState
203 : equation (BLENDEQUATION_ADD)
/external/deqp/modules/gles2/functional/
H A Des2fIntegerStateQueryTests.cpp1507 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 Des3fIntegerStateQueryTests.cpp1819 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 DlibGLES_CM.cpp582 void ClipPlanef(GLenum plane, const GLfloat *equation) argument
584 TRACE("(GLenum plane = 0x%X, const GLfloat *equation)", plane);
597 context->setClipPlane(index, equation);
601 void ClipPlanex(GLenum plane, const GLfixed *equation) argument
605 (float)equation[0] / 0x10000,
606 (float)equation[1] / 0x10000,
607 (float)equation[2] / 0x10000,
608 (float)equation[3] / 0x10000,
H A Dmain.cpp175 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);
/external/skia/src/gpu/gl/
H A DGrGLGpu.cpp2878 // tweaked the equation to "add" or "subtract", and the coeffs to (1, 0).
2880 GrBlendEquation equation = blendInfo.fEquation; local
2883 bool blendOff = (kAdd_GrBlendEquation == equation || kSubtract_GrBlendEquation == equation) &&
2894 // Set to any basic blending equation.
2910 if (fHWBlendState.fEquation != equation) {
2911 GL_CALL(BlendEquation(gXfermodeEquation2Blend[equation]));
2912 fHWBlendState.fEquation = equation;
2915 if (GrBlendEquationIsAdvanced(equation)) {
/external/swiftshader/src/OpenGL/libGL/
H A DlibGL.cpp5655 void APIENTRY glClipPlane(GLenum plane, const GLdouble *equation) argument
6220 void APIENTRY glGetClipPlane(GLenum plane, GLdouble *equation) argument
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 487 milliseconds

12