Home
last modified time | relevance | path

Searched refs:ParamType (Results 1 – 25 of 57) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dframe_capture_utils_autogen.cpp21 case ParamType::TAHardwareBufferConstPointer: in WriteParamCaptureReplay()
22 WriteParamValueReplay<ParamType::TAHardwareBufferConstPointer>( in WriteParamCaptureReplay()
25 case ParamType::TAlphaTestFunc: in WriteParamCaptureReplay()
26 WriteParamValueReplay<ParamType::TAlphaTestFunc>(os, call, in WriteParamCaptureReplay()
29 case ParamType::TBufferBinding: in WriteParamCaptureReplay()
30 WriteParamValueReplay<ParamType::TBufferBinding>(os, call, in WriteParamCaptureReplay()
33 case ParamType::TBufferID: in WriteParamCaptureReplay()
34 WriteParamValueReplay<ParamType::TBufferID>(os, call, param.value.BufferIDVal); in WriteParamCaptureReplay()
36 case ParamType::TBufferIDConstPointer: in WriteParamCaptureReplay()
37 WriteParamValueReplay<ParamType::TBufferIDConstPointer>( in WriteParamCaptureReplay()
[all …]
Dframe_capture_utils_autogen.h18 enum class ParamType enum
334 template <ParamType PType, typename T>
338 inline const AHardwareBuffer *GetParamVal<ParamType::TAHardwareBufferConstPointer,
345 inline gl::AlphaTestFunc GetParamVal<ParamType::TAlphaTestFunc, gl::AlphaTestFunc>(
352 inline gl::BufferBinding GetParamVal<ParamType::TBufferBinding, gl::BufferBinding>(
359 inline gl::BufferID GetParamVal<ParamType::TBufferID, gl::BufferID>(const ParamValue &value)
365 inline const gl::BufferID *GetParamVal<ParamType::TBufferIDConstPointer, const gl::BufferID *>(
372 inline gl::BufferID *GetParamVal<ParamType::TBufferIDPointer, gl::BufferID *>(
379 inline gl::BufferUsage GetParamVal<ParamType::TBufferUsage, gl::BufferUsage>(
387 GetParamVal<ParamType::TClientVertexArrayType, gl::ClientVertexArrayType>(const ParamValue &value)
[all …]
Dframe_capture_replay_autogen.cpp32 params.getParam("pipelinePacked", ParamType::TProgramPipelineID, 0) in ReplayCall()
34 params.getParam("programPacked", ParamType::TShaderProgramID, 1) in ReplayCall()
39 params.getParam("texture", ParamType::TGLenum, 0).value.GLenumVal); in ReplayCall()
43 params.getParam("funcPacked", ParamType::TAlphaTestFunc, 0).value.AlphaTestFuncVal, in ReplayCall()
44 params.getParam("ref", ParamType::TGLfloat, 1).value.GLfloatVal); in ReplayCall()
48 params.getParam("funcPacked", ParamType::TAlphaTestFunc, 0).value.AlphaTestFuncVal, in ReplayCall()
49 params.getParam("ref", ParamType::TGLfixed, 1).value.GLfixedVal); in ReplayCall()
52 context->attachShader(params.getParam("programPacked", ParamType::TShaderProgramID, 0) in ReplayCall()
54 params.getParam("shaderPacked", ParamType::TShaderProgramID, 1) in ReplayCall()
59 params.getParam("targetPacked", ParamType::TQueryType, 0).value.QueryTypeVal, in ReplayCall()
[all …]
Dcapture_gles_3_0_autogen.cpp30 paramBuffer.addValueParam("targetPacked", ParamType::TQueryType, targetPacked); in CaptureBeginQuery()
31 paramBuffer.addValueParam("idPacked", ParamType::TQueryID, idPacked); in CaptureBeginQuery()
42 paramBuffer.addValueParam("primitiveModePacked", ParamType::TPrimitiveMode, in CaptureBeginTransformFeedback()
56 paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked); in CaptureBindBufferBase()
57 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureBindBufferBase()
58 paramBuffer.addValueParam("bufferPacked", ParamType::TBufferID, bufferPacked); in CaptureBindBufferBase()
73 paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked); in CaptureBindBufferRange()
74 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureBindBufferRange()
75 paramBuffer.addValueParam("bufferPacked", ParamType::TBufferID, bufferPacked); in CaptureBindBufferRange()
76 paramBuffer.addValueParam("offset", ParamType::TGLintptr, offset); in CaptureBindBufferRange()
[all …]
Dcapture_gles_ext_autogen.cpp33 paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked); in CaptureDrawArraysInstancedBaseInstanceANGLE()
34 paramBuffer.addValueParam("first", ParamType::TGLint, first); in CaptureDrawArraysInstancedBaseInstanceANGLE()
35 paramBuffer.addValueParam("count", ParamType::TGLsizei, count); in CaptureDrawArraysInstancedBaseInstanceANGLE()
36 paramBuffer.addValueParam("instanceCount", ParamType::TGLsizei, instanceCount); in CaptureDrawArraysInstancedBaseInstanceANGLE()
37 paramBuffer.addValueParam("baseInstance", ParamType::TGLuint, baseInstance); in CaptureDrawArraysInstancedBaseInstanceANGLE()
55 paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
56 paramBuffer.addValueParam("count", ParamType::TGLsizei, count); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
57 paramBuffer.addValueParam("typePacked", ParamType::TDrawElementsType, typePacked); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
61 ParamCapture indicesParam("indices", ParamType::TGLvoidConstPointer); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
62 InitParamValue(ParamType::TGLvoidConstPointer, indices, &indicesParam.value); in CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE()
[all …]
Dcapture_gles_3_1_autogen.cpp30 paramBuffer.addValueParam("pipelinePacked", ParamType::TProgramPipelineID, pipelinePacked); in CaptureActiveShaderProgram()
31 paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked); in CaptureActiveShaderProgram()
48 paramBuffer.addValueParam("unit", ParamType::TGLuint, unit); in CaptureBindImageTexture()
49 paramBuffer.addValueParam("texturePacked", ParamType::TTextureID, texturePacked); in CaptureBindImageTexture()
50 paramBuffer.addValueParam("level", ParamType::TGLint, level); in CaptureBindImageTexture()
51 paramBuffer.addValueParam("layered", ParamType::TGLboolean, layered); in CaptureBindImageTexture()
52 paramBuffer.addValueParam("layer", ParamType::TGLint, layer); in CaptureBindImageTexture()
53 paramBuffer.addEnumParam("access", GLenumGroup::BufferAccessARB, ParamType::TGLenum, access); in CaptureBindImageTexture()
54 paramBuffer.addEnumParam("format", GLenumGroup::InternalFormat, ParamType::TGLenum, format); in CaptureBindImageTexture()
65 paramBuffer.addValueParam("pipelinePacked", ParamType::TProgramPipelineID, pipelinePacked); in CaptureBindProgramPipeline()
[all …]
Dcapture_gles_3_2_autogen.cpp38 paramBuffer.addValueParam("buf", ParamType::TGLuint, buf); in CaptureBlendEquationSeparatei()
39 paramBuffer.addEnumParam("modeRGB", GLenumGroup::BlendEquationModeEXT, ParamType::TGLenum, in CaptureBlendEquationSeparatei()
41 paramBuffer.addEnumParam("modeAlpha", GLenumGroup::BlendEquationModeEXT, ParamType::TGLenum, in CaptureBlendEquationSeparatei()
51 paramBuffer.addValueParam("buf", ParamType::TGLuint, buf); in CaptureBlendEquationi()
52 paramBuffer.addEnumParam("mode", GLenumGroup::BlendEquationModeEXT, ParamType::TGLenum, mode); in CaptureBlendEquationi()
67 paramBuffer.addValueParam("buf", ParamType::TGLuint, buf); in CaptureBlendFuncSeparatei()
68 paramBuffer.addEnumParam("srcRGB", GLenumGroup::BlendingFactor, ParamType::TGLenum, srcRGB); in CaptureBlendFuncSeparatei()
69 paramBuffer.addEnumParam("dstRGB", GLenumGroup::BlendingFactor, ParamType::TGLenum, dstRGB); in CaptureBlendFuncSeparatei()
70 paramBuffer.addEnumParam("srcAlpha", GLenumGroup::BlendingFactor, ParamType::TGLenum, srcAlpha); in CaptureBlendFuncSeparatei()
71 paramBuffer.addEnumParam("dstAlpha", GLenumGroup::BlendingFactor, ParamType::TGLenum, dstAlpha); in CaptureBlendFuncSeparatei()
[all …]
Dcapture_gles_2_0_autogen.cpp27 paramBuffer.addEnumParam("texture", GLenumGroup::TextureUnit, ParamType::TGLenum, texture); in CaptureActiveTexture()
39 paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked); in CaptureAttachShader()
40 paramBuffer.addValueParam("shaderPacked", ParamType::TShaderProgramID, shaderPacked); in CaptureAttachShader()
53 paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked); in CaptureBindAttribLocation()
54 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureBindAttribLocation()
58 ParamCapture nameParam("name", ParamType::TGLcharConstPointer); in CaptureBindAttribLocation()
59 InitParamValue(ParamType::TGLcharConstPointer, name, &nameParam.value); in CaptureBindAttribLocation()
66 ParamCapture nameParam("name", ParamType::TGLcharConstPointer); in CaptureBindAttribLocation()
67 InitParamValue(ParamType::TGLcharConstPointer, static_cast<const GLchar *>(nullptr), in CaptureBindAttribLocation()
82 paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked); in CaptureBindBuffer()
[all …]
Dcapture_gles_1_0_autogen.cpp30 paramBuffer.addValueParam("funcPacked", ParamType::TAlphaTestFunc, funcPacked); in CaptureAlphaFunc()
31 paramBuffer.addValueParam("ref", ParamType::TGLfloat, ref); in CaptureAlphaFunc()
43 paramBuffer.addValueParam("funcPacked", ParamType::TAlphaTestFunc, funcPacked); in CaptureAlphaFuncx()
44 paramBuffer.addValueParam("ref", ParamType::TGLfixed, ref); in CaptureAlphaFuncx()
58 paramBuffer.addValueParam("red", ParamType::TGLfixed, red); in CaptureClearColorx()
59 paramBuffer.addValueParam("green", ParamType::TGLfixed, green); in CaptureClearColorx()
60 paramBuffer.addValueParam("blue", ParamType::TGLfixed, blue); in CaptureClearColorx()
61 paramBuffer.addValueParam("alpha", ParamType::TGLfixed, alpha); in CaptureClearColorx()
70 paramBuffer.addValueParam("depth", ParamType::TGLfixed, depth); in CaptureClearDepthx()
79 paramBuffer.addEnumParam("texture", GLenumGroup::TextureUnit, ParamType::TGLenum, texture); in CaptureClientActiveTexture()
[all …]
DFrameCapture.h31 ParamCapture(const char *nameIn, ParamType typeIn);
38 ParamType type;
57 void addValueParam(const char *paramName, ParamType paramType, T paramValue);
59 void setValueParamAtIndex(const char *paramName, ParamType paramType, T paramValue, int index);
63 ParamType paramType,
66 ParamCapture &getParam(const char *paramName, ParamType paramType, int index);
67 const ParamCapture &getParam(const char *paramName, ParamType paramType, int index) const;
70 ParamType paramType,
74 ParamType paramType,
680 void ParamBuffer::addValueParam(const char *paramName, ParamType paramType, T paramValue) in addValueParam()
[all …]
DFrameCapture.cpp560 ParamType overrideType = param.type; in WriteBinaryParamReplay()
561 if (param.type == ParamType::TGLvoidConstPointer || param.type == ParamType::TvoidConstPointer) in WriteBinaryParamReplay()
563 overrideType = ParamType::TGLubyteConstPointer; in WriteBinaryParamReplay()
565 if (overrideType == ParamType::TGLenumConstPointer || overrideType == ParamType::TGLcharPointer) in WriteBinaryParamReplay()
570 if (overrideType == ParamType::TGLenumConstPointer) in WriteBinaryParamReplay()
576 ASSERT(overrideType == ParamType::TGLcharPointer); in WriteBinaryParamReplay()
628 call.params.getParam("access", ParamType::TGLbitfield, 3).value.GLbitfieldVal; in WriteCppReplayForCall()
635 GLenum access = call.params.getParam("access", ParamType::TGLenum, 1).value.GLenumVal; in WriteCppReplayForCall()
646 WriteParamValueReplay<ParamType::TBufferID>(callOut, call, bufferID); in WriteCppReplayForCall()
670 if (param.type == ParamType::TGLenum) in WriteCppReplayForCall()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_intrinsic_test.cc28 enum class ParamType { enum
36 ParamType type;
42 case ParamType::kF32: in operator <<()
45 case ParamType::kU32: in operator <<()
48 case ParamType::kBool: in operator <<()
57 ParamType type, in GenerateCall()
122 if (type == ParamType::kF32) { in GenerateCall()
132 if (type == ParamType::kF32) { in GenerateCall()
138 if (type == ParamType::kF32) { in GenerateCall()
202 IntrinsicData{IntrinsicType::kAbs, ParamType::kF32, "fabs"},
[all …]
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl_intrinsic_test.cc32 enum class ParamType { enum
40 ParamType type;
46 case ParamType::kF32: in operator <<()
49 case ParamType::kU32: in operator <<()
52 case ParamType::kBool: in operator <<()
61 ParamType type, in GenerateCall()
124 if (type == ParamType::kF32) { in GenerateCall()
134 if (type == ParamType::kF32) { in GenerateCall()
140 if (type == ParamType::kF32) { in GenerateCall()
188 IntrinsicData{IntrinsicType::kAbs, ParamType::kF32, "abs"},
[all …]
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl_intrinsic_test.cc32 enum class ParamType { enum
40 ParamType type;
46 case ParamType::kF32: in operator <<()
49 case ParamType::kU32: in operator <<()
52 case ParamType::kBool: in operator <<()
61 ParamType type, in GenerateCall()
124 if (type == ParamType::kF32) { in GenerateCall()
134 if (type == ParamType::kF32) { in GenerateCall()
140 if (type == ParamType::kF32) { in GenerateCall()
188 IntrinsicData{IntrinsicType::kAbs, ParamType::kF32, "abs"},
[all …]
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/effects/descrip/
DEffectDescription.h31 class ParamType {
33 constexpr ParamType(std::string_view name, float minVal, float maxVal, float defVal) : in ParamType() function
39 constexpr ParamType(const ParamType &other) = delete;
41 ParamType &operator=(const ParamType &other) = delete;
43 constexpr ParamType(ParamType &&other) = default;
45 constexpr ParamType &operator=(ParamType &&other) = delete;
72 static constexpr std::array<ParamType, N> getParams();
82 for (ParamType &mParam: EffectType::getParams()) { in buildDefaultEffect()
DWhiteChorusDescription.h33 static constexpr std::array<ParamType, getNumParams()> getParams() { in getParams()
34 return std::array<ParamType, getNumParams()> { in getParams()
35 ParamType("Depth (ms)", 1, 30, 10), in getParams()
36 ParamType("Delay (ms)", 1, 30, 10), in getParams()
37 ParamType("Noise pass", 1, 10, 4), in getParams()
DFlangerDescription.h33 static constexpr std::array<ParamType, getNumParams()> getParams() { in getParams()
34 return std::array<ParamType, 3> { in getParams()
35 ParamType("Depth (ms)", 0.1, 2, 1), in getParams()
36 ParamType("Frequency", 0.1, 1, 0.2), in getParams()
37 ParamType("Feedback", 0, 0.95, 0.7071), in getParams()
DIIRDescription.h34 static constexpr std::array<ParamType, getNumParams()> getParams() { in getParams()
35 return std::array<ParamType, getNumParams()> { in getParams()
36 ParamType("Delay (samples)", 1, 500, 10), in getParams()
37 ParamType("Gain", 0, 0.99, 0.5), in getParams()
38 ParamType("Scale", 0.25, 0.99, 0.5) in getParams()
DDoublingDescription.h18 static constexpr std::array<ParamType, getNumParams()> getParams() { in getParams()
19 return std::array<ParamType, getNumParams()> { in getParams()
20 ParamType("Depth (ms)", 10, 100, 40), in getParams()
21 ParamType("Delay (ms)", 1, 100, 40), in getParams()
22 ParamType("Noise pass", 1, 10, 4), in getParams()
DTremoloDescription.h32 static constexpr std::array<ParamType, getNumParams()> getParams() { in getParams()
33 return std::array<ParamType, getNumParams()> { in getParams()
34 ParamType("Frequency", 0.1, 5.0, 2), in getParams()
35 ParamType("Height", 0.05, 0.45, 0.25) in getParams()
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-param-util.h55 template <class ParamType>
57 TestParamInfo(const ParamType& a_param, size_t an_index) : in TestParamInfo()
60 ParamType param;
67 template <class ParamType>
68 std::string operator()(const TestParamInfo<ParamType>& info) const { in operator()
166 typedef T ParamType; typedef
373 template <class ParamType>
374 std::string DefaultParamName(const TestParamInfo<ParamType>& info) { in DefaultParamName()
394 typedef typename TestClass::ParamType ParamType; typedef
395 explicit ParameterizedTestFactory(ParamType parameter) : in ParameterizedTestFactory()
[all …]
/third_party/node/deps/googletest/include/gtest/internal/
Dgtest-param-util.h61 template <class ParamType>
63 TestParamInfo(const ParamType& a_param, size_t an_index) in TestParamInfo()
65 ParamType param;
72 template <class ParamType>
73 std::string operator()(const TestParamInfo<ParamType>& info) const { in operator()
172 typedef T ParamType; typedef
380 template <class ParamType>
381 std::string DefaultParamName(const TestParamInfo<ParamType>& info) { in DefaultParamName()
401 typedef typename TestClass::ParamType ParamType; typedef
402 explicit ParameterizedTestFactory(ParamType parameter) in ParameterizedTestFactory()
[all …]
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h61 template <class ParamType>
63 TestParamInfo(const ParamType& a_param, size_t an_index) in TestParamInfo()
65 ParamType param;
72 template <class ParamType>
73 std::string operator()(const TestParamInfo<ParamType>& info) const { in operator()
172 typedef T ParamType; typedef
380 template <class ParamType>
381 std::string DefaultParamName(const TestParamInfo<ParamType>& info) { in DefaultParamName()
401 typedef typename TestClass::ParamType ParamType; typedef
402 explicit ParameterizedTestFactory(ParamType parameter) in ParameterizedTestFactory()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dqueryconversions.h72 template <typename ParamType>
73 GLenum ConvertToGLenum(GLenum pname, ParamType param)
78 template <typename ParamType>
79 GLenum ConvertToGLenum(ParamType param)
102 template <typename ParamType>
103 GLint ConvertToGLint(ParamType param)
108 template <typename ParamType>
109 bool ConvertToBool(ParamType param)
114 template <typename ParamType>
115 GLboolean ConvertToGLBoolean(ParamType param)
Dqueryutils.cpp132 template <typename ParamType>
137 ParamType *params) in QueryTexLevelParameterBase()
145 *params = CastFromGLintStateValue<ParamType>( in QueryTexLevelParameterBase()
149 *params = CastFromGLintStateValue<ParamType>( in QueryTexLevelParameterBase()
153 *params = CastFromGLintStateValue<ParamType>( in QueryTexLevelParameterBase()
157 *params = CastFromGLintStateValue<ParamType>( in QueryTexLevelParameterBase()
161 *params = CastFromGLintStateValue<ParamType>( in QueryTexLevelParameterBase()
165 *params = CastFromGLintStateValue<ParamType>(pname, info->redBits); in QueryTexLevelParameterBase()
168 *params = CastFromGLintStateValue<ParamType>(pname, info->greenBits); in QueryTexLevelParameterBase()
171 *params = CastFromGLintStateValue<ParamType>(pname, info->blueBits); in QueryTexLevelParameterBase()
[all …]

123