/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/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 | 389 …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/ |
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 | 122 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/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/imageless_framebuffer/ |
D | vktImagelessFramebufferTests.cpp | 1028 const std::vector<float> vertexArray (getFullQuadVertices()); in readOneSampleFromMultisampleImage() local 1029 const deUint32 vertexCount (static_cast<deUint32>(vertexArray.size() / 4u)); in readOneSampleFromMultisampleImage() 1030 const VkDeviceSize vertexArraySize (vertexArray.size() * sizeof(vertexArray[0])); in readOneSampleFromMultisampleImage() 1035 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in readOneSampleFromMultisampleImage() 1221 const std::vector<float> vertexArray (getVertices()); in iterate() local 1222 const deUint32 vertexCount (static_cast<deUint32>(vertexArray.size() / 4u)); in iterate() 1223 const VkDeviceSize vertexArraySize (vertexArray.size() * sizeof(vertexArray[0])); in iterate() 1228 fillBuffer(vk, device, *vertexBufferAlloc, &vertexArray[0], vertexArraySize); in iterate() 1455 const std::vector<float> vertexArray (getVertices()); in iterate() local 1456 const deUint32 vertexCount (static_cast<deUint32>(vertexArray.size() / 4u)); in iterate() [all …]
|
/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()
|
D | LineLoopTest.cpp | 514 GLVertexArray vertexArray; in runTest() local 530 glBindVertexArray(vertexArray); in runTest()
|
/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); 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/ |
D | vktImageTranscodingSupportTests.cpp | 340 const std::vector<tcu::Vec4> vertexArray = createFullscreenQuad(); in transcode() local 341 const deUint32 vertexCount = static_cast<deUint32>(vertexArray.size()); in transcode() 342 const size_t vertexBufferSizeInBytes = vertexCount * sizeof(vertexArray[0]); in transcode() 393 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode() 590 const std::vector<tcu::Vec4> vertexArray = createFullscreenQuad(); in transcode() local 591 const deUint32 vertexCount = static_cast<deUint32>(vertexArray.size()); in transcode() 592 const size_t vertexBufferSizeInBytes = vertexCount * sizeof(vertexArray[0]); in transcode() 650 deMemcpy(vertexBufferAlloc.getHostPtr(), &vertexArray[0], vertexBufferSizeInBytes); in transcode()
|
/external/deqp/modules/glshared/ |
D | glsShaderExecUtil.cpp | 1378 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()
|
D | glsStateChangePerfTestCases.cpp | 472 GLuint vertexArray; in requireVertexArrays() local 473 gl.genVertexArrays(1, &vertexArray); in requireVertexArrays() 475 m_vertexArrays.push_back(vertexArray); in requireVertexArrays()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | VertexDataManager.cpp | 253 const gl::VertexArray *vertexArray = state.getVertexArray(); in prepareVertexData() local 254 const auto &vertexAttributes = vertexArray->getVertexAttributes(); in prepareVertexData() 255 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 | 262 Utils::vertexArray vao(m_context); in iterate()
|
D | glcViewportArrayTests.cpp | 919 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/capture/ |
D | frame_capture_utils.cpp | 1323 void SerializeVertexArray(JsonSerializer *json, gl::VertexArray *vertexArray) in SerializeVertexArray() argument 1325 GroupScope group(json, "VertexArray", vertexArray->id().value); in SerializeVertexArray() 1326 SerializeVertexArrayState(json, vertexArray->getState()); in SerializeVertexArray() 1328 vertexArray->isBufferAccessValidationEnabled()); in SerializeVertexArray() 1416 for (const auto &vertexArray : vertexArrayMap) in SerializeContextToString() local 1418 gl::VertexArray *vertexArrayPtr = vertexArray.second; in SerializeContextToString()
|
/external/angle/src/libANGLE/ |
D | VertexArray.cpp | 31 VertexArrayState::VertexArrayState(VertexArray *vertexArray, in VertexArrayState() argument 34 : mElementArrayBuffer(vertexArray, kElementArrayBufferIndex) in VertexArrayState()
|
D | Context.cpp | 648 for (auto vertexArray : mVertexArrayMap) in onDestroy() local 650 if (vertexArray.second) in onDestroy() 652 vertexArray.second->onDestroy(this); in onDestroy() 1206 VertexArray *vertexArray = checkVertexArrayAllocation(vertexArrayHandle); in bindVertexArray() local 1207 mState.setVertexArrayBinding(this, vertexArray); in bindVertexArray() 1208 mVertexArrayObserverBinding.bind(vertexArray); in bindVertexArray() 2836 VertexArray *vertexArray = getVertexArray(vertexArrayHandle); in checkVertexArrayAllocation() local 2837 if (!vertexArray) in checkVertexArrayAllocation() 2839 vertexArray = in checkVertexArrayAllocation() 2842 vertexArray->setBufferAccessValidationEnabled(mBufferAccessValidationEnabled); in checkVertexArrayAllocation() [all …]
|
D | Context.h | 415 bool isVertexArrayGenerated(VertexArrayID vertexArray) const; 656 void detachVertexArray(VertexArrayID vertexArray);
|
D | VertexArray.h | 38 VertexArrayState(VertexArray *vertexArray, size_t maxAttribs, size_t maxBindings);
|
D | State.cpp | 1791 void State::setVertexArrayBinding(const Context *context, VertexArray *vertexArray) in setVertexArrayBinding() argument 1793 if (mVertexArray == vertexArray) in setVertexArrayBinding() 1797 mVertexArray = vertexArray; in setVertexArrayBinding() 1798 if (vertexArray) in setVertexArrayBinding() 1799 vertexArray->onBindingChanged(context, 1); in setVertexArrayBinding() 1808 bool State::removeVertexArrayBinding(const Context *context, VertexArrayID vertexArray) in removeVertexArrayBinding() argument 1810 if (mVertexArray && mVertexArray->id().value == vertexArray.value) in removeVertexArrayBinding()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 1058 void Context::deleteVertexArray(GLuint vertexArray) in deleteVertexArray() argument 1063 if(getCurrentVertexArray()->name == vertexArray) in deleteVertexArray() 1068 VertexArray *vertexArrayObject = mVertexArrayNameSpace.remove(vertexArray); in deleteVertexArray() 1242 VertexArray *vertexArray = getVertexArray(array); in bindVertexArray() local 1244 if(!vertexArray) in bindVertexArray() 1246 vertexArray = new VertexArray(array); in bindVertexArray() 1247 mVertexArrayNameSpace.insert(array, vertexArray); in bindVertexArray() 1250 mState.vertexArray = array; in bindVertexArray() 1491 return getVertexArray(mState.vertexArray); in getCurrentVertexArray()
|