Home
last modified time | relevance | path

Searched refs:vertexArray (Results 1 – 25 of 75) sorted by relevance

123

/external/angle/src/tests/gl_tests/
DDrawElementsTest.cpp41 for (GLuint vertexArray : mVertexArrays) in ~DrawElementsTest() local
43 if (vertexArray != 0) in ~DrawElementsTest()
45 glDeleteVertexArrays(1, &vertexArray); in ~DrawElementsTest()
125 GLuint vertexArray; in TEST_P() local
126 glGenVertexArrays(1, &vertexArray); in TEST_P()
127 glBindVertexArray(vertexArray); in TEST_P()
144 glDeleteVertexArrays(1, &vertexArray); in TEST_P()
169 GLVertexArray vertexArray[2]; in TEST_P() local
172 glBindVertexArray(vertexArray[0]); in TEST_P()
181 glBindVertexArray(vertexArray[i]); in TEST_P()
[all …]
DLineLoopTest.cpp514 GLVertexArray vertexArray; in runTest() local
530 glBindVertexArray(vertexArray); in runTest()
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Ddemo.c86 GLfloat *vertexArray; member
128 free(object->vertexArray); in freeGLObject()
144 result->vertexArray = malloc(result->vertexArraySize); in newGLObject()
170 if (result->vertexArray == NULL || in newGLObject()
195 object->vertexArraySize, object->vertexArray); in appendObjectVBO()
207 free(object->vertexArray); in appendObjectVBO()
208 object->vertexArray = NULL; in appendObjectVBO()
445 result->vertexArray[currentVertex * 3] = pa.x; in createSuperShape()
446 result->vertexArray[currentVertex * 3 + 1] = pa.y; in createSuperShape()
447 result->vertexArray[currentVertex * 3 + 2] = pa.z; in createSuperShape()
[all …]
/external/angle/src/tests/perf_tests/
DVertexArrayPerfTest.cpp126 for (GLuint vertexArray : mVertexArrays) in initializeBenchmark() local
128 rebindVertexArray(vertexArray, mBuffers[0]); in initializeBenchmark()
179 for (GLuint vertexArray : mVertexArrays) in drawBenchmark() local
182 updateBufferData(vertexArray, mBuffers[0], params.bufferSize[bufferSizeIndex]); in drawBenchmark()
188 for (GLuint vertexArray : mVertexArrays) in drawBenchmark() local
191 rebindVertexArray(vertexArray, mBuffers[bufferIndex]); in drawBenchmark()
/external/angle/src/tests/egl_tests/
DEGLPreRotationTest.cpp337 GLVertexArray vertexArray; in TEST_P() local
340 glBindVertexArray(vertexArray); in TEST_P()
426 GLVertexArray vertexArray; in TEST_P() local
429 glBindVertexArray(vertexArray); in TEST_P()
546 GLVertexArray vertexArray; in TEST_P() local
549 glBindVertexArray(vertexArray); in TEST_P()
690 GLVertexArray vertexArray; in TEST_P() local
693 glBindVertexArray(vertexArray); in TEST_P()
764 GLVertexArray *vertexArray, in initializeGeometry() argument
773 glBindVertexArray(*vertexArray); in initializeGeometry()
[all …]
/external/deqp/framework/opengl/
DgluDrawUtil.cpp389 …c inline VertexAttributeDescriptor getUserPointerDescriptor (const VertexArrayBinding& vertexArray) in getUserPointerDescriptor() argument
391 DE_ASSERT(vertexArray.binding.type == BindingPoint::BPTYPE_LOCATION); in getUserPointerDescriptor()
393 return VertexAttributeDescriptor(vertexArray.binding.location, in getUserPointerDescriptor()
394 vertexArray.pointer.componentType, in getUserPointerDescriptor()
395 vertexArray.pointer.convert, in getUserPointerDescriptor()
396 vertexArray.pointer.numComponents, in getUserPointerDescriptor()
397 vertexArray.pointer.numElements, in getUserPointerDescriptor()
398 vertexArray.pointer.stride, in getUserPointerDescriptor()
399 vertexArray.pointer.data); in getUserPointerDescriptor()
/external/webrtc/sdk/objc/components/renderer/opengl/
DRTCShader.mm127 BOOL RTCCreateVertexBuffer(GLuint *vertexBuffer, GLuint *vertexArray) {
129 glGenVertexArrays(1, vertexArray);
130 if (*vertexArray == 0) {
133 glBindVertexArray(*vertexArray);
137 glDeleteVertexArrays(1, vertexArray);
DRTCShader.h20 GLuint* vertexArray);
/external/deqp/modules/gles31/functional/
Des31fFboNoAttachmentTests.cpp122 GLuint vertexArray = 0; in checkFramebufferSize() local
126 gl.genVertexArrays(1, &vertexArray); in checkFramebufferSize()
127 gl.bindVertexArray(vertexArray); in checkFramebufferSize()
164 gl.deleteVertexArrays(1, &vertexArray); in checkFramebufferSize()
222 GLuint vertexArray = 0; in checkFramebufferRenderable() local
226 gl.genVertexArrays(1, &vertexArray); in checkFramebufferRenderable()
227 gl.bindVertexArray(vertexArray); in checkFramebufferRenderable()
244 gl.deleteVertexArrays(1, &vertexArray); in checkFramebufferRenderable()
/external/angle/src/libANGLE/
DBuffer.cpp422 void Buffer::addContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex) in addContentsObserver() argument
425 if (getContentsObserverIndex(vertexArray, bufferIndex) == kInvalidContentsObserverIndex) in addContentsObserver()
427 mContentsObservers.push_back({bufferIndex, vertexArray}); in addContentsObserver()
445 void Buffer::removeContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex) in removeContentsObserver() argument
447 removeContentsObserverImpl(vertexArray, bufferIndex); in removeContentsObserver()
DBuffer.h192 void addContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex);
193 void removeContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex);
DVertexArray.cpp29 VertexArrayState::VertexArrayState(VertexArray *vertexArray, in VertexArrayState() argument
32 : mElementArrayBuffer(vertexArray, kElementArrayBufferIndex) in VertexArrayState()
883 VertexArrayBufferContentsObservers::VertexArrayBufferContentsObservers(VertexArray *vertexArray) in VertexArrayBufferContentsObservers() argument
884 : mVertexArray(vertexArray) in VertexArrayBufferContentsObservers()
DVertexArray.h40 VertexArrayState(VertexArray *vertexArray, size_t maxAttribs, size_t maxBindings);
121 VertexArrayBufferContentsObservers(VertexArray *vertexArray);
DContext.cpp903 for (auto vertexArray : mVertexArrayMap) in onDestroy() local
905 if (vertexArray.second) in onDestroy()
907 vertexArray.second->onDestroy(this); in onDestroy()
1506 VertexArray *vertexArray = checkVertexArrayAllocation(vertexArrayHandle); in bindVertexArray() local
1507 mState.setVertexArrayBinding(this, vertexArray); in bindVertexArray()
1508 mVertexArrayObserverBinding.bind(vertexArray); in bindVertexArray()
3112 VertexArray *vertexArray = getVertexArray(vertexArrayHandle); in checkVertexArrayAllocation() local
3113 if (!vertexArray) in checkVertexArrayAllocation()
3115 vertexArray = new VertexArray(mImplementation.get(), vertexArrayHandle, in checkVertexArrayAllocation()
3118 vertexArray->setBufferAccessValidationEnabled(mBufferAccessValidationEnabled); in checkVertexArrayAllocation()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp1084 const std::vector<float> vertexArray (getFullQuadVertices()); in readOneSampleFromMultisampleImage() local
1085 const deUint32 vertexCount (static_cast<deUint32>(vertexArray.size() / 4u)); in readOneSampleFromMultisampleImage()
1086 const VkDeviceSize vertexArraySize (vertexArray.size() * sizeof(vertexArray[0])); in readOneSampleFromMultisampleImage()
1091 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in readOneSampleFromMultisampleImage()
1277 const std::vector<float> vertexArray (getVertices()); in iterate() local
1278 const deUint32 vertexCount (static_cast<deUint32>(vertexArray.size() / 4u)); in iterate()
1279 const VkDeviceSize vertexArraySize (vertexArray.size() * sizeof(vertexArray[0])); in iterate()
1284 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in iterate()
1511 const std::vector<float> vertexArray (getVertices()); in iterate() local
1512 const deUint32 vertexCount (static_cast<deUint32>(vertexArray.size() / 4u)); in iterate()
[all …]
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js369 vertexArray = [ ];
458 vertexArray.push(x);
459 vertexArray.push(y);
460 vertexArray.push(z);
505 obj.ctx.bufferData(obj.ctx.ARRAY_BUFFER, new Float32Array(vertexArray), obj.ctx.STATIC_DRAW);
/external/deqp/external/openglcts/modules/gl/
Dgl4cShadingLanguage420PackTests.hpp345 struct vertexArray struct in gl4cts::GLSL420Pack::Utils
347 vertexArray(deqp::Context& Context);
348 ~vertexArray();
532 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao);
703 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao);
1187 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao);
1255 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao);
1464 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao);
2628 …prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao);
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTranscodingSupportTests.cpp341 const std::vector<tcu::Vec4> vertexArray = createFullscreenQuad(); in transcode() local
342 const deUint32 vertexCount = static_cast<deUint32>(vertexArray.size()); in transcode()
343 const size_t vertexBufferSizeInBytes = vertexCount * sizeof(vertexArray[0]); in transcode()
398 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode()
595 const std::vector<tcu::Vec4> vertexArray = createFullscreenQuad(); in transcode() local
596 const deUint32 vertexCount = static_cast<deUint32>(vertexArray.size()); in transcode()
597 const size_t vertexBufferSizeInBytes = vertexCount * sizeof(vertexArray[0]); in transcode()
660 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode()
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp1378 deUint32 vertexArray; in execute() local
1379 gl.genVertexArrays(1, &vertexArray); in execute()
1380 gl.bindVertexArray(vertexArray); in execute()
1387 gl.deleteVertexArrays(1, &vertexArray); in execute()
1503 deUint32 vertexArray; in execute() local
1504 gl.genVertexArrays(1, &vertexArray); in execute()
1505 gl.bindVertexArray(vertexArray); in execute()
1512 gl.deleteVertexArrays(1, &vertexArray); in execute()
DglsStateChangePerfTestCases.cpp472 GLuint vertexArray; in requireVertexArrays() local
473 gl.genVertexArrays(1, &vertexArray); in requireVertexArrays()
475 m_vertexArrays.push_back(vertexArray); in requireVertexArrays()
/external/deqp/external/openglcts/modules/common/
DglcViewportArrayTests.hpp206 struct vertexArray struct in glcts::ViewportArray::Utils
208 vertexArray(deqp::Context& Context);
209 ~vertexArray();
DglcSeparableProgramsTransformFeedbackTests.cpp262 Utils::vertexArray vao(m_context); in iterate()
DglcViewportArrayTests.cpp919 Utils::vertexArray::vertexArray(deqp::Context& context) : m_id(0), m_context(context) in vertexArray() function in glcts::ViewportArray::Utils::vertexArray
926 Utils::vertexArray::~vertexArray() in ~vertexArray()
941 void Utils::vertexArray::bind() in bind()
952 void Utils::vertexArray::generate() in generate()
2599 Utils::vertexArray vao(m_context); in iterate()
/external/angle/src/libANGLE/renderer/d3d/
DVertexDataManager.cpp252 const gl::VertexArray *vertexArray = state.getVertexArray(); in prepareVertexData() local
253 const auto &vertexAttributes = vertexArray->getVertexAttributes(); in prepareVertexData()
254 const auto &vertexBindings = vertexArray->getVertexBindings(); in prepareVertexData()
/external/angle/src/libANGLE/capture/
Dserialize.cpp1371 void SerializeVertexArray(JsonSerializer *json, gl::VertexArray *vertexArray) in SerializeVertexArray() argument
1373 GroupScope group(json, "VertexArray", vertexArray->id().value); in SerializeVertexArray()
1374 SerializeVertexArrayState(json, vertexArray->getState()); in SerializeVertexArray()
1376 vertexArray->isBufferAccessValidationEnabled()); in SerializeVertexArray()
1464 for (const auto &vertexArray : vertexArrayMap) in SerializeContextToString() local
1466 gl::VertexArray *vertexArrayPtr = vertexArray.second; in SerializeContextToString()

123