/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
H A D | esextcTessellationShaderVertexOrdering.hpp | 118 glw::GLuint m_bo_id; 119 glw::GLuint m_fs_id; 120 glw::GLuint m_tc_id; 121 glw::GLuint m_vs_id; 122 glw::GLuint m_vao_id;
|
H A D | esextcTessellationShaderPrimitiveCoverage.cpp | 159 const glw::GLfloat TessellationShaderPrimitiveCoverage::m_clear_color[4] = { 169 const glw::GLfloat TessellationShaderPrimitiveCoverage::m_stencil_pass_color[4] = { 177 const glw::GLuint TessellationShaderPrimitiveCoverage::m_height = 180 const glw::GLuint TessellationShaderPrimitiveCoverage::m_n_components = 4; 182 const glw::GLuint TessellationShaderPrimitiveCoverage::m_width = 186 const glw::GLuint TessellationShaderPrimitiveCoverage::m_rendered_data_buffer_size = m_width /* width */ 233 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 370 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 385 m_rendered_data_buffer = (glw::GLubyte*)malloc(m_rendered_data_buffer_size); 403 const glw [all...] |
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderLayeredFBO.cpp | 36 const glw::GLuint GeometryShaderLayeredFBOShared::shared_to_depth = 4; /* as per test spec */ 37 const glw::GLuint GeometryShaderLayeredFBOShared::shared_to_height = 4; /* as per test spec */ 38 const glw::GLuint GeometryShaderLayeredFBOShared::shared_to_width = 4; /* as per test spec */ 51 bool GeometryShaderLayeredFBOShared::checkFBOCompleteness(tcu::TestContext& test_context, const glw::Functions& gl, 52 glw::GLenum fbo_id, glw::GLenum expected_completeness_status) 54 glw::GLenum current_fbo_status = GL_NONE; 85 void GeometryShaderLayeredFBOShared::deinitFBOs(const glw::Functions& gl, const glw::GLuint* fbo_ids) 99 void GeometryShaderLayeredFBOShared::deinitTOs(const glw [all...] |
H A D | esextcGeometryShaderProgramResource.cpp | 208 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 210 glw::GLint maxVSAtomicCounters = 0; 213 glw::GLint maxGSAtomicCounters = 0; 218 glw::GLint maxVSStorageBlocks = 0; 221 glw::GLint maxGSStorageBlocks = 0; 226 glw::GLuint nCodeParts = 0; 394 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 397 glw::GLuint atom_horizontal_uniform_indx = 399 glw::GLuint atom_vertical_uniform_indx = 403 glw [all...] |
/external/deqp/external/openglcts/modules/glesext/texture_buffer/ |
H A D | esextcTextureBufferOperations.cpp | 42 const glw::GLuint TextureBufferOperations::m_n_vector_components = 4; 85 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 98 m_n_vectors_in_buffer_texture * m_n_vector_components * sizeof(glw::GLint), 0, GL_DYNAMIC_DRAW); 127 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 149 gl.bufferData(GL_ARRAY_BUFFER, m_n_vectors_in_buffer_texture * m_n_vector_components * sizeof(glw::GLint), 0, 192 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 243 glw::GLfloat vertices[] = { -1.0f, -1.0f, 0.0f, 1.0f, -1.0f, 1.0f, 0.0f, 1.0f, 257 glw::GLfloat indicies[] = { 0.f, 0.f, static_cast<glw::GLfloat>(m_n_vectors_in_buffer_texture) * 1.f, 258 static_cast<glw [all...] |
H A D | esextcTextureBufferErrors.cpp | 41 const glw::GLint TextureBufferErrors::m_bo_size = 42 256 /* number of texels */ * 4 /* number of components */ * sizeof(glw::GLint); 60 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 93 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 138 glw::GLboolean TextureBufferErrors::verifyError(const glw::GLenum expected_error, const char* description) 141 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 143 glw::GLboolean test_passed = true; 144 glw::GLenum error_code = gl.getError(); 170 const glw [all...] |
/external/deqp/external/openglcts/modules/gl/ |
H A D | gl4cContextFlushControlTests.cpp | 145 bool gl4cts::ContextFlushControl::CoverageTest::testQuery(glu::RenderContext& context, glw::GLenum expected_value) 148 const glw::Functions& gl = context.getFunctions(); 151 glw::GLint value_i = -1; 152 glw::GLint64 value_i64 = -1; 153 glw::GLfloat value_f = -1; 154 glw::GLdouble value_d = -1; 155 glw::GLboolean value_b = -1; 157 glw::GLboolean expected_bool_value = (glw::GLboolean)de::min((glw [all...] |
H A D | gl4cIncompleteTextureAccessTests.cpp | 44 #include "glw.h" 105 for (glw::GLuint i = 0; i < s_configurations_count; ++i) 157 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 161 glw::GLchar const* source[5]; 162 glw::GLsizei const count; 163 glw::GLenum const type; 164 glw::GLuint id; 172 glw::GLuint const shader_count = sizeof(shader) / sizeof(shader[0]); 182 for (glw::GLuint i = 0; i < shader_count; ++i) 201 glw [all...] |
H A D | gl4cGetTextureSubImageTests.cpp | 156 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 238 m_destination_buffer = (glw::GLubyte*)malloc(s_destination_buffer_size); 257 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 260 glw::GLuint invalid_texture = m_texture_2D_multisampled; 268 glw::GLint error_value = gl.getError(); 269 glw::GLint is_proper_error = (GL_INVALID_OPERATION == error_value); 286 glw::GLint is_proper_error_compressed = (GL_INVALID_OPERATION == error_value); 315 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 321 glw::GLint error_value = gl.getError(); 322 glw [all...] |
H A D | gl4cSpirvExtensionsTests.hpp | 37 using namespace glw;
|
/external/deqp/external/openglcts/modules/gles31/ |
H A D | es31cTextureStorageMultisampleGLCoverageTests.cpp | 62 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 91 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 94 const glw::GLenum pnames[] = { GL_MAX_SAMPLE_MASK_WORDS, GL_MAX_COLOR_TEXTURE_SAMPLES, GL_MAX_DEPTH_TEXTURE_SAMPLES, 101 glw::GLenum pname = pnames[n_pname]; 104 glw::GLint int_value = -1; 118 glw::GLboolean bool_value = GL_TRUE; 134 glw::GLfloat float_value = -1.0f; 151 glw::GLboolean bool_value = GL_TRUE; 153 glw::GLfloat float_value = 1.0f; 154 glw [all...] |
H A D | es31cTextureStorageMultisampleDependenciesTests.cpp | 66 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 106 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 127 glw::GLint num_sample_counts_2dms = 1; 128 glw::GLint num_sample_counts_2dms_a = 1; 138 std::vector<glw::GLint> sample_counts_2dms(num_sample_counts_2dms); 139 std::vector<glw::GLint> sample_counts_2dms_a(num_sample_counts_2dms_a); 153 glw::GLint samples_attachment_1 = 0; 154 glw::GLint samples_attachment_2 = 0; 159 for (glw::GLint i_2dms = 0; i_2dms < num_sample_counts_2dms; i_2dms++) 161 for (glw [all...] |
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/ |
H A D | esextcGPUShader5FmaPrecision.cpp | 72 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 160 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 217 glw::GLint posAttribA = gl.getAttribLocation(m_po_id, "a"); 227 glw::GLint posAttribB = gl.getAttribLocation(m_po_id, "b"); 235 glw::GLint posAttribC = gl.getAttribLocation(m_po_id, "c"); 246 gl.bufferData(GL_ARRAY_BUFFER, m_n_elements * S * sizeof(glw::GLfloat), DE_NULL, GL_DYNAMIC_COPY); 251 gl.bufferData(GL_ARRAY_BUFFER, m_n_elements * S * sizeof(glw::GLfloat), DE_NULL, GL_DYNAMIC_COPY); 273 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 286 glw::GLfloat resultFma[m_n_elements * S]; 287 glw [all...] |
H A D | esextcGPUShader5UniformBlocksArrayIndexing.cpp | 40 const glw::GLuint GPUShader5UniformBlocksArrayIndexing::m_n_array_size = 4; 41 const glw::GLuint GPUShader5UniformBlocksArrayIndexing::m_n_position_components = 4; 44 const glw::GLfloat GPUShader5UniformBlocksArrayIndexing::m_position_data[] = { -1.0, -1.0, 0.0, 1.0, -1.0, 1.0, 107 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 146 gl.bufferData(GL_ARRAY_BUFFER, m_n_position_components * sizeof(glw::GLfloat) * nVaryings, DE_NULL, 169 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 176 m_uniform_buffer_ids = new glw::GLuint[m_n_array_size]; 177 memset(m_uniform_buffer_ids, 0, m_n_array_size * sizeof(glw::GLuint)); 182 for (glw::GLuint index_value = 0; index_value < m_n_array_size; ++index_value) 184 glw [all...] |
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/ |
H A D | esextcDrawBuffersIndexedDefaultState.cpp | 50 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 53 glw::GLint maxDrawBuffers = 0; 69 glw::GLenum error_code = gl.getError();
|
H A D | esextcDrawBuffersIndexedCoverage.cpp | 58 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 61 glw::GLint maxDrawBuffers = 0; 70 glw::GLint valueI; 71 glw::GLint64 valueLI; 72 glw::GLboolean valueB; 96 glw::GLenum error_code = gl.getError();
|
H A D | esextcDrawBuffersIndexedBlending.hpp | 61 unsigned int NumComponents(glw::GLenum format); 65 glw::GLuint m_fbo;
|
H A D | esextcDrawBuffersIndexedNegative.hpp | 56 bool ExpectedError(glw::GLenum expectedResult, const char* call);
|
/external/deqp/modules/egl/ |
H A D | teglGLES2RenderUtil.cpp | 35 void clear (const glw::Functions& gl, int x, int y, int width, int height, const tcu::Vec4& color) 44 void readPixels (const glw::Functions& gl, tcu::Surface& dst, int x, int y, int width, int height) 50 void finish (const glw::Functions& gl)
|
/external/deqp/modules/glshared/ |
H A D | glsSamplerObjectTest.hpp | 31 #include "glw.h" 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 [all...] |
H A D | glsStateChangePerfTestCases.hpp | 35 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;
|
H A D | glsStateQueryUtil.cpp | 38 static glw::GLboolean mapBoolToGLBoolean (bool b) 45 const glw::GLenum errorCode = gl.glGetError(); 59 QueriedState::QueriedState (glw::GLint v) 65 QueriedState::QueriedState (glw::GLint64 v) 77 QueriedState::QueriedState (glw::GLfloat v) 83 QueriedState::QueriedState (glw::GLuint v) 158 glw::GLint& QueriedState::getIntAccess (void) 164 glw::GLint64& QueriedState::getInt64Access (void) 176 glw::GLfloat& QueriedState::getFloatAccess (void) 182 glw [all...] |
/external/deqp/framework/platform/null/ |
H A D | tcuNullRenderContext.hpp | 60 virtual const glw::Functions& getFunctions (void) const { return m_functions; } 73 glw::Functions m_functions;
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
H A D | esextcTextureCubeMapArrayETC2Support.cpp | 92 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 120 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 137 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 141 glw::GLchar const* const source; 142 glw::GLenum const type; 143 glw::GLuint id; 147 glw::GLuint const shader_count = sizeof(shader) / sizeof(shader[0]); 154 for (glw::GLuint i = 0; i < shader_count; ++i) 180 glw::GLint status = GL_FALSE; 187 glw [all...] |
/external/deqp/framework/egl/ |
H A D | egluGLFunctionLoader.cpp | 21 * \brief glw::FunctionLoader using eglGetProcAddress() and tcu::Library. 38 glw::GenericFuncType GLFunctionLoader::get (const char* name) const 40 glw::GenericFuncType func = (glw::GenericFuncType)m_library->getFunction(name); 43 return (glw::GenericFuncType)m_egl.getProcAddress(name);
|