Home
last modified time | relevance | path

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

123

/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/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/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/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp1028 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/
DDrawElementsTest.cpp41 for (GLuint vertexArray : mVertexArrays) in ~DrawElementsTest() local
43 if (vertexArray != 0) in ~DrawElementsTest()
45 glDeleteVertexArrays(1, &vertexArray); in ~DrawElementsTest()
DLineLoopTest.cpp514 GLVertexArray vertexArray; in runTest() local
530 glBindVertexArray(vertexArray); in runTest()
/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.cpp340 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/
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/angle/src/libANGLE/renderer/d3d/
DVertexDataManager.cpp253 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/
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/capture/
Dframe_capture_utils.cpp1323 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/
DVertexArray.cpp31 VertexArrayState::VertexArrayState(VertexArray *vertexArray, in VertexArrayState() argument
34 : mElementArrayBuffer(vertexArray, kElementArrayBufferIndex) in VertexArrayState()
DContext.cpp648 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 …]
DContext.h415 bool isVertexArrayGenerated(VertexArrayID vertexArray) const;
656 void detachVertexArray(VertexArrayID vertexArray);
DVertexArray.h38 VertexArrayState(VertexArray *vertexArray, size_t maxAttribs, size_t maxBindings);
DState.cpp1791 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/
DContext.cpp1058 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()

123