/third_party/vk-gl-cts/framework/opengl/wrapper/ |
H A D | glwInitFunctions.cpp | 35 void initES20 (Functions* gl, const FunctionLoader* loader) in initES20() 40 void initES30 (Functions* gl, const FunctionLoader* loader) in initES30() 45 void initES31 (Functions* gl, const FunctionLoader* loader) in initES31() 50 void initES32 (Functions* gl, const FunctionLoader* loader) in initES32() 55 void initGL30Core (Functions* gl, const FunctionLoader* loader) in initGL30Core() 60 void initGL31Core (Functions* gl, const FunctionLoader* loader) in initGL31Core() 65 void initGL32Core (Functions* gl, const FunctionLoader* loader) in initGL32Core() 70 void initGL33Core (Functions* gl, const FunctionLoader* loader) in initGL33Core() 75 void initGL40Core (Functions* gl, const FunctionLoader* loader) in initGL40Core() 80 void initGL41Core (Functions* g [all...] |
H A D | glwInitFunctions.hpp | 33 void initES20 (Functions* gl, const FunctionLoader* loader); //!< Load all OpenGL ES 2.0 functions. 34 void initES30 (Functions* gl, const FunctionLoader* loader); //!< Load all OpenGL ES 3.0 functions. 35 void initES31 (Functions* gl, const FunctionLoader* loader); //!< Load all OpenGL ES 3.1 functions. 36 void initES32 (Functions* gl, const FunctionLoader* loader); //!< Load all OpenGL ES 3.2 functions. 38 void initGL30Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.0 core functions. 39 void initGL31Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.1 core functions. 40 void initGL32Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.2 core functions. 41 void initGL33Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 3.3 core functions. 42 void initGL40Core (Functions* gl, const FunctionLoader* loader); //!< Load all GL 4.0 core functions. 43 void initGL41Core (Functions* g [all...] |
H A D | glwWrapper.cpp | 43 DE_THREAD_LOCAL const glw::Functions* s_functions = DE_NULL; 45 void setCurrentThreadFunctions (const glw::Functions* gl) in setCurrentThreadFunctions() 50 inline const glw::Functions* getCurrentThreadFunctions (void) in getCurrentThreadFunctions() 70 inline void set (const glw::Functions* gl) 75 inline const glw::Functions* get (void) const 77 return (const glw::Functions*)deThreadLocal_get(m_ptr); 89 void setCurrentThreadFunctions (const glw::Functions* gl) 94 inline const glw::Functions* getCurrentThreadFunctions (void)
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcRobustBufferAccessBehaviorTests.hpp | 49 Buffer(const glw::Functions& gl); 62 static void Bind(const glw::Functions& gl, glw::GLuint id, glw::GLenum target); 63 static void BindBase(const glw::Functions& gl, glw::GLuint id, glw::GLenum target, glw::GLuint index); 64 static void Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, 66 static void Generate(const glw::Functions& gl, glw::GLuint& out_id); 67 static void SubData(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size, 82 const glw::Functions& m_gl; 94 Framebuffer(const glw::Functions& gl); 101 static void AttachTexture(const glw::Functions& gl, glw::GLenum target, glw::GLenum attachment, 104 static void Bind(const glw::Functions [all...] |
H A D | glcKHRDebugTests.hpp | 43 class Functions; 66 const glw::Functions* m_gl; 198 static glw::GLuint createBuffer(const glw::Functions* gl, const glu::RenderContext* rc); 199 static glw::GLuint createFramebuffer(const glw::Functions* gl, const glu::RenderContext* rc); 200 static glw::GLuint createProgram(const glw::Functions* gl, const glu::RenderContext* rc); 201 static glw::GLuint createProgramPipeline(const glw::Functions* gl, const glu::RenderContext* rc); 202 static glw::GLuint createQuery(const glw::Functions* gl, const glu::RenderContext* rc); 203 static glw::GLuint createRenderbuffer(const glw::Functions* gl, const glu::RenderContext* rc); 204 static glw::GLuint createSampler(const glw::Functions* gl, const glu::RenderContext* rc); 205 static glw::GLuint createShader(const glw::Functions* g [all...] |
H A D | glcLayoutLocationTests.cpp | 52 void setTexParameters(const Functions& gl, GLenum target, bool depthTexture) in setTexParameters() 93 ResultData createTexture1D(const Functions& gl, std::size_t components, GLenum internalFormat, GLenum format, in createTexture1D() 107 ResultData createTexture2D(const Functions& gl, std::size_t components, GLenum target, GLenum internalFormat, in createTexture2D() 122 ResultData createTexture3D(const Functions& gl, std::size_t components, GLenum internalFormat, GLenum format, in createTexture3D() 137 ResultData createCubeMap(const Functions& gl, std::size_t components, GLenum internalFormat, GLenum format, GLenum type) in createCubeMap() 154 ResultData createTexture2DArray(const Functions& gl, std::size_t components, GLenum internalFormat, GLenum format, in createTexture2DArray() 169 ResultData createTextureBuffer(const Functions& gl, GLenum internalFormat) in createTextureBuffer() 191 ResultData create(const Functions& gl) in create() 198 ResultData create<GL_TEXTURE_2D, GL_RGBA8>(const Functions& gl) in create() 204 ResultData create<GL_TEXTURE_3D, GL_RGBA8>(const Functions [all...] |
H A D | glcTextureFilterAnisotropicTests.hpp | 53 bool verifyTexParameters(const glw::Functions& gl); 54 bool verifyGet(const glw::Functions& gl); 71 void generateTexture(const glw::Functions& gl, GLenum target); 72 void fillTexture(const glw::Functions& gl, GLenum target, GLenum internalFormat); 73 bool drawTexture(const glw::Functions& gl, GLenum target, GLfloat anisoDegree); 74 GLuint verifyScene(const glw::Functions& gl); 75 void releaseTexture(const glw::Functions& gl);
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluObjectWrapper.cpp | 36 ObjectWrapper::ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits) in ObjectWrapper() 58 ObjectWrapper::ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits, deUint32 object) in ObjectWrapper() 73 { "texture", &glw::Functions::genTextures, &glw::Functions::deleteTextures }, 74 { "buffer", &glw::Functions::genBuffers, &glw::Functions::deleteBuffers }, 75 { "renderbuffer", &glw::Functions::genRenderbuffers, &glw::Functions::deleteRenderbuffers }, 76 { "framebuffer", &glw::Functions::genFramebuffers, &glw::Functions [all...] |
H A D | gluProgramInterfaceQuery.hpp | 33 class Functions; 89 int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, deUint32 queryParam); 90 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, deUint32 queryParam); 92 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, std::string& dst); 93 std::string getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index); 95 void getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, InterfaceBlockInfo& info); 96 InterfaceBlockInfo getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index); 98 void getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, InterfaceVariableInfo& info); 99 InterfaceVariableInfo getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index); 103 inline int getProgramResourceInt (const glw::Functions [all...] |
H A D | gluObjectWrapper.hpp | 58 glw::glGenBuffersFunc glw::Functions::*genFunc; 59 glw::glDeleteBuffersFunc glw::Functions::*deleteFunc; 67 ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits); 68 ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits, deUint32 object); 75 const glw::Functions& m_gl; 90 TypedObjectWrapper (const glw::Functions& gl, deUint32 object) : ObjectWrapper(gl, objectTraits(Type), object) {} in TypedObjectWrapper() 92 explicit TypedObjectWrapper (const glw::Functions& gl) : ObjectWrapper(gl, objectTraits(Type)) {} in TypedObjectWrapper() 101 ObjectVector (const glw::Functions& gl, const ObjectTraits& traits, size_t numObjects = 0); 118 const glw::Functions& m_gl; 127 explicit TypedObjectVector (const glw::Functions in TypedObjectVector() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cSparseTextureTests.hpp | 74 static void getTexturePageSizes(const Functions& gl, GLint target, GLint format, GLint& pageSizeX, GLint& pageSizeY, 88 static void Bind(const Functions& gl, GLuint id, GLenum target); 90 static void Generate(const Functions& gl, GLuint& out_id); 92 static void Delete(const Functions& gl, GLuint& id); 94 static void Storage(const Functions& gl, GLenum target, GLsizei levels, GLenum internal_format, GLuint width, 97 static void GetData(const Functions& gl, GLint level, GLenum target, GLenum format, GLenum type, GLvoid* out_data); 99 static void SubImage(const Functions& gl, GLenum target, GLint level, GLint x, GLint y, GLint z, GLsizei width, 133 bool testTextureSparseARB(const Functions& gl, GLint target, GLint expectedError = GL_NO_ERROR); 134 bool testVirtualPageSizeIndexARB(const Functions& gl, GLint target, GLint expectedError = GL_NO_ERROR); 135 bool testNumSparseLevelsARB(const Functions [all...] |
H A D | gl4cSparseBufferTests.hpp | 46 static glw::GLuint createComputeProgram(const glw::Functions& gl, const char** cs_body_parts, 49 static glw::GLuint createProgram(const glw::Functions& gl, const char** fs_body_parts, unsigned int n_fs_body_parts, 178 AtomicCounterBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint page_size, 197 const glw::Functions& m_gl; 238 BufferTextureStorageTestCase(const glw::Functions& gl, deqp::Context& context, tcu::TestContext& testContext, 255 const glw::Functions& m_gl; 289 ClearOpsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint page_size); 305 const glw::Functions& m_gl; 348 CopyOpsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint page_size); 392 const glw::Functions [all...] |
H A D | gl3cClipDistance.hpp | 84 Program(const glw::Functions& gl, const std::string& vertex_shader_code, const std::string& fragment_shader_code, 101 const glw::Functions& m_gl; 120 Framebuffer(const glw::Functions& gl, const glw::GLsizei size_x, const glw::GLsizei size_y); 129 const glw::Functions& m_gl; 144 VertexArrayObject(const glw::Functions& gl, const glw::GLenum primitive_type); // create empty vao 152 const glw::Functions& m_gl; 168 VertexBufferObject(const glw::Functions& gl, const glw::GLenum target, std::vector<T> data); 176 const glw::Functions& m_gl; 224 bool MaxClipDistancesValueTest(const glw::Functions& gl); 225 bool EnableDisableTest(const glw::Functions [all...] |
H A D | gl4cSparseTexture2Tests.hpp | 155 virtual bool sparseAllocateTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint levels); 156 virtual bool allocateTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint levels); 157 virtual bool writeDataToTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level); 158 virtual bool verifyTextureData(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level); 182 bool UncommittedReads(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level); 183 bool UncommittedAtomicOperations(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level); 184 bool UncommittedDepthStencil(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level); 186 void prepareDepthStencilFramebuffer(const Functions& gl, GLint width, GLint height); 187 void cleanupDepthStencilFramebuffer(const Functions& gl); 188 bool verifyTextureDataExtended(const Functions [all...] |
H A D | gl4cShaderDrawParametersTests.cpp | 112 const Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() 164 const Functions& gl = m_context.getRenderContext().getFunctions(); in init() 204 const Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() 236 const Functions& gl = m_context.getRenderContext().getFunctions(); in draw() 302 const Functions& gl = m_context.getRenderContext().getFunctions(); in verify() 379 const Functions& gl = m_context.getRenderContext().getFunctions(); in drawCommand() 405 const Functions& gl = m_context.getRenderContext().getFunctions(); in drawCommand() 417 const Functions& gl = m_context.getRenderContext().getFunctions(); in initChild() 442 const Functions& gl = m_context.getRenderContext().getFunctions(); in deinitChild() 450 const Functions in drawCommand() [all...] |
H A D | gl4cBufferStorageTests.cpp | 62 bool isGLVersionAtLeast(const glw::Functions& gl, glw::GLint required_major, glw::GLint required_minor); 130 static void Bind(const glw::Functions& gl, glw::GLuint id, glw::GLenum target); 132 static void BindBase(const glw::Functions& gl, glw::GLuint id, glw::GLenum target, glw::GLuint index); 134 static void BindRange(const glw::Functions& gl, glw::GLuint id, glw::GLenum target, glw::GLuint index, 137 static void Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, 140 static void Generate(const glw::Functions& gl, glw::GLuint& out_id); 142 static void GetNamedParameter(const glw::Functions& gl, glw::GLuint buffer, glw::GLenum pname, glw::GLint* data); 144 static void GetParameter(const glw::Functions& gl, glw::GLenum target, glw::GLenum value, glw::GLint* data); 146 static void GetSubData(const glw::Functions& gl, glw::GLenum target, glw::GLintptr offset, glw::GLsizeiptr size, 149 static void* Map(const glw::Functions [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsSamplerObjectTest.hpp | 77 static void setTextureState (const glw::Functions& gl, GLenum target, SamplingState state); 78 static void setSamplerState (const glw::Functions& gl, SamplingState state, GLuint sampler); 80 static GLuint createTexture2D (const glw::Functions& gl); 81 static GLuint createTexture3D (const glw::Functions& gl); 82 static GLuint createTextureCube (const glw::Functions& gl); 83 static GLuint createTexture (const glw::Functions& gl, GLenum target); 136 static void setTextureState (const glw::Functions& gl, GLenum target, SamplingState state); 137 static void setSamplerState (const glw::Functions& gl, SamplingState state, GLuint sampler); 139 static GLuint createTexture2D (const glw::Functions& gl, int id); 140 static GLuint createTexture3D (const glw::Functions [all...] |
H A D | glsStateChangePerfTestCases.hpp | 37 class Functions; 73 virtual void setupInitialState (const glw::Functions& gl) = 0; 74 virtual void renderTest (const glw::Functions& gl) = 0; 75 virtual void renderReference (const glw::Functions& gl) = 0; 77 void callDraw (const glw::Functions& gl); 117 virtual void execCalls (const glw::Functions& gl, int iterNdx, int callCount) = 0;
|
/third_party/skia/third_party/externals/tint/src/ |
H A D | program_builder_test.cc | 41 ASSERT_EQ(inner.AST().Functions().size(), 1u); in TEST_F() 47 ASSERT_EQ(inner.AST().Functions().size(), 1u); in TEST_F() 48 ASSERT_EQ(outer.AST().Functions().size(), 1u); in TEST_F() 49 EXPECT_EQ(inner.AST().Functions()[0], outer.AST().Functions()[0]); in TEST_F() 60 ASSERT_EQ(inner.AST().Functions().size(), 1u); in TEST_F() 61 ASSERT_EQ(outer.AST().Functions().size(), 2u); in TEST_F() 62 EXPECT_EQ(inner.AST().Functions()[0], outer.AST().Functions()[0]); in TEST_F() 63 EXPECT_EQ(outer.AST().Functions()[ in TEST_F() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cTextureStorageMultisampleTexStorage3DMultisampleTests.cpp | 110 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() 155 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initInternals() 190 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() 316 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() 341 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initInternals() 376 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() 415 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() 436 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initInternals() 463 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() 511 const glw::Functions in deinit() [all...] |
H A D | es31cTextureStorageMultisampleTexStorage2DMultisampleTests.cpp | 73 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinitInternalIteration() 95 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initInternalIteration() 122 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() 217 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() 234 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initInternals() 248 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() 429 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinitInternalIteration() 451 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in initInternalIteration() 478 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() 553 const glw::Functions in deinitTexture() [all...] |
/third_party/vulkan-loader/tests/ |
H A D | loader_unknown_ext_tests.cpp | 64 Functions for testing of layer interception of unknown functions. Note the need to pass a pointer to the layer and the name 1071 struct Functions { struct 1096 Functions::three::physical_device::add_to_driver(f, pd); in TEST() 1104 Functions::three::physical_device::add_to_layer(f, layer0, D<0>{}); in TEST() 1113 Functions::three::physical_device::add_to_layer(f, layer1, D<1>{}); in TEST() 1120 f.check<Functions::three::physical_device>(env.vulkan_functions, inst.inst, phys_dev); in TEST() 1161 Functions::zero::physical_device::add_to_driver(unknown_funcs.at(0), physical_device); in TEST() 1163 Functions::one::physical_device::add_to_driver(unknown_funcs.at(1), physical_device); in TEST() 1164 Functions::one::physical_device::add_to_layer(unknown_funcs.at(1), layer_0, D<0>{}); in TEST() 1166 Functions in TEST() [all...] |
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/parser/ |
H A D | parser_test.go | 94 Functions: []ast.FunctionDecl{{ 99 Functions: []ast.FunctionDecl{{ 107 Functions: []ast.FunctionDecl{{ 115 Functions: []ast.FunctionDecl{{ 123 Functions: []ast.FunctionDecl{{ 132 Functions: []ast.FunctionDecl{{ 147 Functions: []ast.FunctionDecl{{ 162 Functions: []ast.FunctionDecl{{ 168 Functions: []ast.FunctionDecl{{
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/mutations/ |
H A D | replace_identifier_test.cc | 52 const auto& main_fn_stmts = program.AST().Functions()[0]->body->statements; in TEST() 137 .Functions()[0] in TEST() 170 .Functions()[0] in TEST() 199 .Functions()[0] in TEST() 206 .Functions()[0] in TEST() 235 .Functions()[0] in TEST() 242 .Functions()[0] in TEST() 270 node_id_map.GetId(program.AST().Functions()[0]->params[0]); in TEST() 274 .Functions()[0] in TEST() 311 .Functions()[ in TEST() [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() 106 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deinit() 151 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate() 229 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in createCubeMapArrayTexture() 319 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in configureTextures() 340 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deleteTextures() 367 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in configureUniforms() 405 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in configureTestSpecificObjects() 427 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in deleteTestSpecificObjects() 452 const glw::Functions in configureTextures() [all...] |