Lines Matching full:layer
65 static void layerLostGlContext(Layer* layer) {
66 LOG_ALWAYS_FATAL_IF(layer->getApi() != Layer::Api::OpenGL,
67 "layerLostGlContext on non GL layer");
68 static_cast<GlLayer*>(layer)->onGlContextLost();
98 static void layerDestroyedVkContext(Layer* layer) {
99 LOG_ALWAYS_FATAL_IF(layer->getApi() != Layer::Api::Vulkan,
100 "layerLostVkContext on non Vulkan layer");
101 static_cast<VkLayer*>(layer)->onVkContextDestroyed();