Home
last modified time | relevance | path

Searched refs:kTarget (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_texture.cc191 const GLenum kTarget = GL_TEXTURE_2D; in CreateReadOnlyRgba2dImageTexture() local
196 gl_texture_internal::TextureBinder binder(kTarget, id.id()); in CreateReadOnlyRgba2dImageTexture()
197 RETURN_IF_ERROR(SetTextureWrapAndFilter(kTarget, internal_format)); in CreateReadOnlyRgba2dImageTexture()
198 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexStorage2D, kTarget, in CreateReadOnlyRgba2dImageTexture()
201 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexSubImage2D, kTarget, /* level = */ 0, in CreateReadOnlyRgba2dImageTexture()
203 *gl_texture = GlTexture(kTarget, id.Release(), internal_format, byte_size, 0, in CreateReadOnlyRgba2dImageTexture()
216 const GLenum kTarget = GL_TEXTURE_2D_ARRAY; in CreateReadOnlyRgba3dImageTexture() local
221 gl_texture_internal::TextureBinder binder(kTarget, id.id()); in CreateReadOnlyRgba3dImageTexture()
222 RETURN_IF_ERROR(SetTextureWrapAndFilter(kTarget, internal_format)); in CreateReadOnlyRgba3dImageTexture()
223 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexStorage3D, kTarget, in CreateReadOnlyRgba3dImageTexture()
[all …]
/external/skia/gm/
Drectangletexture.cpp100 static constexpr GrGLenum kTarget = GR_GL_TEXTURE_RECTANGLE; in createRectangleTextureImg() local
103 GR_GL_CALL(gl, BindTexture(kTarget, id)); in createRectangleTextureImg()
104 GR_GL_CALL(gl, TexParameteri(kTarget, GR_GL_TEXTURE_MAG_FILTER, GR_GL_NEAREST)); in createRectangleTextureImg()
105 GR_GL_CALL(gl, TexParameteri(kTarget, GR_GL_TEXTURE_MIN_FILTER, GR_GL_NEAREST)); in createRectangleTextureImg()
106 GR_GL_CALL(gl, TexParameteri(kTarget, GR_GL_TEXTURE_WRAP_S, GR_GL_CLAMP_TO_EDGE)); in createRectangleTextureImg()
107 GR_GL_CALL(gl, TexParameteri(kTarget, GR_GL_TEXTURE_WRAP_T, GR_GL_CLAMP_TO_EDGE)); in createRectangleTextureImg()
116 GR_GL_CALL(gl, TexImage2D(kTarget, 0, GR_GL_RGBA, width, height, 0, GR_GL_RGBA, in createRectangleTextureImg()
122 info.fTarget = kTarget; in createRectangleTextureImg()
Dcompositor_quads.cpp827 static const SkRect kTarget = SkRect::MakeWH(kTileWidth, kTileHeight); in configureTilePaint() local
828 SkMatrix local = SkMatrix::MakeRectToRect(kTarget, rect, in configureTilePaint()
/external/skqp/gm/
Drectangletexture.cpp91 static constexpr GrGLenum kTarget = GR_GL_TEXTURE_RECTANGLE; in createRectangleTextureImg() local
94 GR_GL_CALL(gl, BindTexture(kTarget, id)); in createRectangleTextureImg()
95 GR_GL_CALL(gl, TexParameteri(kTarget, GR_GL_TEXTURE_MAG_FILTER, GR_GL_NEAREST)); in createRectangleTextureImg()
96 GR_GL_CALL(gl, TexParameteri(kTarget, GR_GL_TEXTURE_MIN_FILTER, GR_GL_NEAREST)); in createRectangleTextureImg()
97 GR_GL_CALL(gl, TexParameteri(kTarget, GR_GL_TEXTURE_WRAP_S, GR_GL_CLAMP_TO_EDGE)); in createRectangleTextureImg()
98 GR_GL_CALL(gl, TexParameteri(kTarget, GR_GL_TEXTURE_WRAP_T, GR_GL_CLAMP_TO_EDGE)); in createRectangleTextureImg()
107 GR_GL_CALL(gl, TexImage2D(kTarget, 0, GR_GL_RGBA, width, height, 0, format, in createRectangleTextureImg()
113 info.fTarget = kTarget; in createRectangleTextureImg()
/external/v8/src/codegen/
Dinterface-descriptors.h516 kTarget, \
878 DEFINE_PARAMETERS(kTarget, kNewTarget)
974 DEFINE_PARAMETERS_VARARGS(kTarget, kActualArgumentsCount, kArgumentsLength,
985 DEFINE_PARAMETERS_VARARGS(kTarget, kActualArgumentsCount, kStartIndex)
1002 DEFINE_PARAMETERS_VARARGS(kTarget, kArgumentsCount, kSpread)
1012 DEFINE_PARAMETERS_VARARGS(kTarget, kArgumentsCount, kSpread, kSlot,
1025 DEFINE_PARAMETERS(kTarget, kArgumentsList)
1035 DEFINE_PARAMETERS(kTarget, kArgumentsList, kSlot, kMaybeFeedbackVector)
1083 DEFINE_PARAMETERS(kTarget, kNewTarget, kArgumentsList)
1094 DEFINE_PARAMETERS(kTarget, kNewTarget, kArgumentsList, kSlot,
/external/v8/src/builtins/
Dbuiltins-lazy-gen.cc150 auto function = Parameter<JSFunction>(Descriptor::kTarget); in TF_BUILTIN()
156 auto function = Parameter<JSFunction>(Descriptor::kTarget); in TF_BUILTIN()
Dbuiltins-constructor-gen.cc40 auto target = Parameter<Object>(Descriptor::kTarget); in TF_BUILTIN()
64 auto target = Parameter<Object>(Descriptor::kTarget); in TF_BUILTIN()
73 auto target = Parameter<Object>(Descriptor::kTarget); in TF_BUILTIN()
96 auto target = Parameter<Object>(Descriptor::kTarget); in TF_BUILTIN()
106 auto target = Parameter<Object>(Descriptor::kTarget); in TF_BUILTIN()
221 auto target = Parameter<JSFunction>(Descriptor::kTarget); in TF_BUILTIN()
Dbuiltins-call-gen.cc425 auto target = Parameter<Object>(Descriptor::kTarget); in TF_BUILTIN()
433 auto target = Parameter<Object>(Descriptor::kTarget); in TF_BUILTIN()
446 auto target = Parameter<Object>(Descriptor::kTarget); in TF_BUILTIN()
455 auto target = Parameter<Object>(Descriptor::kTarget); in TF_BUILTIN()
Dbuiltins-definitions.h244 TFS(CopyDataProperties, kTarget, kSource) \
245 TFS(SetDataProperties, kTarget, kSource) \
336 TFS(FlattenIntoArray, kTarget, kSource, kSourceLength, kStart, kDepth) \
337 TFS(FlatMapIntoArray, kTarget, kSource, kSourceLength, kStart, kDepth, \
Dbuiltins-internal-gen.cc644 auto target = Parameter<JSObject>(Descriptor::kTarget); in TF_BUILTIN()
658 auto target = Parameter<JSReceiver>(Descriptor::kTarget); in TF_BUILTIN()
729 auto target = Parameter<JSFunction>(Descriptor::kTarget); in TF_BUILTIN()
1062 auto function = Parameter<JSFunction>(Descriptor::kTarget); in TF_BUILTIN()
Dbuiltins-array-gen.cc1507 auto target = Parameter<JSReceiver>(Descriptor::kTarget); in TF_BUILTIN()
1524 auto target = Parameter<JSReceiver>(Descriptor::kTarget); in TF_BUILTIN()
1622 auto function = Parameter<JSFunction>(Descriptor::kTarget); in TF_BUILTIN()
1785 auto target = Parameter<JSFunction>(Descriptor::kTarget); in TF_BUILTIN()
Dbuiltins-proxy-gen.cc143 auto proxy = Parameter<JSProxy>(Descriptor::kTarget); in TF_BUILTIN()
/external/swiftshader/third_party/subzero/src/
DIceOperand.h64 kTarget, enumerator
67 static_assert(kTarget <= kTarget_Max, "Must not be above max.");
DIceTargetLoweringX8632Traits.h832 enum OperandKindX8632 { k__Start = ::Ice::Operand::kTarget, kMem, kSplit };
DIceTargetLoweringX8664Traits.h923 enum OperandKindX8664 { k__Start = ::Ice::Operand::kTarget, kMem, kSplit };
DIceInstMIPS32.h58 k__Start = Operand::kTarget,
DIceInstARM32.h48 k__Start = Operand::kTarget,
/external/v8/src/compiler/
Djs-call-reducer.cc975 static constexpr int kTarget = 1; member in v8::internal::compiler::FastApiCallReducerAssembler
981 kTarget * 2 + kEffectAndControl + kContextAndFrameState +