/external/angle/src/tests/gl_tests/ |
D | DrawElementsTest.cpp | 41 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 …]
|
D | LineLoopTest.cpp | 942 void initUpdateBuffers(GLuint vertexArray, in initUpdateBuffers() argument 950 glBindVertexArray(vertexArray); in initUpdateBuffers() 958 void preTestUBOAndInitUpdateBuffers(GLuint vertexArray, in preTestUBOAndInitUpdateBuffers() argument 973 glBindVertexArray(vertexArray); in preTestUBOAndInitUpdateBuffers() 1026 GLVertexArray vertexArray; in TEST_P() local 1030 initUpdateBuffers(vertexArray, vertexBuffer, indexBuffer, kLoopPositions, in TEST_P() 1073 GLVertexArray vertexArray; in TEST_P() local 1077 initUpdateBuffers(vertexArray, vertexBuffer, indexBuffer, kLoopPositions, in TEST_P() 1123 GLVertexArray vertexArray; in TEST_P() local 1129 preTestUBOAndInitUpdateBuffers(vertexArray, vertexBuffer, indexBuffer, kLoopPositions, in TEST_P() [all …]
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
D | demo.c | 86 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/ |
D | VertexArrayPerfTest.cpp | 126 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/ |
D | EGLPreRotationTest.cpp | 337 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/ |
D | gluDrawUtil.cpp | 418 …ic inline VertexAttributeDescriptor getUserPointerDescriptor(const VertexArrayBinding &vertexArray) in getUserPointerDescriptor() argument 420 DE_ASSERT(vertexArray.binding.type == BindingPoint::BPTYPE_LOCATION); in getUserPointerDescriptor() 422 … return VertexAttributeDescriptor(vertexArray.binding.location, vertexArray.pointer.componentType, in getUserPointerDescriptor() 423 vertexArray.pointer.convert, vertexArray.pointer.numComponents, in getUserPointerDescriptor() 424 vertexArray.pointer.numElements, vertexArray.pointer.stride, in getUserPointerDescriptor() 425 vertexArray.pointer.data); in getUserPointerDescriptor()
|
/external/webrtc/sdk/objc/components/renderer/opengl/ |
D | RTCShader.mm | 127 BOOL RTCCreateVertexBuffer(GLuint *vertexBuffer, GLuint *vertexArray) { 129 glGenVertexArrays(1, vertexArray); 130 if (*vertexArray == 0) { 133 glBindVertexArray(*vertexArray); 137 glDeleteVertexArrays(1, vertexArray);
|
D | RTCShader.h | 20 GLuint* vertexArray);
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboNoAttachmentTests.cpp | 117 GLuint vertexArray = 0; in checkFramebufferSize() local 121 gl.genVertexArrays(1, &vertexArray); in checkFramebufferSize() 122 gl.bindVertexArray(vertexArray); in checkFramebufferSize() 162 gl.deleteVertexArrays(1, &vertexArray); in checkFramebufferSize() 217 GLuint vertexArray = 0; in checkFramebufferRenderable() local 221 gl.genVertexArrays(1, &vertexArray); in checkFramebufferRenderable() 222 gl.bindVertexArray(vertexArray); in checkFramebufferRenderable() 239 gl.deleteVertexArrays(1, &vertexArray); in checkFramebufferRenderable()
|
/external/angle/src/libANGLE/ |
D | Buffer.cpp | 448 void Buffer::addContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex) in addContentsObserver() argument 451 if (getContentsObserverIndex(vertexArray, bufferIndex) == kInvalidContentsObserverIndex) in addContentsObserver() 453 mContentsObservers.push_back({bufferIndex, vertexArray}); in addContentsObserver() 471 void Buffer::removeContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex) in removeContentsObserver() argument 473 removeContentsObserverImpl(vertexArray, bufferIndex); in removeContentsObserver()
|
D | VertexArray.cpp | 29 VertexArrayState::VertexArrayState(VertexArray *vertexArray, in VertexArrayState() argument 32 : mId(vertexArray->id()), mElementArrayBuffer(vertexArray, kElementArrayBufferIndex) in VertexArrayState() 889 VertexArrayBufferContentsObservers::VertexArrayBufferContentsObservers(VertexArray *vertexArray) in VertexArrayBufferContentsObservers() argument 890 : mVertexArray(vertexArray) in VertexArrayBufferContentsObservers()
|
D | Buffer.h | 203 void addContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex); 204 void removeContentsObserver(VertexArray *vertexArray, uint32_t bufferIndex);
|
D | VertexArray.h | 40 VertexArrayState(VertexArray *vertexArray, size_t maxAttribs, size_t maxBindings); 126 VertexArrayBufferContentsObservers(VertexArray *vertexArray);
|
D | Context.cpp | 948 for (auto vertexArray : UnsafeResourceMapIter(mVertexArrayMap)) in onDestroy() local 950 if (vertexArray.second) in onDestroy() 952 vertexArray.second->onDestroy(this); in onDestroy() 1540 VertexArray *vertexArray = checkVertexArrayAllocation(vertexArrayHandle); in bindVertexArray() local 1541 mState.setVertexArrayBinding(this, vertexArray); in bindVertexArray() 1542 mVertexArrayObserverBinding.bind(vertexArray); in bindVertexArray() 3133 VertexArray *vertexArray = getVertexArray(vertexArrayHandle); in checkVertexArrayAllocation() local 3134 if (!vertexArray) in checkVertexArrayAllocation() 3136 vertexArray = new VertexArray(mImplementation.get(), vertexArrayHandle, in checkVertexArrayAllocation() 3139 vertexArray->setBufferAccessValidationEnabled(mBufferAccessValidationEnabled); in checkVertexArrayAllocation() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/ |
D | vktImagelessFramebufferTests.cpp | 1034 const std::vector<float> vertexArray(getFullQuadVertices()); in readOneSampleFromMultisampleImage() local 1035 const uint32_t vertexCount(static_cast<uint32_t>(vertexArray.size() / 4u)); in readOneSampleFromMultisampleImage() 1036 const VkDeviceSize vertexArraySize(vertexArray.size() * sizeof(vertexArray[0])); in readOneSampleFromMultisampleImage() 1042 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in readOneSampleFromMultisampleImage() 1261 const std::vector<float> vertexArray(getVertices()); in iterate() local 1262 const uint32_t vertexCount(static_cast<uint32_t>(vertexArray.size() / 4u)); in iterate() 1263 const VkDeviceSize vertexArraySize(vertexArray.size() * sizeof(vertexArray[0])); in iterate() 1269 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in iterate() 1503 const std::vector<float> vertexArray(getVertices()); in iterate() local 1504 const uint32_t vertexCount(static_cast<uint32_t>(vertexArray.size() / 4u)); in iterate() [all …]
|
/external/autotest/client/deps/webgl_mpd/src/resources/ |
D | J3DI.js | 369 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/vulkancts/modules/vulkan/image/ |
D | vktImageTranscodingSupportTests.cpp | 516 const std::vector<tcu::Vec4> vertexArray = createFullscreenQuad(); in transcode() local 517 const uint32_t vertexCount = static_cast<uint32_t>(vertexArray.size()); in transcode() 518 const size_t vertexBufferSizeInBytes = vertexCount * sizeof(vertexArray[0]); in transcode() 601 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode() 809 const std::vector<tcu::Vec4> vertexArray = createFullscreenQuad(); in transcode() local 810 const uint32_t vertexCount = static_cast<uint32_t>(vertexArray.size()); in transcode() 811 const size_t vertexBufferSizeInBytes = vertexCount * sizeof(vertexArray[0]); in transcode() 901 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShadingLanguage420PackTests.hpp | 345 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); 747 …prepareVertexBuffer(const Utils::program &program, Utils::buffer &buffer, Utils::vertexArray &vao); 1184 …prepareVertexBuffer(const Utils::program &program, Utils::buffer &buffer, Utils::vertexArray &vao); 1250 …prepareVertexBuffer(const Utils::program &program, Utils::buffer &buffer, Utils::vertexArray &vao); 1454 …prepareVertexBuffer(const Utils::program &program, Utils::buffer &buffer, Utils::vertexArray &vao); 2627 …prepareVertexBuffer(const Utils::program &program, Utils::buffer &buffer, Utils::vertexArray &vao);
|
/external/deqp/modules/glshared/ |
D | glsShaderExecUtil.cpp | 1482 uint32_t vertexArray; in execute() local 1483 gl.genVertexArrays(1, &vertexArray); in execute() 1484 gl.bindVertexArray(vertexArray); in execute() 1491 gl.deleteVertexArrays(1, &vertexArray); in execute() 1608 uint32_t vertexArray; in execute() local 1609 gl.genVertexArrays(1, &vertexArray); in execute() 1610 gl.bindVertexArray(vertexArray); in execute() 1617 gl.deleteVertexArrays(1, &vertexArray); in execute()
|
D | glsStateChangePerfTestCases.cpp | 480 GLuint vertexArray; in requireVertexArrays() local 481 gl.genVertexArrays(1, &vertexArray); in requireVertexArrays() 483 m_vertexArrays.push_back(vertexArray); in requireVertexArrays()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | VertexDataManager.cpp | 252 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/deqp/external/openglcts/modules/common/ |
D | glcViewportArrayTests.hpp | 206 struct vertexArray struct in glcts::ViewportArray::Utils 208 vertexArray(deqp::Context &Context); 209 ~vertexArray();
|
D | glcSeparableProgramsTransformFeedbackTests.cpp | 264 Utils::vertexArray vao(m_context); in iterate()
|
D | glcViewportArrayTests.cpp | 925 Utils::vertexArray::vertexArray(deqp::Context &context) : m_id(0), m_context(context) in vertexArray() function in glcts::ViewportArray::Utils::vertexArray 932 Utils::vertexArray::~vertexArray() in ~vertexArray() 947 void Utils::vertexArray::bind() in bind() 958 void Utils::vertexArray::generate() in generate() 2605 Utils::vertexArray vao(m_context); in iterate()
|
/external/angle/src/libANGLE/capture/ |
D | serialize.cpp | 1384 void SerializeVertexArray(JsonSerializer *json, gl::VertexArray *vertexArray) in SerializeVertexArray() argument 1386 GroupScope group(json, "VertexArray", vertexArray->id().value); in SerializeVertexArray() 1387 SerializeVertexArrayState(json, vertexArray->getState()); in SerializeVertexArray() 1389 vertexArray->isBufferAccessValidationEnabled()); in SerializeVertexArray() 1481 for (const auto &vertexArray : gl::UnsafeResourceMapIter(vertexArrayMap)) in SerializeContextToString() local 1483 gl::VertexArray *vertexArrayPtr = vertexArray.second; in SerializeContextToString()
|