Home
last modified time | relevance | path

Searched refs:buffer_data (Results 1 – 25 of 73) sorted by relevance

123

/external/deqp/external/openglcts/modules/gl/
Dgl4cMapBufferAlignmentTests.cpp204 std::vector<GLubyte> buffer_data; in iterate() local
218 buffer_data.resize(buffer_data_size); in iterate()
223 buffer_data[i] = (GLubyte)i; in iterate()
271 gl.bufferStorage(buffer.m_target, buffer_size, &buffer_data[0], storage_set); in iterate()
292 if (buffer_data[i] != map_buffer_ptr[i]) in iterate()
315 if (buffer_data[i + offset] != map_buffer_range_ptr[i]) in iterate()
Dgl3cClipDistance.hpp447 std::vector<T> buffer_data(m_size / sizeof(T)); in readBuffer() local
455 memcpy(&buffer_data[0], results, m_size); in readBuffer()
460 return buffer_data; in readBuffer()
Dgl4cVertexAttrib64BitTest.cpp2352 std::vector<GLdouble> buffer_data; in prepareVertexArrayBuffer() local
2353 buffer_data.resize(buffer_length); in prepareVertexArrayBuffer()
2357 setAttributes(iteration, configuration, vertex, buffer_data); in prepareVertexArrayBuffer()
2360 gl.bufferData(GL_ARRAY_BUFFER, buffer_length * sizeof(GLdouble), &buffer_data[0], GL_STATIC_DRAW); in prepareVertexArrayBuffer()
2954 …_varyingType* buffer_data = (_varyingType*)gl.mapBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, GL_READ_ONLY… in verifyResult() local
2960 if (0 == buffer_data) in verifyResult()
2975 if (1 != buffer_data[vertex_offset + instance_offset]) in verifyResult()
Dgl4cEnhancedLayoutsTests.cpp5787 GLvoid* buffer_data = buffer->Map(Utils::Buffer::ReadOnly); in test() local
5793 int res = memcmp(buffer_data, expected_data, size); in test()
6707 std::vector<GLubyte> buffer_data; in test() local
6708 buffer_data.resize(vertex_stride); in test()
6710 GLubyte* ptr = &buffer_data[0]; in test()
12651 std::vector<GLuint> buffer_data; in test() local
12652 buffer_data.resize(8 + 8); /* vertex_index_data + instance_index_data */ in test()
12654 GLubyte* ptr = (GLubyte*)&buffer_data[0]; in test()
12682 buffer.Data(Utils::Buffer::StaticDraw, buffer_data.size() * sizeof(GLuint), ptr); in test()
26128 GLubyte* buffer_data = (GLubyte*)buffer->Map(Utils::Buffer::ReadOnly); in test() local
[all …]
Dgl4cShaderSubroutineTests.cpp6439 static const glw::GLuint buffer_data[] = { m_texture_width * m_texture_height + 1, in testSSBO() local
6444 …c const glw::GLuint expected_incremented[] = { m_texture_width * m_texture_height + buffer_data[0], in testSSBO()
6445 m_texture_width * m_texture_height + buffer_data[1], in testSSBO()
6446 m_texture_width * m_texture_height + buffer_data[2], in testSSBO()
6447 m_texture_width * m_texture_height + buffer_data[3] }; in testSSBO()
6449 static const glw::GLuint expected_decremented[] = { buffer_data[0], buffer_data[1], buffer_data[2], in testSSBO()
6450 buffer_data[3] }; in testSSBO()
6471 buffer.update(GL_SHADER_STORAGE_BUFFER, sizeof(buffer_data), (GLvoid*)buffer_data, GL_STATIC_DRAW); in testSSBO()
6472 buffer.bindRange(GL_SHADER_STORAGE_BUFFER, 0 /* index */, 0 /* offset */, sizeof(buffer_data)); in testSSBO()
Dgl4cGPUShaderFP64Tests.cpp4331 std::vector<glw::GLint> buffer_data; in testBegin() local
4336 buffer_data.resize(m_n_captured_results); in testBegin()
4339 buffer_data[i] = m_result_failure; in testBegin()
4375 …gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, m_transform_feedback_buffer_size, &buffer_data[0], GL_… in testBegin()
4395 GL_RED_INTEGER, GL_INT, &buffer_data[0]); in testBegin()
4417 GL_RED_INTEGER, GL_INT, &buffer_data[0]); in testBegin()
5183 std::vector<glw::GLubyte> buffer_data; in prepareUniformBuffer() local
5184 buffer_data.resize(buffer_size); in prepareUniformBuffer()
5205 glw::GLdouble* value_dst = (glw::GLdouble*)&buffer_data[value_offset]; in prepareUniformBuffer()
5237 gl.bufferData(GL_UNIFORM_BUFFER, buffer_size, &buffer_data[0], GL_STATIC_DRAW); in prepareUniformBuffer()
/external/adhd/cras/src/libcras/
Dcras_helpers.c13 struct buffer_data { struct
29 struct buffer_data *data = (struct buffer_data *)user_arg; in play_buffer_callback() argument
155 struct buffer_data *data; in cras_helper_play_buffer()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_transfer_manager.cc207 std::vector<std::pair<void*, int64>> buffer_data; in TransferLiteralFromOutfeed() local
220 buffer_data.push_back({empty->untyped_data(), size}); in TransferLiteralFromOutfeed()
225 TransferTupleBuffersFromOutfeed(executor, buffer_data)); in TransferLiteralFromOutfeed()
245 tensorflow::gtl::ArraySlice<std::pair<void*, int64>> buffer_data) { in TransferTupleBuffersFromOutfeed() argument
246 return TransferBuffersFromOutfeedInternal(executor, buffer_data, in TransferTupleBuffersFromOutfeed()
259 tensorflow::gtl::ArraySlice<std::pair<void*, int64>> buffer_data, in TransferBuffersFromOutfeedInternal() argument
262 for (auto b : buffer_data) { in TransferBuffersFromOutfeedInternal()
Dcpu_transfer_manager.h58 tensorflow::gtl::ArraySlice<std::pair<void*, int64>> buffer_data);
70 tensorflow::gtl::ArraySlice<std::pair<void*, int64>> buffer_data,
/external/bsdiff/
Dbz2_compressor.cc51 bz_strm_.next_out = reinterpret_cast<char*>(comp_buffer_.buffer_data()); in Write()
75 bz_strm_.next_out = reinterpret_cast<char*>(comp_buffer_.buffer_data()); in Finish()
Dbrotli_compressor.cc52 uint8_t* next_out = comp_buffer_.buffer_data(); in Write()
77 uint8_t* next_out = comp_buffer_.buffer_data(); in Finish()
Dcompressor_buffer.h29 uint8_t* buffer_data() { return comp_buffer_.data(); } in buffer_data() function
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/
Dremove_trivial_binary.cc32 bool AreAllBufferElementsEqualTo(const std::vector<Scalar>& buffer_data, in AreAllBufferElementsEqualTo() argument
34 for (auto x : buffer_data) { in AreAllBufferElementsEqualTo()
Dresolve_multiply_by_zero.cc30 bool AreAllBufferElementsZero(const std::vector<T>& buffer_data) { in AreAllBufferElementsZero() argument
31 for (auto x : buffer_data) { in AreAllBufferElementsZero()
/external/deqp/external/openglcts/modules/gles32/
Des32cRobustBufferAccessBehaviorTests.hpp140 virtual bool verifyResults(glw::GLfloat* buffer_data);
163 virtual bool verifyResults(glw::GLfloat* buffer_data);
Des32cRobustBufferAccessBehaviorTests.cpp1216 bool StorageBufferTest::verifyResults(GLfloat* buffer_data) in verifyResults() argument
1246 if (m_test_case == VALID && memcmp(expected_data, buffer_data, size) != 0) in verifyResults()
1334 bool UniformBufferTest::verifyResults(GLfloat* buffer_data) in verifyResults() argument
1359 if (m_test_case == VALID && memcmp(expected_data, buffer_data, size) != 0) in verifyResults()
/external/deqp/external/openglcts/modules/gles31/
Des31cArrayOfArraysTests.cpp7017 glw::GLfloat buffer_data[] = { 0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, in test_shader_compilation() local
7020 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation()
7028 glw::GLint buffer_data[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; in test_shader_compilation() local
7030 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation()
7037 glw::GLuint buffer_data[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; in test_shader_compilation() local
7039 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation()
7046 glw::GLdouble buffer_data[] = { 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, in test_shader_compilation() local
7049 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation()
7472 glw::GLfloat buffer_data[] = { 0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, in test_shader_compilation() local
7475 gl.bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.cpp3359 GLfloat* buffer_data = in iterate() local
3363 test_result = verifyResults(buffer_data); in iterate()
3448 bool StorageBufferTest::verifyResults(GLfloat* buffer_data) in verifyResults() argument
3483 if (buffer_data[b] == 0.0f) in verifyResults()
3491 if (buffer_data[b] == m_source_data[c]) in verifyResults()
3522 if (buffer_data[b] == m_destination_data[b]) in verifyResults()
3530 if (buffer_data[b] == m_source_data[c]) in verifyResults()
3557 if (0 != memcmp(expected_data, buffer_data, size)) in verifyResults()
3639 GLfloat* buffer_data = in iterate() local
3643 test_result = verifyResults(buffer_data); in iterate()
[all …]
DglcRobustBufferAccessBehaviorTests.hpp512 virtual bool verifyResults(glw::GLfloat* buffer_data);
557 virtual bool verifyResults(glw::GLfloat* buffer_data);
/external/tensorflow/tensorflow/contrib/lite/
Dmodel.cc677 auto get_readonly_data = [&](const char** buffer_data, in ParseTensors()
681 *buffer_data = nullptr; in ParseTensors()
693 *buffer_data = reinterpret_cast<const char*>(array->data()); in ParseTensors()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayImageTextureSize.cpp413 std::vector<glw::GLint> buffer_data(m_n_varyings * m_n_tf_components, 0); in configureTestSpecificObjects() local
415 …_TRANSFORM_FEEDBACK_BUFFER, m_n_varyings * m_n_tf_components * sizeof(glw::GLint), &buffer_data[0], in configureTestSpecificObjects()
454 std::vector<glw::GLint> buffer_data(m_n_varyings * m_n_tf_components, 0); in configureTextures() local
457 &buffer_data[0]); in configureTextures()
DesextcTextureCubeMapArraySampling.hpp322 void init(const glw::Functions& gl, glw::GLsizeiptr buffer_size, glw::GLvoid* buffer_data);
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c222 const char *buffer_data; in si_llvm_compile() local
249 buffer_data = LLVMGetBufferStart(out_buffer); in si_llvm_compile()
251 radeon_elf_read(buffer_data, buffer_size, binary); in si_llvm_compile()
/external/deqp/modules/gles2/functional/
Des2fNegativeBufferApiTests.cpp74 ES2F_ADD_API_CASE(buffer_data, "Invalid glBufferData() usage", in init()
/external/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp69 void buffer_data (NegativeTestContext& ctx) in buffer_data() function
1989 {buffer_data, "buffer_data", "Invalid glBufferData() usage" }, in getNegativeBufferApiTestFunctions()

123