/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pStateChangeTests.cpp | 55 virtual void renderTest (const glw::Functions& gl); 56 virtual void renderReference (const glw::Functions& gl); 58 virtual void changeState (const glw::Functions& gl, int stateId) = 0; 74 void StateChangeCase::renderTest (const glw::Functions& gl) in renderTest() argument 78 changeState(gl, 0); in renderTest() 79 callDraw(gl); in renderTest() 81 changeState(gl, 1); in renderTest() 82 callDraw(gl); in renderTest() 86 void StateChangeCase::renderReference (const glw::Functions& gl) in renderReference() argument 88 changeState(gl, in renderReference() [all...] |
H A D | es3pRedundantStateChangeTests.cpp | 55 virtual void renderTest (const glw::Functions& gl); 56 virtual void renderReference (const glw::Functions& gl); 57 virtual void changeState (const glw::Functions& gl) = 0; 73 void RedundantStateChangeCase::renderTest (const glw::Functions& gl) in renderTest() argument 77 changeState(gl); in renderTest() 78 callDraw(gl); in renderTest() 82 void RedundantStateChangeCase::renderReference (const glw::Functions& gl) in renderReference() argument 84 changeState(gl); in renderReference() 87 callDraw(gl); in renderReference() 111 virtual void setupInitialState (const glw::Functions& gl)\ [all...] |
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pStateChangeTests.cpp | 55 virtual void renderTest (const glw::Functions& gl); 56 virtual void renderReference (const glw::Functions& gl); 58 virtual void changeState (const glw::Functions& gl, int stateId) = 0; 74 void StateChangeCase::renderTest (const glw::Functions& gl) in renderTest() argument 78 changeState(gl, 0); in renderTest() 79 callDraw(gl); in renderTest() 81 changeState(gl, 1); in renderTest() 82 callDraw(gl); in renderTest() 86 void StateChangeCase::renderReference (const glw::Functions& gl) in renderReference() argument 88 changeState(gl, in renderReference() [all...] |
H A D | es2pRedundantStateChangeTests.cpp | 55 virtual void renderTest (const glw::Functions& gl); 56 virtual void renderReference (const glw::Functions& gl); 57 virtual void changeState (const glw::Functions& gl) = 0; 73 void RedundantStateChangeCase::renderTest (const glw::Functions& gl) in renderTest() argument 77 changeState(gl); in renderTest() 78 callDraw(gl); in renderTest() 82 void RedundantStateChangeCase::renderReference (const glw::Functions& gl) in renderReference() argument 84 changeState(gl); in renderReference() 87 callDraw(gl); in renderReference() 111 virtual void setupInitialState (const glw::Functions& gl)\ [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | TextureD3D.h | 19 namespace gl namespace 35 TextureD3D(const gl::TextureState &data, RendererD3D *renderer); 38 void onDestroy(const gl::Context *context) override; 40 angle::Result getNativeTexture(const gl::Context *context, TextureStorage **outStorage); 45 virtual ImageD3D *getImage(const gl::ImageIndex &index) const = 0; 48 angle::Result getImageAndSyncFromStorage(const gl::Context *context, 49 const gl::ImageIndex &index, 56 angle::Result setStorage(const gl::Context *context, 57 gl::TextureType type, 60 const gl [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
H A D | esextcTessellationShaderMaxPatchVertices.cpp | 206 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() local 209 gl.useProgram(0); in deinit() 212 gl.patchParameteri(m_glExtTokens.PATCH_VERTICES, 3); in deinit() 220 gl.patchParameterfv(GL_PATCH_DEFAULT_INNER_LEVEL, default_levels); in deinit() 221 gl.patchParameterfv(GL_PATCH_DEFAULT_OUTER_LEVEL, default_levels); in deinit() 225 gl.disableVertexAttribArray(0); in deinit() 226 gl.disableVertexAttribArray(1); in deinit() 229 gl.bindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, 0 /* buffer */); in deinit() 230 gl.bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0 /* index */, 0 /* buffer */); in deinit() 231 gl in deinit() 365 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initTest() local 399 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initVertexBufferObjects() local 481 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initTransformFeedbackBufferObjects() local 553 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initProgramObjects() local 656 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); compareResults() local 707 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); compareResults() local 757 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local [all...] |
H A D | esextcTessellationShaderPrimitiveCoverage.cpp | 233 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() local 236 gl.useProgram(0); in deinit() 237 gl.bindBuffer(GL_ARRAY_BUFFER, 0); in deinit() 238 gl.bindFramebuffer(GL_READ_FRAMEBUFFER, 0); in deinit() 239 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in deinit() 240 gl.disable(GL_STENCIL_TEST); in deinit() 241 gl.bindVertexArray(0); in deinit() 244 gl.patchParameteri(m_glExtTokens.PATCH_VERTICES, 3); in deinit() 245 GLU_EXPECT_NO_ERROR(gl.getError(), "glPatchParameteriEXT() failed!"); in deinit() 258 gl in deinit() 370 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initTest() local 403 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initProgramObjects() local 464 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initFramebuffer() local 518 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initBufferObjects() local 582 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); drawPatch() local 677 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); verifyDrawBufferContents() local 736 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cTextureStorageMultisampleFunctionalTests.cpp | 67 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() local 71 gl.deleteFramebuffers(1, &dst_fbo_id); in deinit() 78 gl.deleteFramebuffers(1, &src_fbo_id); in deinit() 85 gl.deleteTextures(1, &dst_to_color_id); in deinit() 92 gl.deleteTextures(1, &dst_to_depth_stencil_id); in deinit() 99 gl.deleteTextures(1, &src_to_color_id); in deinit() 106 gl.deleteTextures(1, &src_to_depth_stencil_id); in deinit() 123 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() local 126 gl.genTextures(1, &dst_to_color_id); in iterate() 127 gl in iterate() 282 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 371 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 717 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 778 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 1118 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 1160 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 1275 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 1371 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initInternals() local 1446 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 1764 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); linkProgram() local 1789 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); compileShader() local 1841 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 1937 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initInternals() local 2011 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 2349 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); linkProgram() local 2372 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); compileShader() local 2409 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 2465 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 2697 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 2774 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local [all...] |
H A D | es31cTextureStorageMultisampleTexStorage3DMultisampleTests.cpp | 110 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() local 115 gl.bindTexture(GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES, 0); in deinit() 121 gl.deleteTextures(1, &to_id_2d_array_1); in deinit() 129 gl.deleteTextures(1, &to_id_2d_array_2); in deinit() 137 gl.deleteTextures(1, &to_id_2d_array_3); in deinit() 146 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture objects deletion failed."); in deinit() 155 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initInternals() local 158 gl.genTextures(1, &to_id_2d_array_1); in initInternals() 161 gl.genTextures(1, &to_id_2d_array_2); in initInternals() 164 gl in initInternals() 190 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 316 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 341 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initInternals() local 376 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 415 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 436 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initInternals() local 463 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 511 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 533 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initInternals() local 561 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 652 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 674 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initInternals() local 702 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 777 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 799 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initInternals() local 827 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 902 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); createAssets() local 929 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); releaseAssets() local 961 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 1039 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 1058 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initInternals() local 1085 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 1121 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 1143 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initInternals() local 1170 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluStateReset.cpp | 41 void resetErrors (const glw::Functions& gl) in resetErrors() argument 47 if (gl.getError() == GL_NONE) in resetErrors() 59 const glw::Functions& gl = renderCtx.getFunctions(); in resetStateES() local 63 resetErrors(gl); in resetStateES() 70 gl.getIntegerv(GL_MAX_VERTEX_ATTRIBS, &numVertexAttribArrays); in resetStateES() 72 gl.bindBuffer (GL_ARRAY_BUFFER, 0); in resetStateES() 73 gl.bindBuffer (GL_ELEMENT_ARRAY_BUFFER, 0); in resetStateES() 77 gl.bindVertexArray (0); in resetStateES() 78 gl.disable (GL_PRIMITIVE_RESTART_FIXED_INDEX); in resetStateES() 82 gl in resetStateES() 645 const glw::Functions& gl = renderCtx.getFunctions(); resetStateGLCore() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/ |
H A D | esextcTextureBufferOperations.cpp | 85 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initTest() local 87 gl.getIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 0, &m_n_vectors_in_buffer_texture); in initTest() 88 GLU_EXPECT_NO_ERROR(gl.getError(), "Error getting GL_MAX_COMPUTE_WORK_GROUP_SIZE parameter value!"); in initTest() 91 gl.genBuffers(1, &m_tb_bo_id); in initTest() 92 GLU_EXPECT_NO_ERROR(gl.getError(), "Error generating buffer object!"); in initTest() 94 gl.bindBuffer(m_glExtTokens.TEXTURE_BUFFER, m_tb_bo_id); in initTest() 95 GLU_EXPECT_NO_ERROR(gl.getError(), "Error binding buffer object !"); in initTest() 97 gl.bufferData(m_glExtTokens.TEXTURE_BUFFER, in initTest() 99 GLU_EXPECT_NO_ERROR(gl.getError(), "Error allocating data store for buffer object!"); in initTest() 102 gl in initTest() 127 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initFirstPhase() local 192 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initSecondPhase() local 384 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterateFirstPhase() local 424 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterateSecondPhase() local 587 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkFramebufferStatus() local 630 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 659 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinitFirstPhase() local 689 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinitSecondPhase() local 782 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initializeBufferObjectData() local 811 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initializeBufferObjectData() local 856 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initializeBufferObjectData() local 1064 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 1154 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initializeBufferObjectData() local 1295 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 1366 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initializeBufferObjectData() local 1443 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 1484 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initializeBufferObjectData() local 1565 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcPolygonOffsetClampTests.cpp | 120 void PolygonOffsetClampAvailabilityTestCase::test(const glw::Functions& gl) in test() argument 124 gl.getBooleanv(GL_POLYGON_OFFSET_CLAMP_EXT, &data); in test() 125 GLU_EXPECT_NO_ERROR(gl.getError(), "getBooleanv error occurred"); in test() 129 gl.getIntegerv(GL_POLYGON_OFFSET_CLAMP_EXT, &data); in test() 130 GLU_EXPECT_NO_ERROR(gl.getError(), "getBooleanv error occurred"); in test() 134 gl.getInteger64v(GL_POLYGON_OFFSET_CLAMP_EXT, &data); in test() 135 GLU_EXPECT_NO_ERROR(gl.getError(), "getBooleanv error occurred"); in test() 139 gl.getFloatv(GL_POLYGON_OFFSET_CLAMP_EXT, &data); in test() 140 GLU_EXPECT_NO_ERROR(gl.getError(), "getBooleanv error occurred"); in test() 147 gl in test() 176 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); init() local 237 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 262 test(const glw::Functions& gl) test() argument 453 readDepthValue(const glw::Functions& gl, const GLuint readDepthProgramId, const GLuint testProgramId) readDepthValue() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
H A D | TextureMtl.h | 34 TextureMtl(const gl::TextureState &state); 38 void onDestroy(const gl::Context *context) override; 40 angle::Result setImage(const gl::Context *context, 41 const gl::ImageIndex &index, 43 const gl::Extents &size, 46 const gl::PixelUnpackState &unpack, 47 gl::Buffer *unpackBuffer, 49 angle::Result setSubImage(const gl::Context *context, 50 const gl::ImageIndex &index, 51 const gl [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderLayeredFBO.cpp | 44 * @param gl ES / GL entry-points. 51 bool GeometryShaderLayeredFBOShared::checkFBOCompleteness(tcu::TestContext& test_context, const glw::Functions& gl, in checkFBOCompleteness() argument 57 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_id); in checkFBOCompleteness() 58 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindFramebuffer() call failed."); in checkFBOCompleteness() 60 current_fbo_status = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in checkFBOCompleteness() 61 GLU_EXPECT_NO_ERROR(gl.getError(), "glCheckFramebufferStatus() call failed."); in checkFBOCompleteness() 81 * @param gl ES / GL entry-points 85 void GeometryShaderLayeredFBOShared::deinitFBOs(const glw::Functions& gl, const glw::GLuint* fbo_ids) in deinitFBOs() argument 89 gl.deleteFramebuffers(GeometryShaderLayeredFBOShared::n_shared_fbo_ids, fbo_ids); in deinitFBOs() 95 * @param gl E 99 deinitTOs(const glw::Functions& gl, const glw::GLuint* to_ids) deinitTOs() argument 114 initFBOs(const glw::Functions& gl, glw::glFramebufferTextureFunc pGLFramebufferTexture, const glw::GLuint* to_ids, glw::GLuint* out_fbo_ids) initFBOs() argument 200 initTOs(const glw::Functions& gl, glw::glTexStorage3DMultisampleFunc pGLTexStorage3DMultisample, glw::GLuint* out_to_ids) initTOs() argument 298 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 332 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 391 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 425 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 569 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 605 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 667 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 699 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 760 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 798 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 867 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 897 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 968 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 1016 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 1135 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 1188 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
H A D | esextcTextureCubeMapArrayImageTextureSize.cpp | 82 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initTest() local 85 gl.genVertexArrays(1, &m_vao_id); in initTest() 86 GLU_EXPECT_NO_ERROR(gl.getError(), "Could not generate vertex array object"); in initTest() 88 gl.bindVertexArray(m_vao_id); in initTest() 89 GLU_EXPECT_NO_ERROR(gl.getError(), "Error binding vertex array object!"); in initTest() 92 m_po_id = gl.createProgram(); in initTest() 93 GLU_EXPECT_NO_ERROR(gl.getError(), "Could not create program object."); in initTest() 106 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() local 109 gl.useProgram(0); in deinit() 110 gl in deinit() 151 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 229 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); createCubeMapArrayTexture() local 319 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureTextures() local 340 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deleteTextures() local 367 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureUniforms() local 405 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureTestSpecificObjects() local 427 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deleteTestSpecificObjects() local 452 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureTextures() local 472 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkResults() local 536 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureProgram() local 561 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deleteProgram() local 581 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); runShaders() local 659 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureProgram() local 688 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deleteProgram() local 713 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); runShaders() local 815 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureProgram() local 847 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deleteProgram() local 879 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); runShaders() local 1079 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureTestSpecificObjects() local 1131 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deleteTestSpecificObjects() local 1172 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkResults() local 1239 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkFramebufferStatus() local 1296 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureTestSpecificObjects() local 1309 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deleteTestSpecificObjects() local 1328 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureProgram() local 1348 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deleteProgram() local 1411 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); runShaders() local 1463 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureProgram() local 1481 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deleteProgram() local 1529 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureTestSpecificObjects() local 1566 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deleteTestSpecificObjects() local 1594 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); configureTextures() local 1611 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); deleteTextures() local 1631 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); runShaders() local 1652 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkResults() local [all...] |
/third_party/skia/third_party/externals/angle2/src/image_util/ |
H A D | imageformats.cpp | 17 void L8::readColor(gl::ColorF *dst, const L8 *src) in readColor() 19 const float lum = gl::normalizedToFloat(src->L); in readColor() 26 void L8::writeColor(L8 *dst, const gl::ColorF *src) in writeColor() 28 dst->L = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 33 dst->L = gl::average(src1->L, src2->L); in average() 36 void R8::readColor(gl::ColorUI *dst, const R8 *src) in readColor() 44 void R8::readColor(gl::ColorF *dst, const R8 *src) in readColor() 46 dst->red = gl::normalizedToFloat(src->R); in readColor() 52 void R8::writeColor(R8 *dst, const gl::ColorUI *src) in writeColor() 57 void R8::writeColor(R8 *dst, const gl [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl3cGLSLnoperspectiveTests.cpp | 45 const glw::Functions& gl = context.getRenderContext().getFunctions(); in compile_shader() local 51 gl.shaderSource(shader_id, 1 /* count */, &shader_code, 0); in compile_shader() 52 GLU_EXPECT_NO_ERROR(gl.getError(), "ShaderSource"); in compile_shader() 55 gl.compileShader(shader_id); in compile_shader() 56 GLU_EXPECT_NO_ERROR(gl.getError(), "CompileShader"); in compile_shader() 59 gl.getShaderiv(shader_id, GL_COMPILE_STATUS, &status); in compile_shader() 60 GLU_EXPECT_NO_ERROR(gl.getError(), "GetShaderiv"); in compile_shader() 69 gl.getShaderiv(shader_id, GL_INFO_LOG_LENGTH, &length); in compile_shader() 70 GLU_EXPECT_NO_ERROR(gl.getError(), "GetShaderiv"); in compile_shader() 76 gl in compile_shader() 99 const glw::Functions& gl = context.getRenderContext().getFunctions(); prepare_shader() local 134 const glw::Functions& gl = context.getRenderContext().getFunctions(); link_program() local 196 const glw::Functions& gl = context.getRenderContext().getFunctions(); prepare_program() local 370 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local [all...] |
H A D | gl3cTransformFeedbackTests.cpp | 134 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() local 161 gl.genTransformFeedbacks(1, &m_transform_feedback_object_0); in iterate() 163 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTransformFeedbacks call failed."); in iterate() 169 gl.genQueries(1, &m_query_object); in iterate() 171 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenQueries call failed."); in iterate() 177 gl.genTransformFeedbacks(1, &m_transform_feedback_object_1); in iterate() 179 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTransformFeedbacks call failed."); in iterate() 190 gl.genVertexArrays(1, &m_vertex_array_object); in iterate() 191 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenVertexArrays call failed."); in iterate() 193 gl in iterate() 383 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); testExtension1() local 973 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); testExtension2() local 1190 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); testExtension3() local 1365 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); testInstanced() local 1769 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); testNoVertexNoGeometry() local 1808 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); testInvalidVarying() local 1854 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); testRepeatedVarying() local 1900 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); testTooManyVaryings() local 2122 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); test_max_transform_feedback_interleaved_components() local 2146 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); test_max_transform_feedback_separate_attribs() local 2170 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); test_max_transform_feedback_separate_components() local 2194 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); test_max_transform_feedback_buffers() local 2218 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); test_max_vertex_streams() local 2265 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 2357 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); fetchLimits() local 2389 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); buildProgram() local 2465 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); createFramebuffer() local 2502 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); createTransformFeedbackBuffer() local 2521 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); createVertexArrayObject() local 2534 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 2554 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkFramebuffer() local 2582 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkTransformFeedbackBuffer() local 2659 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); bindBuffer() local 2684 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); clean() local 2720 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); cleanBuffer() local 2817 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 2908 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); fetchLimits() local 2940 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); buildProgram() local 3025 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 3105 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); fetchLimits() local 3150 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); createTransformFeedbackBuffer() local 3177 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); bindBuffer() local 3207 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); cleanBuffer() local 3223 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkTransformFeedbackBuffer() local 3348 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); fetchLimits() local 3422 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 3513 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); buildProgram() local 3612 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); check() local 3780 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); createTransformFeedbackBuffer() local 3793 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 3808 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkTransformFeedbackBuffer() local 3829 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); clean() local 3854 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); createTransformFeedbackBuffer() local 3867 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 3882 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkTransformFeedbackBuffer() local 3903 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); clean() local 3927 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); createTransformFeedbackBuffer() local 3940 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 3955 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkTransformFeedbackBuffer() local 3976 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); clean() local 4001 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); createTransformFeedbackBuffer() local 4014 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 4029 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkTransformFeedbackBuffer() local 4050 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); clean() local 4071 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 4089 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkFramebuffer() local 4125 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 4143 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkFramebuffer() local 4286 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); prepare() local 4362 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); bindXFB() local 4371 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); bindVAO() local 4380 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); bindBOForXFB() local 4405 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); bindBOForDraw() local 4439 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); useProgram() local 4449 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); useColour() local 4461 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); useGeometrySet() local 4473 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); clean() local 4536 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); drawForCapture() local 4574 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); drawToFramebuffer() local 4590 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); checkFramebuffer() local 4626 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); inspectXFBState() local 4799 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); prepareAndBind() local 4869 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); swapBuffers() local 4883 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 4912 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); check() local 4937 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); clean() local 5088 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); prepareAndBind() local 5137 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 5158 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); check() local 5201 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); clean() local 5299 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local 5387 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); prepareObjects() local 5476 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); setupVertexArray() local 5494 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); useProgram() local 5503 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); drawForXFB() local 5548 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); drawForFramebuffer() local 5557 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); inspectQueries() local 5589 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); check() local 5615 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); clean() local 5839 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); prepareObjects() local 5945 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); drawForXFB() local 5969 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); drawInstanced() local 5996 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); check() local 6022 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); clean() local 6281 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); prepareObjects() local 6399 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); drawForXFB() local 6423 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); drawStreamInstanced() local 6459 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); check() local 6485 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); clean() local 6679 buildProgram( glw::Functions const& gl, tcu::TestLog& log, glw::GLchar const* const geometry_shader_source, glw::GLchar const* const tessellation_control_shader_source, glw::GLchar const* const tessellation_evaluation_shader_source, glw::GLchar const* const vertex_shader_source, glw::GLchar const* const fragment_shader_source, glw::GLchar const* const* const transform_feedback_varyings, glw::GLsizei const transform_feedback_varyings_count, glw::GLenum const transform_feedback_varyings_mode, bool const do_not_detach, glw::GLint* linking_status) buildProgram() argument [all...] |
H A D | gl4cIndirectParametersTests.cpp | 94 const Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() local 105 gl.genBuffers(1, ¶mBuffer); in iterate() 106 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenBuffers"); in iterate() 108 gl.bindBuffer(GL_PARAMETER_BUFFER_ARB, paramBuffer); in iterate() 109 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindBuffer"); in iterate() 112 gl.getIntegerv(GL_PARAMETER_BUFFER_BINDING_ARB, ¶mBinding); in iterate() 113 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetIntegerv"); in iterate() 123 gl.bufferData(GL_PARAMETER_BUFFER_ARB, 10 * sizeof(GLint), data, GL_DYNAMIC_DRAW); in iterate() 124 GLU_EXPECT_NO_ERROR(gl.getError(), "glBufferData"); in iterate() 126 gl in iterate() 272 const Functions& gl = m_context.getRenderContext().getFunctions(); verify() local 345 const Functions& gl = m_context.getRenderContext().getFunctions(); init() local 398 const Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 414 const Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 457 const Functions& gl = m_context.getRenderContext().getFunctions(); verifyErrors() local 527 const Functions& gl = m_context.getRenderContext().getFunctions(); init() local 592 const Functions& gl = m_context.getRenderContext().getFunctions(); deinit() local 610 const Functions& gl = m_context.getRenderContext().getFunctions(); draw() local 653 const Functions& gl = m_context.getRenderContext().getFunctions(); verifyErrors() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/ |
H A D | esextcGPUShader5SamplerArrayIndexing.cpp | 73 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() local 76 gl.useProgram(0); in deinit() 77 gl.bindBuffer(GL_ARRAY_BUFFER, 0); in deinit() 78 gl.activeTexture(GL_TEXTURE0); in deinit() 79 gl.bindTexture(GL_TEXTURE_2D, 0); in deinit() 80 gl.bindFramebuffer(GL_FRAMEBUFFER, 0); in deinit() 81 gl.bindVertexArray(0); in deinit() 85 gl.deleteProgram(m_po_id); in deinit() 91 gl.deleteShader(m_fs_id); in deinit() 97 gl in deinit() 141 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); initTest() local 247 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); iterate() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | TextureImpl_mock.h | 22 MockTextureImpl() : TextureImpl(mMockState), mMockState(gl::TextureType::_2D) {} in MockTextureImpl() 25 angle::Result(const gl::Context *, 26 const gl::ImageIndex &, 28 const gl::Extents &, 31 const gl::PixelUnpackState &, 32 gl::Buffer *, 35 angle::Result(const gl::Context *, 36 const gl::ImageIndex &, 37 const gl::Box &, 40 const gl [all...] |
H A D | ContextImpl.h | 19 namespace gl namespace 26 } // namespace gl 33 ContextImpl(const gl::State &state, gl::ErrorSet *errorSet); 36 virtual void onDestroy(const gl::Context *context) {} in onDestroy() 41 virtual angle::Result flush(const gl::Context *context) = 0; 42 virtual angle::Result finish(const gl::Context *context) = 0; 45 virtual angle::Result drawArrays(const gl::Context *context, 46 gl::PrimitiveMode mode, 49 virtual angle::Result drawArraysInstanced(const gl [all...] |
H A D | TextureImpl.h | 29 namespace gl namespace 35 } // namespace gl 44 TextureImpl(const gl::TextureState &state); 47 virtual void onDestroy(const gl::Context *context); 49 virtual angle::Result setImage(const gl::Context *context, 50 const gl::ImageIndex &index, 52 const gl::Extents &size, 55 const gl::PixelUnpackState &unpack, 56 gl::Buffer *unpackBuffer, 58 virtual angle::Result setSubImage(const gl [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsSamplerObjectTest.cpp | 83 void TextureSamplerTest::setTextureState (const glw::Functions& gl, GLenum target, SamplingState state) in setTextureState() argument 85 gl.texParameteri(target, GL_TEXTURE_MIN_FILTER, state.minFilter); in setTextureState() 86 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_MIN_FILTER, state.minFilter)"); in setTextureState() 87 gl.texParameteri(target, GL_TEXTURE_MAG_FILTER, state.magFilter); in setTextureState() 88 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_MAG_FILTER, state.magFilter)"); in setTextureState() 89 gl.texParameteri(target, GL_TEXTURE_WRAP_S, state.wrapS); in setTextureState() 90 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_S, state.wrapS)"); in setTextureState() 91 gl.texParameteri(target, GL_TEXTURE_WRAP_T, state.wrapT); in setTextureState() 92 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_T, state.wrapT)"); in setTextureState() 93 gl in setTextureState() 101 setSamplerState(const glw::Functions& gl, SamplingState state, GLuint sampler) setSamplerState() argument 295 const glw::Functions& gl = m_renderCtx.getFunctions(); render() local 379 createTexture2D(const glw::Functions& gl) createTexture2D() argument 405 createTexture3D(const glw::Functions& gl) createTexture3D() argument 431 createTextureCube(const glw::Functions& gl) createTextureCube() argument 468 createTexture(const glw::Functions& gl, GLenum target) createTexture() argument 489 const glw::Functions& gl = m_renderCtx.getFunctions(); renderReferences() local 512 const glw::Functions& gl = m_renderCtx.getFunctions(); renderResults() local 595 setTextureState(const glw::Functions& gl, GLenum target, SamplingState state) setTextureState() argument 613 setSamplerState(const glw::Functions& gl, SamplingState state, GLuint sampler) setSamplerState() argument 783 const glw::Functions& gl = m_renderCtx.getFunctions(); render() local 874 createTexture2D(const glw::Functions& gl, int id) createTexture2D() argument 913 createTexture3D(const glw::Functions& gl, int id) createTexture3D() argument 952 createTextureCube(const glw::Functions& gl, int id) createTextureCube() argument 1009 createTexture(const glw::Functions& gl, GLenum target, int id) createTexture() argument 1030 const glw::Functions& gl = m_renderCtx.getFunctions(); renderReferences() local 1072 const glw::Functions& gl = m_renderCtx.getFunctions(); renderResults() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | TextureVk.h | 36 TextureVk(const gl::TextureState &state, RendererVk *renderer); 38 void onDestroy(const gl::Context *context) override; 40 angle::Result setImage(const gl::Context *context, 41 const gl::ImageIndex &index, 43 const gl::Extents &size, 46 const gl::PixelUnpackState &unpack, 47 gl::Buffer *unpackBuffer, 49 angle::Result setSubImage(const gl::Context *context, 50 const gl::ImageIndex &index, 51 const gl [all...] |