Home | History | Annotate | Download | only in gpu

Lines Matching refs:caps

52     const GrCaps& caps = *this->caps();
53 if (textureParams.isRepeated() && !caps.npotTextureTileSupport() &&
79 * @param caps The capabilities of the GL device.
85 static bool check_texture_creation_params(const GrCaps& caps, const GrSurfaceDesc& desc,
88 if (!caps.isConfigTexturable(desc.fConfig)) {
97 if (*isRT && !caps.isConfigRenderable(desc.fConfig, desc.fSampleCnt > 1)) {
111 int maxRTSize = caps.maxRenderTargetSize();
116 int maxSize = caps.maxTextureSize();
130 const GrCaps* caps = this->caps();
132 bool textureCreationParamsValid = check_texture_creation_params(*caps, desc, &isRT,
139 desc.fSampleCnt = caps->getSampleCount(desc.fSampleCnt, desc.fConfig);
154 if (!caps->reuseScratchTextures() && !isRT) {
174 if (!this->caps()->isConfigTexturable(backendTex.config())) {
177 if (backendTex.width() > this->caps()->maxTextureSize() ||
178 backendTex.height() > this->caps()->maxTextureSize()) {
194 if (!this->caps()->isConfigTexturable(backendTex.config()) ||
195 !this->caps()->isConfigRenderable(backendTex.config(), sampleCnt > 1)) {
199 if (backendTex.width() > this->caps()->maxRenderTargetSize() ||
200 backendTex.height() > this->caps()->maxRenderTargetSize()) {
212 if (!this->caps()->isConfigRenderable(backendRT.config(), backendRT.sampleCnt() > 1)) {
222 if (!this->caps()->isConfigRenderable(tex.config(), sampleCnt > 1)) {
225 int maxSize = this->caps()->maxTextureSize();
236 if (!this->caps()->reuseScratchBuffers()) {
279 !this->caps()->isConfigRenderable(tempDrawInfo->fTempSurfaceDesc.fConfig, false)) {
305 !this->caps()->isConfigTexturable(tempDrawInfo->fTempSurfaceDesc.fConfig)) {
308 !this->caps()->isConfigTexturable(srcConfig)) {
459 if (this->caps()->sampleLocationsSupport()) {
503 if (this->caps()->fenceSyncSupport()) {
520 this->onFinishFlush((numSemaphores > 0 && this->caps()->fenceSyncSupport()));
521 return this->caps()->fenceSyncSupport() ? GrSemaphoresSubmitted::kYes