Home
last modified time | relevance | path

Searched refs:mPositionLoc (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultiDrawTest.cpp144 mPositionLoc(0u), in MultiDrawTest()
234 mPositionLoc = glGetAttribLocation(mProgram, "vPosition"); in SetupProgram()
312 glEnableVertexAttribArray(mPositionLoc); in DoDrawArrays()
313 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in DoDrawArrays()
341 glEnableVertexAttribArray(mPositionLoc); in DoDrawElements()
342 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in DoDrawElements()
457 GLint mPositionLoc; member in __anonff24a2230111::MultiDrawTest
481 mPositionLoc(0u), in MultiDrawIndirectTest()
518 mPositionLoc = glGetAttribLocation(mProgram, "aPos"); in SetupProgramIndirect()
542 GLint mPositionLoc; member in __anonff24a2230111::MultiDrawIndirectTest
[all …]
DDrawBaseVertexVariantsTest.cpp196 mPositionLoc = glGetAttribLocation(program.get(), "vPosition"); in setupProgram()
197 ASSERT_NE(-1, mPositionLoc); in setupProgram()
218 glEnableVertexAttribArray(mPositionLoc); in setupIndexedBuffers()
219 glVertexAttribPointer(mPositionLoc, 2, GL_FLOAT, GL_FALSE, 0, 0); in setupIndexedBuffers()
362 GLint mPositionLoc; member in __anon25821f790111::DrawBaseVertexVariantsTest
DDrawBaseVertexBaseInstanceTest.cpp238 mPositionLoc = glGetAttribLocation(program.get(), "vPosition"); in setupProgram()
297 glEnableVertexAttribArray(mPositionLoc); in setupPositionVertexAttribPointer()
298 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 0, 0); in setupPositionVertexAttribPointer()
479 GLint mPositionLoc; member in __anonba90b9a10111::DrawBaseVertexBaseInstanceTest
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/
DTorusLightingES2.cpp55 mPositionLoc = glGetAttribLocation(mProgram, "position"); in initialize()
68 glEnableVertexAttribArray(mPositionLoc); in initialize()
70 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, false, 6 * sizeof(GLfloat), nullptr); in initialize()
88 glDisableVertexAttribArray(mPositionLoc); in destroy()
117 GLint mPositionLoc = 0; member in GLES2TorusLightingSample
DTorusBufferStorage.cpp86 mPositionLoc = glGetAttribLocation(mProgram, "position"); in initialize()
106 glEnableVertexAttribArray(mPositionLoc); in initialize()
108 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, false, 6 * sizeof(GLfloat), nullptr); in initialize()
129 glDisableVertexAttribArray(mPositionLoc); in destroy()
197 GLint mPositionLoc = 0; member in BufferStorageSample
/third_party/skia/third_party/externals/angle2/samples/simple_texture_2d/
DSimpleTexture2D.cpp53 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in initialize()
97 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vertices); in draw()
102 glEnableVertexAttribArray(mPositionLoc); in draw()
120 GLint mPositionLoc; member in SimpleTexture2DSample
/third_party/skia/third_party/externals/angle2/samples/simple_texture_cubemap/
DSimpleTextureCubemap.cpp55 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in initialize()
92 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 0, mSphere.positions.data()); in draw()
93 glEnableVertexAttribArray(mPositionLoc); in draw()
115 GLint mPositionLoc; member in SimpleTextureCubemapSample
/third_party/skia/third_party/externals/angle2/samples/texture_wrap/
DTextureWrap.cpp54 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in initialize()
97 glVertexAttribPointer(mPositionLoc, 4, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), vertices); in draw()
98 glEnableVertexAttribArray(mPositionLoc); in draw()
132 GLint mPositionLoc; member in TextureWrapSample
/third_party/skia/third_party/externals/angle2/samples/mip_map_2d/
DMipMap2D.cpp54 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in initialize()
104 glVertexAttribPointer(mPositionLoc, 4, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), vertices); in draw()
109 glEnableVertexAttribArray(mPositionLoc); in draw()
142 GLint mPositionLoc; member in MipMap2DSample
/third_party/skia/third_party/externals/angle2/samples/simple_vertex_shader/
DSimpleVertexShader.cpp58 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in initialize()
109 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 0, mCube.positions.data()); in draw()
110 glEnableVertexAttribArray(mPositionLoc); in draw()
126 GLint mPositionLoc; member in SimpleVertexShaderSample
/third_party/skia/third_party/externals/angle2/samples/multi_texture/
DMultiTexture.cpp70 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in initialize()
125 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vertices); in draw()
130 glEnableVertexAttribArray(mPositionLoc); in draw()
155 GLint mPositionLoc; member in MultiTextureSample
/third_party/skia/third_party/externals/angle2/samples/stencil_operations/
DStencilOperations.cpp49 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in initialize()
121 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 0, vertices); in draw()
122 glEnableVertexAttribArray(mPositionLoc); in draw()
209 GLint mPositionLoc; member in StencilOperationsSample
/third_party/skia/third_party/externals/angle2/samples/post_sub_buffer/
DPostSubBuffer.cpp56 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in initialize()
112 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 0, mCube.positions.data()); in draw()
113 glEnableVertexAttribArray(mPositionLoc); in draw()
140 GLint mPositionLoc; member in PostSubBufferSample
/third_party/skia/third_party/externals/angle2/samples/simple_instancing/
DSimpleInstancing.cpp81 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in initialize()
143 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 0, mVertices.data()); in draw()
144 glEnableVertexAttribArray(mPositionLoc); in draw()
175 GLint mPositionLoc; member in SimpleInstancingSample
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DVulkanBarriersPerf.cpp80 GLint mPositionLoc; member in __anon50b5765c0111::VulkanBarriersPerfBenchmark
139 mPositionLoc(-1), in VulkanBarriersPerfBenchmark()
231 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in createResources()
294 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), 0); in drawBenchmark()
299 glEnableVertexAttribArray(mPositionLoc); in drawBenchmark()
DTextureUploadPerf.cpp79 GLint mPositionLoc = -1; member in __anon635f9bc70111::TextureUploadBenchmarkBase
236 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in initShaders()
/third_party/skia/third_party/externals/angle2/samples/multiple_draw_buffers/
DMultipleDrawBuffers.cpp74 mPositionLoc = glGetAttribLocation(mCopyProgram, "a_position"); in initialize()
152 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vertices); in draw()
153 glEnableVertexAttribArray(mPositionLoc); in draw()
198 GLint mPositionLoc; member in MultipleDrawBuffersSample
/third_party/skia/third_party/externals/angle2/samples/tex_redef_microbench/
DTexRedefMicroBench.cpp119 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); in initialize()
168 glVertexAttribPointer(mPositionLoc, 3, GL_FLOAT, GL_FALSE, 5 * sizeof(GLfloat), vertices); in draw()
173 glEnableVertexAttribArray(mPositionLoc); in draw()
252 GLint mPositionLoc; member in TexRedefBenchSample