/external/angle/src/common/ |
D | PackedGLEnums_autogen.h | 45 GLenum ToGLenum(AlphaTestFunc from); 69 GLenum ToGLenum(BufferBinding from); 90 GLenum ToGLenum(BufferUsage from); 107 GLenum ToGLenum(ClientVertexArrayType from); 122 GLenum ToGLenum(CullFaceMode from); 139 GLenum ToGLenum(FilterMode from); 154 GLenum ToGLenum(FogMode from); 170 GLenum ToGLenum(GraphicsResetStatus from); 185 GLenum ToGLenum(HandleType from); 200 GLenum ToGLenum(HintSetting from); [all …]
|
D | PackedGLEnums_autogen.cpp | 44 GLenum ToGLenum(AlphaTestFunc from) in ToGLenum() function 139 GLenum ToGLenum(BufferBinding from) in ToGLenum() function 248 GLenum ToGLenum(BufferUsage from) in ToGLenum() function 334 GLenum ToGLenum(ClientVertexArrayType from) in ToGLenum() function 396 GLenum ToGLenum(CullFaceMode from) in ToGLenum() function 452 GLenum ToGLenum(FilterMode from) in ToGLenum() function 514 GLenum ToGLenum(FogMode from) in ToGLenum() function 568 GLenum ToGLenum(GraphicsResetStatus from) in ToGLenum() function 625 GLenum ToGLenum(HandleType from) in ToGLenum() function 677 GLenum ToGLenum(HintSetting from) in ToGLenum() function [all …]
|
D | PackedEnums.h | 258 constexpr GLenum ToGLenum(PrimitiveMode from) in ToGLenum() function 263 static_assert(ToGLenum(PrimitiveMode::Points) == GL_POINTS, "PrimitiveMode violation"); 264 static_assert(ToGLenum(PrimitiveMode::Lines) == GL_LINES, "PrimitiveMode violation"); 265 static_assert(ToGLenum(PrimitiveMode::LineLoop) == GL_LINE_LOOP, "PrimitiveMode violation"); 266 static_assert(ToGLenum(PrimitiveMode::LineStrip) == GL_LINE_STRIP, "PrimitiveMode violation"); 267 static_assert(ToGLenum(PrimitiveMode::Triangles) == GL_TRIANGLES, "PrimitiveMode violation"); 268 static_assert(ToGLenum(PrimitiveMode::TriangleStrip) == GL_TRIANGLE_STRIP, 270 static_assert(ToGLenum(PrimitiveMode::TriangleFan) == GL_TRIANGLE_FAN, "PrimitiveMode violation"); 271 static_assert(ToGLenum(PrimitiveMode::LinesAdjacency) == GL_LINES_ADJACENCY, 273 static_assert(ToGLenum(PrimitiveMode::LineStripAdjacency) == GL_LINE_STRIP_ADJACENCY, [all …]
|
/external/angle/src/libANGLE/renderer/gl/ |
D | ContextGL.cpp | 58 GLuint shader = functions->createShader(ToGLenum(data.getShaderType())); in createShader() 282 getFunctions()->drawArrays(ToGLenum(mode), first, count); in drawArrays() 286 getFunctions()->drawArraysInstanced(ToGLenum(mode), first, count, instanceCount); in drawArrays() 305 getFunctions()->drawArraysInstanced(ToGLenum(mode), first, count, adjustedInstanceCount); in drawArraysInstanced() 340 gl::ToGLenum(attrib.format->vertexAttribType), in updateAttributesForBaseInstance() 346 gl::ToGLenum(attrib.format->vertexAttribType), in updateAttributesForBaseInstance() 373 gl::ToGLenum(attrib.format->vertexAttribType), in resetUpdatedAttributes() 380 gl::ToGLenum(attrib.format->vertexAttribType), attrib.format->isNorm(), in resetUpdatedAttributes() 407 functions->drawArraysInstancedBaseInstance(ToGLenum(mode), first, count, in drawArraysInstancedBaseInstance() 420 functions->drawArraysInstanced(ToGLenum(mode), first, count, adjustedInstanceCount); in drawArraysInstancedBaseInstance() [all …]
|
D | BufferGL.cpp | 67 mFunctions->bufferData(gl::ToGLenum(DestBufferOperationTarget), size, data, ToGLenum(usage)); in setData() 91 mFunctions->bufferSubData(gl::ToGLenum(DestBufferOperationTarget), offset, size, data); in setSubData() 112 mFunctions->copyBufferSubData(gl::ToGLenum(SourceBufferOperationTarget), in copySubData() 113 gl::ToGLenum(DestBufferOperationTarget), sourceOffset, destOffset, in copySubData() 134 *mapPtr = mFunctions->mapBuffer(gl::ToGLenum(DestBufferOperationTarget), access); in map() 140 *mapPtr = mFunctions->mapBufferRange(gl::ToGLenum(DestBufferOperationTarget), 0, in map() 164 *mapPtr = mFunctions->mapBufferRange(gl::ToGLenum(DestBufferOperationTarget), offset, in mapRange() 183 mFunctions->bufferSubData(gl::ToGLenum(DestBufferOperationTarget), mMapOffset, mMapSize, in unmap() 190 *result = mFunctions->unmapBuffer(gl::ToGLenum(DestBufferOperationTarget)); in unmap() 217 MapBufferRangeWithFallback(mFunctions, gl::ToGLenum(DestBufferOperationTarget), offset, in getIndexRange() [all …]
|
D | TextureGL.cpp | 262 context, functions->texImage3D(ToGLenum(target), static_cast<GLint>(level), in setImageHelper() 351 ToGLenum(target), static_cast<GLint>(level), area.x, area.y, in setSubImage() 402 functions->texSubImage3D(ToGLenum(target), static_cast<GLint>(level), in setSubImageRowByRowWorkaround() 416 ToGLenum(target), static_cast<GLint>(level), area.x, in setSubImageRowByRowWorkaround() 461 functions->texSubImage3D(ToGLenum(target), static_cast<GLint>(level), in setSubImagePaddingWorkaround() 474 ToGLenum(target), static_cast<GLint>(level), area.x, area.y, in setSubImagePaddingWorkaround() 486 functions->texSubImage3D(ToGLenum(target), static_cast<GLint>(level), area.x, in setSubImagePaddingWorkaround() 498 ToGLenum(target), static_cast<GLint>(level), area.x, area.y, in setSubImagePaddingWorkaround() 507 ANGLE_GL_TRY(context, functions->texSubImage2D(ToGLenum(target), static_cast<GLint>(level), in setSubImagePaddingWorkaround() 539 context, functions->compressedTexImage2D(ToGLenum(target), static_cast<GLint>(level), in setCompressedImage() [all …]
|
D | BlitGL.cpp | 288 mFunctions->texImage2D(ToGLenum(target), static_cast<GLint>(level), internalFormat, in copyImageToLUMAWorkaroundTexture() 377 mFunctions->copyTexSubImage3D(ToGLenum(target), static_cast<GLint>(level), in copySubImageToLUMAWorkaroundTexture() 385 ToGLenum(target), static_cast<GLint>(level), destOffset.x, in copySubImageToLUMAWorkaroundTexture() 539 ToGLenum(destTarget), destID, in copySubTexture() 661 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, ToGLenum(source->getType()), in copySubTextureCPUReadback() 676 mFunctions->texImage2D(ToGLenum(scratchTextureType), 0, texImageFormat.internalFormat, in copySubTextureCPUReadback() 695 ToGLenum(scratchTextureType), in copySubTextureCPUReadback() 762 ToGLenum(destTarget), static_cast<GLint>(destLevel), destOffset.x, in copySubTextureCPUReadback() 784 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, ToGLenum(source->getType()), in copyTexSubImage() 796 mFunctions->copyTexSubImage2D(ToGLenum(destTarget), static_cast<GLint>(destLevel), in copyTexSubImage() [all …]
|
D | VertexArrayGL.cpp | 532 gl::ToGLenum(format.vertexAttribType), stride, pointer); in callVertexAttribPointer() 537 gl::ToGLenum(format.vertexAttribType), format.isNorm(), in callVertexAttribPointer() 563 gl::ToGLenum(format.vertexAttribType), in updateAttribFormat() 569 gl::ToGLenum(format.vertexAttribType), format.isNorm(), in updateAttribFormat() 826 mFunctions, index, ToGLenum(attribute.format->vertexAttribType), in validateState()
|
D | MemoryObjectGL.cpp | 50 functions->importMemoryFdEXT(mMemoryObject, size, ToGLenum(handleType), fd)); in importFd()
|
D | TransformFeedbackGL.cpp | 123 mFunctions->beginTransformFeedback(gl::ToGLenum(primitiveMode)); in syncActiveState()
|
D | QueryGL.cpp | 271 mFunctions->beginQuery(ToGLenum(type), mQuery); in init() 272 mFunctions->endQuery(ToGLenum(type)); in init()
|
D | SemaphoreGL.cpp | 66 functions->importSemaphoreFdEXT(mSemaphoreID, ToGLenum(handleType), fd); in importFd()
|
D | StateManagerGL.cpp | 378 mFunctions->bindBuffer(gl::ToGLenum(target), buffer); in bindBuffer() 396 mFunctions->bindBufferBase(gl::ToGLenum(target), static_cast<GLuint>(index), buffer); in bindBufferBase() 416 mFunctions->bindBufferRange(gl::ToGLenum(target), static_cast<GLuint>(index), buffer, in bindBufferRange() 675 mFunctions->beginQuery(ToGLenum(type), queryId); in beginQuery() 683 mFunctions->endQuery(ToGLenum(type)); in endQuery() 1352 mFunctions->cullFace(ToGLenum(mCullFace)); in setCullFace() 1880 setProvokingVertex(ToGLenum(state.getProvokingVertex())); in syncState()
|
D | renderergl_utils.cpp | 1760 functions->getInternalformativ(ToGLenum(type), internalFormat, GL_FRAMEBUFFER_RENDERABLE, 1, in SupportsNativeRendering() 1828 return ToGLenum(GetNativeTextureType(textureType)); in GetTextureBindingTarget() 1833 return ToGLenum(GetNativeTextureTarget(textureTarget)); in GetTextureBindingTarget()
|
D | FramebufferGL.cpp | 92 ToGLenum(texture->getType()), in BindFramebufferAttachment() 107 ToGLenum(attachment->cubeMapFace()), in BindFramebufferAttachment()
|
/external/angle/src/libANGLE/ |
D | GLES1Renderer.cpp | 221 uniformBuffers.texEnvModes[i] = ToGLenum(env.mode); in prepareForDraw() 222 uniformBuffers.texCombineRgbs[i] = ToGLenum(env.combineRgb); in prepareForDraw() 223 uniformBuffers.texCombineAlphas[i] = ToGLenum(env.combineAlpha); in prepareForDraw() 225 uniformBuffers.texCombineSrc0Rgbs[i] = ToGLenum(env.src0Rgb); in prepareForDraw() 226 uniformBuffers.texCombineSrc0Alphas[i] = ToGLenum(env.src0Alpha); in prepareForDraw() 227 uniformBuffers.texCombineSrc1Rgbs[i] = ToGLenum(env.src1Rgb); in prepareForDraw() 228 uniformBuffers.texCombineSrc1Alphas[i] = ToGLenum(env.src1Alpha); in prepareForDraw() 229 uniformBuffers.texCombineSrc2Rgbs[i] = ToGLenum(env.src2Rgb); in prepareForDraw() 230 uniformBuffers.texCombineSrc2Alphas[i] = ToGLenum(env.src2Alpha); in prepareForDraw() 232 uniformBuffers.texCombineOp0Rgbs[i] = ToGLenum(env.op0Rgb); in prepareForDraw() [all …]
|
D | GLES1State.cpp | 549 return ToGLenum(mPerspectiveCorrectionHint); in getHint() 551 return ToGLenum(mPointSmoothHint); in getHint() 553 return ToGLenum(mLineSmoothHint); in getHint() 555 return ToGLenum(mFogHint); in getHint()
|
D | queryconversions.h | 99 *out = static_cast<OutType>(ToGLenum(param));
|
D | queryutils.cpp | 579 pname, gl::ToGLenum(attrib.format->vertexAttribType)); in QueryVertexAttribBase() 614 *params = CastFromGLintStateValue<ParamType>(pname, ToGLenum(buffer->getUsage())); in QueryBufferParameterBase() 1107 *params = ToGLenum(attachmentObject->cubeMapFace()); in QueryFramebufferAttachmentParameteriv() 1294 *params = ToGLenum(program->getGeometryShaderInputPrimitiveType()); in QueryProgramiv() 1297 *params = ToGLenum(program->getGeometryShaderOutputPrimitiveType()); in QueryProgramiv() 1381 *params = static_cast<GLint>(ToGLenum(shader->getType())); in QueryShaderiv() 2464 params[0] = static_cast<GLfloat>(ToGLenum(fog.mode)); in GetFogParameters()
|
D | Compiler.cpp | 224 ShHandle handle = sh::ConstructCompiler(ToGLenum(type), mSpec, mOutputType, &mResources); in getInstance()
|
D | State.cpp | 2541 *params = ToGLenum(mRasterizer.cullMode); in getIntegerv() 2712 *params = ToGLenum(mGLES1State.mAlphaTestFunc); in getIntegerv() 2718 *params = ToGLenum(mGLES1State.mMatrixMode); in getIntegerv() 2721 *params = ToGLenum(mGLES1State.mShadeModel); in getIntegerv() 2729 *params = ToGLenum(mGLES1State.mLogicOp); in getIntegerv() 2747 *params = ToGLenum(mProvokingVertex); in getIntegerv()
|
D | Context.cpp | 2506 return ToGLenum(mResetStatus); in getGraphicsResetStatus()
|
/external/angle/src/libANGLE/renderer/gl/egl/ |
D | ImageEGL.cpp | 119 functionsGL->eGLImageTargetTexture2DOES(ToGLenum(type), mImage); in setTexture2D()
|