Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_texture.cc131 const GLenum kTarget = GL_TEXTURE_2D; in CreateReadOnlyRgba2dImageTexture() local
136 gl_texture_internal::TextureBinder binder(kTarget, id.id()); in CreateReadOnlyRgba2dImageTexture()
137 RETURN_IF_ERROR(SetTextureWrapAndFilter(kTarget, internal_format)); in CreateReadOnlyRgba2dImageTexture()
138 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexStorage2D, kTarget, in CreateReadOnlyRgba2dImageTexture()
141 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexSubImage2D, kTarget, /* level = */ 0, in CreateReadOnlyRgba2dImageTexture()
143 *gl_texture = GlTexture(kTarget, id.Release(), internal_format, byte_size, 0, in CreateReadOnlyRgba2dImageTexture()
158 const GLenum kTarget = GL_TEXTURE_2D_ARRAY; in CreateReadOnlyRgba3dImageTexture() local
163 gl_texture_internal::TextureBinder binder(kTarget, id.id()); in CreateReadOnlyRgba3dImageTexture()
164 RETURN_IF_ERROR(SetTextureWrapAndFilter(kTarget, internal_format)); in CreateReadOnlyRgba3dImageTexture()
165 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexStorage3D, kTarget, in CreateReadOnlyRgba3dImageTexture()
[all …]
/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/openscreen/discovery/dnssd/testing/
Dfake_dns_record_factory.cc14 const DomainName kTarget{kInstanceName, "_srv-name", "_udp", kDomainName}; in CreateFullyPopulatedSrvRecord() local
19 SrvRecordRdata srv(0, 0, port, kTarget); in CreateFullyPopulatedSrvRecord()
20 return MdnsRecord(kTarget, kType, kClazz, kRecordType, kTtl, std::move(srv)); in CreateFullyPopulatedSrvRecord()
/external/skia/gm/
Dcompositor_quads.cpp828 static const SkRect kTarget = SkRect::MakeWH(kTileWidth, kTileHeight); in configureTilePaint() local
829 SkMatrix local = SkMatrix::RectToRect(kTarget, rect); in configureTilePaint()
/external/swiftshader/third_party/subzero/src/
DIceOperand.h64 kTarget, enumerator
67 static_assert(kTarget <= kTarget_Max, "Must not be above max.");
DIceTargetLoweringX8632Traits.h757 enum OperandKindX8632 { k__Start = ::Ice::Operand::kTarget, kMem, kSplit };
DIceTargetLoweringX8664Traits.h851 enum OperandKindX8664 { k__Start = ::Ice::Operand::kTarget, kMem, kSplit };
DIceInstMIPS32.h58 k__Start = Operand::kTarget,
DIceInstARM32.h48 k__Start = Operand::kTarget,