Searched refs:OpenGlBuffer (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/ |
D | converter.cc | 34 absl::Status WrapSSBO(OpenGlBuffer ssbo, GlBuffer* buffer) { in WrapSSBO() 140 auto output = absl::get_if<OpenGlBuffer>(&output_obj); in Convert() 144 auto input = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 235 auto output = absl::get_if<OpenGlBuffer>(&output_obj); in Convert() 239 auto input = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 284 auto ssbo_input = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 285 auto ssbo_output = absl::get_if<OpenGlBuffer>(&output_obj); in Convert() 292 absl::Status Copy(OpenGlBuffer input, OpenGlBuffer output) { in Copy() 321 auto ssbo_output = absl::get_if<OpenGlBuffer>(&output_obj); in Convert() 330 auto ssbo_input = absl::get_if<OpenGlBuffer>(&input_obj); in Convert()
|
D | converter_test.cc | 80 RETURN_IF_ERROR(converter->Convert(OpenGlBuffer{input_buffer.id()}, in RunFromTensorTest() 81 OpenGlBuffer{output_buffer.id()})); in RunFromTensorTest() 137 RETURN_IF_ERROR(converter->Convert(OpenGlBuffer{input_buffer.id()}, in RunToTensorTest() 138 OpenGlBuffer{output_buffer.id()})); in RunToTensorTest()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/ |
D | api.h | 83 struct OpenGlBuffer { struct 84 OpenGlBuffer() = default; 85 explicit OpenGlBuffer(GLuint new_id) : id(new_id) {} in OpenGlBuffer() function 232 absl::variant<absl::monostate, OpenGlBuffer, OpenGlTexture, CpuMemory,
|
D | api.cc | 24 ObjectType operator()(OpenGlBuffer) const { return ObjectType::OPENGL_SSBO; } in operator ()() 45 bool operator()(OpenGlBuffer obj) const { return obj.id != GL_INVALID_INDEX; } in operator ()() 85 return absl::holds_alternative<OpenGlBuffer>(obj); in IsObjectPresent()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | gl_interop.cc | 273 if (absl::holds_alternative<OpenGlBuffer>(input_obj)) { in Convert() 274 auto ssbo = absl::get_if<OpenGlBuffer>(&input_obj); in Convert() 288 auto ssbo = absl::get_if<OpenGlBuffer>(&output_obj); in Convert()
|
D | gpu_api_delegate.cc | 246 OpenGlBuffer buffer; in BindGlBufferToTensor()
|
D | api.cc | 328 auto ssbo = absl::get_if<OpenGlBuffer>(&obj); in SetExternalObject() 332 auto old_ssbo = absl::get_if<OpenGlBuffer>(&external_obj_); in SetExternalObject()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | api2.cc | 53 absl::Status WrapSSBO(OpenGlBuffer ssbo, GlBuffer* buffer) { in WrapSSBO() 149 auto ssbo = absl::get_if<OpenGlBuffer>(&obj); in SetExternalObject() 232 internal_obj_ = OpenGlBuffer{ssbo.id()}; in MaybeAllocateInternalObject() 254 external_obj_ = OpenGlBuffer{external_ssbo_.id()}; in MaybeAllocateExternalObject() 256 RETURN_IF_ERROR(WrapSSBO(OpenGlBuffer{external_ssbo_.id()}, &bbb)); in MaybeAllocateExternalObject()
|