Lines Matching refs:glw
39 void replaceToken(const glw::GLchar* token, size_t& search_position, const glw::GLchar* text, std::string& string);
49 Buffer(const glw::Functions& gl);
53 void InitData(glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, const glw::GLvoid* data);
58 void BindBase(glw::GLuint index) const;
62 static void Bind(const glw::Functions& gl, glw::GLuint id, glw::GLenum target);
63 static void BindBase(const glw::Functions& gl, glw::GLuint id, glw::GLenum target, glw::GLuint index);
64 static void Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size,
65 const glw::GLvoid* data);
66 static void Generate(const glw::Functions& gl, glw::GLuint& out_id);
67 static void SubData(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size,
68 glw::GLvoid* data);
71 glw::GLuint m_id;
74 static const glw::GLuint m_invalid_id;
75 static const glw::GLuint m_n_targets = 13;
76 static const glw::GLenum m_targets[m_n_targets];
82 const glw::Functions& m_gl;
83 glw::GLenum m_target;
94 Framebuffer(const glw::Functions& gl);
101 static void AttachTexture(const glw::Functions& gl, glw::GLenum target, glw::GLenum attachment,
102 glw::GLuint texture_id, glw::GLint level, glw::GLuint width, glw::GLuint height);
104 static void Bind(const glw::Functions& gl, glw::GLenum target, glw::GLuint id);
105 static void Generate(const glw::Functions& gl, glw::GLuint& out_id);
108 glw::GLuint m_id;
111 static const glw::GLuint m_invalid_id;
115 const glw::Functions& m_gl;
126 Shader(const glw::Functions& gl);
130 void Init(glw::GLenum stage, const std::string& source);
135 static void Compile(const glw::Functions& gl, glw::GLuint id);
136 static void Create(const glw::Functions& gl, glw::GLenum stage, glw::GLuint& out_id);
137 static void Source(const glw::Functions& gl, glw::GLuint id, const std::string& source);
140 glw::GLuint m_id;
143 static const glw::GLuint m_invalid_id;
147 const glw::Functions& m_gl;
158 Program(const glw::Functions& gl);
173 static void Attach(const glw::Functions& gl, glw::GLuint program_id, glw::GLuint shader_id);
174 static void Create(const glw::Functions& gl, glw::GLuint& out_id);
175 static void Link(const glw::Functions& gl, glw::GLuint id);
176 static void Use(const glw::Functions& gl, glw::GLuint id);
179 glw::GLuint m_id;
189 static const glw::GLuint m_invalid_id;
193 const glw::Functions& m_gl;
203 Texture(const glw::Functions& gl);
211 static void Bind(const glw::Functions& gl, glw::GLuint id, glw::GLenum target);
213 static void CompressedImage(const glw::Functions& gl, glw::GLenum target, glw::GLint level,
214 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth,
215 glw::GLsizei image_size, const glw::GLvoid* data);
217 static void Generate(const glw::Functions& gl, glw::GLuint& out_id);
219 static void GetData(const glw::Functions& gl, glw::GLint level, glw::GLenum target, glw::GLenum format,
220 glw::GLenum type, glw::GLvoid* out_data);
222 static void GetData(const glw::Functions& gl, glw::GLuint id, glw::GLint level, glw::GLuint width,
223 glw::GLuint height, glw::GLenum format, glw::GLenum type, glw::GLvoid* out_data);
225 static void GetLevelParameter(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLenum pname,
226 glw::GLint* param);
228 static void Image(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLenum internal_format,
229 glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format, glw::GLenum type,
230 const glw::GLvoid* data);
232 static void Storage(const glw::Functions& gl, glw::GLenum target, glw::GLsizei levels, glw::GLenum internal_format,
233 glw::GLuint width, glw::GLuint height, glw::GLuint depth);
235 static void SubImage(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLint x, glw::GLint y,
236 glw::GLint z, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format,
237 glw::GLenum type, const glw::GLvoid* pixels);
240 glw::GLuint m_id;
243 static const glw::GLuint m_invalid_id;
247 const glw::Functions& m_gl;
258 VertexArray(const glw::Functions& gl);
265 static void Bind(const glw::Functions& gl, glw::GLuint id);
266 static void Generate(const glw::Functions& gl, glw::GLuint& out_id);
269 glw::GLuint m_id;
272 static const glw::GLuint m_invalid_id;
276 const glw::Functions& m_gl;
357 void cleanTexture(const glw::Functions& gl, glw::GLuint texture_id);
358 bool verifyInvalidResults(const glw::Functions& gl, glw::GLuint texture_id);
359 bool verifyValidResults(const glw::Functions& gl, glw::GLuint texture_id);
360 bool verifyResults(const glw::Functions& gl, glw::GLuint texture_id);
424 const glw::GLchar* getTestCaseName() const;
425 void prepareTexture(const glw::Functions& gl, bool is_source, glw::GLuint texture_id);
433 glw::GLuint fetch_offset = 0);
436 virtual bool verifyInvalidResults(const glw::Functions& gl, glw::GLuint texture_id);
437 virtual bool verifyValidResults(const glw::Functions& gl, glw::GLuint texture_id);
468 std::string getComputeShader(VERSION version, glw::GLuint coord_offset = 0, glw::GLuint sample_offset = 0);
469 void setTextures(const glw::Functions& gl, glw::GLuint id_destination, glw::GLuint id_source);
470 bool verifyInvalidResults(const glw::Functions& gl, glw::GLuint texture_id);
471 bool verifyValidResults(const glw::Functions& gl, glw::GLuint texture_id);
524 std::string getComputeShader(glw::GLuint offset);
525 bool verifyResults(glw::GLfloat* buffer_data);
531 static const glw::GLfloat m_destination_data[4];
532 static const glw::GLfloat m_source_data[4];
567 std::string getComputeShader(glw::GLuint offset);
568 bool verifyResults(glw::GLfloat* buffer_data);