HomeSort by relevance Sort by last modified time
    Searched refs:ApiType (Results 1 - 25 of 111) sorted by null

1 2 3 4 5

  /external/deqp/framework/opengl/
gluRenderContext.hpp 70 class ApiType
73 ApiType (void) : m_bits(pack(0, 0, PROFILE_LAST)) {}
74 ApiType (int major, int minor, Profile profile) : m_bits(pack(major, minor, profile)) {}
80 bool operator== (ApiType other) const { return m_bits == other.m_bits; }
81 bool operator!= (ApiType other) const { return m_bits != other.m_bits; }
86 static ApiType es (int major, int minor) { return ApiType(major, minor, PROFILE_ES); }
87 static ApiType core (int major, int minor) { return ApiType(major, minor, PROFILE_CORE); }
88 static ApiType compatibility (int major, int minor) { return ApiType(major, minor, PROFILE_COMPATIBILITY);
    [all...]
gluRenderContext.cpp 41 inline bool versionGreaterOrEqual (ApiType a, ApiType b)
47 bool contextSupports (ContextType ctxType, ApiType requiredApiType)
120 RenderContext* createDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType)
134 config.type = glu::ContextType(apiType, ctxFlags);
164 static std::vector<std::string> getExtensions (const glw::Functions& gl, ApiType apiType)
169 if (apiType.getProfile() == PROFILE_ES && apiType.getMajorVersion() == 2
    [all...]
gluShaderUtil.cpp 99 static ApiType getMinAPIForGLSLVersion (GLSLVersion version)
101 static const ApiType s_minApi[] =
103 ApiType::es(2,0),
104 ApiType::es(3,0),
105 ApiType::es(3,1),
106 ApiType::es(3,2),
107 ApiType::core(3,0),
108 ApiType::core(3,1),
109 ApiType::core(3,2),
110 ApiType::core(3,3)
    [all...]
gluStateReset.cpp 75 if (contextSupports(type, ApiType::es(3,0)))
81 if (contextSupports(type, ApiType::es(3,1)))
89 if (contextSupports(type, ApiType::es(3,0)))
103 if (contextSupports(type, ApiType::es(3,0)))
118 if (contextSupports(type, ApiType::es(3,0)))
130 if (contextSupports(type, ApiType::es(3,1)))
163 if (contextSupports(type, ApiType::es(3,0)))
177 if (contextSupports(type, ApiType::es(3,1)))
196 if (contextSupports(type, ApiType::es(3,0)))
210 if (contextSupports(type, ApiType::es(3,1))
    [all...]
  /packages/apps/Camera2/src/com/android/camera/device/
CameraDeviceKey.java 37 public enum ApiType {
45 private final ApiType mApiType;
51 public ApiType getApiType() {
65 public CameraDeviceKey(ApiType apiType, CameraId cameraId) {
66 mApiType = apiType;
PortabilityCameraActionProvider.java 23 import com.android.camera.device.CameraDeviceKey.ApiType;
57 if (key.getApiType() == ApiType.CAMERA_API_PORTABILITY_API2) {
59 } else if (key.getApiType() == ApiType.CAMERA_API_PORTABILITY_API1) {
MultiCameraDeviceLifecycle.java 27 import com.android.camera.device.CameraDeviceKey.ApiType;
137 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API2, cameraId);
163 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API_PORTABILITY_AUTO,
190 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API_PORTABILITY_API2,
216 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API_PORTABILITY_API1, cameraId);
240 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API1, cameraId);
  /external/deqp/framework/egl/
egluPlatform.cpp 39 tcu::FunctionLibrary* Platform::createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::CommandLine&) const
42 if (apiType.getProfile() == glu::PROFILE_ES)
egluPlatform.hpp 90 virtual tcu::FunctionLibrary* createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::CommandLine& cmdLine) const;
egluGLUtil.hpp 41 eglw::EGLint apiRenderableType (glu::ApiType apiType);
egluGLFunctionLoader.hpp 66 const tcu::FunctionLibrary* getLibrary (glu::ApiType apiType);
egluGLFunctionLoader.cpp 60 const tcu::FunctionLibrary* GLLibraryCache::getLibrary (glu::ApiType apiType)
63 const deUint32 key = apiType.getPacked();
68 library = m_platform.createDefaultGLFunctionLibrary(apiType, m_cmdLine);
  /external/deqp/modules/gles31/functional/
es31fBooleanStateQueryTests.cpp 61 IsEnabledStateTestCase (Context& context, QueryType verifier, const char* name, const char* description, glw::GLenum targetName, bool initial, glu::ApiType minimumContextVersion)
99 const glu::ApiType m_minimumVersion;
140 glu::ApiType minimumContext;
146 { "sample_mask", "SAMPLE_MASK", GL_SAMPLE_MASK, false, glu::ApiType::es(3, 1)},
147 { "sample_shading", "SAMPLE_SHADING", GL_SAMPLE_SHADING, false, glu::ApiType::es(3, 2)},
148 { "debug_output", "DEBUG_OUTPUT", GL_DEBUG_OUTPUT, isDebugContext, glu::ApiType::es(3, 2)},
149 { "debug_output_synchronous", "DEBUG_OUTPUT_SYNCHRONOUS", GL_DEBUG_OUTPUT_SYNCHRONOUS, false, glu::ApiType::es(3, 2)},
es31fIntegerStateQueryTests.cpp 122 if (contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)))
177 MinimumValueCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType, glu::ApiType minVersion);
184 const glu::ApiType m_minimumVersion;
192 , m_minimumVersion (glu::ApiType::es(3, 1))
196 MinimumValueCase::MinimumValueCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType, glu::ApiType minVersion)
213 const int value = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2))
231 AlignmentCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType, glu::ApiType minVersion);
238 const glu::ApiType m_minimumVersion;
246 , m_minimumVersion (glu::ApiType::es(3, 1))
250 AlignmentCase::AlignmentCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType, glu::ApiType minVersion
    [all...]
es31fNegativePreciseTests.cpp 65 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2));
162 ctx.isExtensionSupported("GL_EXT_gpu_shader5") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)),
174 ctx.isExtensionSupported("GL_EXT_gpu_shader5") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)),
186 ctx.isExtensionSupported("GL_EXT_gpu_shader5") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)),
es31fNegativeAdvancedBlendEquationTests.cpp 134 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2));
149 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2));
175 ctx.isExtensionSupported("GL_KHR_blend_equation_advanced") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)),
211 ctx.isExtensionSupported("GL_KHR_blend_equation_advanced") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)),
  /external/deqp/modules/gles31/
tes31Context.cpp 62 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3, 2));
66 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3, 1));
  /external/deqp/modules/gles2/
tes2Context.cpp 47 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(2,0));
  /external/deqp/modules/gles3/
tes3Context.cpp 44 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,0));
  /external/deqp/modules/egl/
teglTestCase.cpp 62 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const
64 initGLFunctions(dst, apiType, 0, DE_NULL);
67 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions, const char* const* extensions) const
69 const tcu::FunctionLibrary* platformLib = m_glLibraryCache.getLibrary(apiType);
72 glu::initCoreFunctions(dst, &loader, apiType);
73 glu::initExtensionFunctions(dst, &loader, apiType, numExtensions, extensions);
teglTestCase.hpp 71 void initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const;
72 void initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions, const char* const* extensions) const;
teglImageTests.cpp 69 using glu::ApiType;
151 ImageTestCase (EglTestContext& eglTestCtx, ApiType api, const string& name, const string& desc)
181 ApiType m_api;
189 : ImageTestCase(eglTestCtx, ApiType::es(2, 0), "invalid_create_image", "eglCreateImageKHR() with invalid arguments")
222 EGLConfig chooseConfig (const Library& egl, EGLDisplay display, ApiType apiType)
229 attribs[EGL_RENDERABLE_TYPE] = eglu::apiRenderableType(apiType);
348 : ImageTestCase (eglTestCtx, ApiType::es(2, 0), string("create_image_gles2_") + getTargetName(target) + "_" + getStorageName(internalFormat) + (useTexLevel0 ? "_level0_only" : ""), "Create EGLImage from GLES2 object")
367 const ContextType contextType (ApiType::es(2, 0));
414 : ImageTestCase (eglTestCtx, ApiType::es(2, 0), string("image_target_gles2_") + getTargetName(target), "Use EGLImage as GLES2 object"
    [all...]
  /external/deqp/modules/glshared/
glsInteractionTestUtil.hpp 121 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight);
123 void computeRandomRenderCommands (de::Random& rnd, glu::ApiType apiType, int numCommands, int targetW, int targetH, std::vector<RenderCommand>& dst);
  /external/deqp/framework/platform/osx/
tcuOSXPlatform.cpp 100 static glu::ApiType getVersion (const glw::Functions& gl)
107 return glu::ApiType::core(major, minor);
152 const glu::ApiType actualApi = getVersion(m_functions);
  /external/deqp/framework/platform/ios/
tcuIOSPlatform.mm 109 if (type.getAPI() == glu::ApiType::es(3,0))
111 else if (type.getAPI() == glu::ApiType::es(2,0))
133 if (type.getAPI() == glu::ApiType::es(3,0))
135 else if (type.getAPI() == glu::ApiType::es(2,0))

Completed in 494 milliseconds

1 2 3 4 5