Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_shader.h30 class GlShader {
38 GlShader* gl_shader);
40 GlShader() : id_(0) {} in GlShader() function
43 GlShader(GlShader&& shader);
44 GlShader& operator=(GlShader&& shader);
45 GlShader(const GlShader&) = delete;
46 GlShader& operator=(const GlShader&) = delete;
48 ~GlShader();
53 explicit GlShader(GLuint id) : id_(id) {} in GlShader() function
Dgl_shader.cc26 GlShader::GlShader(GlShader&& shader) : id_(shader.id_) { shader.id_ = 0; } in GlShader() function in tflite::gpu::gl::GlShader
28 void GlShader::Invalidate() { in Invalidate()
35 GlShader& GlShader::operator=(GlShader&& shader) { in operator =()
43 GlShader::~GlShader() { Invalidate(); } in ~GlShader()
45 absl::Status GlShader::CompileShader(GLenum shader_type, in CompileShader()
47 GlShader* gl_shader) { in CompileShader()
51 GlShader shader(shader_id); in CompileShader()
Dgl_sync.cc93 GlShader shader; in NewSync()
94 RETURN_IF_ERROR(GlShader::CompileShader(GL_COMPUTE_SHADER, *kCode, &shader)); in NewSync()
Dgl_program.h43 static absl::Status CreateWithShader(const GlShader& shader,
Dapi.cc233 GlShader shader; in AddFullShader()
235 GlShader::CompileShader(GL_COMPUTE_SHADER, shader_src, &shader)); in AddFullShader()
366 std::vector<GlShader> shaders_;
Druntime.h47 absl::Status AddProgram(const GlShader& shader,
Dapi2.cc573 std::vector<GlShader> shaders; in Build()
592 GlShader shader; in Build()
593 RETURN_IF_ERROR(GlShader::CompileShader(GL_COMPUTE_SHADER, in Build()
Dgl_program.cc124 absl::Status GlProgram::CreateWithShader(const GlShader& shader, in CreateWithShader()
Druntime.cc253 absl::Status Runtime::AddProgram(const GlShader& shader, in AddProgram()
/external/webrtc/sdk/android/src/java/org/webrtc/
DGlGenericDrawer.java17 import org.webrtc.GlShader;
51 void onNewShader(GlShader shader); in onNewShader()
57 void onPrepareShader(GlShader shader, float[] texMatrix, int frameWidth, int frameHeight, in onPrepareShader()
130 @Nullable private GlShader currentShader;
147 GlShader createShader(ShaderType shaderType) { in createShader()
148 return new GlShader( in createShader()
216 final GlShader shader; in prepareShader()
/external/webrtc/sdk/android/tests/src/org/webrtc/
DGlGenericDrawerTest.java25 import org.webrtc.GlShader;
51 GlShader createShader(ShaderType shaderType) { in createShader()
56 private GlShader mockedShader;
62 mockedShader = mock(GlShader.class); in setUp()
/external/webrtc/sdk/android/api/org/webrtc/
DGlRectDrawer.java21 public void onNewShader(GlShader shader) {} in onNewShader()
24 public void onPrepareShader(GlShader shader, float[] texMatrix, int frameWidth, int frameHeight, in onPrepareShader()
DGlShader.java18 public class GlShader { class
41 public GlShader(String vertexSource, String fragmentSource) { in GlShader() method in GlShader
DYuvConverter.java90 public void onNewShader(GlShader shader) { in onNewShader()
96 public void onPrepareShader(GlShader shader, float[] texMatrix, int frameWidth, int frameHeight, in onPrepareShader()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/converters/
Dphwc4_to_bhwc.cc59 GlShader shader; in Create()
61 GlShader::CompileShader(GL_COMPUTE_SHADER, shader_source, &shader)); in Create()
Dbhwc_to_phwc4.cc66 GlShader shader; in Create()
68 GlShader::CompileShader(GL_COMPUTE_SHADER, shader_source, &shader)); in Create()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dconverter.cc59 GlShader shader; in InitializeProgram()
60 RETURN_IF_ERROR(GlShader::CompileShader( in InitializeProgram()
/external/webrtc/sdk/android/
DBUILD.gn222 "api/org/webrtc/GlShader.java",