| /third_party/flutter/skia/third_party/externals/angle2/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); 183 GLenum ToGLenum(HandleType from); 198 GLenum ToGLenum(HintSetting from); [all …]
|
| D | PackedEnums.h | 251 constexpr GLenum ToGLenum(PrimitiveMode from) in ToGLenum() function 256 static_assert(ToGLenum(PrimitiveMode::Points) == GL_POINTS, "PrimitiveMode violation"); 257 static_assert(ToGLenum(PrimitiveMode::Lines) == GL_LINES, "PrimitiveMode violation"); 258 static_assert(ToGLenum(PrimitiveMode::LineLoop) == GL_LINE_LOOP, "PrimitiveMode violation"); 259 static_assert(ToGLenum(PrimitiveMode::LineStrip) == GL_LINE_STRIP, "PrimitiveMode violation"); 260 static_assert(ToGLenum(PrimitiveMode::Triangles) == GL_TRIANGLES, "PrimitiveMode violation"); 261 static_assert(ToGLenum(PrimitiveMode::TriangleStrip) == GL_TRIANGLE_STRIP, 263 static_assert(ToGLenum(PrimitiveMode::TriangleFan) == GL_TRIANGLE_FAN, "PrimitiveMode violation"); 264 static_assert(ToGLenum(PrimitiveMode::LinesAdjacency) == GL_LINES_ADJACENCY, 266 static_assert(ToGLenum(PrimitiveMode::LineStripAdjacency) == GL_LINE_STRIP_ADJACENCY, [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 621 GLenum ToGLenum(HandleType from) in ToGLenum() function 663 GLenum ToGLenum(HintSetting from) in ToGLenum() function [all …]
|
| /third_party/skia/third_party/externals/angle2/src/common/ |
| D | PackedGLEnums_autogen.h | 43 GLenum ToGLenum(AlphaTestFunc from); 68 GLenum ToGLenum(BufferBinding from); 89 GLenum ToGLenum(BufferUsage from); 106 GLenum ToGLenum(ClientVertexArrayType from); 121 GLenum ToGLenum(CullFaceMode from); 138 GLenum ToGLenum(FilterMode from); 153 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 141 GLenum ToGLenum(BufferBinding from) in ToGLenum() function 255 GLenum ToGLenum(BufferUsage from) in ToGLenum() function 341 GLenum ToGLenum(ClientVertexArrayType from) in ToGLenum() function 403 GLenum ToGLenum(CullFaceMode from) in ToGLenum() function 459 GLenum ToGLenum(FilterMode from) in ToGLenum() function 521 GLenum ToGLenum(FogMode from) in ToGLenum() function 577 GLenum ToGLenum(GraphicsResetStatus from) in ToGLenum() function 639 GLenum ToGLenum(HandleType from) in ToGLenum() function 691 GLenum ToGLenum(HintSetting from) in ToGLenum() function [all …]
|
| D | PackedEnums.h | 268 constexpr GLenum ToGLenum(PrimitiveMode from) in ToGLenum() function 273 static_assert(ToGLenum(PrimitiveMode::Points) == GL_POINTS, "PrimitiveMode violation"); 274 static_assert(ToGLenum(PrimitiveMode::Lines) == GL_LINES, "PrimitiveMode violation"); 275 static_assert(ToGLenum(PrimitiveMode::LineLoop) == GL_LINE_LOOP, "PrimitiveMode violation"); 276 static_assert(ToGLenum(PrimitiveMode::LineStrip) == GL_LINE_STRIP, "PrimitiveMode violation"); 277 static_assert(ToGLenum(PrimitiveMode::Triangles) == GL_TRIANGLES, "PrimitiveMode violation"); 278 static_assert(ToGLenum(PrimitiveMode::TriangleStrip) == GL_TRIANGLE_STRIP, 280 static_assert(ToGLenum(PrimitiveMode::TriangleFan) == GL_TRIANGLE_FAN, "PrimitiveMode violation"); 281 static_assert(ToGLenum(PrimitiveMode::LinesAdjacency) == GL_LINES_ADJACENCY, 283 static_assert(ToGLenum(PrimitiveMode::LineStripAdjacency) == GL_LINE_STRIP_ADJACENCY, [all …]
|
| /third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
| 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 | 242 functions->texImage2D(ToGLenum(target), static_cast<GLint>(level), in setImageHelper() 249 functions->texImage3D(ToGLenum(target), static_cast<GLint>(level), in setImageHelper() 324 functions->texSubImage2D(ToGLenum(target), static_cast<GLint>(level), area.x, area.y, in setSubImage() 331 functions->texSubImage3D(ToGLenum(target), static_cast<GLint>(level), area.x, area.y, in setSubImage() 381 functions->texSubImage3D(ToGLenum(target), static_cast<GLint>(level), area.x, in setSubImageRowByRowWorkaround() 394 functions->texSubImage2D(ToGLenum(target), static_cast<GLint>(level), area.x, in setSubImageRowByRowWorkaround() 438 functions->texSubImage3D(ToGLenum(target), static_cast<GLint>(level), area.x, area.y, in setSubImagePaddingWorkaround() 450 functions->texSubImage3D(ToGLenum(target), static_cast<GLint>(level), area.x, area.y, in setSubImagePaddingWorkaround() 461 functions->texSubImage3D(ToGLenum(target), static_cast<GLint>(level), area.x, in setSubImagePaddingWorkaround() 472 functions->texSubImage2D(ToGLenum(target), static_cast<GLint>(level), area.x, area.y, in setSubImagePaddingWorkaround() [all …]
|
| D | ContextGL.cpp | 58 GLuint shader = functions->createShader(ToGLenum(data.getShaderType())); in createShader() 263 getFunctions()->drawArrays(ToGLenum(mode), first, count); in drawArrays() 267 getFunctions()->drawArraysInstanced(ToGLenum(mode), first, count, instanceCount); in drawArrays() 286 getFunctions()->drawArraysInstanced(ToGLenum(mode), first, count, adjustedInstanceCount); in drawArraysInstanced() 316 getFunctions()->drawElements(ToGLenum(mode), count, ToGLenum(type), drawIndexPtr); in drawElements() 320 getFunctions()->drawElementsInstanced(ToGLenum(mode), count, ToGLenum(type), drawIndexPtr, in drawElements() 343 getFunctions()->drawElementsInstanced(ToGLenum(mode), count, ToGLenum(type), drawIndexPointer, in drawElementsInstanced() 378 getFunctions()->drawRangeElements(ToGLenum(mode), start, end, count, ToGLenum(type), in drawRangeElements() 383 getFunctions()->drawElementsInstanced(ToGLenum(mode), count, ToGLenum(type), in drawRangeElements() 393 getFunctions()->drawArraysIndirect(ToGLenum(mode), indirect); in drawArraysIndirect() [all …]
|
| D | BlitGL.cpp | 285 mFunctions->texImage2D(ToGLenum(target), static_cast<GLint>(level), internalFormat, in copyImageToLUMAWorkaroundTexture() 371 mFunctions->copyTexSubImage3D(ToGLenum(target), static_cast<GLint>(level), destOffset.x, in copySubImageToLUMAWorkaroundTexture() 378 mFunctions->copyTexSubImage2D(ToGLenum(target), static_cast<GLint>(level), destOffset.x, in copySubImageToLUMAWorkaroundTexture() 527 mFunctions->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, ToGLenum(destTarget), in copySubTexture() 647 ToGLenum(source->getType()), source->getTextureID(), in copySubTextureCPUReadback() 660 mFunctions->texImage2D(ToGLenum(scratchTextureType), 0, texImageFormat.internalFormat, in copySubTextureCPUReadback() 679 ToGLenum(scratchTextureType), mScratchTextures[0], 0); in copySubTextureCPUReadback() 743 mFunctions->texSubImage2D(ToGLenum(destTarget), static_cast<GLint>(destLevel), destOffset.x, in copySubTextureCPUReadback() 764 ToGLenum(source->getType()), source->getTextureID(), in copyTexSubImage() 775 mFunctions->copyTexSubImage2D(ToGLenum(destTarget), static_cast<GLint>(destLevel), destOffset.x, in copyTexSubImage() [all …]
|
| D | VertexArrayGL.cpp | 487 gl::ToGLenum(format.vertexAttribType), stride, pointer); in callVertexAttribPointer() 492 gl::ToGLenum(format.vertexAttribType), format.isNorm(), in callVertexAttribPointer() 518 gl::ToGLenum(format.vertexAttribType), in updateAttribFormat() 524 gl::ToGLenum(format.vertexAttribType), format.isNorm(), in updateAttribFormat()
|
| D | MemoryObjectGL.cpp | 38 functions->importMemoryFdEXT(mMemoryObject, size, ToGLenum(handleType), fd); in importFd()
|
| D | StateManagerGL.cpp | 353 mFunctions->bindBuffer(gl::ToGLenum(target), buffer); in bindBuffer() 367 mFunctions->bindBufferBase(gl::ToGLenum(target), static_cast<GLuint>(index), buffer); in bindBufferBase() 383 mFunctions->bindBufferRange(gl::ToGLenum(target), static_cast<GLuint>(index), buffer, in bindBufferRange() 402 mFunctions->bindTexture(ToGLenum(type), texture); in bindTexture() 641 mFunctions->beginQuery(ToGLenum(type), queryId); in beginQuery() 649 mFunctions->endQuery(ToGLenum(type)); in endQuery() 1329 mFunctions->cullFace(ToGLenum(mCullFace)); in setCullFace() 1844 setProvokingVertex(ToGLenum(state.getProvokingVertex())); in syncState()
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
| D | ContextGL.cpp | 62 GLuint shader = functions->createShader(ToGLenum(data.getShaderType())); in createShader() 325 ANGLE_GL_TRY(context, getFunctions()->drawArrays(ToGLenum(mode), first, count)); in drawArrays() 329 ANGLE_GL_TRY(context, getFunctions()->drawArraysInstanced(ToGLenum(mode), first, count, in drawArrays() 351 ANGLE_GL_TRY(context, getFunctions()->drawArraysInstanced(ToGLenum(mode), first, count, in drawArraysInstanced() 389 gl::ToGLenum(attrib.format->vertexAttribType), in updateAttributesForBaseInstance() 395 gl::ToGLenum(attrib.format->vertexAttribType), in updateAttributesForBaseInstance() 422 gl::ToGLenum(attrib.format->vertexAttribType), in resetUpdatedAttributes() 429 gl::ToGLenum(attrib.format->vertexAttribType), attrib.format->isNorm(), in resetUpdatedAttributes() 458 ToGLenum(mode), first, count, adjustedInstanceCount, baseInstance)); in drawArraysInstancedBaseInstance() 470 ANGLE_GL_TRY(context, functions->drawArraysInstanced(ToGLenum(mode), first, count, in drawArraysInstancedBaseInstance() [all …]
|
| D | BufferGL.cpp | 68 ANGLE_GL_TRY(context, functions->bufferData(gl::ToGLenum(DestBufferOperationTarget), size, data, in setData() 69 ToGLenum(usage))); in setData() 100 ANGLE_GL_TRY(context, functions->bufferSubData(gl::ToGLenum(DestBufferOperationTarget), offset, in setSubData() 129 ANGLE_GL_TRY(context, functions->copyBufferSubData(gl::ToGLenum(SourceBufferOperationTarget), in copySubData() 130 gl::ToGLenum(DestBufferOperationTarget), in copySubData() 159 context, functions->mapBuffer(gl::ToGLenum(DestBufferOperationTarget), access)); in map() 166 ANGLE_GL_TRY(context, functions->mapBufferRange(gl::ToGLenum(DestBufferOperationTarget), in map() 198 ANGLE_GL_TRY(context, functions->mapBufferRange(gl::ToGLenum(DestBufferOperationTarget), in mapRange() 225 functions->bufferSubData(gl::ToGLenum(DestBufferOperationTarget), mMapOffset, in unmap() 233 ANGLE_GL_TRY(context, functions->unmapBuffer(gl::ToGLenum(DestBufferOperationTarget))); in unmap() [all …]
|
| D | TextureGL.cpp | 262 context, functions->texImage3D(ToGLenum(target), static_cast<GLint>(level), in setImageHelper() 379 ToGLenum(target), static_cast<GLint>(level), area.x, area.y, in setSubImage() 447 ToGLenum(target), static_cast<GLint>(level), area.x, row + area.y, in setSubImageRowByRowWorkaround() 462 ToGLenum(target), static_cast<GLint>(level), area.x, in setSubImageRowByRowWorkaround() 508 functions->texSubImage3D(ToGLenum(target), static_cast<GLint>(level), in setSubImagePaddingWorkaround() 521 ToGLenum(target), static_cast<GLint>(level), area.x, area.y, in setSubImagePaddingWorkaround() 533 functions->texSubImage3D(ToGLenum(target), static_cast<GLint>(level), area.x, in setSubImagePaddingWorkaround() 545 ToGLenum(target), static_cast<GLint>(level), area.x, area.y, in setSubImagePaddingWorkaround() 554 ANGLE_GL_TRY(context, functions->texSubImage2D(ToGLenum(target), static_cast<GLint>(level), in setSubImagePaddingWorkaround() 586 context, functions->compressedTexImage2D(ToGLenum(target), static_cast<GLint>(level), in setCompressedImage() [all …]
|
| D | BlitGL.cpp | 289 mFunctions->texImage2D(ToGLenum(target), static_cast<GLint>(level), internalFormat, in copyImageToLUMAWorkaroundTexture() 378 mFunctions->copyTexSubImage3D(ToGLenum(target), static_cast<GLint>(level), in copySubImageToLUMAWorkaroundTexture() 386 ToGLenum(target), static_cast<GLint>(level), destOffset.x, in copySubImageToLUMAWorkaroundTexture() 410 ToGLenum(destTarget), destTexture, in blitColorBufferWithShader() 586 ToGLenum(destTarget), destID, in copySubTexture() 713 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, ToGLenum(source->getType()), in copySubTextureCPUReadback() 729 mFunctions->texImage2D(ToGLenum(scratchTextureType), 0, texImageFormat.internalFormat, in copySubTextureCPUReadback() 748 ToGLenum(scratchTextureType), in copySubTextureCPUReadback() 815 ToGLenum(destTarget), static_cast<GLint>(destLevel), destOffset.x, in copySubTextureCPUReadback() 837 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, ToGLenum(source->getType()), in copyTexSubImage() [all …]
|
| D | MemoryObjectGL.cpp | 57 functions->importMemoryFdEXT(mMemoryObject, size, ToGLenum(handleType), fd)); in importFd()
|
| D | VertexArrayGL.cpp | 725 gl::ToGLenum(format.vertexAttribType), in callVertexAttribPointer() 731 gl::ToGLenum(format.vertexAttribType), in callVertexAttribPointer() 767 gl::ToGLenum(format.vertexAttribType), attrib.relativeOffset)); in updateAttribFormat() 773 gl::ToGLenum(format.vertexAttribType), format.isNorm(), in updateAttribFormat() 1054 context, index, ToGLenum(attribute.format->vertexAttribType), in validateState()
|
| D | StateManagerGL.cpp | 435 mFunctions->bindBuffer(gl::ToGLenum(target), buffer); in bindBuffer() 453 mFunctions->bindBufferBase(gl::ToGLenum(target), static_cast<GLuint>(index), buffer); in bindBufferBase() 473 mFunctions->bindBufferRange(gl::ToGLenum(target), static_cast<GLuint>(index), buffer, in bindBufferRange() 758 mFunctions->beginQuery(ToGLenum(type), queryId); in beginQuery() 766 mFunctions->endQuery(ToGLenum(type)); in endQuery() 1302 ToGLenum(gl::BlendStateExt::FactorStorage::GetValueIndexed(0, commonSrcColor)), in setBlendFuncs() 1303 ToGLenum(gl::BlendStateExt::FactorStorage::GetValueIndexed(0, commonDstColor)), in setBlendFuncs() 1304 ToGLenum(gl::BlendStateExt::FactorStorage::GetValueIndexed(0, commonSrcAlpha)), in setBlendFuncs() 1305 ToGLenum(gl::BlendStateExt::FactorStorage::GetValueIndexed(0, commonDstAlpha))); in setBlendFuncs() 1380 ToGLenum(gl::BlendStateExt::EquationStorage::GetValueIndexed( in setBlendEquations() [all …]
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| D | GLES1Renderer.cpp | 135 texEnvModes[i] = ToGLenum(env.mode); in prepareForDraw() 136 texCombineRgbs[i] = ToGLenum(env.combineRgb); in prepareForDraw() 137 texCombineAlphas[i] = ToGLenum(env.combineAlpha); in prepareForDraw() 138 texCombineSrc0Rgbs[i] = ToGLenum(env.src0Rgb); in prepareForDraw() 139 texCombineSrc0Alphas[i] = ToGLenum(env.src0Alpha); in prepareForDraw() 140 texCombineSrc1Rgbs[i] = ToGLenum(env.src1Rgb); in prepareForDraw() 141 texCombineSrc1Alphas[i] = ToGLenum(env.src1Alpha); in prepareForDraw() 142 texCombineSrc2Rgbs[i] = ToGLenum(env.src2Rgb); in prepareForDraw() 143 texCombineSrc2Alphas[i] = ToGLenum(env.src2Alpha); in prepareForDraw() 144 texCombineOp0Rgbs[i] = ToGLenum(env.op0Rgb); in prepareForDraw() [all …]
|
| D | GLES1State.cpp | 567 return ToGLenum(mPerspectiveCorrectionHint); in getHint() 569 return ToGLenum(mPointSmoothHint); in getHint() 571 return ToGLenum(mLineSmoothHint); in getHint() 573 return ToGLenum(mFogHint); in getHint()
|
| D | angletypes.cpp | 491 return ToGLenum(EquationStorage::GetValueIndexed(index, mEquationColor)); in getEquationColorIndexed() 497 return ToGLenum(EquationStorage::GetValueIndexed(index, mEquationAlpha)); in getEquationAlphaIndexed() 583 return ToGLenum(FactorStorage::GetValueIndexed(index, mSrcColor)); in getSrcColorIndexed() 589 return ToGLenum(FactorStorage::GetValueIndexed(index, mDstColor)); in getDstColorIndexed() 595 return ToGLenum(FactorStorage::GetValueIndexed(index, mSrcAlpha)); in getSrcAlphaIndexed() 601 return ToGLenum(FactorStorage::GetValueIndexed(index, mDstAlpha)); in getDstAlphaIndexed()
|
| /third_party/flutter/skia/third_party/externals/angle2/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 | 543 return ToGLenum(mPerspectiveCorrectionHint); in getHint() 545 return ToGLenum(mPointSmoothHint); in getHint() 547 return ToGLenum(mLineSmoothHint); in getHint() 549 return ToGLenum(mFogHint); in getHint()
|