Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/common/
DPackedGLEnums_autogen.h43 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 …]
DPackedGLEnums_autogen.cpp44 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 …]
DPackedEnums.h268 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/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DContextGL.cpp62 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 …]
DBufferGL.cpp68 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 …]
DTextureGL.cpp262 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 …]
DBlitGL.cpp289 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 …]
DMemoryObjectGL.cpp57 functions->importMemoryFdEXT(mMemoryObject, size, ToGLenum(handleType), fd)); in importFd()
DVertexArrayGL.cpp725 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()
DStateManagerGL.cpp435 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 …]
DQueryGL.cpp292 mFunctions->beginQuery(ToGLenum(type), mQuery); in init()
293 mFunctions->endQuery(ToGLenum(type)); in init()
DTransformFeedbackGL.cpp136 mFunctions->beginTransformFeedback(gl::ToGLenum(primitiveMode)); in syncActiveState()
DSemaphoreGL.cpp66 functions->importSemaphoreFdEXT(mSemaphoreID, ToGLenum(handleType), fd); in importFd()
DFramebufferGL.cpp98 GL_FRAMEBUFFER, attachmentPoint, ToGLenum(texture->getType()), in BindFramebufferAttachment()
106 GL_FRAMEBUFFER, attachmentPoint, ToGLenum(texture->getType()), in BindFramebufferAttachment()
114 GL_FRAMEBUFFER, attachmentPoint, ToGLenum(texture->getType()), in BindFramebufferAttachment()
131 ToGLenum(attachment->cubeMapFace()), in BindFramebufferAttachment()
Drenderergl_utils.cpp2292 functions->getInternalformativ(ToGLenum(type), internalFormat, GL_FRAMEBUFFER_RENDERABLE, 1, in SupportsNativeRendering()
2365 return ToGLenum(GetNativeTextureType(textureType)); in GetTextureBindingTarget()
2370 return ToGLenum(GetNativeTextureTarget(textureTarget)); in GetTextureBindingTarget()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Renderer.cpp135 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 …]
DGLES1State.cpp567 return ToGLenum(mPerspectiveCorrectionHint); in getHint()
569 return ToGLenum(mPointSmoothHint); in getHint()
571 return ToGLenum(mLineSmoothHint); in getHint()
573 return ToGLenum(mFogHint); in getHint()
Dangletypes.cpp491 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()
Dqueryconversions.h99 *out = static_cast<OutType>(ToGLenum(param));
Dqueryutils.cpp620 pname, gl::ToGLenum(attrib.format->vertexAttribType)); in QueryVertexAttribBase()
655 *params = CastFromGLintStateValue<ParamType>(pname, ToGLenum(buffer->getUsage())); in QueryBufferParameterBase()
1180 *params = ToGLenum(attachmentObject->cubeMapFace()); in QueryFramebufferAttachmentParameteriv()
1367 *params = ToGLenum(program->getGeometryShaderInputPrimitiveType()); in QueryProgramiv()
1370 *params = ToGLenum(program->getGeometryShaderOutputPrimitiveType()); in QueryProgramiv()
1472 *params = static_cast<GLint>(ToGLenum(shader->getType())); in QueryShaderiv()
2582 params[0] = static_cast<GLfloat>(ToGLenum(fog.mode)); in GetFogParameters()
DState.cpp2828 *params = ToGLenum(mRasterizer.cullMode); in getIntegerv()
3018 *params = ToGLenum(mGLES1State.mAlphaTestFunc); in getIntegerv()
3024 *params = ToGLenum(mGLES1State.mMatrixMode); in getIntegerv()
3027 *params = ToGLenum(mGLES1State.mShadeModel); in getIntegerv()
3035 *params = ToGLenum(mGLES1State.mLogicOp); in getIntegerv()
3053 *params = ToGLenum(mProvokingVertex); in getIntegerv()
DCompiler.cpp313 ShHandle handle = sh::ConstructCompiler(ToGLenum(type), mSpec, mOutputType, &mResources); in getInstance()
DContext.cpp2859 return ToGLenum(mResetStatus); in getGraphicsResetStatus()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
DImageEGL.cpp122 functionsGL->eGLImageTargetTexture2DOES(ToGLenum(type), mImage); in setTexture2D()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DBuildSPIRV.cpp1757 CalculateVaryingLocationCount(type, gl::ToGLenum(mShaderType)); in writeInterfaceVariableDecorations()