Home
last modified time | relevance | path

Searched refs:ARRAY_BUFFER (Results 1 – 6 of 6) sorted by relevance

/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js214 ctx.bindBuffer(ctx.ARRAY_BUFFER, retval.normalObject);
215 ctx.bufferData(ctx.ARRAY_BUFFER, normals, ctx.STATIC_DRAW);
218 ctx.bindBuffer(ctx.ARRAY_BUFFER, retval.texCoordObject);
219 ctx.bufferData(ctx.ARRAY_BUFFER, texCoords, ctx.STATIC_DRAW);
222 ctx.bindBuffer(ctx.ARRAY_BUFFER, retval.vertexObject);
223 ctx.bufferData(ctx.ARRAY_BUFFER, vertices, ctx.STATIC_DRAW);
225 ctx.bindBuffer(ctx.ARRAY_BUFFER, null);
300 ctx.bindBuffer(ctx.ARRAY_BUFFER, retval.normalObject);
301 ctx.bufferData(ctx.ARRAY_BUFFER, new Float32Array(normalData), ctx.STATIC_DRAW);
304 ctx.bindBuffer(ctx.ARRAY_BUFFER, retval.texCoordObject);
[all …]
/external/opencv3/modules/cudaarithm/test/
Dtest_opengl.cpp80 cv::ogl::Buffer buf(size.height, size.width, type, cv::ogl::Buffer::ARRAY_BUFFER, true); in CUDA_TEST_P()
89 cv::ogl::Buffer buf(size, type, cv::ogl::Buffer::ARRAY_BUFFER, true); in CUDA_TEST_P()
100 cv::ogl::Buffer buf(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); in CUDA_TEST_P()
113 cv::ogl::Buffer buf(d_gold, cv::ogl::Buffer::ARRAY_BUFFER); in CUDA_TEST_P()
123 cv::ogl::Buffer buf_gold(size, type, cv::ogl::Buffer::ARRAY_BUFFER, true); in CUDA_TEST_P()
136 buf.create(size.height, size.width, type, cv::ogl::Buffer::ARRAY_BUFFER, true); in CUDA_TEST_P()
148 buf.copyFrom(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); in CUDA_TEST_P()
162 buf.copyFrom(d_gold, cv::ogl::Buffer::ARRAY_BUFFER, true); in CUDA_TEST_P()
173 cv::ogl::Buffer buf_gold(gold, cv::ogl::Buffer::ARRAY_BUFFER, true); in CUDA_TEST_P()
176 buf.copyFrom(buf_gold, cv::ogl::Buffer::ARRAY_BUFFER, true); in CUDA_TEST_P()
[all …]
/external/opencv3/modules/core/include/opencv2/core/
Dopengl.hpp85 ARRAY_BUFFER = 0x8892, //!< The buffer will be used as a source for vertex data enumerator
129 Buffer(int arows, int acols, int atype, Target target = ARRAY_BUFFER, bool autoRelease = false);
137 Buffer(Size asize, int atype, Target target = ARRAY_BUFFER, bool autoRelease = false);
144 explicit Buffer(InputArray arr, Target target = ARRAY_BUFFER, bool autoRelease = false);
154 …void create(int arows, int acols, int atype, Target target = ARRAY_BUFFER, bool autoRelease = fals…
162 void create(Size asize, int atype, Target target = ARRAY_BUFFER, bool autoRelease = false);
186 void copyFrom(InputArray arr, Target target = ARRAY_BUFFER, bool autoRelease = false);
189 …void copyFrom(InputArray arr, cuda::Stream& stream, Target target = ARRAY_BUFFER, bool autoRelease…
206 Buffer clone(Target target = ARRAY_BUFFER, bool autoRelease = false) const;
/external/opencv3/modules/core/src/
Dopengl.cpp1350 texCoord_.bind(ogl::Buffer::ARRAY_BUFFER); in bind()
1366 normal_.bind(ogl::Buffer::ARRAY_BUFFER); in bind()
1382 color_.bind(ogl::Buffer::ARRAY_BUFFER); in bind()
1400 vertex_.bind(ogl::Buffer::ARRAY_BUFFER); in bind()
1406 ogl::Buffer::unbind(ogl::Buffer::ARRAY_BUFFER); in bind()
1461 ogl::Buffer::unbind(ogl::Buffer::ARRAY_BUFFER); in render()
Dgl_core_3_1.hpp625 ARRAY_BUFFER = 0x8892, enumerator
/external/autotest/client/deps/webgl_mpd/src/debug/
Dwebgl-debug.js358 ctx.bindBuffer(ctx.ARRAY_BUFFER, tmp);
375 ctx.bindBuffer(ctx.ARRAY_BUFFER, null);