Home
last modified time | relevance | path

Searched refs:glw (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/external/deqp/framework/opengl/
DgluCallLogWrapperApi.inl4 glw::GLsync glCreateSyncFromCLeventARB (struct _cl_context* context, struct _cl_event* event…
6 void glCullFace (glw::GLenum mode);
7 void glFrontFace (glw::GLenum mode);
8 void glHint (glw::GLenum target, glw::GLenum mode);
9 void glLineWidth (glw::GLfloat width);
10 void glPointSize (glw::GLfloat size);
11 void glPolygonMode (glw::GLenum face, glw::GLenum mode);
12 void glScissor (glw::GLint x, glw::GLint y, glw::GLsizei width, glw::GLsizei height);
13 void glTexParameterf (glw::GLenum target, glw::GLenum pname, glw::GLfloat param);
14 void glTexParameterfv (glw::GLenum target, glw::GLenum pname, const glw::GLfloat* params);
[all …]
DgluCallLogWrapper.inl5 glw::GLsync CallLogWrapper::glCreateSyncFromCLeventARB (struct _cl_context* param0, struct _cl_even…
9 glw::GLsync returnValue = m_gl.createSyncFromCLeventARB(param0, param1, param2);
22 void CallLogWrapper::glCullFace (glw::GLenum param0)
29 void CallLogWrapper::glFrontFace (glw::GLenum param0)
36 void CallLogWrapper::glHint (glw::GLenum param0, glw::GLenum param1)
43 void CallLogWrapper::glLineWidth (glw::GLfloat param0)
50 void CallLogWrapper::glPointSize (glw::GLfloat param0)
57 void CallLogWrapper::glPolygonMode (glw::GLenum param0, glw::GLenum param1)
64 void CallLogWrapper::glScissor (glw::GLint param0, glw::GLint param1, glw::GLsizei param2, glw::GLs…
71 void CallLogWrapper::glTexParameterf (glw::GLenum param0, glw::GLenum param1, glw::GLfloat param2)
[all …]
DgluObjectWrapper.cpp35 ObjectWrapper::ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits) in ObjectWrapper()
64 { "texture", &glw::Functions::genTextures, &glw::Functions::deleteTextures },
65 { "buffer", &glw::Functions::genBuffers, &glw::Functions::deleteBuffers },
66 { "renderbuffer", &glw::Functions::genRenderbuffers, &glw::Functions::deleteRenderbuffers },
67 { "framebuffer", &glw::Functions::genFramebuffers, &glw::Functions::deleteFramebuffers },
68 …{ "transform feedback", &glw::Functions::genTransformFeedbacks, &glw::Functions::deleteTransformFe…
69 { "vertex array", &glw::Functions::genVertexArrays, &glw::Functions::deleteVertexArrays },
70 { "query", &glw::Functions::genQueries, &glw::Functions::deleteQueries },
78 ObjectVector::ObjectVector (const glw::Functions& gl, const ObjectTraits& traits, size_t numObjects) in ObjectVector()
102 (m_gl.*m_traits.genFunc)(glw::GLsizei(newSize - oldSize), &m_objects[oldSize]); in resize()
[all …]
DgluRenderContext.cpp178 static std::vector<std::string> getExtensions (const glw::Functions& gl, ApiType apiType) in getExtensions()
226 void initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType) in initCoreFunctions()
231 void (*initFunc) (glw::Functions* gl, const glw::FunctionLoader* loader); in initCoreFunctions()
234 { ApiType::es(2,0), glw::initES20 }, in initCoreFunctions()
235 { ApiType::es(3,0), glw::initES30 }, in initCoreFunctions()
236 { ApiType::es(3,1), glw::initES31 }, in initCoreFunctions()
237 { ApiType::core(3,0), glw::initGL30Core }, in initCoreFunctions()
238 { ApiType::core(3,1), glw::initGL31Core }, in initCoreFunctions()
239 { ApiType::core(3,2), glw::initGL32Core }, in initCoreFunctions()
240 { ApiType::core(3,3), glw::initGL33Core }, in initCoreFunctions()
[all …]
DgluES3PlusWrapperContext.cpp52 Context (const glw::Functions& gl_);
57 const glw::Functions& gl; //!< GL 4.3 core context functions.
72 Context::Context (const glw::Functions& gl_) in Context()
159 static GLW_APICALL const glw::GLubyte* GLW_APIENTRY getString (deUint32 name) in getString()
167 case GL_VENDOR: return (const glw::GLubyte*)context->vendor.c_str(); in getString()
168 case GL_VERSION: return (const glw::GLubyte*)context->version.c_str(); in getString()
169 case GL_RENDERER: return (const glw::GLubyte*)context->renderer.c_str(); in getString()
170 …case GL_SHADING_LANGUAGE_VERSION: return (const glw::GLubyte*)context->shadingLanguageVersion.c_st… in getString()
171 case GL_EXTENSIONS: return (const glw::GLubyte*)context->extensions.c_str(); in getString()
179 static GLW_APICALL const glw::GLubyte* GLW_APIENTRY getStringi (deUint32 name, deUint32 index) in getStringi()
[all …]
DgluProgramInterfaceQuery.hpp31 namespace glw namespace
89 int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInter…
90 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programI…
92 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInte…
93 std::string getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 progr…
95 void getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 program…
96 InterfaceBlockInfo getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUin…
98 void getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, deUint32 prog…
99 InterfaceVariableInfo getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, …
103 inline int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInter… in getProgramResourceInt()
[all …]
DgluObjectWrapper.hpp57 glw::glGenBuffersFunc glw::Functions::*genFunc;
58 glw::glDeleteBuffersFunc glw::Functions::*deleteFunc;
66 ObjectWrapper (const glw::Functions& gl, const ObjectTraits& traits);
73 const glw::Functions& m_gl;
89 explicit TypedObjectWrapper (const glw::Functions& gl) : ObjectWrapper(gl, objectTraits(Type)) {} in TypedObjectWrapper()
98 … ObjectVector (const glw::Functions& gl, const ObjectTraits& traits, size_t numObjects = 0);
115 const glw::Functions& m_gl;
124 …explicit TypedObjectVector (const glw::Functions& gl, size_t numObjects = 0) : ObjectVector(gl, ob… in TypedObjectVector()
DgluShaderProgram.cpp44 const glw::Functions& gl = m_renderCtx.getFunctions(); in Shader()
54 const glw::Functions& gl = m_renderCtx.getFunctions(); in ~Shader()
60 const glw::Functions& gl = m_renderCtx.getFunctions(); in setSources()
75 const glw::Functions& gl = m_renderCtx.getFunctions(); in compile()
114 const glw::Functions& gl = renderCtx.getFunctions(); in getProgramLinkStatus()
124 const glw::Functions& gl = renderCtx.getFunctions(); in getProgramInfoLog()
145 const glw::Functions& gl = m_renderCtx.getFunctions(); in Program()
161 const glw::Functions& gl = m_renderCtx.getFunctions(); in ~Program()
167 const glw::Functions& gl = m_renderCtx.getFunctions(); in attachShader()
175 const glw::Functions& gl = m_renderCtx.getFunctions(); in detachShader()
[all …]
DgluRenderContext.hpp35 namespace glw namespace
201 virtual const glw::Functions& getFunctions (void) const = DE_NULL;
221 void initCoreFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiTy…
222 void initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType a…
226 void initFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType apiType);
227 void initExtensionFunctions (glw::Functions* dst, const glw::FunctionLoader* loader, ApiType a…
DgluTexture.cpp58 const glw::Functions& gl = context.getFunctions(); in Texture1D()
69 const glw::Functions& gl = context.getFunctions(); in Texture1D()
82 const glw::Functions& gl = m_context.getFunctions(); in upload()
112 const glw::Functions& gl = context.getFunctions(); in Texture2D()
124 const glw::Functions& gl = context.getFunctions(); in Texture2D()
136 const glw::Functions& gl = context.getFunctions(); in Texture2D()
163 const glw::Functions& gl = m_context.getFunctions(); in upload()
189 const glw::Functions& gl = m_context.getFunctions(); in loadCompressed()
295 const glw::Functions& gl = m_context.getFunctions(); in TextureCube()
323 const glw::Functions& gl = m_context.getFunctions(); in TextureCube()
[all …]
/external/deqp/framework/opengl/wrapper/
DglwImpl.inl7 const glw::Functions* gl = glw::getCurrentThreadFunctions();
15 const glw::Functions* gl = glw::getCurrentThreadFunctions();
23 const glw::Functions* gl = glw::getCurrentThreadFunctions();
31 const glw::Functions* gl = glw::getCurrentThreadFunctions();
39 const glw::Functions* gl = glw::getCurrentThreadFunctions();
47 const glw::Functions* gl = glw::getCurrentThreadFunctions();
55 const glw::Functions* gl = glw::getCurrentThreadFunctions();
63 const glw::Functions* gl = glw::getCurrentThreadFunctions();
71 const glw::Functions* gl = glw::getCurrentThreadFunctions();
79 const glw::Functions* gl = glw::getCurrentThreadFunctions();
[all …]
DglwWrapper.cpp37 namespace glw namespace
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)
/external/deqp/modules/glshared/
DglsFboUtil.hpp161 glw::GLenum format;
164 glw::GLenum unsizedType;
201 FormatFlags formatFlag(glw::GLenum context);
252 glw::GLsizei width;
253 glw::GLsizei height;
266 glw::GLsizei numSamples;
273 glw::GLint numLevels;
291 glw::GLsizei numLayers;
306 glw::GLenum target;
307 glw::GLuint imageName;
[all …]
DglsSamplerObjectTest.hpp77 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& gl, int id);
[all …]
DglsStateChangePerfTestCases.hpp35 namespace glw namespace
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;
/external/deqp/modules/gles31/functional/
Des31fNegativeTestShared.hpp46 virtual void expectMessage (glw::GLenum source, glw::GLenum type) = 0;
47 virtual void expectError (glw::GLenum error0, glw::GLenum error1) = 0;
59 int getInteger (glw::GLenum pname) const;
65 void expectMessage (glw::GLenum source, glw::GLenum type);
66 void expectError (glw::GLenum error);
67 void expectError (glw::GLenum error0, glw::GLenum error1);
Des31fIntegerStateQueryTests.cpp67 static bool verifyValue (glu::CallLogWrapper& gl, glw::GLenum target, int refValue, VerifierType ty… in verifyValue()
73 StateQueryMemoryWriteGuard<glw::GLboolean> value; in verifyValue()
94 StateQueryMemoryWriteGuard<glw::GLint> value; in verifyValue()
115 StateQueryMemoryWriteGuard<glw::GLint64> value; in verifyValue()
125 else if (value != (glw::GLint64)refValue) in verifyValue()
136 StateQueryMemoryWriteGuard<glw::GLfloat> value; in verifyValue()
146 else if (value != (glw::GLfloat)refValue) in verifyValue()
161 static bool verifyMinValue (glu::CallLogWrapper& gl, glw::GLenum target, int minValue, VerifierType… in verifyMinValue()
167 StateQueryMemoryWriteGuard<glw::GLboolean> value; in verifyMinValue()
188 StateQueryMemoryWriteGuard<glw::GLint> value; in verifyMinValue()
[all …]
Des31fProgramInterfaceQueryTestCase.cpp57 static glw::GLenum getProgramDefaultBlockInterfaceFromStorage (glu::Storage storage) in getProgramDefaultBlockInterfaceFromStorage()
150 virtual std::string getHumanReadablePropertyString (glw::GLint propVal) const;
151 …ProgramInterfaceDefinition::Program* program, const std::string& resource, glw::GLint propValue) c…
177 std::string PropValidator::getHumanReadablePropertyString (glw::GLint propVal) const in getHumanReadablePropertyString()
202 …SingleVariableValidator (Context& context, ProgramResourcePropFlags validationProp, glw::GLuint pr…
204 …ProgramInterfaceDefinition::Program* program, const std::string& resource, glw::GLint propValue) c…
205 …nst std::vector<VariablePathComponent>& path, const std::string& resource, glw::GLint propValue) c…
206 virtual void validateBuiltinVariable (const std::string& resource, glw::GLint propValue) const;
210 const glw::GLuint m_programID;
213 …iableValidator (Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, … in SingleVariableValidator()
[all …]
Des31fLayoutBindingTests.cpp214 glw::GLenum maxBindingPointEnum,
215 glw::GLenum maxVertexUnitsEnum,
216 glw::GLenum maxFragmentUnitsEnum,
217 glw::GLenum maxCombinedUnitsEnum,
236 const glw::GLenum m_maxBindingPointEnum;
237 const glw::GLenum m_maxVertexUnitsEnum;
238 const glw::GLenum m_maxFragmentUnitsEnum;
239 const glw::GLenum m_maxCombinedUnitsEnum;
241 glw::GLuint m_vertexBuffer;
242 glw::GLuint m_indexBuffer;
[all …]
Des31fInternalFormatQueryTests.cpp51 …SamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum texTarget, glw::GLenum …
56 const glw::GLenum m_texTarget;
57 const glw::GLenum m_internalFormat;
61 …SamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum texTarget, glw::GLenum … in FormatSamplesCase()
82 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate()
84 glw::GLint maxSamples = 0; in iterate()
85 glw::GLint numSampleCounts = 0; in iterate()
89 …const glw::GLenum samplesEnum = (m_type == FORMAT_COLOR) ? (GL_MAX_COLOR_TEXTURE_SAMPLES) : (m_typ… in iterate()
121 std::vector<glw::GLint> samples; in iterate()
199 const glw::GLint defaultValue = -123; // queries always return positive values in iterate()
[all …]
Des31fShaderMultisampleInterpolationStateQueryTests.cpp51 static void verifyGreaterOrEqual (VerifierType verifier, glw::GLenum target, float minValue, Contex… in verifyGreaterOrEqual()
61 gls::StateQueryUtil::StateQueryMemoryWriteGuard<glw::GLboolean> value; in verifyGreaterOrEqual()
85 const glw::GLint refValue = (glw::GLint)deFloatFloor(minValue); in verifyGreaterOrEqual()
86 gls::StateQueryUtil::StateQueryMemoryWriteGuard<glw::GLint> value; in verifyGreaterOrEqual()
106 gls::StateQueryUtil::StateQueryMemoryWriteGuard<glw::GLfloat> value; in verifyGreaterOrEqual()
125 const glw::GLint64 refValue = (glw::GLint64)deFloatFloor(minValue); in verifyGreaterOrEqual()
126 gls::StateQueryUtil::StateQueryMemoryWriteGuard<glw::GLint64> value; in verifyGreaterOrEqual()
148 static void verifyLessOrEqual (VerifierType verifier, glw::GLenum target, float minValue, Context& … in verifyLessOrEqual()
158 gls::StateQueryUtil::StateQueryMemoryWriteGuard<glw::GLboolean> value; in verifyLessOrEqual()
182 const glw::GLint refValue = (glw::GLint)deFloatCeil(minValue); in verifyLessOrEqual()
[all …]
Des31fVertexAttributeBindingStateQueryTests.cpp60 glw::GLenum error = 0; in iterate()
61 glw::GLint maxAttrs = -1; in iterate()
75 glw::GLint bindingState = -1; in iterate()
97 glw::GLint bindingState = -1; in iterate()
134 glw::GLint bindingState = -1; in iterate()
176 glw::GLenum error = 0; in iterate()
177 glw::GLint maxAttrs = -1; in iterate()
191 glw::GLint relOffsetState = -1; in iterate()
213 glw::GLint relOffsetState = -1; in iterate()
249 glw::GLint relOffsetState = -1; in iterate()
[all …]
/external/deqp/modules/egl/
DteglPreservingSwapTests.cpp90 glw::Functions m_gl;
102 GLES2Program (const glw::Functions& gl);
108 const glw::Functions& m_gl;
109 glw::GLuint m_glProgram;
110 glw::GLuint m_coordLoc;
111 glw::GLuint m_colorLoc;
117 GLES2Program::GLES2Program (const glw::Functions& gl) in GLES2Program()
120 , m_coordLoc ((glw::GLuint)-1) in GLES2Program()
121 , m_colorLoc ((glw::GLuint)-1) in GLES2Program()
140 glw::GLuint vtxShader = (glw::GLuint)-1; in GLES2Program()
[all …]
/external/deqp/framework/egl/
DegluGLFunctionLoader.cpp35 glw::GenericFuncType GLFunctionLoader::get (const char* name) const in get()
37 glw::GenericFuncType func = (glw::GenericFuncType)m_library->getFunction(name); in get()
40 return (glw::GenericFuncType)eglGetProcAddress(name); in get()
/external/deqp/modules/gles2/functional/
Des2fImplementationLimitTests.cpp40 using namespace glw; // GL types
47 T query (const glw::Functions& gl, deUint32 param);
83 GLint query<GLint> (const glw::Functions& gl, deUint32 param) in query()
91 GLfloat query<GLfloat> (const glw::Functions& gl, deUint32 param) in query()
99 NegInt query<NegInt> (const glw::Functions& gl, deUint32 param) in query()
105 Boolean query<Boolean> (const glw::Functions& gl, deUint32 param) in query()
113 FloatRange query<FloatRange> (const glw::Functions& gl, deUint32 param) in query()
158 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); in iterate()

12345678910>>...12