Searched refs:equation (Results 1 - 25 of 34) sorted by relevance

12

/external/mesa3d/src/mesa/main/
H A Dclip.h42 _mesa_ClipPlane( GLenum plane, const GLdouble *equation );
45 _mesa_GetClipPlane( GLenum plane, GLdouble *equation );
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.h11 _es_ClipPlanef(GLenum plane, const GLfloat *equation);
14 _es_ClipPlanex(GLenum plane, const GLfixed *equation);
46 _es_GetClipPlanef(GLenum plane, GLfloat *equation);
49 _es_GetClipPlanex(GLenum plane, GLfixed *equation);
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);
/external/deqp/framework/opengl/simplereference/
H A DsglrReferenceUtils.hpp47 rr::BlendEquation mapGLBlendEquation (deUint32 equation);
48 rr::BlendEquationAdvanced mapGLBlendEquationAdvanced (deUint32 equation);
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/glshared/
H A DglsInteractionTestUtil.hpp45 deUint32 equation; member in struct:deqp::gls::InteractionTestUtil::BlendState
50 : equation (0)
H A DglsInteractionTestUtil.cpp194 state.blendRGBState.equation = rnd.choose<deUint32>(DE_ARRAY_BEGIN(blendEquationsES2), DE_ARRAY_END(blendEquationsES2));
198 state.blendAState.equation = rnd.choose<deUint32>(DE_ARRAY_BEGIN(blendEquationsES2), DE_ARRAY_END(blendEquationsES2));
204 state.blendRGBState.equation = rnd.choose<deUint32>(DE_ARRAY_BEGIN(blendEquations), DE_ARRAY_END(blendEquations));
208 state.blendAState.equation = rnd.choose<deUint32>(DE_ARRAY_BEGIN(blendEquations), DE_ARRAY_END(blendEquations));
H A DglsFragOpInteractionCase.cpp264 ctx.blendEquationSeparate(state.blendRGBState.equation, state.blendAState.equation);
/external/skia/src/gpu/gl/builders/
H A DGrGLFragmentShaderBuilder.cpp39 static const char* specific_layout_qualifier_name(GrBlendEquation equation) { argument
40 SkASSERT(GrBlendEquationIsAdvanced(equation));
59 return kLayoutQualifierNames[equation - kFirstAdvancedGrBlendEquation];
227 void GrGLFragmentShaderBuilder::enableAdvancedBlendEquationIfNeeded(GrBlendEquation equation) { argument
228 SkASSERT(GrBlendEquationIsAdvanced(equation));
238 this->addLayoutQualifier(specific_layout_qualifier_name(equation), kOut_InterfaceQualifier);
/external/deqp/framework/referencerenderer/
H A DrrRenderState.hpp198 BlendEquation equation; member in struct:rr::BlendState
203 : equation (BLENDEQUATION_ADD)
H A DrrFragmentOperations.hpp143 void executeAdvancedBlend (BlendEquationAdvanced equation);
H A DrrFragmentOperations.cpp421 switch (blendRGBState.equation)
432 switch (blendAState.equation)
555 void FragmentProcessor::executeAdvancedBlend (BlendEquationAdvanced equation) argument
616 switch (equation)
/external/skia/include/gpu/
H A DGrXferProcessor.h54 inline bool GrBlendEquationIsAdvanced(GrBlendEquation equation) { argument
55 return equation >= kFirstAdvancedGrBlendEquation;
/external/deqp/modules/gles31/functional/
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) argument
233 args["SUPPORT_QUALIFIER"] = getBlendLayoutQualifier(equation);
H A Des31fDrawBuffersIndexedTests.cpp572 const rr::BlendEquationAdvanced equation = mapGLBlendEquationAdvanced(state.blendEq->get<BlendEq>()); local
575 fragOps.blendEquationAdvaced = equation;
579 const rr::BlendEquation equation = mapGLBlendEquation(state.blendEq->get<BlendEq>()); local
582 fragOps.blendRGBState.equation = equation;
583 fragOps.blendAState.equation = equation;
591 fragOps.blendRGBState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().rgb);
592 fragOps.blendAState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().alpha);
1042 log << TestLog::Message << "Set blend equation
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fRandomFragmentOpTests.cpp90 dst.equation = sglr::rr_util::mapGLBlendEquation(src.equation);
193 wrapper.glBlendEquationSeparate(state.blendRGBState.equation, state.blendAState.equation);
H A Des2fBlendTests.cpp219 log << TestLog::Message << "RGB equation = " << getBlendEquationName(paramSet.equationRGB) << TestLog::EndMessage;
222 log << TestLog::Message << "Alpha equation = " << getBlendEquationName(paramSet.equationAlpha) << TestLog::EndMessage;
235 referenceState.blendRGBState.equation = sglr::rr_util::mapGLBlendEquation(paramSet.equationRGB);
238 referenceState.blendAState.equation = sglr::rr_util::mapGLBlendEquation(paramSet.equationAlpha);
338 // Test all blend equation, src blend function, dst blend function combinations. RGB and alpha modes are the same.
420 // Test all RGB and alpha equation combinations. Src and dst funcs are ONE for both.
434 "RGB equation " + getBlendEquationName(eqRGB.glValue) +
435 ", alpha equation " + getBlendEquationName(eqAlpha.glValue);
H A Des2fIntegerStateQueryTests.cpp1487 virtual void SetBlendEquation (GLenum equation) argument
1489 glBlendEquation(equation);
1506 void SetBlendEquation (GLenum equation) argument
1511 glBlendEquationSeparate(equation, GL_FUNC_ADD);
1515 glBlendEquationSeparate(GL_FUNC_ADD, equation);
/external/deqp/modules/gles3/functional/
H A Des3fRandomFragmentOpTests.cpp90 dst.equation = sglr::rr_util::mapGLBlendEquation(src.equation);
193 wrapper.glBlendEquationSeparate(state.blendRGBState.equation, state.blendAState.equation);
H A Des3fBlendTests.cpp272 log << TestLog::Message << "RGB equation = " << getBlendEquationName(paramSet.equationRGB) << TestLog::EndMessage;
275 log << TestLog::Message << "Alpha equation = " << getBlendEquationName(paramSet.equationAlpha) << TestLog::EndMessage;
288 referenceState.blendRGBState.equation = sglr::rr_util::mapGLBlendEquation(paramSet.equationRGB);
291 referenceState.blendAState.equation = sglr::rr_util::mapGLBlendEquation(paramSet.equationAlpha);
403 // Test all blend equation, src blend function, dst blend function combinations. RGB and alpha modes are the same.
485 // Test all RGB and alpha equation combinations. Src and dst funcs are ONE for both.
499 "RGB equation " + getBlendEquationName(eqRGB.glValue) +
500 ", alpha equation " + getBlendEquationName(eqAlpha.glValue);
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Doutput.c548 BlendEquationToPipe(VdpOutputSurfaceRenderBlendEquation equation) argument
550 switch (equation) {
/external/mesa3d/include/GLES/
H A Dglext.h566 GL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
606 typedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
740 GL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
747 typedef void (GL_APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
H A Dgl.h596 GL_API void GL_APIENTRY glClipPlanef (GLenum plane, const GLfloat *equation);
645 GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation);
/external/skia/src/gpu/gl/
H A DGrGLGpu.cpp2121 // tweaked the equation to "add" or "subtract", and the coeffs to (1, 0).
2123 GrBlendEquation equation = blendInfo.fEquation; local
2126 bool blendOff = (kAdd_GrBlendEquation == equation || kSubtract_GrBlendEquation == equation) &&
2141 if (fHWBlendState.fEquation != equation) {
2142 GL_CALL(BlendEquation(gXfermodeEquation2Blend[equation]));
2143 fHWBlendState.fEquation = equation;
2146 if (GrBlendEquationIsAdvanced(equation)) {

Completed in 2391 milliseconds

12