Home
last modified time | relevance | path

Searched refs:gl_buffer (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_buffer.h81 absl::Status MakeView(size_t offset, size_t bytes_size, GlBuffer* gl_buffer);
128 GlBuffer* gl_buffer);
134 GlBuffer* gl_buffer);
172 absl::Status CreatePersistentBuffer(size_t size, GlPersistentBuffer* gl_buffer);
247 GlBuffer* gl_buffer) { in CreateReadWriteShaderStorageBuffer() argument
254 *gl_buffer = GlBuffer{GL_SHADER_STORAGE_BUFFER, id.Release(), in CreateReadWriteShaderStorageBuffer()
261 GlBuffer* gl_buffer) { in CreateReadOnlyShaderStorageBuffer() argument
267 *gl_buffer = GlBuffer{GL_SHADER_STORAGE_BUFFER, id.Release(), in CreateReadOnlyShaderStorageBuffer()
Dobject_manager.cc28 GlBuffer* gl_buffer) { in CreatePHWC4BufferFromTensor() argument
32 return CreateReadOnlyShaderStorageBuffer<float>(transposed, gl_buffer); in CreatePHWC4BufferFromTensor()
36 GlBuffer* gl_buffer) { in CreatePHWC4BufferFromTensorRef() argument
38 GetElementsSizeForPHWC4(tensor_ref.shape), gl_buffer); in CreatePHWC4BufferFromTensorRef()
Dgl_buffer.cc85 GlBuffer* gl_buffer) { in MakeView() argument
89 *gl_buffer = GlBuffer(target_, id_, bytes_size, offset_ + offset, in MakeView()
126 GlPersistentBuffer* gl_buffer) { in CreatePersistentBuffer() argument
143 *gl_buffer = GlPersistentBuffer{ in CreatePersistentBuffer()
Dobject_manager.h71 GlBuffer* gl_buffer);
76 GlBuffer* gl_buffer);
Druntime.cc138 GlBuffer* gl_buffer) { in MakeGlBuffer() argument
143 gl_buffer); in MakeGlBuffer()
304 GlBuffer gl_buffer; in AllocateInternalObject() local
306 ByteSizeOf(object), &gl_buffer)); in AllocateInternalObject()
308 internal_objects_.RegisterBuffer(ref, std::move(gl_buffer))); in AllocateInternalObject()
333 GlBuffer gl_buffer; in AllocateConstObject() local
335 !shared_readonly_buffer_->Add(*data, &gl_buffer)) { in AllocateConstObject()
336 RETURN_IF_ERROR(MakeGlBuffer(object, *data, &gl_buffer)); in AllocateConstObject()
338 RETURN_IF_ERROR(const_objects_.RegisterBuffer(*id, std::move(gl_buffer))); in AllocateConstObject()
DBUILD197 name = "gl_buffer",
198 srcs = ["gl_buffer.cc"],
199 hdrs = ["gl_buffer.h"],
224 ":gl_buffer",
310 ":gl_buffer",
361 ":gl_buffer",
399 ":gl_buffer",
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c76 struct gl_framebuffer *gl_buffer; /*< The framebuffer, containing user's rb */ member
857 osmesa->gl_buffer = _mesa_create_framebuffer(osmesa->gl_visual); in OSMesaCreateContextAttribs()
858 if (!osmesa->gl_buffer) { in OSMesaCreateContextAttribs()
868 _swrast_add_soft_renderbuffers(osmesa->gl_buffer, in OSMesaCreateContextAttribs()
959 _mesa_reference_framebuffer( &osmesa->gl_buffer, NULL ); in OSMesaDestroyContext()
1035 _mesa_remove_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT); in OSMesaMakeCurrent()
1036 _mesa_attach_and_reference_rb(osmesa->gl_buffer, BUFFER_FRONT_LEFT, in OSMesaMakeCurrent()
1052 _mesa_resize_framebuffer(&osmesa->mesa, osmesa->gl_buffer, width, height); in OSMesaMakeCurrent()
1054 _mesa_make_current( &osmesa->mesa, osmesa->gl_buffer, osmesa->gl_buffer ); in OSMesaMakeCurrent()
1059 _mesa_remove_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT); in OSMesaMakeCurrent()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/converters/
DBUILD34 "//tensorflow/lite/delegates/gpu/gl:gl_buffer",
61 "//tensorflow/lite/delegates/gpu/gl:gl_buffer",
79 "//tensorflow/lite/delegates/gpu/gl:gl_buffer",
106 "//tensorflow/lite/delegates/gpu/gl:gl_buffer",
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dconverter.cc323 GlBuffer gl_buffer; in Convert() local
324 RETURN_IF_ERROR(WrapSSBO(*ssbo_output, &gl_buffer)); in Convert()
325 return gl_buffer.Write( in Convert()
332 GlBuffer gl_buffer; in Convert() local
333 RETURN_IF_ERROR(WrapSSBO(*ssbo_input, &gl_buffer)); in Convert()
334 return gl_buffer.Read(absl::MakeSpan( in Convert()
DBUILD23 "//tensorflow/lite/delegates/gpu/gl:gl_buffer",
51 "//tensorflow/lite/delegates/gpu/gl:gl_buffer",
673 "//tensorflow/lite/delegates/gpu/gl:gl_buffer",
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/runtime/
Dshared_buffer.h58 absl::Status CreateSharedGlBuffer(GlBuffer* gl_buffer) { in CreateSharedGlBuffer() argument
65 *gl_buffer = GlBuffer(GL_SHADER_STORAGE_BUFFER, buffer_id_.Release(), in CreateSharedGlBuffer()
DBUILD12 "//tensorflow/lite/delegates/gpu/gl:gl_buffer",