/external/mesa3d/src/mesa/main/ |
D | clip.c | 56 GLfloat equation[4]; in _mesa_ClipPlane() local 64 equation[0] = (GLfloat) eq[0]; in _mesa_ClipPlane() 65 equation[1] = (GLfloat) eq[1]; in _mesa_ClipPlane() 66 equation[2] = (GLfloat) eq[2]; in _mesa_ClipPlane() 67 equation[3] = (GLfloat) eq[3]; in _mesa_ClipPlane() 80 _mesa_transform_vector( equation, equation, in _mesa_ClipPlane() 83 if (TEST_EQ_4V(ctx->Transform.EyeUserPlane[p], equation)) in _mesa_ClipPlane() 89 COPY_4FV(ctx->Transform.EyeUserPlane[p], equation); in _mesa_ClipPlane() 96 ctx->Driver.ClipPlane( ctx, plane, equation ); in _mesa_ClipPlane() 101 _mesa_GetClipPlane( GLenum plane, GLdouble *equation ) in _mesa_GetClipPlane() argument [all …]
|
D | clip.h | 42 _mesa_ClipPlane( GLenum plane, const GLdouble *equation ); 45 _mesa_GetClipPlane( GLenum plane, GLdouble *equation );
|
D | es1_conversion.h | 41 _mesa_ClipPlanef(GLenum plane, const GLfloat *equation); 44 _mesa_ClipPlanex(GLenum plane, const GLfixed *equation); 76 _mesa_GetClipPlanef(GLenum plane, GLfloat *equation); 79 _mesa_GetClipPlanex(GLenum plane, GLfixed *equation);
|
D | es1_conversion.c | 54 _mesa_ClipPlanef(GLenum plane, const GLfloat *equation) in _mesa_ClipPlanef() argument 60 converted_equation[i] = (GLdouble) (equation[i]); in _mesa_ClipPlanef() 67 _mesa_ClipPlanex(GLenum plane, const GLfixed *equation) in _mesa_ClipPlanex() argument 73 converted_equation[i] = (GLdouble) (equation[i] / 65536.0); in _mesa_ClipPlanex() 204 _mesa_GetClipPlanef(GLenum plane, GLfloat *equation) in _mesa_GetClipPlanef() argument 211 equation[i] = (GLfloat) (converted_equation[i]); in _mesa_GetClipPlanef() 216 _mesa_GetClipPlanex(GLenum plane, GLfixed *equation) in _mesa_GetClipPlanex() argument 223 equation[i] = (GLfixed) (converted_equation[i] * 65536); in _mesa_GetClipPlanex()
|
/external/skqp/include/gpu/ |
D | GrBlend.h | 102 static constexpr bool GrBlendEquationIsAdvanced(GrBlendEquation equation) { in GrBlendEquationIsAdvanced() argument 103 return equation >= kFirstAdvancedGrBlendEquation in GrBlendEquationIsAdvanced() 104 && equation != kIllegal_GrBlendEquation; in GrBlendEquationIsAdvanced() 107 static constexpr bool GrBlendModifiesDst(GrBlendEquation equation, GrBlendCoeff srcCoeff, in GrBlendModifiesDst() argument 109 return (kAdd_GrBlendEquation != equation && kReverseSubtract_GrBlendEquation != equation) || in GrBlendModifiesDst() 140 static constexpr bool GrBlendAllowsCoverageAsAlpha(GrBlendEquation equation, in GrBlendAllowsCoverageAsAlpha() argument 143 return GrBlendEquationIsAdvanced(equation) || in GrBlendAllowsCoverageAsAlpha() 144 !GrBlendModifiesDst(equation, srcCoeff, dstCoeff) || in GrBlendAllowsCoverageAsAlpha() 145 ((kAdd_GrBlendEquation == equation || kReverseSubtract_GrBlendEquation == equation) && in GrBlendAllowsCoverageAsAlpha()
|
/external/skia/include/gpu/ |
D | GrBlend.h | 102 static constexpr bool GrBlendEquationIsAdvanced(GrBlendEquation equation) { in GrBlendEquationIsAdvanced() argument 103 return equation >= kFirstAdvancedGrBlendEquation in GrBlendEquationIsAdvanced() 104 && equation != kIllegal_GrBlendEquation; in GrBlendEquationIsAdvanced() 107 static constexpr bool GrBlendModifiesDst(GrBlendEquation equation, GrBlendCoeff srcCoeff, in GrBlendModifiesDst() argument 109 return (kAdd_GrBlendEquation != equation && kReverseSubtract_GrBlendEquation != equation) || in GrBlendModifiesDst() 140 static constexpr bool GrBlendAllowsCoverageAsAlpha(GrBlendEquation equation, in GrBlendAllowsCoverageAsAlpha() argument 143 return GrBlendEquationIsAdvanced(equation) || in GrBlendAllowsCoverageAsAlpha() 144 !GrBlendModifiesDst(equation, srcCoeff, dstCoeff) || in GrBlendAllowsCoverageAsAlpha() 145 ((kAdd_GrBlendEquation == equation || kReverseSubtract_GrBlendEquation == equation) && in GrBlendAllowsCoverageAsAlpha()
|
/external/tensorflow/tensorflow/python/ops/ |
D | special_math_ops.py | 135 def einsum(equation, *inputs, **kwargs): argument 207 equation = equation.replace(' ', '') 213 with ops.name_scope(name, 'einsum', [equation, inputs]) as name: 214 if '...' in equation: 217 match = re.match('^([a-zA-Z,]+)(->[a-zA-Z]*)?$', equation) 219 raise ValueError('Indices have incorrect format: %s' % equation) 225 (len(inputs), equation, len(input_axis_labels))) 243 input_labels == input_labels[::-1] and '->' not in equation): 255 return _exponential_space_einsum(equation, *inputs) 278 raise ValueError('Invalid equation: %s' % equation) [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeAdvancedBlendEquationTests.cpp | 81 std::string getShaderLayoutEquation (BlendEquation equation) in getShaderLayoutEquation() argument 83 switch (equation) in getShaderLayoutEquation() 107 glw::GLenum getEquation (BlendEquation equation) in getEquation() argument 109 switch (equation) in getEquation() 147 std::string generateFragmentShaderSource (NegativeTestContext& ctx, BlendEquation equation) in generateFragmentShaderSource() argument 155 << "layout(" << getShaderLayoutEquation(equation) << ") out;\n" in generateFragmentShaderSource() 165 glu::ProgramSources generateProgramSources (NegativeTestContext& ctx, BlendEquation equation) in generateProgramSources() argument 169 << glu::FragmentSource(generateFragmentShaderSource(ctx, equation)); in generateProgramSources()
|
D | es31fFboSRGBWriteControlTests.cpp | 288 deUint32 equation; member 298 blendConfigs[0].equation = GL_FUNC_ADD; in getBlendingConfigList() 299 blendConfigs[1].equation = GL_FUNC_ADD; in getBlendingConfigList() 300 blendConfigs[2].equation = GL_FUNC_ADD; in getBlendingConfigList() 301 blendConfigs[3].equation = GL_FUNC_ADD; in getBlendingConfigList() 313 blendConfigs[4].equation = GL_FUNC_SUBTRACT; in getBlendingConfigList() 314 blendConfigs[5].equation = GL_FUNC_SUBTRACT; in getBlendingConfigList() 315 blendConfigs[6].equation = GL_FUNC_SUBTRACT; in getBlendingConfigList() 316 blendConfigs[7].equation = GL_FUNC_SUBTRACT; in getBlendingConfigList() 328 blendConfigs[8].equation = GL_FUNC_REVERSE_SUBTRACT; in getBlendingConfigList() [all …]
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLFragmentShaderBuilder.cpp | 19 static const char* specific_layout_qualifier_name(GrBlendEquation equation) { in specific_layout_qualifier_name() argument 20 SkASSERT(GrBlendEquationIsAdvanced(equation)); in specific_layout_qualifier_name() 39 return kLayoutQualifierNames[equation - kFirstAdvancedGrBlendEquation]; in specific_layout_qualifier_name() 118 void GrGLSLFragmentShaderBuilder::enableAdvancedBlendEquationIfNeeded(GrBlendEquation equation) { in enableAdvancedBlendEquationIfNeeded() argument 119 SkASSERT(GrBlendEquationIsAdvanced(equation)); in enableAdvancedBlendEquationIfNeeded() 129 this->addLayoutQualifier(specific_layout_qualifier_name(equation), kOut_InterfaceQualifier); in enableAdvancedBlendEquationIfNeeded()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLFragmentShaderBuilder.cpp | 19 static const char* specific_layout_qualifier_name(GrBlendEquation equation) { in specific_layout_qualifier_name() argument 20 SkASSERT(GrBlendEquationIsAdvanced(equation)); in specific_layout_qualifier_name() 39 return kLayoutQualifierNames[equation - kFirstAdvancedGrBlendEquation]; in specific_layout_qualifier_name() 139 void GrGLSLFragmentShaderBuilder::enableAdvancedBlendEquationIfNeeded(GrBlendEquation equation) { in enableAdvancedBlendEquationIfNeeded() argument 140 SkASSERT(GrBlendEquationIsAdvanced(equation)); in enableAdvancedBlendEquationIfNeeded() 150 this->addLayoutQualifier(specific_layout_qualifier_name(equation), kOut_InterfaceQualifier); in enableAdvancedBlendEquationIfNeeded()
|
/external/gemmlowp/doc/ |
D | quantization.md | 75 ## The final form of the quantization equation 80 In equation (1), plugging `real_value = 0` and `quantized_value = zero_point`, 97 Now let us look at equation (2). Plugging `real_value = 0` and 104 Conveniently, the constant `C` plays no role anymore, so this equation 112 equation (2) into the following form (3), which will be the final form that we 122 With this quantization equation (3), the condition that 0 be exactly 124 possible `quantized_value`'s, and equation (3) maps it to a `real_value` of 127 Note that the final quantizaton equation (3) depends on two constants, one 138 Now that we know — equation (3) — how real numbers are to correspond 148 above equation (3), with some already-known quantization parameters `lhs_scale`, [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/ops/ |
D | xla_ops.cc | 532 string equation; in __anonc06300730602() local 533 TF_RETURN_IF_ERROR(context->GetAttr("equation", &equation)); in __anonc06300730602() 539 std::vector<string> equation_split = absl::StrSplit(equation, "->"); in __anonc06300730602() 543 equation); in __anonc06300730602() 550 equation); in __anonc06300730602() 578 return errors::InvalidArgument("Invalid equation: ", equation); in __anonc06300730602()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlPipelineStateBuilder.mm | 255 static MTLBlendOperation blend_equation_to_mtl_blend_op(GrBlendEquation equation) { 266 SkASSERT((unsigned)equation < kGrBlendEquationCnt); 267 return gTable[equation]; 283 GrBlendEquation equation = blendInfo.fEquation; 286 bool blendOff = (kAdd_GrBlendEquation == equation || kSubtract_GrBlendEquation == equation) && 293 mtlColorAttachment.rgbBlendOperation = blend_equation_to_mtl_blend_op(equation); 296 mtlColorAttachment.alphaBlendOperation = blend_equation_to_mtl_blend_op(equation);
|
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/ |
D | Tween.java | 344 private TweenEquation equation; field in Tween 378 equation = null; in reset() 443 this.equation = easeEquation; in ease() 742 return equation; in getEasing() 821 if (target == null || equation == null) return; in updateOverride() 856 float t = equation.compute(time/duration); in updateOverride()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlPipelineStateBuilder.mm | 258 static MTLBlendOperation blend_equation_to_mtl_blend_op(GrBlendEquation equation) { 269 SkASSERT((unsigned)equation < kGrBlendEquationCnt); 270 return gTable[equation]; 286 GrBlendEquation equation = blendInfo.fEquation; 289 bool blendOff = (kAdd_GrBlendEquation == equation || kSubtract_GrBlendEquation == equation) && 296 mtlColorAttachment.rgbBlendOperation = blend_equation_to_mtl_blend_op(equation); 299 mtlColorAttachment.alphaBlendOperation = blend_equation_to_mtl_blend_op(equation);
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceUtils.hpp | 47 rr::BlendEquation mapGLBlendEquation (deUint32 equation); 48 rr::BlendEquationAdvanced mapGLBlendEquationAdvanced (deUint32 equation);
|
D | sglrReferenceUtils.cpp | 251 rr::BlendEquation mapGLBlendEquation (deUint32 equation) in mapGLBlendEquation() argument 253 switch (equation) in mapGLBlendEquation() 266 rr::BlendEquationAdvanced mapGLBlendEquationAdvanced (deUint32 equation) in mapGLBlendEquationAdvanced() argument 268 switch (equation) in mapGLBlendEquationAdvanced()
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipeline.cpp | 344 static VkBlendOp blend_equation_to_vk_blend_op(GrBlendEquation equation) { in blend_equation_to_vk_blend_op() argument 391 SkASSERT((unsigned)equation < kGrBlendCoeffCnt); in blend_equation_to_vk_blend_op() 392 return gTable[equation]; in blend_equation_to_vk_blend_op() 432 GrBlendEquation equation = blendInfo.fEquation; in setup_color_blend_state() local 435 bool blendOff = (kAdd_GrBlendEquation == equation || kSubtract_GrBlendEquation == equation) && in setup_color_blend_state() 443 attachmentState->colorBlendOp = blend_equation_to_vk_blend_op(equation); in setup_color_blend_state() 446 attachmentState->alphaBlendOp = blend_equation_to_vk_blend_op(equation); in setup_color_blend_state()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipeline.cpp | 348 static VkBlendOp blend_equation_to_vk_blend_op(GrBlendEquation equation) { in blend_equation_to_vk_blend_op() argument 395 SkASSERT((unsigned)equation < kGrBlendCoeffCnt); in blend_equation_to_vk_blend_op() 396 return gTable[equation]; in blend_equation_to_vk_blend_op() 436 GrBlendEquation equation = blendInfo.fEquation; in setup_color_blend_state() local 439 bool blendOff = (kAdd_GrBlendEquation == equation || kSubtract_GrBlendEquation == equation) && in setup_color_blend_state() 447 attachmentState->colorBlendOp = blend_equation_to_vk_blend_op(equation); in setup_color_blend_state() 450 attachmentState->alphaBlendOp = blend_equation_to_vk_blend_op(equation); in setup_color_blend_state()
|
/external/deqp/modules/glshared/ |
D | glsInteractionTestUtil.hpp | 45 deUint32 equation; member 50 : equation (0) in BlendState()
|
D | glsInteractionTestUtil.cpp | 194 …state.blendRGBState.equation = rnd.choose<deUint32>(DE_ARRAY_BEGIN(blendEquationsES2), DE_ARRAY_EN… in computeRandomRenderState() 198 …state.blendAState.equation = rnd.choose<deUint32>(DE_ARRAY_BEGIN(blendEquationsES2), DE_ARRAY_END… in computeRandomRenderState() 204 …state.blendRGBState.equation = rnd.choose<deUint32>(DE_ARRAY_BEGIN(blendEquations), DE_ARRAY_END(b… in computeRandomRenderState() 208 …state.blendAState.equation = rnd.choose<deUint32>(DE_ARRAY_BEGIN(blendEquations), DE_ARRAY_END(bl… in computeRandomRenderState()
|
/external/pdfium/third_party/libpng16/ |
D | 0003-check-errors-in-set-pcal.patch | 9 - png_error(png_ptr, "Invalid pCAL equation type"); 11 + png_chunk_report(png_ptr, "Invalid pCAL equation type",
|
/external/skqp/src/gpu/ |
D | GrCaps.h | 106 bool isAdvancedBlendEquationBlacklisted(GrBlendEquation equation) const { in isAdvancedBlendEquationBlacklisted() argument 107 SkASSERT(GrBlendEquationIsAdvanced(equation)); in isAdvancedBlendEquationBlacklisted() 109 return SkToBool(fAdvBlendEqBlacklist & (1 << equation)); in isAdvancedBlendEquationBlacklisted()
|
/external/skia/src/gpu/ |
D | GrCaps.h | 106 bool isAdvancedBlendEquationBlacklisted(GrBlendEquation equation) const { in isAdvancedBlendEquationBlacklisted() argument 107 SkASSERT(GrBlendEquationIsAdvanced(equation)); in isAdvancedBlendEquationBlacklisted() 109 return SkToBool(fAdvBlendEqBlacklist & (1 << equation)); in isAdvancedBlendEquationBlacklisted()
|