Lines Matching refs:data
2191 const Utils::shaderSource* data[] = { &vertex_data, &tess_ctrl_data, &tess_eval_data, &geometry_data,
2198 Utils::program::printShaderSource(*data[i], message);
2442 GLuint* data = (GLuint*)buffer.map(GL_READ_ONLY);
2444 GLuint color = data[0];
2939 std::vector<GLuint> data;
2946 data.resize(data_size);
2950 data[i] = grey_color;
2961 data[pixel_offset] = blue_color;
2967 texture.update(width, height, 0 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, &data[0]);
2994 GLfloat data[] = { 0.5f, 0.5f, 0.5f, 0.5f };
2995 GLsizeiptr data_size = sizeof(data);
2997 buffer.update(data_size, data, GL_STATIC_DRAW);
3953 std::vector<GLuint> data;
3960 data.resize(data_size);
3964 data[i] = grey_color;
3975 data[pixel_offset] = blue_color;
3981 texture.update(width, height, 0 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, &data[0]);
6017 GLfloat data[] = { 0.0f, 0.0f, 1.0f, 1.0f };
6018 GLsizeiptr data_size = sizeof(data);
6020 buffer.update(data_size, data, GL_STATIC_DRAW);
6418 GLfloat data[] = { 0.0f, 0.0f, 1.0f, 1.0f };
6419 GLsizeiptr data_size = sizeof(data);
6421 buffer.update(data_size, data, GL_STATIC_DRAW);
7942 GLfloat data[] = { 0.0f, 1.0f, 0.0f, 1.0f };
7943 GLsizeiptr data_size = sizeof(data);
7945 buffer.update(data_size, data, GL_STATIC_DRAW);
14598 * @param column Index of column of uni_matrix to use as data source
14619 * @param column Index of column of uni_matrix to use as data source
14698 * @param column Index of column of uni_matrix to use as data source
17739 * @param data <data> parameter
17742 void Utils::buffer::update(glw::GLsizeiptr size, glw::GLvoid* data, glw::GLenum usage)
17749 gl.bufferData(m_target, size, data, usage);
18118 * @param binary_format Format of <binary> data
18146 * @param binary Buffer for binary data
18147 * @param binary_format Format of binary data
18393 const void* data) const
18409 getUniformNdv(gl, n_rows)(location, 1 /* count */, (const GLdouble*)data);
18414 getUniformMatrixNdv(gl, n_columns, n_rows)(location, 1 /* count */, false, (const GLdouble*)data);
18421 getUniformNfv(gl, n_rows)(location, 1 /* count */, (const GLfloat*)data);
18426 getUniformMatrixNfv(gl, n_columns, n_rows)(location, 1 /* count */, false, (const GLfloat*)data);
18431 getUniformNiv(gl, n_rows)(location, 1 /* count */, (const GLint*)data);
18435 getUniformNuiv(gl, n_rows)(location, 1 /* count */, (const GLuint*)data);
18604 * @param buffer_id Id of buffer that will be used as data source
18706 * @param format Format of data
18707 * @param type Type of data
18708 * @param data Buffer with image
18711 glw::GLenum type, glw::GLvoid* data)
18724 gl.texSubImage1D(target, level, 0 /* x */, width, format, type, data);
18730 gl.texSubImage2D(target, level, 0 /* x */, 0 /* y */, width, height, format, type, data);
18735 data);
18737 data);
18739 data);
18741 data);
18743 data);
18745 data);
18750 gl.texSubImage3D(target, level, 0 /* x */, 0 /* y */, 0 /* z */, width, height, depth, format, type, data);